1 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5 result for FE_DOWNWARD rounding mode.
6 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10 2014-04-02 Alan Modra <amodra@gmail.com>
13 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14 output when value is near a power of two. Use int64_t for lx and
15 remove casts. Use decimal rather than hex exponent constants.
16 Don't use long double multiplication when double will suffice.
17 * math/libm-test.inc (nextafter_test_data): Add tests.
18 * NEWS: Add 16739 and 16786 to bug list.
20 2014-04-02 Alan Modra <amodra@gmail.com>
22 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
24 2014-04-02 Alan Modra <amodra@gmail.com>
26 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
28 2014-04-01 Alan Modra <amodra@gmail.com>
31 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36 Encode instruction correctly in little endian.
37 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
46 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
49 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
50 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
51 and strpbrk-ppc64 objects.
52 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
55 multiarch strpbrk for POWER7.
56 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
57 multiarch strpbrk for PPC64.
58 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
60 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
63 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
66 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
67 and strcspn-ppc64 objects.
68 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
69 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
70 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
71 multiarch strcspn for POWER7.
72 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
73 multiarch strcspn for PPC64.
74 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
76 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
79 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
84 * math/libm-test.inc (round_test_data): Add more tests.
86 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
91 * math/libm-test.inc (nearbyint_test_data): Add more tests.
93 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
96 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
98 * math/libm-test.inc (ceil_test_data): Add more tests.
100 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
102 * math/libm-test.inc (trunc_test_data): Add more tests related to
105 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
108 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
109 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
111 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
112 selector for static builds.
114 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
116 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
117 selector for static builds.
119 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
123 Define it for static builds as well.
124 (NO_BZERO_IMPL): Likewise.
126 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
128 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
129 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
130 multiarch strspn for PPC64.
131 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
132 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
134 (__libc_ifunc_impl_list): Likewise.
135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
136 multiarch optimizations
137 * string/strspn.c (strspn): Using macro to redefine symbol name.
139 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
140 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
142 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
143 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
144 multiarch strncat for PPC64.
145 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
146 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
148 (__libc_ifunc_impl_list): Likewise.
149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
150 multiarch optimizations
152 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
154 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
158 (__libc_ifunc_impl_list): Likewise.
159 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
160 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
161 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
162 * string/strrchr.c: Define STRRCHR.
164 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
169 POWER8 llround ifunc implementation.
170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
171 POWER8 implementation.
172 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
173 POWER8 llround implementation.
175 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
180 POWER8 llrint ifunc implementation.
181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
182 POWER8 implementation.
183 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
184 POWER8 llrint implementation.
186 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
191 POWER8 finite ifunc implementation.
192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
193 POWER8 implementation.
194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
196 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
197 POWER8 finite implementation.
198 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
200 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
205 POWER8 isinf ifunc implementation.
206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
207 POWER8 implementation.
208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
210 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
211 POWER8 isinf implementation.
212 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
214 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
216 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
217 Add hwcap2 initialization.
218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
221 POWER8 isnan ifunc implementation.
222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
223 POWER8 implementation.
224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
226 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
227 POWER8 isnan implementation.
228 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
230 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
233 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
236 2014-02-06 Carlos O'Donell <carlos@redhat.com>
239 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
241 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
243 * manual/contrib.texi: Update entry for Carlos O'Donell,
244 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
246 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
248 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
250 * sysdeps/unix/sysv/linux/kernel-features.h
251 [__LINUX_KERNEL_VERSION >= 0x020621]
252 (__ASSUME_PROC_PID_TASK_COMM): Define.
254 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
256 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
257 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
258 Leonard and Allan McRae.
260 2014-02-04 David S. Miller <davem@davemloft.net>
262 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
265 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
294 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
296 * nptl/shlib-versions: Change powerpc*le start to 2.17.
297 * shlib-versions: Likewise.
299 2014-02-04 Roland McGrath <roland@hack.frob.com>
300 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
302 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
303 (abilist-pattern): New variable, set to %-le.abilist.
305 * Makerules (abilist-pattern): New variable.
306 (vpath): Use $(abilist-pattern) in place of %.abilist.
307 (check-abi-% pattern rule): Likewise.
308 (check-abi, update-abi): Likewise.
310 2014-02-04 Eric Wong <normalperson@yhbt.net>
312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
314 2014-02-04 Eric Wong <normalperson@yhbt.net>
316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
318 2014-02-03 Carlos O'Donell <carlos@redhat.com>
320 * manual/startup.texi: Add next, previous, and top entries for
321 the `Program Arguments' and `Environment Variables' nodes.
323 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
325 * manual/macros.texi: Add comments before MTASC-safety macros.
327 * manual/users.texi: Document MTASC-safety properties.
329 * manual/threads.texi (pthread_key_create, pthread_key_delete,
330 pthread_getspecific, pthread_setspecific): Format with
331 @deftypefun, and add @safety note.
332 * manual/signal.texi: Move comments that analyze the above
333 functions to their home place.
335 2014-02-03 Allan McRae <allan@archlinux.org>
337 * po/sl.po: Update Slovenian translation from translation project.
339 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
341 * manual/time.texi (timegm): Add missing blank after @c.
342 Reported by Joseph Myers <joseph@codesourcery.com>.
344 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
346 * manual/check-safety.sh: New.
347 * manual/Makefile ($(objpfx)stamp-summary): Run it.
349 * manual/terminal.texi: Document MTASC-safety properties.
351 * manual/filesys.texi: Document MTASC-safety properties.
353 * manual/errno.texi: Document MTASC-safety properties.
355 * manual/intro.texi: Document safety identifiers and
358 * manual/string.texi (wcstok): Fix prototype.
359 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
361 * manual/time.texi: Document MTASC-safety properties.
363 * manual/string.texi: Document MTASC-safety properties.
365 * manual/threads.texi: Document MTASC-safety properties.
367 * manual/stdio.texi: Document MTASC-safety properties.
369 * manual/syslog.texi: Document MTASC-safety properties.
371 * manual/sysinfo.texi: Document MTASC-safety properties.
373 * manual/startup.texi: Document MTASC-safety properties.
375 * manual/socket.texi: Document MTASC-safety properties.
377 * manual/signal.texi: Document MTASC-safety properties.
379 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
381 * manual/setjmp.texi: Document MTASC-safety properties.
383 * manual/search.texi: Document MTASC-safety properties.
385 * manual/resource.texi: Document MTASC-safety properties.
387 * manual/process.texi: Document MTASC-safety properties.
389 * manual/platform.texi: Document MTASC-safety properties.
391 * manual/pipe.texi: Document MTASC-safety properties.
393 * manual/pattern.texi: Document MTASC-safety properties.
395 * manual/message.texi: Document MTASC-safety properties.
398 * manual/memory.texi: Document MTASC-safety properties.
400 * manual/math.texi: Document MTASC-safety properties.
402 * manual/locale.texi: Document MTASC-safety properties.
404 * manual/llio.texi: Document MTASC-safety properties.
406 * manual/libdl.texi: New.
408 * manual/lang.texi: Document MTASC-safety properties.
410 * manual/job.texi: Document MTASC-safety properties.
412 * manual/getopt.texi: Document MTASC-safety properties.
414 * manual/ctype.texi: Document MTASC-safety properties.
416 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
419 * csu/libc-tls.c (static_map): Remove variable.
420 (__libc_setup_tls): Use main executable's link map for TLS data.
421 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
422 casing for LM_ID_BASE and GL(dl_nns).
423 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
424 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
425 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
426 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
427 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
429 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
432 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
434 * manual/debug.texi: Document MTASC-safety properties.
436 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
439 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
440 of __x86_64__ when disabling x87 inline functions.
442 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
444 * manual/charset.texi: Document MTASC-safety properties.
446 * manual/crypt.texi: Document MTASC-safety properties.
448 * manual/conf.texi: Document MTASC-safety properties.
450 * manual/arith.texi: Document MTASC-safety properties.
452 * manual/argp.texi: Document MTASC-safety properties.
454 * manual/macros.texi: Introduce macros to document multi
455 thread, asynchronous signal and asynchronous cancellation
457 * manual/intro.texi: Introduce the properties themselves.
459 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
461 * sysdeps/sh/sh4/Makefile: New file.
463 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
465 * math/gen-libm-test.pl ($srcdir): New variable.
466 ($auto_input): Use it.
468 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
471 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
472 access beyond array bounds when parsing netgroups file.
474 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
475 the old buffer before realloc.
477 2014-01-27 Allan McRae <allan@archlinux.org>
479 * po/fr.po: Update French translation from translation project.
481 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
483 * sysdeps/sh/libm-test-ulps: Regenerate.
485 2014-01-24 David S. Miller <davem@davemloft.net>
487 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
489 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
491 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
492 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
494 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
497 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
498 string pointers after reallocation.
500 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
502 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
503 __SH4A__ instead of __SH_FPU_ANY__.
505 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
507 * sysdeps/sh/fpu_control.h: New file.
508 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
509 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
510 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
511 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
512 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
513 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
514 * sysdeps/sh/sys/ucontext.h: Remove.
515 * sysdeps/sh/sys: Remove directory.
517 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
519 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
521 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
522 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
524 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
527 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
529 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
532 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
533 Adjust the vDSO correctly for internal calls.
534 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
536 2014-01-20 Allan McRae <allan@archlinux.org>
538 * po/ca.po: Update Catalan translation from translation project.
540 2014-01-16 Mike Frysinger <vapier@gentoo.org>
542 * sysdeps/s390/sotruss-lib.c: New file.
544 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
547 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
548 (__GI___gettimeofday): Alias for a different internal symbol to avoid
549 local calls issues by not having a PLT stub required for IFUNC calls.
550 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
552 2014-01-16 Joseph Myers <joseph@codesourcery.com>
554 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
555 * math/test-fpucw-static.c: Likewise.
557 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
560 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
562 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
564 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
565 implementation for powerpc.
567 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
570 * sysdeps/posix/system.c (__libc_system): Do not enable
571 asynchronous cancellation.
573 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
576 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
577 handling only for numbers special also in the IEEE case.
579 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
581 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
583 2014-01-11 Allan McRae <allan@archlinux.org>
585 * po/bg.po: Update Bulgarian translation from translation project.
587 * po/de.po: Update German translation from translation project.
589 2014-01-10 Roland McGrath <roland@hack.frob.com>
591 * sysdeps/generic/gcc-compat.h: New file.
593 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
595 * benchtests/asin-inputs: Correct slow inputs.
596 * benchtests/acos-inputs: Likewise.
598 2014-01-10 Allan McRae <allan@archlinux.org>
600 * po:sv.po: Update Swedish translation from translation project.
602 * po/vi.po: Update Vietnamese translation from translation project.
604 * po/eo.po: Update Esperanto translation from translation project.
606 * po/cs.po: Update Czech translation from translation project.
608 * po/nl.po: Update Dutch translation from translation project.
610 * po/pl.po: Update Polish translation from translation project.
612 * po/ru.po: Update Russian translation from translation project.
614 * po/uk.po: Update Ukrainian translation from translation project.
616 2014-01-08 Brooks Moses <bmoses@google.com>
618 * elf/dl-load.c: Fix comment typo.
620 2014-01-08 Carlos O'Donell <carlos@redhat.com>
622 * po/header.pot: Rename to...
623 * po/pot.header: ... this.
624 * po/Makefile: Use pot.header.
626 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
627 Maxim Kuvyrkov <maxim@kugelworks.com>
630 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
631 SRC and DEST against LEN.
633 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
636 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
638 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
640 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
644 2014-01-08 Joseph Myers <joseph@codesourcery.com>
647 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
648 for large positive arguments.
650 2014-01-07 Joseph Myers <joseph@codesourcery.com>
652 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
654 * math/auto-libm-test-in: Mark various tests with
655 xfail-rounding:ldbl-128ibm.
656 * math/auto-libm-test-out: Regenerated.
659 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
660 Increase overflow threshold.
662 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
665 * stdio-common/vfprintf.c: Check for integer overflow.
667 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
669 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
670 the first argument and return value of __tls_get_addr_internal.
672 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
674 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
675 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
677 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
679 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
680 * sysdeps/s390/rtld-global-offsets.sym: New file.
681 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
683 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
684 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
685 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
687 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
688 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
694 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
695 halfs of GPRs for high_gprs contexts.
696 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
697 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
699 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
701 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
703 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
704 for high GPRs (uc_high_gprs) and for future extensions
706 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
707 for future extensions (__reserved).
708 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
710 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
711 SC_HIGHGPRS offset definition.
712 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
713 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
715 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
717 * Versions.def: Add GLIBC_2.19 for libpthread.
718 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
719 siglongjmp for libpthread with GLIBC_2.19 symver.
720 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
721 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
722 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
723 * sysdeps/s390/__longjmp.c: New file.
724 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
725 * sysdeps/s390/longjmp.c: New file.
726 * sysdeps/s390/setjmp.S: New file.
727 * sysdeps/s390/sigjmp.S: New file.
728 * sysdeps/s390/v1-longjmp.c: New file.
729 * sysdeps/s390/v1-setjmp.h: New file.
730 * sysdeps/s390/v1-sigjmp.c: New file.
731 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
732 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
734 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
735 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
736 versioned symbols for ____longjmp_chk.
737 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
747 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
748 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
749 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
750 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
751 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
752 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
753 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
754 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
755 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
756 * sysdeps/s390/rtld-__longjmp.c: New file.
757 * sysdeps/s390/rtld-setjmp.S: New file.
759 2014-01-06 Joseph Myers <joseph@codesourcery.com>
762 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
763 Return -__logl (x) for small positive arguments without evaluating
766 2014-01-06 Mike Frysinger <vapier@gentoo.org>
768 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
770 (__ptrace_peeksiginfo_args): ... this.
771 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
772 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
773 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
775 2014-01-06 Allan McRae <allan@archlinux.org>
777 * inet/netinet/in.h: Fix typo in comment.
779 2014-01-05 Andreas Jaeger <aj@suse.de>
781 * sysdeps/i386/fpu/libm-test-ulps: Update.
783 2014-01-05 Allan McRae <allan@archlinux.org>
785 * po/libc.pot: Regenerated.
787 * malloc/memusagestat.c: Fix gettext call formatting.
789 2014-01-04 Sami Kerola <kerolasa@iki.fi>
791 * nscd/nscd.c: Improve usage() output.
793 2014-01-04 Mike Frysinger <vapier@gentoo.org>
795 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
796 * sysdeps/unix/sysv/linux/configure: Regenerated.
797 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
798 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
800 2014-01-03 Joseph Myers <joseph@codesourcery.com>
803 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
804 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
806 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
808 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
809 extra tokens at end of #undef directive.
810 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
811 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
812 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
814 2014-01-03 Joseph Myers <joseph@codesourcery.com>
816 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
818 * math/auto-libm-test-in: Mark various tests with
819 xfail-rounding:ldbl-128ibm.
820 * math/auto-libm-test-out: Regenerated.
822 2014-01-02 Joseph Myers <joseph@codesourcery.com>
825 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
826 numbers with subnormal high part when calculating exponent.
829 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
833 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
835 (__ieee754_acoshl): Use __log1pl not __log1p.
837 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
839 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
840 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
841 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
842 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
843 Convert to GNU style.
844 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
845 mem2mem_check, mem2chunk_check, top_check, realloc_check,
846 memalign_check, __malloc_set_state): Likewise.
847 * malloc/mallocbug.c (main): Likewise.
848 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
849 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
850 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
851 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
852 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
853 * malloc/malloc.h: Likewise.
854 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
855 memalignhook, reallochook, mabort): Likewise.
856 * malloc/mcheck.h: Likewise.
857 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
858 mmap64, mremap, munmap, dest): Likewise.
859 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
860 * malloc/morecore.c (__default_morecore): Likewise.
861 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
862 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
863 _obstack_allocated_p, obstack_free, _obstack_memory_used,
864 print_and_abort): Likewise.
865 * malloc/obstack.h: Likewise.
866 * malloc/set-freeres.c (__libc_freeres): Likewise.
867 * malloc/tst-mallocstate.c (main): Likewise.
868 * malloc/tst-mtrace.c (main): Likewise.
869 * malloc/tst-realloc.c (do_test): Likewise.
871 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
874 * nscd/netgroupcache.c (do_notfound): New function.
875 (addgetnetgrentX): Use it.
878 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
881 2014-01-01 Joseph Myers <joseph@codesourcery.com>
883 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
886 2014-01-01 Allan McRae <allan@archlinux.org>
888 * scripts/update-copyrights: Update configure input file suffix.
890 * NEWS: Update copyright year.
891 * catgets/gencat.c: Likewise.
892 * csu/version.c: Likewise.
893 * debug/catchsegv.sh: Likewise.
894 * debug/pcprofiledump.c: Likewise.
895 * debug/xtrace.sh: Likewise.
896 * elf/ldconfig.c: Likewise.
897 * elf/ldd.bash.in: Likewise.
898 * elf/pldd.c: Likewise.
899 * elf/sotruss.ksh: Likewise.
900 * elf/sprof.c: Likewise.
901 * iconv/iconv_prog.c: Likewise.
902 * iconv/iconvconfig.c: Likewise.
903 * locale/programs/locale.c: Likewise.
904 * locale/programs/localedef.c: Likewise.
905 * login/programs/pt_chown.c: Likewise.
906 * malloc/memusage.sh: Likewise.
907 * malloc/memusagestat.c: Likewise.
908 * malloc/mtrace.pl: Likewise.
909 * manual/libc.texinfo: Likewise.
910 * nscd/nscd.c: Likewise.
911 * nss/getent.c: Likewise.
912 * nss/makedb.c: Likewise.
913 * posix/getconf.c: Likewise.
914 * scripts/test-installation.pl: Likewise.
916 * All files with FSF copyright notices: Update copyright dates
917 using scripts/update-copyrights.
918 * intl/plural.c: Regenerated.
919 * locale/programs/charmap-kw.h: Likewise.
920 * locale/programs/locfile-kw.h: Likewise.
922 2013-12-31 Mike Frysinger <vapier@gentoo.org>
924 * sysdeps/unix/sysv/linux/configure: Regenerated.
925 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
926 the linux/fanotify.h header.
927 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
928 HAVE_LINUX_FANOTIFY_H is defined.
930 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
932 * benchtests/cos-inputs: New inputs.
933 * benchtests/sin-inputs: Likewise.
935 * benchtests/atan-inputs: New inputs. Fix name of multiple
936 precision fallback inputs.
938 * benchtests/atanh-inputs: New inputs.
939 * benchtests/tanh-inputs: Likewise.
941 * benchtests/acosh-inputs: New inputs.
942 * benchtests/asinh-inputs: Likewise.
944 * benchtests/cosh-inputs: New inputs.
945 * benchtests/sinh-inputs: Likewise.
947 * benchtests/acos-inputs: Add more inputs.
948 * benchtests/asin-inputs: Likewise.
950 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
953 * manual/arith.texi: Fix spelling.
954 * manual/charset.texi: Likewise.
955 * manual/errno.texi: Likewise.
956 * manual/filesys.texi: Likewise.
957 * manual/lang.texi: Likewise.
958 * manual/llio.texi: Likewise.
959 * manual/locale.texi: Likewise.
960 * manual/message.texi: Likewise.
961 * manual/resource.texi: Likewise.
962 * manual/search.texi: Likewise.
963 * manual/setjmp.texi: Likewise.
964 * manual/stdio.texi: Likewise.
965 * manual/string.texi: Likewise.
966 * manual/sysinfo.texi: Likewise.
967 * manual/time.texi: Likewise.
969 2013-12-27 Carlos O'Donell <carlos@redhat.com>
971 * po/sl.po: New file.
973 2013-12-27 Mike Frysinger <vapier@gentoo.org>
975 * .gitignore: Add core/.gdbinit/.gdb_history.
977 2013-12-27 Allan McRae <allan@archlinux.org>
980 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
981 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
983 2013-12-24 Brooks Moses <bmoses@google.com>
985 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
986 all compilers that claim C++98 compliance, not just GCC.
987 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
990 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
992 * NEWS: Restore accidentally deleted bug-fix entries.
994 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
995 Ondřej Bílka <neleai@seznam.cz>
998 * malloc/malloc.c (_int_free): Perform sanity check only if we
1001 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
1004 * manual/stdio.texi (String Input Conversions): Clarify that character
1005 classes are not supported.
1007 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1011 2013-12-22 Joseph Myers <joseph@codesourcery.com>
1014 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1015 Calculate results for small negative arguments directly rather
1016 than using reflection formula with special underflow handling.
1018 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1019 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1020 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1021 (fchflags): Likewise.
1023 (setlogin): Likewise.
1024 (sigaltstack): Likewise.
1027 (sigsetmask): Likewise.
1029 (waitpid): Likewise.
1030 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1031 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1033 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1034 * sysdeps/unix/bsd/Makefile: ... here.
1035 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1036 * sysdeps/unix/bsd/Versions: ... here.
1037 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1038 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1039 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1040 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1041 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1042 * sysdeps/unix/bsd/sigblock.c: ... here.
1043 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1044 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1045 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1046 * sysdeps/unix/bsd/sigvec.c: ... here.
1047 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1048 * sysdeps/unix/bsd/tcdrain.c: ... here.
1049 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1050 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1051 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1052 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1053 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1054 * sysdeps/unix/bsd/wait.c: ... here.
1055 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1056 * sysdeps/unix/bsd/wait3.c: ... here.
1057 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1058 * sysdeps/unix/bsd/waitpid.c: ... here.
1060 2013-12-21 Joseph Myers <joseph@codesourcery.com>
1063 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1064 round-to-nearest for [!USE_AS_EXPM1L].
1065 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1066 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1067 more tests of exp and exp10. Expect some exp10 tests to miss
1068 exceptions or fail in directed rounding modes.
1069 * math/auto-libm-test-out: Regenerated.
1070 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1071 (exp10_test_tonearest): New function.
1072 (exp10_towardzero_test_data): New array.
1073 (exp10_test_towardzero): New function.
1074 (exp10_downward_test_data): New array.
1075 (exp10_test_downward): New function.
1076 (exp10_upward_test_data): New array.
1077 (exp10_test_upward): New function.
1078 (main): Call the new functions.
1079 * sysdeps/i386/fpu/libm-test-ulps: Update.
1080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1082 2013-12-20 Joseph Myers <joseph@codesourcery.com>
1084 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1085 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1086 * math/auto-libm-test-out: Regenerated.
1087 * math/libm-test.inc (acosh_test_data): Add more tests.
1088 (atanh_test_data): Likewise.
1089 (ceil_test_data): Likewise.
1090 (copysign_test_data): Likewise.
1091 * sysdeps/i386/fpu/libm-test-ulps: Update.
1092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1094 * timezone/checktab.awk: Update from tzcode 2013i.
1095 * timezone/private.h: Likewise.
1096 * timezone/scheck.c: Likewise.
1097 * timezone/tzfile.h: Likewise.
1098 * timezone/tzselect.ksh: Likewise.
1099 * timezone/zdump.c: Likewise.
1100 * timezone/zic.c: Likewise.
1102 * math/auto-libm-test-in: Add tests of cpow.
1103 * math/auto-libm-test-out: Regenerated.
1104 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1105 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1107 (func_calc_desc): Add mpc_cc_c union field.
1108 (test_functions): Add cpow.
1109 (special_fill_2pi): New function.
1110 (special_real_inputs): Add 2pi.
1111 (calc_generic_results): Handle mpc_cc_c.
1112 * sysdeps/i386/fpu/libm-test-ulps: Update.
1113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1115 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1116 csqrt, ctan and ctanh.
1117 * math/auto-libm-test-out: Regenerated.
1118 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1119 (TEST_COND_x86): Likewise.
1120 (ccos_test_data): Use AUTO_TESTS_c_c.
1121 (ccosh_test_data): Likewise.
1122 (cexp_test_data): Likewise.
1123 (clog_test_data): Likewise.
1124 (csqrt_test_data): Likewise.
1125 (ctan_test_data): Likewise.
1126 (ctan_tonearest_test_data): Likewise.
1127 (ctan_towardzero_test_data): Likewise.
1128 (ctan_downward_test_data): Likewise.
1129 (ctan_upward_test_data): Likewise.
1130 (ctanh_test_data): Likewise.
1131 (ctanh_tonearest_test_data): Likewise.
1132 (ctanh_towardzero_test_data): Likewise.
1133 (ctanh_downward_test_data): Likewise.
1134 (ctanh_upward_test_data): Likewise.
1135 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1137 (func_calc_desc): Add mpc_c_c union field.
1138 (FUNC_mpc_c_c): New macro.
1139 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1140 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1142 (special_fill_min_subnorm_p120): New function.
1143 (special_real_inputs): Add min_subnorm_p120.
1144 (calc_generic_results): Handle mpc_c_c.
1145 * sysdeps/i386/fpu/libm-test-ulps: Update.
1146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1148 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1150 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1151 do_sin_slow): New functions.
1152 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1153 cslow2, csloww1, csloww2): Use the new functions.
1155 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1156 Use M to change sign of result instead of X. Assume X is
1158 (csloww1): Likewise.
1162 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1169 (sloww1): Don't adjust sign of DX.
1170 (csloww1): Likewise.
1171 (sloww2): Use X directly and don't adjust sign of DX.
1172 (csloww2): Likewise.
1174 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1176 * math/auto-libm-test-in: Add tests of cabs and carg.
1177 * math/auto-libm-test-out: Regenerated.
1178 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1179 (carg_test_data): Likewise.
1180 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1182 (func_calc_desc): Add mpc_c_f union field.
1183 (test_functions): Add cabs and carg.
1184 (calc_generic_results): Handle mpc_c_f.
1186 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1187 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1188 as a macro and a compat symbol.
1189 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1190 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1191 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1192 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1193 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1194 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1196 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1198 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1200 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1202 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1204 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1206 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1207 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1210 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1214 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1216 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1217 trailing whitespace removed.
1218 * scripts/config.guess: Update to version 2013-11-29.
1219 * scripts/config.sub: Update to version 2013-10-01.
1221 * math/auto-libm-test-in: Add tests of sincos.
1222 * math/auto-libm-test-out: Regenerated.
1223 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1224 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1226 (func_calc_desc): Add mpfr_f_11 union field.
1227 (test_functions): Add sincos.
1228 (calc_generic_results): Handle mpfr_f_11.
1229 * sysdeps/i386/fpu/libm-test-ulps: Update.
1230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1232 2013-12-19 Andreas Schwab <schwab@suse.de>
1234 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1236 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1237 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1238 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1240 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1242 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1243 * sysdeps/i386/fpu/libm-test-ulps: Update.
1244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1247 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1248 round-to-nearest mode when using frndint.
1249 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1250 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1251 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1253 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1255 * math/auto-libm-test-out: Regenerated.
1256 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1257 (TEST_COND_x86): Likewise.
1258 (expm1_tonearest_test_data): New array.
1259 (expm1_test_tonearest): New function.
1260 (expm1_towardzero_test_data): New array.
1261 (expm1_test_towardzero): New function.
1262 (expm1_downward_test_data): New array.
1263 (expm1_test_downward): New function.
1264 (expm1_upward_test_data): New array.
1265 (expm1_test_upward): New function.
1266 (main): Run the new test functions.
1267 * sysdeps/i386/fpu/libm-test-ulps: Update.
1268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1270 * include/features.h: Update comment documenting feature test
1271 macros. Mention _DEFAULT_SOURCE in comment.
1272 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1273 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1274 _BSD_SOURCE and _SVID_SOURCE.
1275 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1276 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1277 !_SVID_SOURCE]: Likewise.
1278 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1279 (__USE_POSIX_IMPLICITLY): Define.
1280 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1281 (_POSIX_SOURCE): Undefine and redefine.
1282 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1283 (_POSIX_C_SOURCE): Likewise.
1284 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1285 (Feature Test Macros): Update documentation of default features.
1287 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1289 * benchtests/Makefile: Add bench-strtok.
1290 * benchtests/bench-strtok.c: New file: strtok benchtest.
1292 2013-12-19 Allan McRae <allan@archlinux.org>
1294 * manual/install.texi: Suppress menu for plain text output.
1295 * INSTALL: Regenerated.
1297 2013-12-18 Brooks Moses <bmoses@google.com>
1300 * misc/getauxval.c: Include errno.h.
1301 (__getauxval): Set errno to ENOENT if the requested type is not
1303 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1304 don't declare with __attribute_const__.
1305 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1306 * manual/startup.texi: Document that getauxval sets errno.
1308 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1310 * math/auto-libm-test-in: Add tests of jn and yn.
1311 * math/auto-libm-test-out: Regenerated.
1312 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1313 (yn_test_data): Likewise.
1314 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1316 (func_calc_desc): Add mpfr_if_f union field.
1317 (FUNC_mpfr_if_f): New macro.
1318 (test_functions): Add jn and yn.
1319 (calc_generic_results): Assert type of second input for
1320 mpfr_ff_f. Handle mpfr_if_f.
1321 (output_for_one_input_case): Disable all checking for arguments
1322 fitting floating-point types in case of an integer argument.
1323 * sysdeps/i386/fpu/libm-test-ulps: Update.
1324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1327 Don't expect fegetround reference in libm.so.
1329 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1331 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1332 $(config-cflags-nofma).
1334 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1336 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1337 * math/auto-libm-test-out: Regenerated.
1340 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1341 to determine exponent and adjust argument to have exponent of -1.
1342 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1344 * math/auto-libm-test-out: Regenerated.
1345 * sysdeps/i386/fpu/libm-test-ulps: Update.
1346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1348 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1350 * manual/probes.texi: Remove cases when per-thread arenas are
1353 2013-12-18 Andreas Schwab <schwab@suse.de>
1355 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1356 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1357 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1358 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1359 * sysdeps/i386/i686/multiarch/Makefile: Update.
1360 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1362 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1364 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1365 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1367 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1370 Support TZ transition times < 00:00:00.
1371 This is needed for version-3 tz-format files; it supports time
1372 stamps past 2037 for America/Godthab (the only entry in the tz
1373 database for which this change is relevant).
1374 * manual/time.texi (TZ Variable): Document transition times
1375 from -167:59:59 through -00:00:01.
1376 * time/tzset.c (tz_rule): Time of day is now signed.
1377 (__tzset_parse_tz): Parse negative time of day.
1379 Document TZ transition times >= 25:00:00.
1380 * manual/time.texi (TZ Variable): Document transition times from
1381 25:00:00 through 167:59:59. These are already supported, and this
1382 support will help with version-3 tz-format files.
1384 * manual/time.texi (TZ Variable): Modernize North America example
1385 to reflect current (i.e., 2007-and-later) daylight saving rules.
1387 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1389 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1391 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1392 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1393 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1394 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1395 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1396 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1397 * sysdeps/unix/bsd/clock.c: Likewise.
1398 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1399 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1400 * sysdeps/unix/bsd/init-posix.c: Likewise.
1401 * sysdeps/unix/bsd/poll.c: Likewise.
1402 * sysdeps/unix/bsd/ptsname.c: Likewise.
1403 * sysdeps/unix/bsd/seekdir.c: Likewise.
1404 * sysdeps/unix/bsd/setegid.c: Likewise.
1405 * sysdeps/unix/bsd/seteuid.c: Likewise.
1406 * sysdeps/unix/bsd/setgid.c: Likewise.
1407 * sysdeps/unix/bsd/setrgid.c: Likewise.
1408 * sysdeps/unix/bsd/setruid.c: Likewise.
1409 * sysdeps/unix/bsd/setsid.c: Likewise.
1410 * sysdeps/unix/bsd/setuid.c: Likewise.
1411 * sysdeps/unix/bsd/sigaction.c: Likewise.
1412 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1413 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1414 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1415 * sysdeps/unix/bsd/telldir.c: Likewise.
1416 * sysdeps/unix/bsd/times.c: Likewise.
1417 * sysdeps/unix/bsd/usleep.c: Likewise.
1419 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1420 ($(objpfx)libbsd-compat.a): Remove rule.
1422 * include/features.h (__FAVOR_BSD): Do not define.
1423 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1424 features conflicting with POSIX.
1425 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1426 (_BSD_SOURCE): Remove description of not being a subset of other
1427 feature test macros.
1428 * manual/job.texi (getpgrp): Do not document BSD version.
1429 (getpgid): Do not document by reference to BSD getpgrp.
1430 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1431 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1432 * signal/signal.h [__FAVOR_BSD]: Likewise.
1433 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1434 instead of making contents conditional on [__FAVOR_BSD].
1435 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1437 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1441 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1444 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1445 values below 2**-450, not 2**-500.
1446 * math/auto-libm-test-in: Don't allow spurious underflow from
1448 * math/auto-libm-test-out: Regenerated.
1452 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1453 values of ha and hb and sort them after adjusting subnormal
1455 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1457 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1458 values of ea and eb and sort them after adjusting subnormal
1460 * math/auto-libm-test-in: Do not expect some hypot tests of
1461 subnormals to fail. Add more hypot tests.
1462 * math/auto-libm-test-out: Regenerated.
1464 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1467 * sysdeps/sh/s_fma.c: New file.
1468 * sysdeps/sh/s_fmaf.c: New file.
1469 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1471 * sysdeps/sh/Implies: Add sh/soft-fp.
1473 2013-12-16 Roland McGrath <roland@hack.frob.com>
1475 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1476 level of indirection to members `objname', `errstring', `malloced'.
1477 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1478 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1479 it as the __longjmp argument (just pass 1 instead).
1480 (_dl_catch_error): Initialize C with argument pointers and address of
1481 volatile local ERRCODE rather than copying values out of C at return.
1483 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1485 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1486 * math/auto-libm-test-out: Regenerated.
1487 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1488 (hypot_test_data): Likewise.
1489 (pow_test_data): Likewise.
1490 (pow_tonearest_test_data): Likewise.
1491 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1493 (func_calc_desc): Add mpfr_ff_f union field.
1494 (FUNC_mpfr_ff_f): New macro.
1495 (test_functions): Add atan2, hypot and pow.
1496 (special_fill_min): New function.
1497 (special_fill_minus_min): Likewise.
1498 (special_fill_min_subnorm): Likewise.
1499 (special_fill_minus_min_subnorm): Likewise.
1500 (special_real_inputs): Add min, -min, min_subnorm and
1502 (calc_generic_results): Handle mpfr_ff_f.
1503 * sysdeps/i386/fpu/libm-test-ulps: Update.
1504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1506 2013-12-16 Will Newton <will.newton@linaro.org>
1508 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1509 (Aligned Memory Blocks): Add documentation for aligned_alloc
1510 and suggest it as an alternative to posix_memalign.
1511 (Hooks for Malloc): Document __memalign_hook is also called
1512 for aligned_alloc. (Summary of Malloc): Add summary for
1513 aligned alloc. Document __memalign_hook is also called
1516 2013-12-16 Will Newton <will.newton@linaro.org>
1518 * manual/memory.texi (Malloc Examples): Clarify default
1519 alignment documentation. Suggest posix_memalign rather
1520 than memalign or valloc.
1521 (Aligned Memory Blocks): Remove suggestion to use memalign
1522 or valloc. Remove obsolete comment about BSD.
1523 Document memalign errno values and mark the function obsolete.
1524 Document posix_memalign returned error codes. Mark valloc
1525 as obsolete. (Hooks for Malloc): __memalign_hook is also
1526 called for posix_memalign and valloc.
1527 (Summary of Malloc): Add posix_memalign to function summary.
1528 __memalign_hook is also called for posix_memalign and valloc.
1530 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1532 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1536 (sloww): Use mynumber union. Expand ternary operator into
1538 (cslow): use mynumber union.
1540 2013-12-16 Allan McRae <allan@archlinux.org>
1542 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1543 * configure: Regenerated.
1545 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1548 * configure.ac: Added --enable-maintainer-mode. Check for
1549 autoconf when enabled.
1550 * configure: Regenerated.
1552 * nscd/nscd.service: New file.
1553 * nscd/nscd.tmpfiles: New file.
1555 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1558 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1559 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1560 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1561 (strstr): Add __strstr_sse2_unaligned ifunc.
1562 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1563 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1564 (strcasestr): Remove __strcasestr_sse42 ifunc.
1565 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1566 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1569 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1571 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1572 * sysdeps/sh/bits/fenv.h: ... here.
1573 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1575 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1577 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1579 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1582 hypotf multiarch implementations.
1583 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1584 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1585 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1586 multiarch hypot for PPC64.
1587 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1588 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1589 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1590 multiarch hypotf for PPC64.
1592 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1594 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1595 modff multiarch implementations.
1596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1599 multiarch modf for PPC64.
1600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1603 multiarch modff for PPC64.
1605 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1608 and logl multiarch implementations.
1609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1612 multiarch logb for PPC64.
1613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1616 multiarch logb for PPC64.
1617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1620 multiarch logb for PPC64.
1622 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1625 isinff multiarch implementation.
1626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1630 multiarch isinf for PPC64.
1631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1634 multiarch isinff for PPC64.
1636 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1639 finitef multiarch implementation.
1640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1644 multiarch finite for PPC64.
1645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1648 multiarch finitef for PPC64.
1650 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1653 lrint multiarch implementation.
1654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1658 multiarch llrint for PPC64.
1659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1660 multiarch lrint for PPC64.
1662 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1665 copysignf multiarch implementation.
1666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1671 multiarch copysign for PPC64.
1672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1673 multiarch copysignf for PPC64.
1675 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1677 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1678 multiarch implementation.
1679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1687 multiarch llround for PPC64.
1688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1689 multiarch trunc for PPC64.
1690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1691 multiarch truncf for PPC64.
1693 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1695 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1696 multiarch implementation.
1697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1705 multiarch llround for PPC64.
1706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1707 multiarch round for PPC64.
1708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1709 multiarch roundf for PPC64.
1711 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1714 multiarch implementation.
1715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1723 multiarch llround for PPC64.
1724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1725 multiarch floor for PPC64.
1726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1727 multiarch floorf for PPC64.
1729 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1732 multiarch implementation.
1733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1741 multiarch llround for PPC64.
1742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1743 multiarch ceil for PPC64.
1744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1745 multiarch ceilf for PPC64.
1747 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1749 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1750 multiarch implementation.
1751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1758 multiarch llround for PPC64.
1759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1760 multiarch lround for PPC64.
1762 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1765 multiarch implementation.
1766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1773 multiarch isnan for PPC64.
1774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1775 multiarch isnanf for PPC64.
1777 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1779 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1780 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1781 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1782 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1783 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1786 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1788 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1789 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1791 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1793 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1796 multiarch implementations.
1797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1798 (__libc_ifunc_impl_list): Likewise.
1799 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1800 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1801 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1802 multiarch stpcpy for PPC64.
1804 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1807 multiarch implementations.
1808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1809 (__libc_ifunc_impl_list): Likewise.
1810 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1811 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1812 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1813 multiarch strcpy for PPC64.
1815 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1817 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1818 redefine function name.
1819 (_wordcopy_fwd_dest_aligned): Likewise.
1820 (_wordcopy_bwd_aligned): Likewise.
1821 (_wordcopy_bwd_dest_aligned): Likewise.
1822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1823 multiarch implementations.
1824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1825 (__libc_ifunc_impl_list): Likewise.
1826 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1827 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1828 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1829 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1830 multiarch wcscpy for PPC64.
1832 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1834 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1835 multiarch implementations.
1836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1837 (__libc_ifunc_impl_list): Likewise.
1838 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1839 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1840 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1841 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1842 multiarch wcscpy for PPC64.
1844 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1847 multiarch implementations.
1848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1849 (__libc_ifunc_impl_list): Likewise.
1850 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1851 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1852 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1853 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1854 multiarch wcsrchr for PPC64.
1856 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1859 multiarch implementations.
1860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1861 (__libc_ifunc_impl_list): Likewise.
1862 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1863 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1864 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1865 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1866 multiarch wcschr for PPC64.
1868 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1871 multiarch implementations.
1872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1873 (__libc_ifunc_impl_list): Likewise.
1874 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1875 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1876 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1877 multiarch strchrnul for PPC64.
1879 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1884 (__libc_ifunc_impl_list): Likewise.
1885 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1886 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1887 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1888 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1891 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1896 (__libc_ifunc_impl_list): Likewise.
1897 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1898 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1899 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1900 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1903 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1906 multiarch implementations.
1907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1908 (__libc_ifunc_impl_list): Likewise.
1909 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1910 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1911 strncasecmp for PPC64.
1912 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1913 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1914 multiarch strncasecmp_l for PPC64.
1916 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1919 multiarch implementations.
1920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1921 (__libc_ifunc_impl_list): Likewise.
1922 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1923 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1924 multiarch strcasecmp for PPC64.
1925 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1927 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1928 multiarch strcasecmp_l for PPC64.
1930 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1935 (__libc_ifunc_impl_list): Likewise.
1936 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1937 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1938 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1941 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1946 (__libc_ifunc_impl_list): Likewise.
1947 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1948 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1949 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1952 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1957 (__libc_ifunc_impl_list): Likewise.
1958 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1959 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1960 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1961 rawmemrchr for PPC64.
1963 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1968 (__libc_ifunc_impl_list): Likewise.
1969 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1970 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1971 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1974 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1979 (__libc_ifunc_impl_list): Likewise.
1980 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1981 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1982 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1985 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1990 (__libc_ifunc_impl_list): Likewise.
1991 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1992 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1993 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1996 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1998 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1999 avoid cretion of __bzero symbol.
2000 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2002 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2004 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2007 multiarch implementations.
2008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2009 (__libc_ifunc_impl_list): Likewise.
2010 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2011 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2012 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2013 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2015 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2016 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2017 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2018 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2019 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2021 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2023 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2025 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2029 (__libc_ifunc_impl_list): Likewise.
2030 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2031 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2032 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2033 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2036 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2039 multiarch for POWER/PPC64.
2040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2041 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2042 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2043 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2044 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2045 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2046 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2047 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2048 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2051 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2053 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2054 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2055 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2056 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2057 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2058 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2059 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2060 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2061 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2062 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2063 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2064 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2065 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2066 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2067 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2076 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2078 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2080 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2082 * benchtests/Makefile (bench): Add exp2 and log2.
2083 (LDLIBS-bench-exp2): Add -lm.
2084 (LDLIBS-bench-log2): Likewise.
2085 * benchtests/exp2-inputs: New inputs file.
2086 * benchtests/log2-inputs: New inputs file.
2087 * benchtests/log-inputs: Add new inputs.
2088 * benchtests/tan-inputs: Likewise.
2090 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2092 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2094 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2095 csloww1, csloww2): ... from here.
2097 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2098 instead of structures.
2099 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2100 (POLYNOMIAL): Likewise.
2101 (TAYLOR_SLOW): Likewise.
2109 (bsloww1): Likewise.
2110 (bsloww2): Likewise.
2113 (csloww1): Likewise.
2114 (csloww2): Likewise.
2116 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2118 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2119 (__malloc_assert, __libc_realloc, __libc_calloc,
2120 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2122 * malloc/hooks.c (realloc_check): Likewise.
2124 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2126 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2127 * malloc/arena.c: Remove PER_THREAD conditional.
2128 [!PER_THREAD]: Remove code.
2129 (ptmalloc_unlock_all2): Likewise.
2130 (ptmalloc_init): Likewise.
2131 (_int_new_arena): Likewise.
2132 (arena_get2): Likewise.
2133 * malloc/hooks.c (__malloc_get_state): Likewise.
2134 (__malloc_set_state): Likewise.
2135 * malloc/malloc.c: Likewise.
2136 (struct malloc_state): Likewise.
2137 (struct malloc_par): Likewise.
2138 (__libc_realloc): Likewise.
2139 (__libc_mallopt): Likewise.
2141 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2143 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2145 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2147 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2148 macro to a function. Check for zero perturb_byte.
2149 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2151 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2153 * malloc/malloc.c: (force_reg): Remove.
2154 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2155 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2156 force_reg by atomic_forced_read.
2157 * malloc/arena.c (ptmalloc_init): Likewise.
2158 * malloc/hooks.c (top_check): Likewise.
2160 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2164 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2168 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2170 * math/auto-libm-test-in: Add tests of lgamma.
2171 * math/auto-libm-test-out: Regenerated.
2172 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2173 (M_LOG_2_SQRT_PIl): Likewise.
2174 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2175 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2177 (func_calc_desc): Add mpfr_f_f1 union field.
2186 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2187 (test_functions): Add lgamma.
2188 (calc_generic_results): Handle mpfr_f_f1.
2189 * sysdeps/i386/fpu/libm-test-ulps: Update.
2190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2192 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2194 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2195 __mpn_add_n for PowerPC64/POWER7.
2196 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2197 __mpn_sub_n for PowerPC64/POWER7.
2199 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2201 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2202 __mpn_addmul_1 for PowerPC64.
2203 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2204 __mpn_submul_1 for PowerPC64.
2205 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2207 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2210 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2213 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2215 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2217 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2219 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2221 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2222 add multiarch folders.
2223 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2224 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2225 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2226 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2227 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2228 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2229 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2230 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2231 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2232 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2233 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2241 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2244 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2250 multiarch __ieee754_hypot for PowerPC32.
2251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2256 multiarch __ieee754_hypotf for PowerPC32.
2258 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2261 long_double_symbol only if __logbl is defined.
2262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2263 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2265 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2267 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2268 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2269 path for implementation.
2270 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2273 logb, and logbl multiarch implementations for PowerPC32.
2274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2279 multiarch logb for PowerPC32.
2280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2285 multiarch logbf for PowerPC32.
2286 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2290 multiarch logbl implementation for PowerPC32.
2292 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2295 and modff multiarch implementations.
2296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2301 multiarch modf for PowerPC32.
2302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2307 multiarch modff for PowerPC32.
2309 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2312 and lrintf multiarch implementations.
2313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2318 multiarch lrint for PowerPC32.
2319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2320 file: multiarch lrintf for PowerPC32.
2322 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2325 and lroundf multiarch implementations.
2326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2333 multiarch lround for PowerPC32.
2334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2335 file: multiarch lroundf for PowerPC32.
2337 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2340 copysign and copysignf multiarch implementations.
2341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2346 file: multiarch copysign for PowerPC32.
2347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2348 file: multiarch copysignf for PowerPC32.
2350 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2353 and truncf multiarch implementations.
2354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2359 multiarch trunc for PowerPC32.
2360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2365 multiarch truncf for PowerPC32.
2367 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2370 and roundf multiarch implementations.
2371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2376 multiarch round for PowerPC32.
2377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2382 multiarch roundf for PowerPC32.
2384 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2387 and floorf multiarch implementations.
2388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2393 multiarch floor for PowerPC32.
2394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2399 multiarch floorf for PowerPC32.
2401 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2404 and ceilf multiarch implementations.
2405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2410 multiarch ceil for PowerPC32.
2411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2416 multiarch ceilf for PowerPC32.
2418 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2420 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2422 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2425 and finitef multiarch implementations.
2426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2431 multiarch finite for PowerPC32.
2432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2435 file: multiarch finitef for PowerPC32.
2437 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2440 and isinff multiarch implementations.
2441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2446 multiarch isinf for PowerPC32.
2447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2450 multiarch isinff for PowerPC32.
2452 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2454 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2455 alias when __isnan is defined.
2456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2457 and isnanf multiarch implementations.
2458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2467 multiarch isnan for PowerPC32.
2468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2473 multiarch isnanf for PowerPC32.
2475 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2478 and sqrtf multiarch implementations.
2479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2484 multiarch sqrt for PowerPC32.
2485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2490 multiarch sqrtf for PowerPC32.
2492 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2495 and llroundf multiarch implementations.
2496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2503 file: multiarch llround for PowerPC32.
2504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2505 file: multiarch llroundf for PowerPC32.
2507 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2510 multiarch PowerPC32 fpu implementations.
2511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2516 multiarch llrint for PowerPC32.
2517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2524 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2528 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2530 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2532 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2534 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2536 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2537 multiarch wordcopy for PPC32.
2538 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2540 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2541 (__libc_ifunc_impl_list): Likewise.
2542 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2543 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2544 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2545 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2546 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2547 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2549 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2551 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2552 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2556 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2558 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2559 multiarch wcscpy for PPC32.
2560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2563 (__libc_ifunc_impl_list): Likewise.
2564 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2565 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2566 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2567 sysdeps/powerpc/power6/wcscpy.c.
2569 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2571 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2579 multiarch wcsrchr for PPC32.
2580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2582 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2583 (__libc_ifunc_impl_list): Likewise.
2584 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2585 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2586 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2587 sysdeps/powerpc/power6/wcsrchr.c.
2589 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2597 multiarch wcschr for PPc32.
2598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2601 (__libc_ifunc_impl_list): Likewise.
2602 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2603 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2604 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2605 sysdeps/powerpc/power6/wcschr.c.
2607 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2609 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2610 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2612 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2613 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2614 file: multiarch strchr for PPC32.
2615 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2617 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2618 (__libc_ifunc_impl_list): Likewise.
2620 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2622 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2624 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2626 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2628 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2629 multiarch strchrnul for PPC32.
2630 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2632 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2633 (__libc_ifunc_impl_list): Likewise.
2635 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2637 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2639 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2640 multiarch strncasecmp for PPC32.
2641 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2643 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2644 multiarch strncasecmp_l for PPC32.
2645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2646 strncasecmp multiarch objects.
2647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2648 (__libc_ifunc_impl_list): Likewise.
2650 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2652 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2654 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2655 multiarch strncasecmp for PPC32.
2656 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2658 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2659 multiarch strcasecmp_l for PPC32.
2660 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2662 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2663 (__libc_ifunc_impl_list): Likewise.
2665 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2667 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2669 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2671 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2672 multiarch strncmp for PPC32.
2673 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2675 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2676 (__libc_ifunc_impl_list): Likewise.
2678 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2680 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2681 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2683 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2684 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2687 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2688 (__libc_ifunc_impl_list): Likewise.
2690 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2692 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2694 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2696 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2700 (__libc_ifunc_impl_list): Likewise.
2702 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2704 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2706 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2708 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2709 multiarch rawmemchr for PPC32.
2710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2713 (__libc_ifunc_impl_list): Likewise.
2715 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2717 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2719 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2721 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2722 file: memrchr multiarch for PPC32.
2723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2726 (__libc_ifunc_impl_list): Likewise.
2728 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2730 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2731 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2733 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2734 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2735 multiarch memchr for PPC32.
2736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2739 (__libc_ifunc_impl_list): Likewise.
2741 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2743 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2744 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2746 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2748 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2749 file: multiarch mempcpy for PPC32.
2750 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2752 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2753 (__libc_ifunc_impl_list): Likewise.
2755 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2757 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2758 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2759 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2760 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2761 multiarch bzero for PPC32.
2762 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2764 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2766 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2767 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2768 file: multiarch memset for PPC32.
2769 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2771 memset multiarch objects.
2772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2773 (__libc_ifunc_impl_list): Likewise.
2775 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2777 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2779 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2780 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2782 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2786 (__libc_ifunc_impl_list): Likewise.
2788 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2790 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2791 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2792 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2794 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2796 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2798 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2799 multiarch memcpy for PPC32.
2800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2803 (__libc_ifunc_impl_list): Likewise.
2805 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2808 support multiarch for POWER/PPC32.
2809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2811 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2813 Implies file to make multiarch folder appers before the fpu and
2814 default folder for power4 configuration.
2816 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2818 * scripts/bench.pl: Append volatile keyword to type.
2820 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2822 * sysdeps/sh/sotruss-lib.c: New file.
2823 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2825 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2829 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2832 * math/w_tgamma.c: Include <errno.h>.
2833 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2834 * math/w_tgammaf.c: Include <errno.h>.
2835 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2836 * math/w_tgammal.c: Include <errno.h>.
2837 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2838 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2839 underflow. Add more tgamma tests.
2840 * math/auto-libm-test-out: Regenerated.
2841 * sysdeps/i386/fpu/libm-test-ulps: Update.
2842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2844 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2845 sin, sinh, tan, tanh, tgamma, y0 and y1.
2846 * math/auto-libm-test-out: Regenerated.
2847 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2848 (TEST_COND_x86): Likewise.
2849 (M_E2l): Remove macro.
2851 (M_2_SQRT_PIl): Likewise.
2852 (M_SQRT_PIl): Likewise.
2853 (M_1_DIV_El): Likewise.
2854 (log_test_data): Use AUTO_TESTS_f_f.
2855 (log10_test_data): Likewise.
2856 (log1p_test_data): Likewise.
2857 (log2_test_data): Likewise.
2858 (sin_test_data): Likewise.
2859 (sin_tonearest_test_data): Likewise.
2860 (sin_towardzero_test_data): Likewise.
2861 (sin_downward_test_data): Likewise.
2862 (sin_upward_test_data): Likewise.
2863 (sinh_test_data): Likewise.
2864 (sinh_tonearest_test_data): Likewise.
2865 (sinh_towardzero_test_data): Likewise.
2866 (sinh_downward_test_data): Likewise.
2867 (sinh_upward_test_data): Likewise.
2868 (tan_test_data): Likewise.
2869 (tan_tonearest_test_data): Likewise.
2870 (tan_towardzero_test_data): Likewise.
2871 (tan_downward_test_data): Likewise.
2872 (tan_upward_test_data): Likewise.
2873 (tanh_test_data): Likewise.
2874 (tgamma_test_data): Likewise.
2875 (y0_test_data): Likewise.
2876 (y1_test_data): Likewise.
2877 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2878 (special_real_inputs): Add pi/4.
2879 * sysdeps/i386/fpu/libm-test-ulps: Update.
2880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2882 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2884 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2885 "longjmp_target" static probes.
2886 (__longjmp): Rename to __longjmp_symbol.
2887 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2888 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2889 on which longjmp to generate.
2890 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2891 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2893 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2894 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2895 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2896 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2897 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2898 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2900 __longjmp_symbol based on which __longjmp to generate.
2901 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2903 (setjmp): Rename to setjmp_symbol.
2904 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2905 (_setjmp): Rename to _setjmp_symbol.
2906 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2907 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2908 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2909 which setjmp to generate.
2910 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2911 "longjmp_target" static probes.
2913 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2915 * benchtests/README: Add note about output arguments.
2916 * benchtests/bench-sincos.c: Remove file.
2917 * benchtests/sincos-inputs: New file.
2918 * scripts/bench.pl: Identify output arguments and define
2919 static variables for them.
2921 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2924 * Makefile (INSTALL): Add install-plain.texi as the primary
2926 * manual/install-plain.texi: New file.
2927 * manual/install.texi: Include node directive only for
2928 non-plaintext output.
2930 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2932 * stdlib/longlong.h: Update from GCC.
2936 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2937 * math/w_j0f.c (y0f): Likewise.
2938 * math/w_j0l.c (__y0l): Likewise.
2939 * math/w_j1.c (y1): Likewise.
2940 * math/w_j1f.c (y1f): Likewise.
2941 * math/w_j1l.c (__y1l): Likewise
2942 * math/w_jn.c (yn): Likewise.
2943 * math/w_jnf.c (ynf): Likewise.
2944 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2945 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2946 value for Bessel function domain errors outside _SVID_ mode.
2947 Adjust sign of return value for yn (negative integer, 0).
2948 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2949 by zero in return for negative x and set sign appropriately for
2951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2952 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2953 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2954 expectations in error cases.
2955 (y1_test_data): Likewise.
2956 (yn_test_data): Likewise.
2957 * sysdeps/i386/fpu/libm-test-ulps: Update.
2958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2960 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2962 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2963 "64" to "64-v1". Add "64-v2".
2964 (abi-64-options): Rename to ...
2965 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2966 (abi-64-condition): Rename to ...
2967 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2968 (abi-64-ld-soname): Rename to ...
2969 (abi-64-v1-ld-soname): ... this.
2970 (abi-64-v2-options): Define.
2971 (abi-64-v2-condition): Likewise.
2972 (abi-64-v2-ld-soname): Likewise.
2973 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2974 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2979 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2980 Alan Modra <amodra@gmail.com>
2982 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2983 New versions for use with the ELFv2 ABI.
2984 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2985 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2987 (struct La_ppc64v2_retval): Likewise.
2988 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2989 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2990 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2991 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2992 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2993 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2994 Do not save or restore CR.
2995 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2996 (_dl_profile_resolve): Do no save or restore CR. Support extended
2997 return values for ELFv2 ABI. Fix location of FPR return registers.
2998 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2999 updated values for _CALL_ELF == 2.
3000 (La_regs, La_retval, int_retval): Likewise.
3002 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3004 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3005 (FRAME_MIN_SIZE_PARM): Likewise.
3006 (FRAME_BACKCHAIN): Likewise.
3007 (FRAME_CR_SAVE): Likewise.
3008 (FRAME_LR_SAVE): Likewise.
3009 (FRAME_TOC_SAVE): Likewise.
3010 (FRAME_PARM_SAVE): Likewise.
3011 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3012 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3013 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3014 (call_mcount_parm_offset): New macro.
3015 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3016 (PROF): Use symbolic stack frame offsets.
3017 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3018 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3019 Redefine in terms of FRAME_MIN_SIZE.
3020 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3021 (_dl_profile_resolve): Likewise. Update comment.
3022 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3023 symbols stack frame offsets.
3024 (__sigsetjmp): Likewise.
3025 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3026 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3027 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3028 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3031 (FRAME_BACKCHAIN): Remove.
3032 (FRAME_CR_SAVE): Likewise.
3033 (FRAME_LR_SAVE): Likewise.
3034 (FRAME_COMPILER_DW): Likewise.
3035 (FRAME_LINKER_DW): Likewise.
3036 (FRAME_TOC_SAVE): Likewise.
3037 (FRAME_PARM_SAVE): Likewise.
3038 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3039 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3040 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3042 (CHECK_SP): Use symbolic stack frame offsets.
3043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3044 zone" instead of caller's parameter save area for temp storage.
3045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3046 Likewise. Also, use symbolic stack frame offsets.
3047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3048 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3049 our own stack frame instead of the caller's.
3050 (__socket): Use symbolic stack frame offsets.
3052 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3053 Alan Modra <amodra@gmail.com>
3055 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3057 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3058 PPC64_LOCAL_ENTRY_OFFSET): Define.
3059 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3061 (elf_machine_fixup_plt): Call it.
3062 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3064 (elf_machine_rela): Update call to elf_machine_plt_conflict.
3065 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3066 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3067 r2 before calling target.
3069 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3070 Alan Modra <amodra@gmail.com>
3072 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3073 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3074 versions of macros to support ELFv2 ABI.
3075 (LOCALENTRY): New macro.
3076 (ENTRY, EALIGN): Use it.
3077 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3078 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3079 fall through into ENTRY entry point.
3080 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3081 Only define if _CALL_ELF != 2.
3083 (elf_machine_matches_host): Verify ABI version matches.
3084 (RTLD_START): Use LOCALENTRY.
3085 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3086 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3087 (PLT_ENTRY_WORDS): New macro.
3088 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3089 (elf_machine_runtime_setup): Support ELFv2 ABI.
3090 (elf_machine_fixup_plt): Likewise.
3091 (elf_machine_plt_conflict): Likewise.
3092 (resolve_ifunc): Likewise.
3093 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3094 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3097 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3099 (makecontext): Support ELFv2 ABI.
3100 * elf/elf.h (EF_PPC64_ABI): Define.
3102 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3104 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3105 New assembler macro.
3106 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3107 [ASSEMBLER] (ENTRY): ... but instead here ...
3108 [ASSEMBLER] (EALIGN): ... and here.
3109 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3110 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3111 [!ASSEMBLER] (ENTRY_2): Use it.
3112 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3113 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3114 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3115 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3116 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3118 Use PPC64_LOAD_FUNCPTR.
3120 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3122 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3124 2013-12-04 Alan Modra <amodra@gmail.com>
3126 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3127 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3128 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3129 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3131 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3132 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3133 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3134 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3135 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3136 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3138 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3141 (__makecontext): Fix incorrect CFI when backtracing out of
3142 context created via makecontext.
3143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3144 (__setcontext): Fix incorrect CFI during switch to new context.
3145 (__novec_setcontext): Likewise.
3147 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3150 * time/strptime_l.c (__strptime_internal): Allow modifiers
3152 * time/tst-strptime.c (day_tests): Add testcase.
3155 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3157 * scripts/bench.pl: Skip over blank lines.
3159 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3162 * manual/time.texi (Calendar Time): Clarify what timezone functions
3165 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3169 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3171 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3173 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3174 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3175 * debug/memset_chk.c (__memset_chk): Likewise.
3176 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3177 * debug/strncpy_chk.c: Likewise.
3179 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3183 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3184 (__ieee754_exp): For possibly underflowing results, check size of
3185 result and force underflow exception if required.
3186 * math/auto-libm-test-in: Add more tests of exp.
3187 * math/auto-libm-test-out: Regenerated.
3188 * sysdeps/i386/fpu/libm-test-ulps: Update.
3189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3192 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3193 * math/w_exp2f.c (__exp2f): Likewise.
3194 * math/w_exp2l.c (__exp2l): Likewise.
3195 * math/auto-libm-test-in: Do not allow missing errno on exp2
3197 * math/auto-libm-test-out: Regenerated.
3199 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3202 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3203 handle filename validation.
3204 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3207 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3210 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3211 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3212 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3214 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3215 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3216 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3217 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3218 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3219 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3220 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3221 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3222 Add more erfc tests.
3223 * math/auto-libm-test-out: Regenerated.
3224 * sysdeps/i386/fpu/libm-test-ulps: Update.
3225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3227 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3228 exp2, expm1, j0 and j1.
3229 * math/auto-libm-test-out: Regenerated.
3230 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3231 (erfc_test_data): Likewise.
3232 (exp_test_data): Likewise.
3233 (exp_tonearest_test_data): Likewise.
3234 (exp_towardzero_test_data): Likewise.
3235 (exp_downward_test_data): Likewise.
3236 (exp_upward_test_data): Likewise.
3237 (exp10_test_data): Likewise.
3238 (exp2_test_data): Likewise.
3239 (expm1_test_data): Likewise.
3240 (j0_test_data): Likewise.
3241 (j1_test_data): Likewise.
3242 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3243 (input_flag_type): Add flag_xfail_rounding.
3244 (input_flags): Add xfail-rounding.
3245 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3246 (output_for_one_input_case): Handle flag_xfail_rounding.
3247 * sysdeps/i386/fpu/libm-test-ulps: Update.
3248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3250 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3253 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3256 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3259 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3260 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3261 (STAP_PROBE0): New macro.
3262 (STAP_PROBE1): Likewise.
3263 (STAP_PROBE2): Likewise.
3264 (STAP_PROBE3): Likewise.
3265 (STAP_PROBE4): Likewise.
3267 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3269 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3271 2013-12-02 Steve Ellcey <sellcey@mips.com>
3273 * benchtests/Makefile (bench): Add sqrt.
3274 (LDLIBS-bench-sqrt): New.
3275 * benchtests/sqrt-input: New.
3277 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3279 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3280 (GAIH_EAI): Likewise.
3281 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3282 (gaih_inet): Likewise.
3283 (getaddrinfo): Don't use GAIH_EAI.
3285 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3286 (struct gaih): Remove definition.
3288 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3290 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3291 Use HERRNOP directly.
3293 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3297 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3299 * math/gen-auto-libm-tests.c (test_functions): Add more
3300 single-argument functions.
3301 (special_fill_pi_2): New function.
3302 (special_fill_minus_pi_2): Likewise.
3303 (special_fill_pi_6): Likewise.
3304 (special_fill_minus_pi_6): Likewise.
3305 (special_fill_pi_3): Likewise.
3306 (special_fill_2pi_3): Likewise.
3307 (special_fill_e): Likewise.
3308 (special_fill_1_e): Likewise.
3309 (special_fill_e_minus_1): Likewise.
3310 (special_real_inputs): Add more special inputs.
3311 (output_for_one_input_case): Do not require ERANGE on underflow to
3312 zero if round-to-nearest result does not underflow to zero, unless
3313 exact results required.
3314 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3315 atan, atanh, cbrt, cos and cosh.
3316 * math/auto-libm-test-out: Regenerated.
3317 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3318 (acos_tonearest_test_data): Likewise.
3319 (acos_towardzero_test_data): Likewise.
3320 (acos_downward_test_data): Likewise.
3321 (acos_upward_test_data): Likewise.
3322 (acosh_test_data): Likewise.
3323 (asin_test_data): Likewise.
3324 (asin_tonearest_test_data): Likewise.
3325 (asin_towardzero_test_data): Likewise.
3326 (asin_upward_test_data): Likewise.
3327 (asinh_test_data): Likewise.
3328 (atan_test_data): Likewise.
3329 (atanh_test_data): Likewise.
3330 (cbrt_test_data): Likewise.
3331 (cos_test_data): Likewise.
3332 (cos_tonearest_test_data): Likewise.
3333 (cos_towardzero_test_data): Likewise.
3334 (cos_downward_test_data): Likewise.
3335 (cos_upward_test_data): Likewise.
3336 (cosh_test_data): Likewise.
3337 (cosh_tonearest_test_data): Likewise.
3338 (cosh_towardzero_test_data): Likewise.
3339 (cosh_downward_test_data): Likewise.
3340 (cosh_upward_test_data): Likewise.
3341 * sysdeps/i386/fpu/libm-test-ulps: Update.
3342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3344 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3347 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3348 * math/w_exp10f.c (__exp10f): Likewise.
3349 * math/w_exp10l.c (__exp10l): Likewise.
3350 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3351 errno settings in existing tests.
3354 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3355 precision control set to double precision.
3356 * sysdeps/i386/fpu/w_sqrt.c: New file.
3357 * math/auto-libm-test-in: Add more tests.
3358 * math/auto-libm-test-out: Update.
3360 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3361 (sqrt_test_tonearest): New function.
3362 (sqrt_towardzero_test_data): New variable.
3363 (sqrt_test_towardzero): New function.
3364 (sqrt_downward_test_data): New variable.
3365 (sqrt_test_downward): New function.
3366 (sqrt_upward_test_data): New variable.
3367 (sqrt_test_upward): New function.
3368 (main): Call the new functions.
3370 * math/gen-auto-libm-tests.c: New file.
3371 * math/auto-libm-test-in: Likewise.
3372 * math/auto-libm-test-out: New generated file.
3373 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3375 (%beautify): Add generated representations of zero.
3376 (top level): Set $auto_input and call parse_auto_input.
3377 (beautify): Remove trailing "f" from hex float constants.
3378 (parse_args): Handle XFAIL_TEST.
3379 (convert_condition): New function.
3380 (or_value): Likewise.
3381 (or_cond_value): Likewise.
3382 (generate_testfile): Handle AUTO_TESTS_* lines.
3383 (parse_auto_input): New function.
3384 * math/libm-test.inc (XFAIL_TEST): New macro.
3385 (ERRNO_UNCHANGED): Update value.
3386 (ERRNO_EDOM): Likewise.
3387 (ERRNO_ERANGE): Likewise.
3388 (IGNORE_RESULT): Likewise.
3389 (TEST_COND_flt_32): New macro.
3390 (TEST_COND_dbl_64): Likewise.
3391 (TEST_COND_ldbl_96_intel): Likewise.
3392 (TEST_COND_ldbl_96_m68k): Likewise.
3393 (TEST_COND_ldbl_128): Likewise.
3394 (TEST_COND_ldbl_128ibm): Likewise.
3395 (TEST_COND_long32): Likewise.
3396 (TEST_COND_long64): Likewise.
3397 (TEST_COND_before_rounding): Likewise.
3398 (TEST_COND_after_rounding): Likewise.
3399 (enable_test): Handle XFAIL_TEST flag.
3400 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3401 with finite results.
3402 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3405 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3406 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3409 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3410 __tls_get_addr_internal instead of __tls_get_offset in order to
3411 avoid GOT pointer dependency. Make rtld export
3412 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3413 __tls_get_addr since we are a __tls_get_offset platform.
3414 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3415 GOT pointer being set up before.
3416 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3418 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3420 * manual/math.texi (Errors in Math Functions): Document accuracy
3424 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3425 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3426 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3427 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3428 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3429 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3430 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3431 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3432 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3433 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3434 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3435 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3436 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3437 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3438 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3439 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3441 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3442 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3443 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3444 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3445 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3447 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3449 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3451 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3452 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3453 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3454 atomic-feupdateenv and flt-rounds.
3455 * sysdeps/powerpc/nofpu/Versions (libc): Add
3456 __atomic_feholdexcept, __atomic_feclearexcept,
3457 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3458 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3459 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3460 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3461 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3466 * manual/arith.texi (FP Exceptions): Document that exceptions may
3467 not be raised when matherr is used.
3468 (Math Error Reporting): Document overflow in directed rounding
3469 modes. Document that errno may not be set when finite values are
3470 returned on overflow. Document intent to set errno on underflow
3471 only for underflow to zero.
3474 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3475 round-to-nearest then adjust result for other rounding modes.
3476 * include/fenv.h (fegetround): Use libm_hidden_proto.
3477 * math/fegetround.c (fegetround): Use libm_hidden_def.
3478 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3479 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3480 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3481 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3483 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3484 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3485 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3486 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3488 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3491 * nss/Versions (libnss_files): Add
3492 _nss_files_gethostbyname3_r.
3493 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3495 (HOST_DB_LOOKUP): Remove macro.
3496 (_nss_files_gethostbyname_r): Implement function without the
3497 HOST_DB_LOOKUP macro.
3498 (_nss_files_gethostbyname2_r): Likewise.
3500 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3502 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3504 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3506 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3507 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3510 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3512 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3513 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3514 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3515 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3516 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3517 __fe_nomask_env_priv and attribute_hidden.
3518 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3519 (libc_feupdateenv_test_ppc): Likewise.
3520 (libc_feresetround_ppc): Likewise.
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3522 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3523 compat_symbol macro.
3524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3525 (__fe_nomask_env): Likewise.
3526 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3528 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3530 * string/Makefile: Remove ifunc tests.
3531 * string/test-string.h: Define TEST_IFUNC.
3532 * string/test-bcopy-ifunc.c: Remove.
3533 * string/test-bzero-ifunc.c: Likewise.
3534 * string/test-memccpy-ifunc.c: Likewise.
3535 * string/test-memchr-ifunc.c: Likewise.
3536 * string/test-memcmp-ifunc.c: Likewise.
3537 * string/test-memcpy-ifunc.c: Likewise.
3538 * string/test-memmem-ifunc.c: Likewise.
3539 * string/test-memmove-ifunc.c: Likewise.
3540 * string/test-mempcpy-ifunc.c: Likewise.
3541 * string/test-memrchr-ifunc.c: Likewise.
3542 * string/test-memset-ifunc.c: Likewise.
3543 * string/test-rawmemchr-ifunc.c: Likewise.
3544 * string/test-stpcpy-ifunc.c: Likewise.
3545 * string/test-stpncpy-ifunc.c: Likewise.
3546 * string/test-strcasecmp-ifunc.c: Likewise.
3547 * string/test-strcasestr-ifunc.c: Likewise.
3548 * string/test-strcat-ifunc.c: Likewise.
3549 * string/test-strchr-ifunc.c: Likewise.
3550 * string/test-strchrnul-ifunc.c: Likewise.
3551 * string/test-strcmp-ifunc.c: Likewise.
3552 * string/test-strcpy-ifunc.c: Likewise.
3553 * string/test-strcspn-ifunc.c: Likewise.
3554 * string/test-strlen-ifunc.c: Likewise.
3555 * string/test-strncasecmp-ifunc.c: Likewise.
3556 * string/test-strncat-ifunc.c: Likewise.
3557 * string/test-strncmp-ifunc.c: Likewise.
3558 * string/test-strncpy-ifunc.c: Likewise.
3559 * string/test-strnlen-ifunc.c: Likewise.
3560 * string/test-strpbrk-ifunc.c: Likewise.
3561 * string/test-strrchr-ifunc.c: Likewise.
3562 * string/test-strspn-ifunc.c: Likewise.
3563 * string/test-strstr-ifunc.c: Likewise.
3565 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3567 * benchtests/Makefile: Remove ifunc tests.
3568 * benchtests/bench-string.h: Define TEST_IFUNC.
3569 * benchtests/bench-bcopy-ifunc.c: Remove.
3570 * benchtests/bench-bzero-ifunc.c: Likewise.
3571 * benchtests/bench-memccpy-ifunc.c: Likewise.
3572 * benchtests/bench-memchr-ifunc.c: Likewise.
3573 * benchtests/bench-memcmp-ifunc.c: Likewise.
3574 * benchtests/bench-memcpy-ifunc.c: Likewise.
3575 * benchtests/bench-memmem-ifunc.c: Likewise.
3576 * benchtests/bench-memmove-ifunc.c: Likewise.
3577 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3578 * benchtests/bench-memrchr-ifunc.c: Likewise.
3579 * benchtests/bench-memset-ifunc.c: Likewise.
3580 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3581 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3582 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3583 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3584 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3585 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3586 * benchtests/bench-strcat-ifunc.c: Likewise.
3587 * benchtests/bench-strchr-ifunc.c: Likewise.
3588 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3589 * benchtests/bench-strcmp-ifunc.c: Likewise.
3590 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3591 * benchtests/bench-strcpy-ifunc.c: Likewise.
3592 * benchtests/bench-strcspn-ifunc.c: Likewise.
3593 * benchtests/bench-strlen-ifunc.c: Likewise.
3594 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3595 * benchtests/bench-strncat-ifunc.c: Likewise.
3596 * benchtests/bench-strncmp-ifunc.c: Likewise.
3597 * benchtests/bench-strncpy-ifunc.c: Likewise.
3598 * benchtests/bench-strnlen-ifunc.c: Likewise.
3599 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3600 * benchtests/bench-strrchr-ifunc.c: Likewise.
3601 * benchtests/bench-strsep-ifunc.c: Likewise.
3602 * benchtests/bench-strspn-ifunc.c: Likewise.
3603 * benchtests/bench-strstr-ifunc.c: Likewise.
3605 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3607 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3609 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3611 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3612 * rt/aio.h: Likewise.
3613 * sysdeps/gnu/bits/utmp.h: Likewise.
3614 * sysdeps/gnu/bits/utmpx.h: Likewise.
3615 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3616 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3617 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3618 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3619 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3620 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3621 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3622 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3623 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3624 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3625 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3626 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3627 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3629 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3630 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3631 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3632 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3633 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3634 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3635 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3636 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3637 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3638 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3639 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3641 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3642 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3643 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3644 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3645 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3646 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3647 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3648 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3649 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3650 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3651 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3652 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3653 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3654 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3655 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3656 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3658 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3661 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3662 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3664 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3666 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3667 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3670 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3673 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3674 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3675 (__fesetround): Remove define.
3676 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3677 rounding and exceptions handling.
3678 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3679 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3680 (__fe_nomask_env): Likewise.
3681 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3682 __fegetround instead of fegetround.
3683 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3684 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3686 2013-11-21 Roland McGrath <roland@hack.frob.com>
3688 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3691 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3693 2013-11-21 Meador Inge <meadori@codesourcery.com>
3696 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3697 (encrypt_r): Likewise.
3698 * malloc/obstack.h (obstack_free): Likewise.
3699 * posix/unistd.h (encrypt): Likewise.
3701 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3703 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3704 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3705 DL_CALL_DT_FINI() that call the functions directly.
3706 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3707 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3708 * elf/dl-fini.c: Likewise.
3710 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3712 * malloc/hooks.c (memalign_check): Add alignment rounding.
3713 * malloc/malloc.c (_mid_memalign): New function.
3714 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3715 Implement by calling _mid_memalign.
3716 * manual/probes.texi (Memory Allocation Probes): Remove
3717 memory_valloc_retry and memory_pvalloc_retry.
3719 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3721 * locale/programs/locarchive.c (open_archive): Add const
3722 qualifier to ARCHIVEFNAME and copy default fname to
3726 * libio/tst-widetext.input: Rename Oriya to Odia.
3727 * locale/iso-639.def: Likewise.
3729 * manual/probes.texi (Mathematical Function Probes): Add
3730 documentation for sin, cos, asin and acos probes.
3731 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3732 (__sin32): Add slowasin probe.
3733 (__cos32): Add slowacos probe.
3734 (__mpsin): Add slowsin probe.
3735 (__mpcos): Add slowcos probe.
3737 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3740 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3741 thread-local __sim_exceptions_thread and global
3742 __sim_exceptions_global.
3743 (__sim_disabled_exceptions): Change to thread-local
3744 __sim_disabled_exceptions_thread and global
3745 __sim_disabled_exceptions_global.
3746 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3747 and global __sim_round_mode_global.
3748 (__simulate_exceptions): Use thread-local floating-point state and
3749 set global state from it as needed.
3750 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3751 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3752 __sim_round_mode_thread.
3753 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3754 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3755 and global __sim_exceptions_global.
3756 (__sim_disabled_exceptions): Change to thread-local
3757 __sim_disabled_exceptions_thread and global
3758 __sim_disabled_exceptions_global.
3759 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3760 and global __sim_round_mode_global.
3761 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3762 (SIM_SET_GLOBAL): Likewise.
3763 * sysdeps/powerpc/soft-fp/sfp-machine.h
3764 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3765 __sim_round_mode_thread.
3766 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3767 __sim_disabled_exceptions_thread.
3768 (__sim_exceptions): Change to __sim_exceptions_thread.
3769 (__sim_disabled_exceptions): Change to
3770 __sim_disabled_exceptions_thread.
3771 (__sim_round_mode): Change to __sim_round_mode_thread.
3772 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3773 thread-local floating-point state and set global state from it as
3775 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3776 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3777 (__sim_disabled_exceptions): Remove extern declaration.
3778 (feenableexcept): Use thread-local floating-point state and set
3779 global state from it as needed.
3780 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3782 (__sim_disabled_exceptions): Likewise.
3783 (__sim_round_mode): Likewise.
3784 (__fegetenv): Use thread-local floating-point state.
3785 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3786 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3787 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3788 floating-point state and set global state from it as needed.
3789 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3790 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3791 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3793 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3794 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3796 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3797 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3798 Use __sim_round_mode_thread.
3799 * math/test-fenv-tls.c: New file.
3800 * math/Makefile (tests): Add test-fenv-tls.
3801 ($(objpfx)test-fenv-tls): Depend on
3802 $(common-objpfx)nptl/libpthread.so.
3804 2013-11-19 Andreas Schwab <schwab@suse.de>
3806 * locale/programs/locale.c (show_info): Decode wordarray elements.
3807 * locale/categories.def (LC_MONETARY): Add element for
3808 _NL_MONETARY_CRNCYSTR.
3809 * locale/C-monetary.c (conversion_rate): New variable.
3810 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3813 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3815 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3816 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3818 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3820 * elf/Makefile (tst-auxv): New test.
3821 * elf/tst-auxv.c: New
3822 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3824 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3826 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3827 (hidden_proto): Caller changed.
3828 (hidden_tls_proto): New macro.
3829 (libc_hidden_tls_proto): Likewise.
3830 (rtld_hidden_tls_proto): Likewise.
3831 (libm_hidden_tls_proto): Likewise.
3832 (libresolv_hidden_tls_proto): Likewise.
3833 (librt_hidden_tls_proto): Likewise.
3834 (libdl_hidden_tls_proto): Likewise.
3835 (libnss_files_hidden_tls_proto): Likewise.
3836 (libnsl_hidden_tls_proto): Likewise.
3837 (libnss_nisplus_hidden_tls_proto): Likewise.
3838 (libutil_hidden_tls_proto): Likewise.
3840 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3843 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3844 (decompose_rpath): Defer expansion to fillin_rpath.
3845 (_dl_init_paths): Pass linkmap to fillin_rpath.
3847 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3849 * benchtests/Makefile: Add strsep.
3850 * benchtests/bench-strsep.c: New file: strsep benchtest.
3851 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3853 2013-11-18 Andreas Schwab <schwab@suse.de>
3855 * locale/programs/locale.c (show_info) [case byte]: Check for
3856 '\377' instead of '\177'.
3857 * locale/C-monetary.c (not_available): Always use "\377".
3858 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3859 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3860 detect unavailable sign_posn locale elements.
3861 * locale/localeconv.c (__localeconv): For grouping and
3862 mon_grouping handle "\177" and "\377" like no grouping.
3863 (INT_ELEM): New macro. Use it to set all numeric members.
3864 * locale/programs/ld-monetary.c (monetary_read)
3865 <tok_mon_grouping>: Normalize single -1 to the empty string.
3866 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3869 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3872 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3873 when we match (nil).
3874 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3876 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3878 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3879 (NO_TEST_INLINE): Update value.
3880 (ERRNO_UNCHANGED): Likewise.
3881 (ERRNO_EDOM): Likewise.
3882 (ERRNO_ERANGE): Likewise.
3883 (IGNORE_RESULT): Likewise.
3884 (check_float_internal): Check signs of NaN results if
3886 (check_complex): Pass TEST_NAN_SIGN flag through to second
3887 check_float_internal call.
3888 (copysign_test_data): Add tests with quiet NaNs as second
3889 argument. Use TEST_NAN_SIGN.
3890 (fabs_test_data): Add test of negative quiet NaN argument. Use
3892 (signbit_test_data): Add tests of quiet NaN argument.
3893 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3895 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3897 (parse_args): Handle function results specified as IGNORE.
3898 * math/libm-test.inc (IGNORE_RESULT): New macro.
3899 (check_float_internal): Do not check numerical result if flag
3901 (check_complex): Pass through IGNORE_RESULT to second
3902 check_float_internal call.
3903 (check_int): Do not check numerical result if flag IGNORE_RESULT
3905 (check_long): Likewise.
3906 (check_bool): Likewise.
3907 (check_longlong): Likewise.
3908 (lrint_test_data): Add tests of infinite and NaN arguments.
3909 (lrint_tonearest_test_data): Likewise.
3910 (lrint_towardzero_test_data): Likewise.
3911 (lrint_downward_test_data): Likewise.
3912 (lrint_upward_test_data): Likewise.
3913 (llrint_test_data): Likewise.
3914 (llrint_tonearest_test_data): Likewise.
3915 (llrint_towardzero_test_data): Likewise.
3916 (llrint_downward_test_data): Likewise.
3917 (llrint_upward_test_data): Likewise.
3918 (lround_test_data): Likewise.
3919 (llround_test_data): Likewise.
3921 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3922 (ERRNO_UNCHANGED): Update value.
3923 (ERRNO_EDOM): Likewise.
3924 (ERRNO_ERANGE): Likewise.
3925 (NO_TEST_INLINE_FLOAT): New macro.
3926 (NO_TEST_INLINE_DOUBLE): Likewise.
3927 (enable_test): New function.
3928 (RUN_TEST_f_f): Check enable_test before running test.
3929 (RUN_TEST_2_f): Likewise.
3930 (RUN_TEST_fff_f): Likewise.
3931 (RUN_TEST_c_f): Likewise.
3932 (RUN_TEST_f_f1): Likewise.
3933 (RUN_TEST_fF_f1): Likewise.
3934 (RUN_TEST_fI_f1): Likewise.
3935 (RUN_TEST_ffI_f1): Likewise.
3936 (RUN_TEST_c_c): Likewise.
3937 (RUN_TEST_cc_c): Likewise.
3938 (RUN_TEST_f_i): Likewise.
3939 (RUN_TEST_f_i_tg): Likewise.
3940 (RUN_TEST_ff_i_tg): Likewise.
3941 (RUN_TEST_f_b): Likewise.
3942 (RUN_TEST_f_b_tg): Likewise.
3943 (RUN_TEST_f_l): Likewise.
3944 (RUN_TEST_f_L): Likewise.
3945 (RUN_TEST_fFF_11): Likewise.
3946 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3948 (cosh_test_data): Likewise.
3949 (exp_test_data): Likewise.
3950 (expm1_test_data): Likewise.
3951 (hypot_test_data): Likewise.
3952 (pow_test_data): Likewise.
3953 (sinh_test_data): Likewise.
3954 (tanh_test_data): Likewise.
3955 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3958 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3959 tests with quiet NaN input and output.
3960 (acosh_test_data): Likewise.
3961 (asin_test_data): Likewise.
3962 (asinh_test_data): Likewise.
3963 (atan_test_data): Likewise.
3964 (atanh_test_data): Likewise.
3965 (atan2_test_data): Likewise.
3966 (cbrt_test_data): Likewise.
3967 (cos_test_data): Likewise.
3968 (cosh_test_data): Likewise.
3969 (erf_test_data): Likewise.
3970 (erfc_test_data): Likewise.
3971 (exp_test_data): Likewise.
3972 (exp10_test_data): Likewise.
3973 (exp2_test_data): Likewise.
3974 (expm1_test_data): Likewise.
3975 (hypot_test_data): Likewise.
3976 (j0_test_data): Likewise.
3977 (j1_test_data): Likewise.
3978 (jn_test_data): Likewise.
3979 (lgamma_test_data): Likewise.
3980 (log_test_data): Likewise.
3981 (log10_test_data): Likewise.
3982 (log1p_test_data): Likewise.
3983 (log2_test_data): Likewise.
3984 (pow_test_data): Likewise.
3985 (scalb_test_data): Likewise.
3986 (sin_test_data): Likewise.
3987 (sincos_test_data): Likewise.
3988 (sinh_test_data): Likewise.
3989 (tan_test_data): Likewise.
3990 (tanh_test_data): Likewise.
3991 (tgamma_test_data): Likewise.
3992 (y0_test_data): Likewise.
3993 (y1_test_data): Likewise.
3994 (yn_test_data): Likewise.
3997 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3998 argument being NaN and avoid computations with second argument in
4000 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4001 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4002 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4004 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4006 * locale/iso-639.def: Add Chitwani Tharu (the).
4008 2013-11-14 Andreas Schwab <schwab@suse.de>
4010 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4011 word instead of empty string.
4013 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4016 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4018 (__fe_nomask_env): Likewise.
4020 2013-11-13 Steve Ellcey <sellcey@mips.com>
4022 * benchtests/bench-timing.h: Include time.h.
4024 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4027 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4029 * sysdeps/unix/sysv/linux/configure: Regenerated.
4031 2013-11-13 Joseph Myers <joseph@codesourcery.com>
4034 * stdlib/strtod_l.c (round_and_return): Do not consider
4035 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4036 exponent one less than half the least subnormal exponent.
4037 * stdlib/test-strtod-round-data: Add more tests.
4038 * stdlib/tst-strtod-round.c (tests): Regenerated.
4040 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4043 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4044 (__fe_mask_env): Likewise.
4045 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4046 libm_hidden_proto and add function prototype.
4047 (__fe_mask_env): Add function prototype.
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4049 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4051 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4053 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4055 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4057 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4058 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4060 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4062 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4063 of htab_find_slot().
4065 2013-11-11 David S. Miller <davem@davemloft.net>
4068 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4069 symbol in the non-vis3 case in static builds.
4070 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4071 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4072 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4073 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4075 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4078 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4081 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4083 * benchtests/Makefile: Add bench-strtod.
4084 * benchtests/bench-strtod.c: New file: strtod benchtest
4086 2013-11-11 Andreas Schwab <schwab@suse.de>
4089 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4090 terminating NUL in key length.
4092 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4094 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4095 Add artificial ODP entry for vDSO symbol for PPC64.
4096 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4097 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4099 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4102 * nss/getent.c (services_keys): Recognize services starting with digit.
4104 2013-11-06 David S. Miller <davem@davemloft.net>
4107 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4108 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4110 2013-11-06 Will Newton <will.newton@linaro.org>
4112 * manual/memory.texi (Malloc Examples): Remove register
4113 keyword from examples.
4115 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4117 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4119 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4122 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4123 depending on [__GCC_IEC_559 > 0].
4124 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4125 depending on [__GCC_IEC_559_COMPLEX > 0].
4127 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4129 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4132 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4134 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4136 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4139 * malloc/malloc (malloc_info): Do not handle first bin as
4142 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4144 * locale/iso-639.def: Add Central Nahuatl (nhn).
4146 2013-11-01 Bruno Haible <bruno@clisp.org>
4149 * manual/math.texi (BSD Random): Specify range upper bound as
4152 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4154 * locale/iso-639.def: Add Meadow Mari (mhr).
4156 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
4158 [BZ #14752], [BZ #15763]
4159 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4161 * rt/tst_shm.c: Add test for escaping directory.
4163 2013-10-31 Andreas Schwab <schwab@suse.de>
4166 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4167 followed by 'x' as part of digit sequence.
4168 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4170 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4173 * configure.ac: allow GNU Make 4.0 and greater.
4174 * configure: Regenerated.
4176 2013-10-30 Will Newton <will.newton@linaro.org>
4179 * malloc/hooks.c (memalign_check): Limit alignment to the
4180 maximum representable power of two.
4181 * malloc/malloc.c (__libc_memalign): Likewise.
4182 * malloc/tst-memalign.c (do_test): Add test for very
4183 large alignment values.
4184 * malloc/tst-posix_memalign.c (do_test): Likewise.
4186 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4189 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4190 (munmap_chunk): Likewise.
4191 (mremap_chunk): Likewise.
4193 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4196 * stdlib/div.c (div): Remove obsolete code.
4197 * stdlib/ldiv.c (ldiv): Likewise.
4198 * stdlib/lldiv.c (lldiv): Likewise.
4200 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4203 * nss/nss_files/files-XXX.c (get_contents_ret): New
4205 (get_contents): New function.
4206 (internal_getent): Use it. Expand size of LINEBUFLEN.
4208 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4210 * configure.in: Moved to ...
4211 * configure.ac: ... here. Change reference to configure.in
4213 * sysdeps/arm/preconfigure.ac: ... here.
4214 configure.in to configure.ac.
4215 * sysdeps/gnu/configure.in: Moved to ...
4216 * sysdeps/gnu/configure.ac: ... here.
4217 * sysdeps/i386/configure.in: Moved to ...
4218 * sysdeps/i386/configure.ac: ... here.
4219 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4220 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4221 * sysdeps/mach/configure.in: Moved to ...
4222 * sysdeps/mach/configure.ac: ... here.
4223 * sysdeps/mach/hurd/configure.in: Moved to ...
4224 * sysdeps/mach/hurd/configure.ac: ... here.
4225 * sysdeps/powerpc/configure.in: Moved to ...
4226 * sysdeps/powerpc/configure.ac: ... here.
4227 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4228 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4229 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4230 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4231 * sysdeps/s390/s390-32/configure.in: Moved to ...
4232 * sysdeps/s390/s390-32/configure.ac: ... here.
4233 * sysdeps/s390/s390-64/configure.in: Moved to ...
4234 * sysdeps/s390/s390-64/configure.ac: ... here.
4235 * sysdeps/sh/configure.in: Moved to ...
4236 * sysdeps/sh/configure.ac: ... here.
4237 * sysdeps/sparc/configure.in: Moved to ...
4238 * sysdeps/sparc/configure.ac: ... here.
4239 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4240 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4241 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4242 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4243 * sysdeps/x86_64/configure.in: Moved to ...
4244 * sysdeps/x86_64/configure.ac: ... here.
4245 * sysdeps/x86_64/preconfigure.in: Moved to ...
4246 * sysdeps/x86_64/preconfigure.ac: ... here.
4247 * aclocal.m4: Change reference to configure.in to configure.ac.
4248 * config.h.in: Likewise.
4249 * manual/install.texi: Likewise.
4250 * manual/maint.texi: Likewise.
4251 * Makefile: Likewise.
4252 * malloc/Makefile: Likewise.
4253 * nscd/Makefile: Likewise.
4254 * Makeconfig: Change reference to configure.in and
4255 preconfigure.in to configure.ac and preconfigure.ac
4257 * INSTALL: Regenerated.
4258 * configure: Likewise.
4259 * sysdeps/gnu/configure: Likewise.
4260 * sysdeps/i386/configure: Likewise.
4261 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4262 * sysdeps/mach/configure: Likewise.
4263 * sysdeps/mach/hurd/configure: Likewise.
4264 * sysdeps/powerpc/configure: Likewise.
4265 * sysdeps/powerpc/powerpc32/configure: Likewise.
4266 * sysdeps/powerpc/powerpc64/configure: Likewise.
4267 * sysdeps/s390/s390-32/configure: Likewise.
4268 * sysdeps/s390/s390-64/configure: Likewise.
4269 * sysdeps/sh/configure: Likewise.
4270 * sysdeps/sparc/configure: Likewise.
4271 * sysdeps/unix/sysv/linux/configure: Likewise.
4272 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4273 * sysdeps/x86_64/configure: Likewise.
4274 * sysdeps/x86_64/preconfigure: Likewise.
4276 2013-10-29 Andreas Schwab <schwab@suse.de>
4278 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4280 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4282 * benchtests/pow-inputs: Add new inputs.
4284 * benchtests/exp-inputs: Add new inputs.
4286 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4287 conditional check for return value.
4288 (__cos32): Likewise.
4290 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4292 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4293 to provide a boost for large inputs with word alignment.
4294 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4295 implementation based on optimized PPC64 strcpy.
4296 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4297 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4298 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4299 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4301 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4304 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4306 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4309 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4310 * time/tst-strptime.c (day_tests): Add testcase.
4312 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4315 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4317 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4320 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4321 MAP_FAILED on error.
4323 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4326 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4327 heap for large requests.
4329 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4332 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4333 result if the result has no associated interface.
4334 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4335 interface for all 127.X.Y.Z addresses.
4337 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4339 * locale/iso-639.def: Add Ligurian (lij)
4341 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4344 * sunrpc/rpc_main.c: Document rpcgen -5.
4346 2013-10-19 Michael Stahl <mstahl@redhat.com>
4348 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4350 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4353 * posix/glob.c: Match only directories when trailing slash is present.
4354 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4355 (main): Add testcase.
4357 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4360 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4362 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4364 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4365 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4366 AUTH_DES and cindex for FIPS 140-2.
4367 (DES Encryption): Add cindex FIPS 46-3.
4369 * locale/locarchive.h (struct locarhandle): Add fname.
4370 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4371 if an optional argument was specified to --list-archive,
4373 * locale/programs/locarchive.c (show_archive_content): Take new
4374 argument fname and pass it via ah.fname to open_archive.
4375 * locale/programs/localedef.h: Update decl.
4376 (open_archive): If AH->fname is non-null, open that file
4377 rather than the default file name, and don't ignore ENOENT.
4378 (create_archive): Set AH.fname to NULL.
4379 (delete_locales_from_archive): Likewise.
4380 (add_locales_to_archive): Likewise.
4381 * locale/programs/locfile.c (write_all_categories): Likewise.
4383 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4384 Aldy Hernandez <aldyh@redhat.com>
4386 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4387 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4388 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4389 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4390 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4391 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4392 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4393 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4394 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4395 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4396 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4397 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4398 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4399 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4400 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4402 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4404 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4406 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4408 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4409 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4411 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4412 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4413 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4414 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4416 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4417 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4418 * sysdeps/powerpc/preconfigure: Likewise.
4419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4421 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4422 Replace contents of file by #include of <fenv_libc.h>.
4423 * sysdeps/powerpc/soft-fp/sfp-machine.h
4424 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4426 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4427 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4428 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4429 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4430 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4431 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4433 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4434 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4439 Allow copysignl PLT reference to be missing.
4441 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4442 Joseph Myers <joseph@codesourcery.com
4445 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4447 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4449 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4451 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4452 * elf/tst-tls1.c: Likewise.
4453 * elf/tst-tls10.h: Likewise.
4454 * elf/tst-tls14.c: Likewise.
4455 * elf/tst-tls2.c: Likewise.
4456 * elf/tst-tls3.c: Likewise.
4457 * elf/tst-tls4.c: Likewise.
4458 * elf/tst-tls5.c: Likewise.
4459 * elf/tst-tls6.c: Likewise.
4460 * elf/tst-tls7.c: Likewise.
4461 * elf/tst-tls8.c: Likewise.
4462 * elf/tst-tls9.c: Likewise.
4463 * elf/tst-tlsmod1.c: Likewise.
4464 * elf/tst-tlsmod13.c: Likewise.
4465 * elf/tst-tlsmod13a.c: Likewise.
4466 * elf/tst-tlsmod14a.c: Likewise.
4467 * elf/tst-tlsmod16a.c: Likewise.
4468 * elf/tst-tlsmod16b.c: Likewise.
4469 * elf/tst-tlsmod2.c: Likewise.
4470 * elf/tst-tlsmod3.c: Likewise.
4471 * elf/tst-tlsmod4.c: Likewise.
4472 * elf/tst-tlsmod5.c: Likewise.
4473 * elf/tst-tlsmod6.c: Likewise.
4475 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4478 * malloc/malloc.c: remove checks for statistics.
4480 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4483 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4484 * inet/tst-network.c: Add testcase.
4486 2013-10-17 Andreas Schwab <schwab@suse.de>
4489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4490 to determine canonical name.
4492 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4494 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4495 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4496 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4497 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4499 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4500 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4501 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4502 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4503 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4506 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4507 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4508 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4509 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4510 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4511 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4512 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4514 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4518 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4519 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4521 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4522 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4523 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4524 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4526 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4528 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4530 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4531 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4532 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4534 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4535 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4536 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4541 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4542 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4543 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4544 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4545 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4546 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4547 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4548 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4549 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4551 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4553 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4556 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4557 make result into a quiet NaN.
4559 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4561 * soft-fp/adddf3.c: Fix horizontal whitespace.
4562 * soft-fp/addsf3.c: Likewise.
4563 * soft-fp/addtf3.c: Likewise.
4564 * soft-fp/divdf3.c: Likewise.
4565 * soft-fp/divsf3.c: Likewise.
4566 * soft-fp/divtf3.c: Likewise.
4567 * soft-fp/double.h: Likewise.
4568 * soft-fp/eqdf2.c: Likewise.
4569 * soft-fp/eqsf2.c: Likewise.
4570 * soft-fp/eqtf2.c: Likewise.
4571 * soft-fp/extenddftf2.c: Likewise.
4572 * soft-fp/extended.h: Likewise.
4573 * soft-fp/extendsfdf2.c: Likewise.
4574 * soft-fp/extendsftf2.c: Likewise.
4575 * soft-fp/extendxftf2.c: Likewise.
4576 * soft-fp/fixdfdi.c: Likewise.
4577 * soft-fp/fixdfsi.c: Likewise.
4578 * soft-fp/fixdfti.c: Likewise.
4579 * soft-fp/fixsfdi.c: Likewise.
4580 * soft-fp/fixsfsi.c: Likewise.
4581 * soft-fp/fixsfti.c: Likewise.
4582 * soft-fp/fixtfdi.c: Likewise.
4583 * soft-fp/fixtfsi.c: Likewise.
4584 * soft-fp/fixtfti.c: Likewise.
4585 * soft-fp/fixunsdfdi.c: Likewise.
4586 * soft-fp/fixunsdfsi.c: Likewise.
4587 * soft-fp/fixunsdfti.c: Likewise.
4588 * soft-fp/fixunssfdi.c: Likewise.
4589 * soft-fp/fixunssfsi.c: Likewise.
4590 * soft-fp/fixunssfti.c: Likewise.
4591 * soft-fp/fixunstfdi.c: Likewise.
4592 * soft-fp/fixunstfsi.c: Likewise.
4593 * soft-fp/fixunstfti.c: Likewise.
4594 * soft-fp/floatdidf.c: Likewise.
4595 * soft-fp/floatdisf.c: Likewise.
4596 * soft-fp/floatditf.c: Likewise.
4597 * soft-fp/floatsidf.c: Likewise.
4598 * soft-fp/floatsisf.c: Likewise.
4599 * soft-fp/floatsitf.c: Likewise.
4600 * soft-fp/floattidf.c: Likewise.
4601 * soft-fp/floattisf.c: Likewise.
4602 * soft-fp/floattitf.c: Likewise.
4603 * soft-fp/floatundidf.c: Likewise.
4604 * soft-fp/floatundisf.c: Likewise.
4605 * soft-fp/floatunditf.c: Likewise.
4606 * soft-fp/floatunsidf.c: Likewise.
4607 * soft-fp/floatunsisf.c: Likewise.
4608 * soft-fp/floatunsitf.c: Likewise.
4609 * soft-fp/floatuntidf.c: Likewise.
4610 * soft-fp/floatuntisf.c: Likewise.
4611 * soft-fp/floatuntitf.c: Likewise.
4612 * soft-fp/fmadf4.c: Likewise.
4613 * soft-fp/fmasf4.c: Likewise.
4614 * soft-fp/fmatf4.c: Likewise.
4615 * soft-fp/gedf2.c: Likewise.
4616 * soft-fp/gesf2.c: Likewise.
4617 * soft-fp/getf2.c: Likewise.
4618 * soft-fp/ledf2.c: Likewise.
4619 * soft-fp/lesf2.c: Likewise.
4620 * soft-fp/letf2.c: Likewise.
4621 * soft-fp/muldf3.c: Likewise.
4622 * soft-fp/mulsf3.c: Likewise.
4623 * soft-fp/multf3.c: Likewise.
4624 * soft-fp/negdf2.c: Likewise.
4625 * soft-fp/negsf2.c: Likewise.
4626 * soft-fp/negtf2.c: Likewise.
4627 * soft-fp/op-1.h: Likewise.
4628 * soft-fp/op-2.h: Likewise.
4629 * soft-fp/op-4.h: Likewise.
4630 * soft-fp/op-8.h: Likewise.
4631 * soft-fp/op-common.h: Likewise.
4632 * soft-fp/quad.h: Likewise.
4633 * soft-fp/single.h: Likewise.
4634 * soft-fp/soft-fp.h: Likewise.
4635 * soft-fp/sqrtdf2.c: Likewise.
4636 * soft-fp/sqrtsf2.c: Likewise.
4637 * soft-fp/sqrttf2.c: Likewise.
4638 * soft-fp/subdf3.c: Likewise.
4639 * soft-fp/subsf3.c: Likewise.
4640 * soft-fp/subtf3.c: Likewise.
4641 * soft-fp/truncdfsf2.c: Likewise.
4642 * soft-fp/trunctfdf2.c: Likewise.
4643 * soft-fp/trunctfsf2.c: Likewise.
4644 * soft-fp/trunctfxf2.c: Likewise.
4645 * soft-fp/unorddf2.c: Likewise.
4646 * soft-fp/unordsf2.c: Likewise.
4647 * soft-fp/unordtf2.c: Likewise.
4649 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4651 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4652 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4654 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4656 * elf/dl-libc.c: Clear initfini list after freeing.
4658 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4660 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4661 * soft-fp/addsf3.c: Likewise.
4662 * soft-fp/addtf3.c: Likewise.
4663 * soft-fp/divdf3.c: Likewise.
4664 * soft-fp/divsf3.c: Likewise.
4665 * soft-fp/divtf3.c: Likewise.
4666 * soft-fp/double.h: Likewise.
4667 * soft-fp/eqdf2.c: Likewise.
4668 * soft-fp/eqsf2.c: Likewise.
4669 * soft-fp/eqtf2.c: Likewise.
4670 * soft-fp/extenddftf2.c: Likewise.
4671 * soft-fp/extended.h: Likewise.
4672 * soft-fp/extendsfdf2.c: Likewise.
4673 * soft-fp/extendsftf2.c: Likewise.
4674 * soft-fp/extendxftf2.c: Likewise.
4675 * soft-fp/fixdfdi.c: Likewise.
4676 * soft-fp/fixdfsi.c: Likewise.
4677 * soft-fp/fixdfti.c: Likewise.
4678 * soft-fp/fixsfdi.c: Likewise.
4679 * soft-fp/fixsfsi.c: Likewise.
4680 * soft-fp/fixsfti.c: Likewise.
4681 * soft-fp/fixtfdi.c: Likewise.
4682 * soft-fp/fixtfsi.c: Likewise.
4683 * soft-fp/fixtfti.c: Likewise.
4684 * soft-fp/fixunsdfdi.c: Likewise.
4685 * soft-fp/fixunsdfsi.c: Likewise.
4686 * soft-fp/fixunsdfti.c: Likewise.
4687 * soft-fp/fixunssfdi.c: Likewise.
4688 * soft-fp/fixunssfsi.c: Likewise.
4689 * soft-fp/fixunssfti.c: Likewise.
4690 * soft-fp/fixunstfdi.c: Likewise.
4691 * soft-fp/fixunstfsi.c: Likewise.
4692 * soft-fp/fixunstfti.c: Likewise.
4693 * soft-fp/floatdidf.c: Likewise.
4694 * soft-fp/floatdisf.c: Likewise.
4695 * soft-fp/floatditf.c: Likewise.
4696 * soft-fp/floatsidf.c: Likewise.
4697 * soft-fp/floatsisf.c: Likewise.
4698 * soft-fp/floatsitf.c: Likewise.
4699 * soft-fp/floattidf.c: Likewise.
4700 * soft-fp/floattisf.c: Likewise.
4701 * soft-fp/floattitf.c: Likewise.
4702 * soft-fp/floatundidf.c: Likewise.
4703 * soft-fp/floatundisf.c: Likewise.
4704 * soft-fp/floatunsidf.c: Likewise.
4705 * soft-fp/floatunsisf.c: Likewise.
4706 * soft-fp/floatuntidf.c: Likewise.
4707 * soft-fp/floatuntisf.c: Likewise.
4708 * soft-fp/floatuntitf.c: Likewise.
4709 * soft-fp/fmadf4.c: Likewise.
4710 * soft-fp/fmasf4.c: Likewise.
4711 * soft-fp/fmatf4.c: Likewise.
4712 * soft-fp/gedf2.c: Likewise.
4713 * soft-fp/gesf2.c: Likewise.
4714 * soft-fp/getf2.c: Likewise.
4715 * soft-fp/ledf2.c: Likewise.
4716 * soft-fp/lesf2.c: Likewise.
4717 * soft-fp/letf2.c: Likewise.
4718 * soft-fp/muldf3.c: Likewise.
4719 * soft-fp/mulsf3.c: Likewise.
4720 * soft-fp/multf3.c: Likewise.
4721 * soft-fp/negdf2.c: Likewise.
4722 * soft-fp/negsf2.c: Likewise.
4723 * soft-fp/negtf2.c: Likewise.
4724 * soft-fp/op-1.h: Likewise.
4725 * soft-fp/op-2.h: Likewise.
4726 * soft-fp/op-4.h: Likewise.
4727 * soft-fp/op-8.h: Likewise.
4728 * soft-fp/op-common.h: Likewise.
4729 * soft-fp/quad.h: Likewise.
4730 * soft-fp/single.h: Likewise.
4731 * soft-fp/soft-fp.h: Likewise.
4732 * soft-fp/sqrtdf2.c: Likewise.
4733 * soft-fp/sqrtsf2.c: Likewise.
4734 * soft-fp/sqrttf2.c: Likewise.
4735 * soft-fp/subdf3.c: Likewise.
4736 * soft-fp/subsf3.c: Likewise.
4737 * soft-fp/subtf3.c: Likewise.
4738 * soft-fp/truncdfsf2.c: Likewise.
4739 * soft-fp/trunctfdf2.c: Likewise.
4740 * soft-fp/trunctfsf2.c: Likewise.
4741 * soft-fp/trunctfxf2.c: Likewise.
4742 * soft-fp/unorddf2.c: Likewise.
4743 * soft-fp/unordsf2.c: Likewise.
4744 * soft-fp/unordtf2.c: Likewise.
4746 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4749 * misc/error.c (error_tail): Fix possible buffer overflow.
4751 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4754 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4757 2013-10-14 P. J. McDermott <pj@pehjota.net>
4760 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4761 testing pipefail option.
4763 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4765 * soft-fp/double.h: Indent preprocessor directives inside #if.
4766 * soft-fp/extended.h: Likewise.
4767 * soft-fp/op-2.h: Likewise.
4768 * soft-fp/op-4.h: Likewise.
4769 * soft-fp/op-common.h: Likewise.
4770 * soft-fp/quad.h: Likewise.
4771 * soft-fp/single.h: Likewise.
4772 * soft-fp/soft-fp.h: Likewise.
4774 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4776 * iconv/iconv_prog.c: Fix typos.
4777 * stdio-common/psiginfo-data.h: Likewise.
4779 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4782 * locale/setlocale.c: Fix typo.
4784 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4787 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4788 signaling NaN arguments.
4789 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4790 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4793 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4795 * soft-fp/gesf2.c (__gesf2): Likewise.
4796 * soft-fp/getf2.c (__getf2): Likewise.
4797 * soft-fp/ledf2.c (__ledf2): Likewise.
4798 * soft-fp/lesf2.c (__lesf2): Likewise.
4799 * soft-fp/letf2.c (__letf2): Likewise.
4801 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4802 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4803 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4804 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4805 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4806 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4807 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4808 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4809 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4810 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4811 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4812 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4813 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4814 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4815 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4816 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4817 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4818 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4819 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4820 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4821 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4822 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4823 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4824 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4825 * soft-fp/floattidf.c (__floattidf): Likewise.
4826 * soft-fp/floattisf.c (__floattisf): Likewise.
4827 * soft-fp/floattitf.c (__floattitf): Likewise.
4828 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4829 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4830 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4831 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4832 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4833 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4834 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4835 * soft-fp/gesf2.c (__gesf2): Likewise.
4836 * soft-fp/getf2.c (__getf2): Likewise.
4837 * soft-fp/ledf2.c (__ledf2): Likewise.
4838 * soft-fp/lesf2.c (__lesf2): Likewise.
4839 * soft-fp/letf2.c (__letf2): Likewise.
4841 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4842 Undefine and redefine.
4843 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4844 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4845 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4846 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4847 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4848 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4849 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4850 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4851 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4852 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4853 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4854 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4855 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4856 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4857 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4860 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4861 without decrementing exponent if mantissa >= that for the
4863 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4864 denominator, not >. Decrement exponent in < case instead of
4865 incrementing in >= case.
4866 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4867 without decrementing exponent if mantissa >= that for the
4870 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4871 computing saturated result for unsigned overflow.
4873 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4874 Jeff Law <law@redhat.com>
4876 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4877 (atan2Mp): Add systemtap probe marker.
4878 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4879 (__ieee754_log): Add systemtap probe marker.
4880 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4881 (atanMp): Add systemtap probe marker.
4882 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4883 (tanMp): Add systemtap probe marker.
4884 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4885 (__slowexp): Add systemtap probe marker.
4886 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4887 (__slowpow): Add systemtap probe marker.
4888 * manual/probes.texi: Document probes.
4890 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4893 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4895 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4897 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4898 written to buffer but not flushed.
4899 * libio/iofwrite_u.c: Likewise.
4900 * libio/iopadn.c: Return bytes returned even if EOF was
4902 * libio/iowpadn.c: Likewise.
4903 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4904 if _IO_padn does not write the whole buffer.
4905 [!COMPILE_WPRINTF] (PAD): Likewise.
4907 2013-10-10 David S. Miller <davem@davemloft.net>
4909 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4912 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4914 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4915 instead of FSF address.
4916 * soft-fp/fixdfti.c: Likewise.
4917 * soft-fp/fixsfti.c: Likewise.
4918 * soft-fp/fixtfti.c: Likewise.
4919 * soft-fp/fixunsdfti.c: Likewise.
4920 * soft-fp/fixunssfti.c: Likewise.
4921 * soft-fp/fixunstfti.c: Likewise.
4922 * soft-fp/floattidf.c: Likewise.
4923 * soft-fp/floattisf.c: Likewise.
4924 * soft-fp/floattitf.c: Likewise.
4925 * soft-fp/floatuntidf.c: Likewise.
4926 * soft-fp/floatuntisf.c: Likewise.
4927 * soft-fp/floatuntitf.c: Likewise.
4928 * soft-fp/trunctfxf2.c: Likewise.
4930 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4931 * soft-fp/fixdfti.c: Likewise.
4932 * soft-fp/fixsfti.c: Likewise.
4933 * soft-fp/fixtfti.c: Likewise.
4934 * soft-fp/fixunsdfti.c: Likewise.
4935 * soft-fp/fixunssfti.c: Likewise.
4936 * soft-fp/fixunstfti.c: Likewise.
4937 * soft-fp/floattidf.c: Likewise.
4938 * soft-fp/floattisf.c: Likewise.
4939 * soft-fp/floattitf.c: Likewise.
4940 * soft-fp/floatuntidf.c: Likewise.
4941 * soft-fp/floatuntisf.c: Likewise.
4942 * soft-fp/floatuntitf.c: Likewise.
4943 * soft-fp/trunctfxf2.c: Likewise.
4945 2013-10-10 David S. Miller <davem@davemloft.net>
4947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4949 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4951 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4952 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4953 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4954 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4955 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4956 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4957 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4959 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4960 for NaNs before doing comparisons on argument.
4961 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4964 2013-10-10 Will Newton <will.newton@linaro.org>
4966 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4967 passed to _int_memalign does not overflow.
4969 2013-10-10 Torvald Riegel <triegel@redhat.com>
4971 * scripts/bench.pl: Add include-sources directive.
4972 * benchtests/README: Update documentation.
4974 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4976 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4977 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4978 instead of FP_INIT_ROUNDMODE.
4979 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4980 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4983 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4984 copy class of input value.
4985 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4986 not handle exceptions.
4987 * soft-fp/negsf2.c (__negsf2): Likewise.
4988 * soft-fp/negtf2.c (__negtf2): Likewise.
4989 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4991 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4993 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4994 semicolon. From Linux kernel.
4996 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4998 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5000 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5003 * manual/socket.texi: Added statement about buffer
5004 for gethostbyname2_r.
5006 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
5008 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5009 Use .p2align directive instead, throughout.
5010 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5011 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5012 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5013 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5014 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5015 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5016 * sysdeps/x86_64/strchr.S: Likewise.
5017 * sysdeps/x86_64/strrchr.S: Likewise.
5019 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5021 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5023 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5025 * sysdeps/generic/math_private.h (__mpsin1): Remove
5027 (__mpcos1): Likewise.
5028 (__mpsin): New argument __range_reduce.
5029 (__mpcos): Likewise.
5030 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5031 (slow): Use __mpsin and __mpcos.
5038 (bsloww1): Likewise.
5039 (bsloww2): Likewise.
5042 (csloww1): Likewise.
5043 (csloww2): Likewise.
5044 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5045 range_reduce. Merge in __mpsin1.
5046 (__mpcos): Likewise.
5048 (__mpcos1): Likewise.
5050 2013-10-07 Joseph Myers <joseph@codesourcery.com>
5052 * locale/loadlocale.c (_nl_intern_locale_data): Use
5054 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5055 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5056 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5057 obstack data is appropriately aligned.
5058 (obstack_int32_grow_fast): Likewise.
5059 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5060 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5061 (add_locale_uint32_array): Likewise.
5063 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5065 * benchtests/Makefile: Remove ARGLIST and RET variables.
5066 ($(objpfx)bench-%.c): Pass only function name to the script.
5067 * benchtests/README: Update documentation.
5068 * benchtests/acos-inputs: Add new directives.
5069 * benchtests/acosh-inputs: Likewise.
5070 * benchtests/asin-inputs: Likewise.
5071 * benchtests/asinh-inputs: Likewise.
5072 * benchtests/atan-inputs: Likewise.
5073 * benchtests/atanh-inputs: Likewise.
5074 * benchtests/cos-inputs: Likewise.
5075 * benchtests/cosh-inputs: Likewise.
5076 * benchtests/exp-inputs: Likewise.
5077 * benchtests/log-inputs: Likewise.
5078 * benchtests/pow-inputs: Likewise.
5079 * benchtests/rint-inputs: Likewise.
5080 * benchtests/sin-inputs: Likewise.
5081 * benchtests/sinh-inputs: Likewise.
5082 * benchtests/tan-inputs: Likewise.
5083 * benchtests/tanh-inputs: Likewise.
5084 * scripts/bench.pl: Add support for new directives.
5086 2013-10-07 Alan Modra <amodra@gmail.com>
5088 * README: Fix careless merge.
5090 2013-10-05 Alan Modra <amodra@gmail.com>
5092 * NEWS: Mention powerpc64le support and bugs fixed.
5093 * README: Both big-endian and little-endian powerpc64 supported.
5095 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5097 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5098 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5099 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5100 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5102 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5104 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5107 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5109 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5110 Move -mhard-float appending from
5111 ports/sysdeps/powerpc/powerpc32/Makefile.
5112 [$(with-fp) = yes] (ASFLAGS): Likewise.
5113 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5114 * sysdeps/powerpc/nofpu: Move directory from
5115 ports/sysdeps/powerpc/nofpu.
5116 * sysdeps/powerpc/soft-fp: Move directory from
5117 ports/sysdeps/powerpc/soft-fp.
5118 * sysdeps/powerpc/powerpc32/405: Move directory from
5119 ports/sysdeps/powerpc/powerpc32/405.
5120 * sysdeps/powerpc/powerpc32/440: Move directory from
5121 ports/sysdeps/powerpc/powerpc32/440.
5122 * sysdeps/powerpc/powerpc32/464: Move directory from
5123 ports/sysdeps/powerpc/powerpc32/464.
5124 * sysdeps/powerpc/powerpc32/476: Move directory from
5125 ports/sysdeps/powerpc/powerpc32/476.
5126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5127 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5129 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5131 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5133 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5135 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5136 * README: Update for powerpc-*-linux-gnu software floating point
5139 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5140 case to powerpc/powerpc32*.
5141 * sysdeps/unix/sysv/linux/configure: Regenerated.
5143 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5144 (_FPU_MASK_OM): Define as 0x04.
5145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5153 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5156 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5159 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5160 and setcontext_e500.
5162 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5164 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5166 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5168 * manual/threads.texi (Default Thread Attributes): Fix typo.
5170 2013-10-04 Will Newton <will.newton@linaro.org>
5172 * malloc/Makefile: Add tst-memalign.
5173 * malloc/tst-memalign.c: New file.
5175 * malloc/tst-posix_memalign.c: Add comments.
5176 (do_test): Add comments and call free on all potentially
5177 allocated pointers. Add space after cast.
5179 * malloc/tst-pvalloc.c: Add comments.
5180 (do_test): Add comments and call free on all potentially
5181 allocated pointers. Remove duplicate check for NULL pointer.
5182 Add space after cast.
5184 * malloc/tst-valloc.c: Add comments.
5185 (do_test): Add comments and call free on all potentially
5186 allocated pointers. Remove duplicate check for NULL pointer.
5187 Add space after cast.
5189 2013-10-04 Alan Modra <amodra@gmail.com>
5191 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5192 Use stdint types in rather than __attribute__((mode())).
5193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5195 2013-10-04 Alan Modra <amodra@gmail.com>
5197 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5198 Correct handling of unaligned relocs for little-endian.
5199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5201 2013-10-04 Alan Modra <amodra@gmail.com>
5203 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5204 * configure: Regenerate.
5205 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5206 * shlib-versions: Likewise.
5208 2013-10-04 Alan Modra <amodra@gmail.com>
5210 * string/tester.c (test_memrchr): Increment reported test cycle.
5212 2013-10-04 Alan Modra <amodra@gmail.com>
5214 * string/test-memcpy.c (do_one_test): When reporting errors, print
5215 string address and don't overrun end of string.
5217 2013-10-04 Alan Modra <amodra@gmail.com>
5219 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5220 insrdi. Make better use of reg selection to speed exit slightly.
5221 Schedule entry path a little better. Remove useless "are we done"
5222 checks on entry to main loop. Handle wrapping around zero address.
5223 Correct main loop count. Handle single left-over word from main
5224 loop inline rather than by using loop_small. Remove extra word
5225 case in loop_small caused by wrong loop count. Add little-endian
5227 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5228 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5230 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5231 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5232 support. Avoid rlwimi.
5233 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5235 2013-10-04 Alan Modra <amodra@gmail.com>
5237 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5239 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5240 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5241 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5242 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5243 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5244 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5246 2013-10-04 Alan Modra <amodra@gmail.com>
5248 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5249 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5250 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5251 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5252 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5253 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5254 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5255 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5256 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5257 use of regs. Use power7 mtocrf. Tidy function tails.
5259 2013-10-04 Alan Modra <amodra@gmail.com>
5261 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5262 Formatting. Consistently use rXXX register defines or rN defines.
5263 Use early exit labels that avoid restoring unused non-volatile regs.
5264 Make cr field use more consistent with rWORDn compares. Rename
5265 regs used as shift registers for unaligned loop, using rN defines
5266 for short lifetime/multiple use regs.
5267 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5268 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5269 addi 1,1,64 to pop stack frame. Simplify return value code.
5270 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5272 2013-10-04 Alan Modra <amodra@gmail.com>
5274 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5275 support. Correct typos, formatting. Optimize tail. Use insrdi
5277 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5278 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5279 little-endian support. Correct typos.
5280 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5282 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5283 in loop and entry code to keep "and." results.
5284 (strchr): Add little-endian support. Comment. Move cntlzd
5286 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5288 2013-10-04 Alan Modra <amodra@gmail.com>
5290 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5291 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5292 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5293 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5295 2013-10-04 Alan Modra <amodra@gmail.com>
5297 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5298 (rTMP): Define as r11.
5299 (strcmp): Add little-endian support. Optimise tail.
5300 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5301 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5302 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5303 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5304 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5305 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5306 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5308 2013-10-04 Alan Modra <amodra@gmail.com>
5310 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5311 little-endian support. Remove unnecessary "are we done" tests.
5312 Handle "s" wrapping around zero and extremely large "size".
5313 Correct main loop count. Handle single left-over word from main
5314 loop inline rather than by using small_loop. Correct comments.
5315 Delete "zero" tail, use "end_max" instead.
5316 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5318 2013-10-04 Alan Modra <amodra@gmail.com>
5320 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5321 support. Don't branch over align.
5322 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5323 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5324 support. Rearrange tmp reg use to suit. Comment.
5325 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5327 2013-10-04 Alan Modra <amodra@gmail.com>
5329 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5331 2013-10-04 Alan Modra <amodra@gmail.com>
5333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5334 conditional form of branch and link when obtaining pc.
5335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5337 2013-10-04 Alan Modra <amodra@gmail.com>
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5344 2013-10-04 Alan Modra <amodra@gmail.com>
5346 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5347 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5348 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5349 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5350 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5351 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5352 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5353 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5354 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5355 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5357 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5358 Alistair Popple <alistair@ozlabs.au.ibm.com>
5359 Alan Modra <amodra@gmail.com>
5362 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5363 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5364 _dl_hwcap access for little-endian.
5365 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5366 destroy vmx regs when saving unaligned.
5367 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5368 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5369 destroy vmx regs when saving unaligned.
5371 2013-10-04 Alan Modra <amodra@gmail.com>
5373 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5374 Don't use a union to pack hi/low value.
5376 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5378 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5380 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5381 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5382 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5383 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5384 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5386 2013-10-04 Alan Modra <amodra@gmail.com>
5388 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5389 constants to usual value for .cst8 section, and remove redundant
5391 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5392 constant for 0x1p52. Load little-endian words of double from
5393 correct stack offsets.
5395 2013-10-04 Alan Modra <amodra@gmail.com>
5397 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5398 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5399 words of double from correct stack offsets.
5400 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5401 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5402 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5403 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5404 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5405 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5406 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5407 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5408 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5409 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5410 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5411 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5412 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5413 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5414 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5415 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5416 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5418 2013-10-04 Alan Modra <amodra@gmail.com>
5420 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5421 64-bit int/double union.
5422 (_FPU_SETCW): Likewise.
5423 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5424 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5426 2013-10-04 Alan Modra <amodra@gmail.com>
5428 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5429 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5431 2013-10-04 Alan Modra <amodra@gmail.com>
5433 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5434 use vector int constants.
5435 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5437 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5439 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5440 array with long long.
5441 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5442 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5443 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5444 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5445 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5446 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5447 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5448 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5449 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5450 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5451 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5452 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5453 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5455 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5457 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5458 (__signbit): Likewise. Correct for little-endian.
5459 (__signbitl): Call __signbit.
5460 (lrint): Correct for little-endian.
5461 (lrintf): Call lrint.
5463 2013-10-04 Alan Modra <amodra@gmail.com>
5465 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5466 union 32-bit int array member with 64-bit int array.
5467 (t515, tm256): Double rather than long double.
5468 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5470 2013-10-04 Alan Modra <amodra@gmail.com>
5472 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5474 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5475 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5476 version of math_ldbl.h.
5478 2013-10-04 Alan Modra <amodra@gmail.com>
5480 [BZ #15734], [BZ #15735]
5481 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5482 all uses of ieee875 long double macros and unions. Simplify test
5483 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5484 ldbl_extract_mantissa value for ix,iy exponents. Properly
5485 normalize after ldbl_extract_mantissa, and don't add hidden bit
5486 already handled. Don't treat low word of ieee854 mantissa like
5487 low word of IBM long double and mask off bit when testing for
5489 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5490 all uses of ieee875 long double macros and unions. Simplify tests
5491 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5492 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5493 two1022, instead use their values. Recognise that tests for large
5494 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5495 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5496 Rewrite all uses of ieee875 long double macros and unions. Simplify
5497 test for 0.0L and nan. Correct negation.
5498 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5499 ieee875 long double macros and unions. Correct output for large
5500 magnitude x. Correct absolute value calculation.
5501 (__erfcl): Likewise.
5502 * math/libm-test.inc: Add tests for errors discovered in IBM long
5503 double versions of fmodl, remainderl, erfl and erfcl.
5505 2013-10-04 Alan Modra <amodra@gmail.com>
5507 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5508 all uses of ieee854 long double macros and unions. Simplify tests
5509 for long doubles that are fully specified by the high double.
5510 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5512 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5513 Remove dead code too.
5514 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5515 (__ieee754_ynl): Likewise.
5516 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5517 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5518 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5519 Remove dead code too.
5520 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5521 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5523 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5525 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5527 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5529 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5530 Comment on variable precision.
5531 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5532 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5534 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5535 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5536 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5537 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5538 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5540 2013-10-04 Alan Modra <amodra@gmail.com>
5542 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5543 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5544 all uses of ieee854 long double macros and unions.
5545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5549 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5550 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5552 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5553 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5554 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5555 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5556 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5557 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5558 Simplify sign and nan test too.
5559 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5560 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5561 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5562 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5564 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5565 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5568 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5569 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5570 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5571 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5572 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5574 2013-10-04 Alan Modra <amodra@gmail.com>
5576 * stdio-common/printf_size.c (__printf_size): Don't use
5577 union ieee854_long_double in fpnum union.
5578 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5579 signbit macro to retrieve sign from long double.
5580 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5581 retrieve sign from long double.
5582 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5583 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5584 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5585 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5586 * math/test-misc.c (main): Don't use union ieee854_long_double.
5588 2013-10-04 Alan Modra <amodra@gmail.com>
5591 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5592 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5593 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5594 calculation. Remove unnecessary test for denormal exponent.
5595 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5596 Correct handling of denormals. Avoid undefined shift behaviour.
5597 Correct normalisation of low mantissa when low double is denormal.
5598 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5599 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5600 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5601 Correct normalisation of low mantissa. Test for overflow of high
5602 mantissa and normalise.
5603 (ldbl_nearbyint): Use more readable constant for two52.
5604 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5605 (__mpn_construct_long_double): Fix test for overflow of high
5606 mantissa and correct normalisation. Avoid undefined shift.
5608 2013-10-04 Alan Modra <amodra@gmail.com>
5610 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5611 (union ibm_extended_long_double): Define as an array of ieee754_double.
5612 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5613 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5614 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5615 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5616 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5618 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5619 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5622 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5624 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5626 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5627 page size instead of calling getpagesize.
5629 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5630 (LOCFILE_ALIGN_MASK): Likewise.
5631 (LOCFILE_ALIGN_UP): Likewise.
5632 (LOCFILE_ALIGNED_P): Likewise.
5633 * locale/programs/ld-collate.c (collate_output): Use the new
5634 macros instead of __alignof__ (int32_t).
5635 * locale/weight.h (findidx): Likewise.
5637 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5640 * manual/string.texi: Fix strncat and wcsncat.
5642 2013-10-03 Brooks Moses <bmoses@google.com>
5645 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5646 * Makerules: ...here, and adjust associated comments.
5648 2013-10-02 Will Newton <will.newton@linaro.org>
5650 * malloc/Makefile: Add tst-pvalloc.
5651 * malloc/tst-pvalloc.c: New file.
5653 2013-10-02 Will Newton <will.newton@linaro.org>
5655 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5656 improve test coverage.
5658 2013-10-02 Will Newton <will.newton@linaro.org>
5660 * malloc/Makefile: Add tst-posix_memalign.
5661 * malloc/tst-posix_memalign.c: New file.
5663 2013-10-01 Eric Blake <eblake@redhat.com>
5665 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5666 Use __THROWNL rather than __THROW on static functions.
5668 2013-09-30 Petr Machata <pmachata@redhat.com>
5670 * elf/elf.h (R_AARCH64_ABS16): New macro.
5671 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5672 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5673 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5674 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5675 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5676 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5677 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5678 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5679 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5680 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5681 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5682 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5683 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5684 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5685 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5686 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5687 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5688 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5689 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5690 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5691 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5692 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5693 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5694 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5695 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5696 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5697 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5698 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5699 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5700 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5701 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5702 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5703 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5704 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5705 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5706 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5707 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5708 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5709 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5710 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5711 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5712 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5713 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5714 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5715 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5716 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5717 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5718 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5719 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5720 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5721 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5722 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5723 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5724 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5725 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5726 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5727 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5728 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5729 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5730 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5731 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5732 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5733 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5734 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5735 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5736 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5737 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5738 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5739 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5740 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5741 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5742 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5743 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5744 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5745 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5746 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5747 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5748 (R_AARCH64_TLSDESC_LDR): Likewise.
5749 (R_AARCH64_TLSDESC_ADD): Likewise.
5750 (R_AARCH64_TLSDESC_CALL): Likewise.
5752 2013-09-30 Andreas Schwab <schwab@suse.de>
5755 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5756 the nss database lookup.
5757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5760 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5762 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5764 2013-09-28 P. J. McDermott <pj@pehjota.net>
5766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5767 ${Bash-specific parameter/pattern/string} parameter expansion.
5768 * sysdeps/unix/make-syscalls.sh: Likewise.
5770 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5772 * sysdeps/sh/stackguard-macros.h: New file.
5774 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5777 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5778 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5779 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5780 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5781 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5783 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5785 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5786 Fix thread ID register.
5788 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5790 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5791 [POSIX || UNIX98]: Require rather than permitting all symbols from
5793 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5794 element of struct sched_param.
5795 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5796 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5797 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5798 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5801 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5803 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5804 argument calculation.
5806 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5808 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5810 [POSIX] (pthread_attr_t): Do not require type.
5811 [POSIX] (pthread_cond_t): Likewise.
5812 [POSIX] (pthread_condattr_t): Likewise.
5813 [POSIX] (pthread_key_t): Likewise.
5814 [POSIX] (pthread_mutex_t): Likewise.
5815 [POSIX] (pthread_mutexattr_t): Likewise.
5816 [POSIX] (pthread_once_t): Likewise.
5817 [POSIX] (pthread_t): Likewise.
5818 [POSIX-based standards] (pthread_atfork): Expect function.
5820 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5821 Richard Sandiford <richard@codesourcery.com>
5823 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5824 (swap_endianness_p): New extern variable.
5825 (set_big_endian): New inline function.
5826 (maybe_swap_uint32): Likewise.
5827 (maybe_swap_uint32_array): Likewise.
5828 (maybe_swap_uint32_obstack): Likewise.
5829 * locale/programs/locfile.c: Include <stdbool.h>.
5830 (swap_endianness_p): New variable.
5831 (add_locale_uint32): Call maybe_swap_uint32.
5832 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5833 (write_locale_data): Call maybe_swap_uint32_array.
5834 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5836 (obstack_int32_grow_fast): Likewise.
5837 (output_weightwc): Call maybe_swap_uint32_obstack.
5838 (collate_output): Likewise.
5839 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5840 (OPT_LITTLE_ENDIAN): Likewise.
5841 (options): Add --little-endian and --big-endian options.
5842 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5843 * locale/programs/locarchive.c: Include "locfile.h".
5847 (create_archive): Use the new macros to access fields of
5848 structures directly mapped from or written to locale archives.
5849 (oldlocrecentcmp): Likewise.
5850 (enlarge_archive): Likewise.
5851 (insert_name): Likewise.
5852 (add_alias): Likewise.
5853 (add_locale): Likewise.
5854 (delete_locales_from_archive): Likewise.
5855 (show_archive_content): Likewise.
5856 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5859 2013-09-24 Roland McGrath <roland@hack.frob.com>
5861 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5862 http://www.gnu.org/doc/freemanuals.texi.
5863 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5865 2013-09-24 Will Newton <will.newton@linaro.org>
5867 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5870 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5872 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5875 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5877 * manual/threads.texi (POSIX Threads): Fix a typo.
5879 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5882 * string/tst-strcoll-overflow.c: New test case.
5883 * string/Makefile (xtests): Add tst-strcoll-overflow.
5884 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5885 cache if string sizes may cause integer overflow.
5888 * string/strcoll_l.c (coll_seq): New members rule, idx,
5889 save_idx and back_us.
5890 (get_next_seq_nocache): New function.
5891 (do_compare_nocache): New function.
5892 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5895 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5898 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5899 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5900 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5903 * elf/Makefile (tests): Add tst-ptrguard1.
5904 (tests-static): Add tst-ptrguard1-static.
5905 (tst-ptrguard1-ARGS): Define.
5906 (tst-ptrguard1-static-ARGS): Define.
5907 * elf/tst-ptrguard1.c: New file.
5908 * elf/tst-ptrguard1-static.c: New file.
5909 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5910 * sysdeps/i386/stackguard-macros.h: Likewise.
5911 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5912 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5913 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5914 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5915 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5916 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5918 2013-09-23 Hector Marco <hecmargi@upv.es>
5919 Ismael Ripoll <iripoll@disca.upv.es>
5920 Carlos O'Donell <carlos@redhat.com>
5923 * sysdeps/generic/stackguard-macros.h: Define
5924 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5925 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5926 Define __pointer_chk_guard_local.
5927 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5928 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5930 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5933 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5935 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5937 * include/string.h (__ffs): Declare as hidden.
5938 * string/ffs.c (__ffs): Define as hidden.
5939 * sysdeps/i386/ffs.c (__ffs): Likewise.
5940 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5941 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5942 * sysdeps/s390/ffs.c (__ffs): Likewise.
5943 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5945 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5947 * NEWS: Mention malloc probes.
5949 * malloc/arena.c (new_heap): New memory_heap_new probe.
5950 (grow_heap): New memory_heap_more probe.
5951 (shrink_heap): New memory_heap_less probe.
5952 (heap_trim): New memory_heap_free probe.
5953 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5954 (systrim): New memory_sbrk_less probe.
5955 * manual/probes.texi: Document them.
5957 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5958 * manual/probes.texi: Document it.
5960 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5961 (__libc_realloc): Add memory_realloc_retry probe.
5962 (__libc_memalign): Add memory_memalign_retry probe.
5963 (__libc_valloc): Add memory_valloc_retry probe.
5964 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5965 (__libc_calloc): Add memory_calloc_retry probe.
5966 * manual/probes.texi: Document them.
5968 * malloc/arena.c (get_free_list): Add probe
5969 memory_arena_reuse_free_list.
5970 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5971 and memory_arena_reuse.
5972 (arena_get2) [!PER_THREAD]: Likewise.
5973 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5974 memory_arena_reuse_realloc.
5975 * manual/probes.texi: Document them.
5977 * malloc/malloc.c (__libc_free): Add
5978 memory_mallopt_free_dyn_thresholds probe.
5979 (__libc_mallopt): Add multiple memory_mallopt probes.
5980 * manual/probes.texi: Document them.
5982 * malloc/malloc.c: Include stap-probe.h.
5983 (__libc_mallopt): Add memory_mallopt probe.
5984 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5985 * manual/probes.texi: New.
5986 * manual/Makefile (chapters): Add probes.
5987 * manual/threads.texi: Set next node.
5989 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5992 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5993 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5994 Add `Chinese' to `nan' entry name.
5996 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5998 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5999 (POLYNOMIAL): Likewise.
6000 (TAYLOR_SINCOS): Likewise.
6001 (TAYLOR_SLOW): Likewise.
6002 (__sin): Use TAYLOR_SINCOS.
6004 (slow): Use TAYLOR_SLOW.
6009 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6011 * stdlib/strtod_l.c: Fix buffer overrun.
6013 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6015 * benchtests/Makefile (bench): Add sincos.
6016 * benchtests/bench-sincos.c: New file.
6018 * math/libm-test.inc (cos_test_data): New test inputs.
6019 (sin_test_data): Likewise.
6021 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6029 (bsloww1): Likewise.
6030 (bsloww2): Likewise.
6032 (csloww1): Likewise.
6033 (csloww2): Likewise.
6035 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6040 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6044 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6046 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6047 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6048 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6049 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6050 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6051 * elf/cache.c (print_entry): Handle the new cache flags.
6053 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6054 Aldy Hernandez <aldyh@redhat.com>
6056 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6057 Change condition to [_SOFT_FLOAT].
6058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6070 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6073 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6076 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6078 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6079 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6080 (__longjmp): Use LOAD_GP to load saved GPRs.
6081 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6082 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6083 (__sigsetjmp): Use SAVE_GP to save GPRs.
6085 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6086 Do not append -msoft-float.
6087 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6089 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6091 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6093 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6096 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6097 (_FPU_GETCW): Use initial "__" on variable and field names but not
6098 on macro parameter name.
6099 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6100 parentheses around reference to macro parameter.
6102 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6104 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6106 (ctype_startup): Use uint32_t in cast and sizeof for
6109 2013-09-11 Jia Liu <proljc@gmail.com>
6111 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6113 [__FreeBSD__]: Likewise.
6115 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6117 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6118 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6119 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6120 (strchr): Remove __strchr_sse42 ifunc selection.
6121 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6122 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6124 2013-09-11 Will Newton <will.newton@linaro.org>
6126 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6127 parameter to RES. Remove hardcoded 1000 value.
6128 * benchtests/bench-skeleton.c (main): Pass RES parameter
6129 to TIMING_INIT and multiply result by 1000.
6131 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6135 2013-09-11 Andreas Schwab <schwab@suse.de>
6137 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6139 (O_TMPFILE) [__USE_GNU]: Define.
6140 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6143 2013-09-11 Will Newton <will.newton@linaro.org>
6146 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6149 2013-09-11 Will Newton <will.newton@linaro.org>
6152 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6155 2013-09-11 Will Newton <will.newton@linaro.org>
6158 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6161 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
6163 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6164 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6169 2013-09-10 Allan McRae <allan@archlinux.org>
6172 * manual/arith.texi (Parsing of Floats): Clarify
6176 * manual/install.texi (Running make install): Mention
6178 * INSTALL: Regenerated.
6180 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6182 * csu/init-first.c (_init): Remove the !SHARED condition around
6183 FPU control word initialization.
6184 * elf/dl-support.c (_dl_fpu_control): New variable.
6185 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6186 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6187 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6188 * math/test-fpucw-static.c: New file.
6189 * math/test-fpucw-ieee.c: New file.
6190 * math/test-fpucw-ieee-static.c: New file.
6191 * math/Makefile (tests): Add `test-fpucw-ieee' and
6193 (tests-static): New variable.
6194 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6196 [($(build-shared),yes)]
6197 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6199 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6202 2013-09-09 Allan McRae <allan@archlinux.org>
6205 * manual/string.texi (Collation Functions): Fix typo in
6207 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6210 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6213 * libio/memstream.c (open_memstream): Fix memory leak.
6214 * libio/wmemstream.c (open_wmemstream): Likewise.
6217 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6219 2013-09-09 Will Newton <will.newton@linaro.org>
6221 * malloc/Makefile: Add tst-realloc to tests.
6222 * malloc/tst-realloc.c: New file.
6224 2013-09-09 Allan McRae <allan@archlinux.org>
6227 * COPYING: Update from GNU website to fix FSF address.
6228 * COPYING.LIB: Likewise.
6230 2013-09-06 David S. Miller <davem@davemloft.net>
6232 * po/zh_TW.po: Update Chinese (traditional) translation from
6233 translation project.
6235 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6236 Joseph Myers <joseph@codesourcery.com>
6238 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6240 (obstack_chunk_alloc): New macro.
6241 (obstack_chunk_free): Likewise.
6242 (record_offset): New function.
6243 (init_locale_data): Likewise.
6244 (align_locale_data): Likewise.
6245 (add_locale_empty): Likewise.
6246 (add_locale_raw_data): Likewise.
6247 (add_locale_raw_obstack): Likewise.
6248 (add_locale_string): Likewise.
6249 (add_locale_wstring): Likewise.
6250 (add_locale_uint32): Likewise.
6251 (add_locale_uint32_array): Likewise.
6252 (add_locale_char): Likewise.
6253 (start_locale_structure): Likewise.
6254 (end_locale_structure): Likewise.
6255 (start_locale_prelude): Likewise.
6256 (end_locale_prelude): Likewise.
6257 (write_locale_data): Take locale_file structure rather than an
6259 * locale/programs/locfile.h: Include "obstack.h".
6260 (struct locale_file): Change to store locale file contents instead
6262 (init_locale_data): New prototype.
6263 (align_locale_data): Likewise.
6264 (add_locale_empty): Likewise.
6265 (add_locale_raw_data): Likewise.
6266 (add_locale_raw_obstack): Likewise.
6267 (add_locale_string): Likewise.
6268 (add_locale_wstring): Likewise.
6269 (add_locale_uint32): Likewise.
6270 (add_locale_uint32_array): Likewise.
6271 (add_locale_char): Likewise.
6272 (start_locale_structure): Likewise.
6273 (end_locale_structure): Likewise.
6274 (start_locale_prelude): Likewise.
6275 (end_locale_prelude): Likewise.
6276 (write_locale_data): Update prototype.
6277 * locale/programs/3level.h (struct TABLE): Remove result field.
6278 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6279 Use new locale_file interface.
6280 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6281 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6282 * locale/programs/ld-address.c (address_output): Use new
6283 locale_file interface.
6284 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6286 (collate_finish): Don't call collseq_table_finalize.
6287 (collate_output): Use new locale_file interface.
6288 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6290 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6291 (TABLE): Move defines earlier in file.
6292 (ELEMENT): Likewise.
6293 (DEFAULT): Likewise.
6294 (wctrans_table_add): Move macro and inline function earlier in
6296 (struct wctype_table): Move type earlier in file.
6297 (add_locale_wctype_table): New static prototype.
6298 (struct locale_ctype_t): Use logical types instead of struct iovec
6299 pointers for members.
6300 (ctype_output): Use new locale_file interface.
6301 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6302 new locale_file interface.
6303 (allocate_arrays): Update for use of new locale_file interface.
6304 * locale/programs/ld-identification.c (identification_output): Use
6305 new locale_file interface.
6306 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6307 * locale/programs/ld-messages.c (messages_output): Likewise.
6308 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6309 * locale/programs/ld-name.c (name_output): Likewise.
6310 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6311 * locale/programs/ld-paper.c (paper_output): Likewise.
6312 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6313 * locale/programs/ld-time.c (time_output): Likewise.
6315 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6317 * benchtests/Makefile: Add memrchr benchmark.
6318 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6319 benchmark as memrchr.
6320 * benchtests/bench-memrchr-ifunc.c: New file.
6321 * benchtests/bench-memrchr.c: New file.
6323 2013-09-06 Will Newton <will.newton@linaro.org>
6325 * benchtests/Makefile (string-bench): Add memcpy.
6327 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6328 Cong Wang <amwang@redhat.com>
6331 * sysdeps/unix/sysv/linux/bits/in.h
6332 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6333 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6334 before __USE_KERNEL_IPV6_DEFS uses.
6335 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6337 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6338 sockaddr_in6, or ipv6_mreq.
6340 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6342 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6343 memory access for final bytes in some large inputs.
6344 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6346 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6348 * string/test-memrchr.c: New file.
6349 * string/test-memrchr-ifunc.c: New file.
6350 * string/Makefile: Add new memrchr testcase.
6352 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6354 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6355 fanotify_init returns EPERM.
6357 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6359 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6361 (top level): Treat second token from macro or constant entries for
6362 allowed headers as allowed.
6363 * include/complex.h: Condition internal declarations on
6365 * include/fenv.h: Condition include of <stdbool.h> and internal
6366 declarations on [!_ISOMAC].
6368 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6371 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6373 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6375 * configure.in (--enable-versioning): Remove configure option.
6376 (libc_cv_asm_symver_directive): Remove configure test.
6377 (libc_cv_ld_version_script_option): Likewise.
6378 (VERSIONING): Remove variable and AC_SUBST.
6379 (DO_VERSIONING): Remove AC_DEFINE.
6380 * configure: Regenerated.
6381 * config.h.in (DO_VERSIONING): Remove macro.
6382 * Makerules [$(versioning) = yes]: Change conditionals to
6383 [$(build-shared) = yes].
6384 * config.make.in (versioning): Remove variable.
6385 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6386 [$(build-shared) = yes].
6387 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6388 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6389 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6390 [$(build-shared) = yes].
6391 * extra-lib.mk [$(versioning) = yes]: Likewise.
6392 * hurd/Makefile [$(versioning) = yes]: Likewise.
6393 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6395 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6397 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6398 [SHARED && !NO_HIDDEN].
6399 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6401 [SHARED && DO_VERSIONING]: Likewise..
6402 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6403 [$(build-shared) = yes].
6404 * manual/install.texi (--disable-versioning): Remove
6406 * INSTALL: Regenerated.
6407 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6409 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6410 [$(build-shared) = yes].
6411 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6412 * sysdeps/i386/i686/multiarch/strstr-c.c
6413 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6414 [SHARED && !NO_HIDDEN].
6415 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6416 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6417 * sysdeps/powerpc/powerpc32/dl-machine.c
6418 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6419 * sysdeps/powerpc/powerpc32/sysdep.h
6420 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6421 to [SHARED && PIC && !NO_HIDDEN].
6422 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6423 conditional to [SHARED].
6425 2013-09-04 Will Newton <will.newton@linaro.org>
6427 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6428 * benchtests/bench-string.h: Include bench-timing.h instead
6429 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6430 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6431 call to HP_TIMING_DIFF_INIT.
6432 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6433 instead of hp-timing.h macros.
6434 * benchtests/bench-memchr.c: Likewise.
6435 * benchtests/bench-memcmp.c: Likewise.
6436 * benchtests/bench-memcpy.c: Likewise.
6437 * benchtests/bench-memmem.c: Likewise.
6438 * benchtests/bench-memmove.c: Likewise.
6439 * benchtests/bench-memset.c: Likewise.
6440 * benchtests/bench-rawmemchr.c: Likewise.
6441 * benchtests/bench-strcasecmp.c: Likewise.
6442 * benchtests/bench-strcasestr.c: Likewise.
6443 * benchtests/bench-strcat.c: Likewise.
6444 * benchtests/bench-strchr.c: Likewise.
6445 * benchtests/bench-strcmp.c: Likewise.
6446 * benchtests/bench-strcpy.c: Likewise.
6447 * benchtests/bench-strcpy_chk.c: Likewise.
6448 * benchtests/bench-strlen.c: Likewise.
6449 * benchtests/bench-strncasecmp.c: Likewise.
6450 * benchtests/bench-strncat.c: Likewise.
6451 * benchtests/bench-strncmp.c: Likewise.
6452 * benchtests/bench-strncpy.c: Likewise.
6453 * benchtests/bench-strnlen.c: Likewise.
6454 * benchtests/bench-strpbrk.c: Likewise.
6455 * benchtests/bench-strrchr.c: Likewise.
6456 * benchtests/bench-strspn.c: Likewise.
6457 * benchtests/bench-strstr.c: Likewise.
6459 2013-09-04 Will Newton <will.newton@linaro.org>
6461 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6463 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6466 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6467 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6468 * math/libm-test.inc (lgamma_test_data): Add more tests.
6469 * sysdeps/i386/fpu/libm-test-ulps: Update.
6470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6472 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6474 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6478 Add strcmp-sse2-unaligned
6479 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6481 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6483 * Versions.def (libc): Add GLIBC_2.19.
6485 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6487 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6488 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6490 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6493 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6494 intermediate calculations in recurrence.
6495 (__ieee754_ynf): Likewise.
6496 * math/libm-test.inc (jn_test_data): Do not allow spurious
6497 underflow exception. Add more tests.
6498 (yn_test_data): Add more tests.
6499 * sysdeps/i386/fpu/libm-test-ulps: Update.
6500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6502 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6504 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6506 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6508 * csu/init-first.c: Fix then/than typos.
6509 * locale/programs/ld-collate.c: Likewise.
6510 * locale/programs/linereader.h: Likewise.
6511 * manual/charset.texi: Likewise.
6512 * manual/filesys.texi: Likewise.
6513 * manual/stdio.texi: Likewise.
6514 * manual/string.texi: Likewise.
6515 * stdlib/fmtmsg.c: Likewise.
6516 * sysdeps/i386/stpncpy.S: Likewise.
6517 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6518 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6519 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6520 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6522 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6524 * elf/dl-open.c: Fix typos.
6525 * iconvdata/gbbig5.c: Likewise.
6526 * iconvdata/iso-2022-jp.c: Likewise.
6527 * iconv/gconv_int.h: Likewise.
6528 * iconv/loop.c: Likewise.
6529 * nis/rpcsvc/nis.h: Likewise.
6530 * resolv/ns_name.c: Likewise.
6531 * stdio-common/vfscanf.c: Likewise.
6532 * streams/stropts.h: Likewise.
6533 * sunrpc/rpc_thread.c: Likewise.
6534 * sysdeps/i386/strpbrk.S: Likewise.
6535 * sysdeps/ieee754/k_standard.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6538 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6539 * sysdeps/mach/hurd/profil.c: Likewise.
6540 * sysdeps/s390/dl-procinfo.h: Likewise.
6541 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6542 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6543 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6544 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6545 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6547 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6549 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6550 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6552 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6554 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6556 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6557 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6558 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6559 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6560 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6561 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6562 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6563 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6565 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6566 Roland McGrath <roland@hack.frob.com>
6568 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6569 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6571 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6573 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6574 __executable_start symbol instead of _start.
6576 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6578 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6579 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6581 * sysdeps/gnu/ldsodefs.h: ... this new file.
6583 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6584 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6585 instead of ELFOSABI_LINUX.
6587 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6588 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6589 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6590 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6592 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6593 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6594 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6596 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6597 (ibm_extended_long_double): Add ieee_nan member.
6598 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6599 (do_test): New function.
6601 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6603 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6604 functions, renamed from truncdfsf_test, trunctfsf_test,
6606 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6608 (do_test): Run all these.
6610 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6612 * argp/argp-help.c: Fix typos.
6613 * argp/argp-parse.c: Likewise.
6614 * debug/backtracesyms.c: Likewise.
6615 * elf/elf.h: Likewise.
6616 * malloc/malloc.c: Likewise.
6617 * nis/nis_print.c: Likewise.
6618 * resolv/res_comp.c: Likewise.
6619 * stdlib/stdlib.h: Likewise.
6620 * sunrpc/clnt_tcp.c: Likewise.
6621 * sunrpc/clnt_udp.c: Likewise.
6622 * sunrpc/clnt_unix.c: Likewise.
6623 * sysdeps/unix/bsd/ptsname.c: Likewise.
6624 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6625 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6632 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6634 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6636 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6639 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6642 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6643 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6644 ($(objpfx)bug-dl-leaf): New rule.
6645 ($(objpfx)bug-dl-leaf.so): Likewise.
6646 ($(objpfx)bug-dl-leaf.out): Likewise.
6647 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6648 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6649 * dlfcn/bug-dl-leaf.c: New test.
6650 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6651 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6652 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6653 (dlclose): Likewise.
6654 (dlmopen): Likewise.
6656 2013-08-27 Roland McGrath <roland@hack.frob.com>
6658 * include/netdb.h [!_ISOMAC]:
6659 Don't include <tls.h>.
6660 (h_errno, __libc_h_errno): Move declaration and macros out of
6663 * include/resolv.h [_RESOLV_H_]:
6664 Don't include <tls.h>.
6665 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6666 * resolv/res_libc.c: Don't include <tls.h>.
6667 (_res): Use __attribute__ ((nocommon)) in place of
6668 __attribute__ ((section (".bss"))).
6670 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6671 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6673 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6675 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6676 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6678 * resolv/res_mkquery.c: Include <sys/time.h>.
6680 * inet/ifreq.c: Moved to ...
6681 * sysdeps/unix/ifreq.c: ... here.
6682 * inet/ifreq.c: New file, true stub version.
6684 * socket/sa_len.c: New file.
6685 * socket/Makefile (aux): Add it.
6686 * sysdeps/unix/sysv/linux/Makefile
6687 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6688 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6689 and #include <socket/sa_len.c>.
6690 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6691 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6693 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6694 * bits/socket.h: ... here.
6696 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6697 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6698 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6700 2013-08-27 Andreas Schwab <schwab@suse.de>
6703 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6704 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6705 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6706 * string/test-strcasecmp.c (test_main): Run tests in several
6708 * string/test-strncasecmp.c (test_main): Likewise.
6710 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6711 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6712 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6713 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6714 (__strncasecmp_ssse3) [PIC]: Likewise.
6716 2013-08-26 Roland McGrath <roland@hack.frob.com>
6718 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6720 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6721 instead of explicitly declaring xdecrypt.
6722 * nis/nss_nis/nis-publickey.c: Likewise.
6724 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6727 * nscd/aicache.c: Include res_hconf.h.
6728 (addhstaiX): Initialize res_hconf.
6730 2013-08-26 Andreas Schwab <schwab@suse.de>
6732 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6733 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6735 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6737 * nscd/aicache.c (addhstaiX): Fix indentation.
6739 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6741 * configure.ac: Quote $build_pt_chown test.
6742 * configure: Regenerated.
6744 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6747 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6748 * math/s_cexpf.c (__cexpf): Likewise.
6749 * math/s_cexpl.c (__cexpl): Likewise.
6750 * math/libm-test.inc (cexp_test_data): Correct expected return
6751 value for NaN + i0. Add another test.
6753 2013-08-22 David S. Miller <davem@davemloft.net>
6755 * po/ca.po: Update Catalan translation from translation project.
6756 * po/uk.po: Add Ukrainian translations from translation project.
6758 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6761 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6762 is infinite, not alongside NaN test.
6763 * math/s_fdimf.c (__fdimf): Likewise.
6764 * math/s_fdiml.c (__fdiml): Likewise.
6765 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6768 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6770 * argp/argp-help.c: Fix typos.
6771 * crypt/speeds.c: Likewise.
6772 * csu/check_fds.c: Likewise.
6773 * elf/dl-load.c: Likewise.
6774 * elf/dl-open.c: Likewise.
6775 * elf/reldep3.c: Likewise.
6776 * elf/reldep.c: Likewise.
6777 * elf/sprof.c: Likewise.
6778 * iconv/iconv_charmap.c: Likewise.
6779 * iconv/skeleton.c: Likewise.
6780 * iconv/strtab.c: Likewise.
6781 * io/lockf64.c: Likewise.
6782 * libio/libioP.h: Likewise.
6783 * resolv/gai_notify.c: Likewise.
6784 * resolv/ns_name.c: Likewise.
6785 * resolv/ns_samedomain.c: Likewise.
6786 * resolv/res_send.c: Likewise.
6787 * stdlib/random.c: Likewise.
6788 * sunrpc/rpc/xdr.h: Likewise.
6789 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6790 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6791 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6792 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6793 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6794 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6796 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6797 * sysdeps/mach/hurd/check_fds.c: Likewise.
6798 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6799 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6800 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6801 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6802 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6803 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6804 * sysdeps/pthread/aio_notify.c: Likewise.
6805 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6806 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6807 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6808 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6809 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6811 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6813 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6814 version if bit_Slow_SSE4_2 is set.
6815 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6816 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6818 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6821 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6822 trampoline stack frame information.
6823 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6824 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6825 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6826 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6827 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6828 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6829 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6830 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6832 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6833 interrupting a syscall and set with option SA_SIGINFO.
6835 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6838 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6839 argument is infinite.
6840 * math/s_cprojf.c (__cprojf): Likewise.
6841 * math/s_cprojl.c (__cprojl): Likewise.
6842 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6843 * math/libm-test.inc (cproj_test_data): Add more tests.
6845 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6847 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6848 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6849 size. Use __ffs to determine corresponding shift.
6851 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6852 Roland McGrath <roland@hack.frob.com>
6854 * Makefile (INSTALL): Remove trailing blank lines from output of
6857 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6859 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6860 Align 32 bit compat elf_greg to 8 bytes.
6862 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6864 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6866 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6868 * string/strcoll_l.c (coll_seq): New structure.
6869 (get_next_seq_cached): New function.
6870 (get_next_seq): New function.
6871 (do_compare): New function.
6872 (STRCOLL): Use GNU style definition. Simplify implementation
6873 by using get_next_seq, get_next_seq_cached and do_compare.
6875 2013-08-16 Florian Weimer <fweimer@redhat.com>
6879 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6881 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6883 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6884 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6885 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6887 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6888 GETDENTS_64BIT_ALIGNED.
6889 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6890 * manual/filesys.texi (Reading/Closing Directory): Document
6891 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6893 * manual/conf.texi (Limits for Files): Add portability note to
6895 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6897 2013-08-13 Andreas Schwab <schwab@suse.de>
6900 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6902 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6903 LDBL_MAX_EXP >= 16384]: Add tests for it.
6905 2013-08-12 David S. Miller <davem@davemloft.net>
6907 * version.h (RELEASE): Set to "development".
6908 (VERSION): Set to "2.18.90".
6909 * NEWS: Add 2.19 section.
6911 2013-08-03 David S. Miller <davem@davemloft.net>
6913 * po/ko.po: Update Korean translation from translation project.
6915 2013-08-01 David S. Miller <davem@davemloft.net>
6917 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6918 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6921 2013-07-30 David S. Miller <davem@davemloft.net>
6923 * po/fr.po: Update French translation from translation project.
6925 2013-07-28 David S. Miller <davem@davemloft.net>
6927 * po/cs.po: Update Czech translation from translation project.
6929 * po/sv.po: Update Swedish translation from translation project.
6931 2013-07-27 David S. Miller <davem@davemloft.net>
6933 * po/eo.po: Update Esperanto translation from translation project.
6935 * po/vi.po: Update Vietnamese translation from translation project.
6937 * po/de.po: Update German translation from translation project.
6939 2013-07-26 David S. Miller <davem@davemloft.net>
6941 * po/bg.po: Update Bulgarian translation from translation project.
6943 * po/nl.po: Update Dutch translation from translation project.
6944 * po/pl.po: Update Polish translation from translation project.
6945 * po/ru.po: Update Russian translation from translation project.
6947 2013-07-24 David S. Miller <davem@davemloft.net>
6949 * po/libc.pot: Update.
6951 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6953 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6955 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6956 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6957 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6959 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6961 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6963 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6964 Andreas Schwab <schwab@suse.de>
6965 Roland McGrath <roland@hack.frob.com>
6966 Joseph Myers <joseph@codesourcery.com>
6967 Carlos O'Donell <carlos@redhat.com>
6970 * config.h.in: Define HAVE_PT_CHOWN.
6971 * config.make.in (build-pt-chown): New variable.
6972 * configure.in (--enable-pt_chown): New configure option.
6973 * configure: Regenerate.
6974 * login/Makefile: Include Makeconfig. Build pt_chown only if
6975 build-pt-chown is enabled.
6976 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6977 pt_chown to fix pty ownership.
6978 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6980 * manual/install.texi (Configuring and compiling): Mention
6981 --enable-pt_chown. Add @findex for grantpt.
6982 * INSTALL: Regenerate.
6984 2013-07-20 David S. Miller <davem@davemloft.net>
6986 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6987 difference between 32-bit and 64-bit.
6989 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6992 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6993 Avoid system header dependency with -ffreestanding.
6994 ($(objpfx)bits/syscall%d): Likewise.
6996 2013-07-13 David S. Miller <davem@davemloft.net>
6998 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6999 underflows from atanl/atan2l due to bug 15319.
7000 (casinh_test_data): Likewise.
7002 2013-07-07 David S. Miller <davem@davemloft.net>
7004 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7006 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7008 * sysdeps/i386/fpu/libm-test-ulps: Update.
7009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7011 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7013 * configure.in (--enable-lock-elision): Fix message text.
7014 * INSTALL: Regenerate.
7015 * configure: Regenerate.
7017 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7021 2013-07-03 Andreas Jaeger <aj@suse.de>
7023 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7025 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7026 (ptrace_peeksiginfo_args): Add.
7027 (__ptrace_peeksiginfo_flags): Add.
7028 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7029 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7030 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7032 2013-07-03 Allan McRae <allan@archlinux.org>
7034 * sysdeps/i386/fpu/libm-test-ulps: Update.
7036 2013-07-02 David S. Miller <davem@davemloft.net>
7038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7040 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7044 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7046 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7049 2013-07-02 Andi Kleen <ak@linux.intel.com>
7051 * config.h.in (ENABLE_LOCK_ELISION): Add.
7052 * configure.in (--enable-lock-elision): Add option.
7053 * manual/install.texi: Document --enable lock elision.
7054 * configure: Regenerate
7055 * INSTALL: Regenerate.
7057 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7059 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7060 SSE4.2 strcasecmp for libc.a.
7061 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7063 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7066 * soft-fp/op-common.h (_FP_FMA): New macro.
7067 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7068 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7069 (_FP_MUL_MEAT_1_imm): ... here.
7070 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7071 (_FP_MUL_MEAT_1_wide): ... here.
7072 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7073 (_FP_MUL_MEAT_1_hard): ... here.
7074 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7075 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7076 (_FP_MUL_MEAT_2_wide): ... here.
7077 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7078 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7079 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7080 (_FP_MUL_MEAT_2_gmp): ... here.
7081 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7082 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7083 (_FP_MUL_MEAT_4_wide): ... here.
7084 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7085 (_FP_MUL_MEAT_4_gmp): ... here.
7086 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7087 (_FP_WFRACBITS_DW_S): Likewise.
7088 (_FP_WFRACXBITS_DW_S): Likewise.
7089 (_FP_HIGHBIT_DW_S): Likewise.
7090 (FP_FMA_S): Likewise.
7091 (_FP_FRAC_HIGH_DW_S): Likewise.
7092 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7093 (_FP_WFRACBITS_DW_D): Likewise.
7094 (_FP_WFRACXBITS_DW_D): Likewise.
7095 (_FP_HIGHBIT_DW_D): Likewise.
7096 (FP_FMA_D): Likewise.
7097 (_FP_FRAC_HIGH_DW_D): Likewise.
7098 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7099 (_FP_WFRACBITS_DW_E): Likewise.
7100 (_FP_WFRACXBITS_DW_E): Likewise.
7101 (_FP_HIGHBIT_DW_E): Likewise.
7102 (FP_FMA_E): Likewise.
7103 (_FP_FRAC_HIGH_DW_E): Likewise.
7104 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7105 (_FP_WFRACBITS_DW_Q): Likewise.
7106 (_FP_WFRACXBITS_DW_Q): Likewise.
7107 (_FP_HIGHBIT_DW_Q): Likewise.
7108 (FP_FMA_Q): Likewise.
7109 (_FP_FRAC_HIGH_DW_Q): Likewise.
7110 * soft-fp/fmasf4.c: New file.
7111 * soft-fp/fmadf4.c: Likewise.
7112 * soft-fp/fmatf4.c: Likewise.
7114 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7117 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7119 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7121 (index_Slow_SSE4_2): Likewise.
7122 (index_Prefer_PMINUB_for_stringop): Likewise.
7123 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7124 bit_Slow_SSE4_2 is set.
7125 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7126 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7128 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7130 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7131 rtld_global._dl_hwcap2.
7132 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7134 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7135 POWER8 feature descriptions defined in _dl_hwcap2.
7136 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7137 string handling for POWER8 feature bits.
7138 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7139 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7140 _dl_powerpc_cap_flags.
7141 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7142 * sysdeps/powerpc/rtld-global-offsets.sym
7143 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7144 _dl_hwcap2 in the rtld_global_ro structure.
7146 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7148 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7149 hardware capabilities in support of AT_HWCAP2.
7150 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7151 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7153 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7154 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7155 explicitly the unknown a_type display mechanism is used.
7156 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7157 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7159 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7160 to macro prototype for AT_HWCAP2 support.
7161 * sysdeps/i386/dl-procinfo.h: Likewise.
7162 * sysdeps/s390/dl-procinfo.h: Likewise.
7163 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7164 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7165 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7166 return -1 for unknown a_type display fallback.
7167 * sysdeps/sparc/dl-procinfo.h: Likewise.
7168 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7169 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7171 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7173 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7174 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7176 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7179 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7180 mprotect making __stack_prot writable.
7182 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7183 Joseph Myers <joseph@codesourcery.com>
7185 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7186 as being properly aligned.
7188 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7190 * dlfcn/modstatic5.c: New file.
7191 * dlfcn/tststatic5.c: New file.
7192 * dlfcn/Makefile (tests): Add tststatic5.
7193 (tests-static): Likewise.
7194 (modules-names): Add modstatic5.
7195 (tststatic5-ENV): New variable.
7196 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7199 * elf/dl-support.c (_dl_main_map): New variable.
7200 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7201 (_dl_nns, _dl_load_adds): Set to 1.
7202 (_dl_initial_searchlist): Refer to _dl_main_map.
7203 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7204 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7205 call to _dl_get_origin.
7206 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7208 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7209 * dlfcn/modstatic3.c: New file.
7210 * dlfcn/tststatic3.c: New file.
7211 * dlfcn/tststatic4.c: New file.
7212 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7213 (tests-static): Likewise.
7214 (modules-names): Add modstatic3.
7215 (tststatic3-ENV, tststatic4-ENV): New variables.
7216 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7217 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7219 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7221 * configure.in (CC): Require GCC version 4.4 or later.
7222 * configure: Regenerated.
7223 * manual/install.texi (Tools for Compilation): Update GCC version
7225 * INSTALL: Regenerated.
7227 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7230 * string/test-memcmp.c (check2): New.
7231 (main): Call check2.
7233 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7235 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7238 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7240 (dl_open_worker) [!SHARED]: ... here.
7242 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7244 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7246 2013-06-25 Richard Henderson <rth@redhat.com>
7248 * locale/programs/locarchive.c: Include <libc-internal.h>
7250 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7252 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7253 trailing whitespace removed.
7255 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7258 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7259 * locale/programs/locarchive.c: Include libc-mmap.h.
7260 (prepare_address_space): Take two new outputs (the mmap base and len).
7261 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7263 (create_archive): Declare new mmap base and len values for
7264 prepare_address_space, and store the result in ah.
7265 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7266 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7267 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7268 Declare new mmap base and len values for
7269 prepare_address_space, and store the result in new_ah.
7270 (open_archive): Declare new mmap base and len values for
7271 prepare_address_space, and store the result in ah.
7272 (close_archive): If ah->mmap_base is not NULL, use that and
7273 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7274 * sysdeps/generic/libc-mmap.h: New file.
7276 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7278 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7279 (ALIGN_UP): Likewise.
7280 (PTR_ALIGN_DOWN): Likewise.
7281 (PTR_ALIGN_UP): Likewise.
7283 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7285 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7286 entry mapped to PPC_PLATFORM_POWER8.
7287 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7289 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7290 (_dl_string_platform): Add case for exporting platform position for
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7293 search path to sysdeps/powerpc/powerpc32/power8 directory.
7294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7295 search path to sysdeps/powerpc/powerpc64/power8 directory.
7296 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7298 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7301 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7303 * INSTALL: Regenerate.
7305 * nscd/connections.c (nscd_init): Fix comment.
7307 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7309 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7312 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7313 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7315 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7317 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7319 (DL_DST_REQ_STATIC): Remove macro.
7321 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7324 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7325 with a shift of 0 bits.
7327 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7329 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7332 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7335 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7337 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7339 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7340 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7341 accepts -fno-tree-loop-distribute-patterns.
7342 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7343 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7345 * string/memset.c (memset): Likewise.
7346 * string/test-memmove.c (simple_memmove): Disable loop transformation
7348 * string/test-memset.c (simple_memset): Likewise.
7349 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7350 * benchtests/bench-memset.c (simple_memset): Likewise.
7351 * configure: Regenerated.
7353 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7355 * math/test-misc.c (main): Ignore fesetround failure when failures
7356 of subsequent rounding tests would be ignored.
7359 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7360 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7361 * math/fegetenv.c (__fegetenv): Return 0.
7362 * math/fegetexcept.c (fegetexcept): Return 0.
7363 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7365 * math/feholdexcpt.c (feholdexcept): Return 0.
7366 * math/fesetenv.c (__fesetenv): Return 0.
7367 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7368 argument FE_TONEAREST.
7369 * math/feupdateenv.c (__feupdateenv): Return 0.
7370 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7372 2013-06-18 Roland McGrath <roland@hack.frob.com>
7374 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7375 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7376 ($(objpfx)rtld-%.os rules): Use them.
7378 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7380 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7383 2013-06-17 Roland McGrath <roland@hack.frob.com>
7385 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7386 length of target pattern, then descending length of dependency pattern.
7387 * configure.in (AWK): Require gawk 3.1.2 or newer.
7388 * manual/install.texi (Tools for Compilation): Say that we do.
7389 * configure: Regenerated.
7391 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7392 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7393 * scripts/sysd-rules.awk: ... this new script.
7394 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7395 than a glob-style pattern.
7397 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7399 * math/test-misc.c (main): Do not treat incorrectly rounded
7400 conversions as failure unless ROUNDING_TESTS passes.
7402 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7405 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7406 restore exception state around main square root computation, then
7407 check for inexactness explicitly.
7409 * math/libm-test.inc (fma_test_data): Add another test.
7411 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7413 * manual/threads.texi (Non-POSIX Extensions): New document
7414 node. Document pthread_getattr_default_np and
7415 pthread_setattr_default_np.
7417 * Versions.def (libpthread): Add GLIBC_2.18.
7418 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7427 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7438 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7441 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7443 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7444 H.J. Lu <hjl.tools@gmail.com>
7447 * sysdeps/x86_64/rtld-memset.c: Remove file.
7448 * sysdeps/x86_64/rtld-memset.S: New file.
7450 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7452 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7453 (test_in_one_mode): Take arguments for whether the rounding mode
7454 is supported for each floating-point type.
7455 (do_test): Pass new arguments to test_in_one_mode using
7458 2013-06-13 Roland McGrath <roland@hack.frob.com>
7460 * posix/tst-waitid.c (do_test): Distinguish different instances of
7461 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7462 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7463 before entering the kernel for waitpid.
7465 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7467 * NEWS: Fix note on clock function precision. Text by Roland
7470 2013-06-13 Roland McGrath <roland@hack.frob.com>
7472 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7473 it into place only when and if the sanity check passes.
7475 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7477 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7478 output for whether conversion result is exact. Take argument
7479 indicating whether type is IBM long double.
7480 (round_for_all): Change need_exact field to ibm_ld.
7481 * stdlib/tst-strtod-round.c (struct exactness): New type.
7482 (struct test): Change bool ld_ok field to struct exactness exact.
7483 (TEST): Update all definitions for change to field.
7484 (tests): Regenerate array contents.
7485 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7486 field value. Check for IBM long double here.
7487 (do_test): Update calls to test_in_one_mode.
7489 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7492 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7493 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7495 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7498 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7499 generated by the compiler on loop optimizations.
7500 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7501 general definitions.
7503 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7505 * math/bug-nextafter.c: Include <math-tests.h>.
7506 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7508 * math/bug-nexttoward.c: Include <math-tests.h>.
7509 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7511 * math/test-misc.c: Include <math-tests.h>.
7512 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7515 2013-06-12 Andreas Jaeger <aj@suse.de>
7517 * po/ia.po: Update Interlingua translation from translation
7520 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7522 * include/fenv.h: Include stdbool.h.
7523 (struct rm_ctx): New structure.
7524 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7526 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7527 (SET_RESTORE_ROUNDF): Likewise.
7528 (SET_RESTORE_ROUNDL): Likewise.
7529 (SET_RESTORE_ROUND_NOEX): Likewise.
7530 (SET_RESTORE_ROUND_NOEXF): Likewise.
7531 (SET_RESTORE_ROUND_NOEXL): Likewise.
7532 (SET_RESTORE_ROUND_53BIT): Likewise.
7533 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7534 (libc_feresetround_noexf_ctx): Likewise.
7535 (libc_feresetround_noexl_ctx): Likewise.
7536 (libc_feholdsetround_53bit_ctx): Likewise.
7537 (libc_feresetround_53bit_ctx): Likewise.
7538 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7539 (libc_feholdexcept_setround_sse_ctx): New function.
7540 (libc_fesetenv_sse_ctx): Likewise.
7541 (libc_feupdateenv_sse_ctx): Likewise.
7542 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7543 (libc_feholdexcept_setround_387_ctx): Likewise.
7544 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7545 (libc_feholdsetround_387_prec_ctx): Likewise.
7546 (libc_feholdsetround_387_ctx): Likewise.
7547 (libc_feholdsetround_387_53bit_ctx): Likewise.
7548 (libc_feholdsetround_sse_ctx): Likewise.
7549 (libc_feresetround_sse_ctx): Likewise.
7550 (libc_feresetround_387_ctx): Likewise.
7551 (libc_feupdateenv_387_ctx): Likewise.
7552 (libc_feholdexcept_setroundf_ctx): Define macro.
7553 (libc_fesetenvf_ctx): Likewise.
7554 (libc_feupdateenvf_ctx): Likewise.
7555 (libc_feholdsetroundf_ctx): Likewise.
7556 (libc_feresetroundf_ctx): Likewise.
7557 (libc_feholdexcept_setround_ctx): Likewise.
7558 (libc_fesetenv_ctx): Likewise.
7559 (libc_feupdateenv_ctx): Likewise.
7560 (libc_feholdsetround_ctx): Likewise.
7561 (libc_feresetround_ctx): Likewise.
7562 (libc_feholdexcept_setroundl_ctx): Likewise.
7563 (libc_feupdateenvl_ctx): Likewise.
7564 (libc_feholdsetroundl_ctx): Likewise.
7565 (libc_feresetroundl_ctx): Likewise.
7566 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7567 (libc_feresetround_53bit_ctx): Likewise.
7569 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7571 * locale/iso-639.def: Convert to UTF-8.
7573 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7575 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7576 (EXCEPTION_TESTS_double): Likewise.
7577 (EXCEPTION_TESTS_long_double): Likewise.
7578 (EXCEPTION_TESTS): Likewise.
7579 * math/libm-test.inc (test_exceptions): Only test exceptions if
7580 EXCEPTION_TESTS (FLOAT).
7582 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7584 * benchtests/Makefile (string-bench): Add strcpy_chk and
7586 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7587 * benchtests/bench-stpcpy_chk.c: New file.
7588 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7589 * benchtests/bench-strcpy_chk.c: New file.
7590 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7592 (do_test): Likewise.
7594 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7596 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7597 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7598 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7599 with tabs where appropriate.
7600 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7602 [PPC_PLATFORM_PPC440]: Likewise.
7603 [PPC_PLATFORM_PPC464]: Likewise.
7604 [PPC_PLATFORM_PPC476]: Likewise.
7605 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7606 ppc464, and ppc476 platform strings merging from ports/
7609 2013-06-11 Andreas Schwab <schwab@suse.de>
7612 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7613 (from_ucs4_idx): Regenerate.
7614 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7615 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7616 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7617 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7618 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7619 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7620 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7621 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7622 from FROM_LOOP and TO_LOOP specific macros.
7623 (BODY): Handle combining characters.
7624 * iconvdata/BIG5HKSCS.irreversible: Update.
7625 * iconvdata/BIG5HKSCS.precomposed: New file.
7626 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7628 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7630 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7632 * include/sys/time.h: Fix indentation and add copyright header.
7634 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7635 (do_test): Likewise.
7636 * string/test-memchr.c (do_one_test): Likewise.
7637 (do_test): Likewise.
7638 * string/test-memcmp.c (do_one_test): Likewise.
7639 (do_test): Likewise.
7640 * string/test-memcpy.c (do_one_test): Likewise.
7641 (do_test): Likewise.
7642 * string/test-memmem.c (do_one_test): Likewise.
7643 (do_test): Likewise.
7644 (do_random_tests): Likewise.
7645 * string/test-memmove.c (do_one_test): Likewise.
7646 (do_test): Likewise.
7647 * string/test-memset.c (do_one_test): Likewise.
7648 (do_test): Likewise.
7649 * string/test-rawmemchr.c (do_one_test): Likewise.
7650 (do_test): Likewise.
7651 * string/test-strcasecmp.c (do_one_test): Likewise.
7652 (do_test): Likewise.
7653 * string/test-strcasestr.c (do_one_test): Likewise.
7654 (do_test): Likewise.
7655 * string/test-strcat.c (do_one_test): Likewise.
7656 (do_test): Likewise.
7657 * string/test-strchr.c (do_one_test): Likewise.
7658 (do_test): Likewise.
7659 * string/test-strcmp.c (do_one_test): Likewise.
7660 (do_test): Likewise.
7661 * string/test-strcpy.c (do_one_test): Likewise.
7662 (do_test): Likewise.
7663 * string/test-string.h: Likewise.
7664 (test_init): Likewise.
7665 * string/test-strlen.c (do_one_test): Likewise.
7666 (do_test): Likewise.
7667 * string/test-strncasecmp.c (do_one_test): Likewise.
7668 (do_test): Likewise.
7669 * string/test-strncat.c (do_one_test): Likewise.
7670 (do_test): Likewise.
7671 * string/test-strncmp.c (do_one_test): Likewise.
7672 (do_test_limit): Likewise.
7673 (do_test): Likewise.
7674 * string/test-strncpy.c (do_one_test): Likewise.
7675 (do_test): Likewise.
7676 * string/test-strnlen.c (do_one_test): Likewise.
7677 (do_test): Likewise.
7678 * string/test-strpbrk.c (do_one_test): Likewise.
7679 (do_test): Likewise.
7680 * string/test-strrchr.c (do_one_test): Likewise.
7681 (do_test): Likewise.
7682 * string/test-strspn.c (do_one_test): Likewise.
7683 (do_test): Likewise.
7684 * string/test-strstr.c (do_one_test): Likewise.
7685 (do_test): Likewise.
7687 * benchtests/Makefile (string-bench): Add string benchmarks.
7688 * benchtests/bench-bcopy-ifunc.c: New file.
7689 * benchtests/bench-bcopy.c: New file.
7690 * benchtests/bench-bzero-ifunc.c: New file.
7691 * benchtests/bench-bzero.c: New file.
7692 * benchtests/bench-memccpy-ifunc.c: New file.
7693 * benchtests/bench-memccpy.c: New file.
7694 * benchtests/bench-memchr-ifunc.c: New file.
7695 * benchtests/bench-memchr.c: New file.
7696 * benchtests/bench-memcmp-ifunc.c: New file.
7697 * benchtests/bench-memcmp.c: New file.
7698 * benchtests/bench-memmem-ifunc.c: New file.
7699 * benchtests/bench-memmem.c: New file.
7700 * benchtests/bench-memmove-ifunc.c: New file.
7701 * benchtests/bench-memmove.c: New file.
7702 * benchtests/bench-mempcpy-ifunc.c: New file.
7703 * benchtests/bench-mempcpy.c: New file.
7704 * benchtests/bench-memset-ifunc.c: New file.
7705 * benchtests/bench-memset.c: New file.
7706 * benchtests/bench-rawmemchr-ifunc.c: New file.
7707 * benchtests/bench-rawmemchr.c: New file.
7708 * benchtests/bench-stpcpy-ifunc.c: New file.
7709 * benchtests/bench-stpcpy.c: New file.
7710 * benchtests/bench-stpncpy-ifunc.c: New file.
7711 * benchtests/bench-stpncpy.c: New file.
7712 * benchtests/bench-strcasecmp-ifunc.c: New file.
7713 * benchtests/bench-strcasecmp.c: New file.
7714 * benchtests/bench-strcasestr-ifunc.c: New file.
7715 * benchtests/bench-strcasestr.c: New file.
7716 * benchtests/bench-strcat-ifunc.c: New file.
7717 * benchtests/bench-strcat.c: New file.
7718 * benchtests/bench-strchr-ifunc.c: New file.
7719 * benchtests/bench-strchr.c: New file.
7720 * benchtests/bench-strchrnul-ifunc.c: New file.
7721 * benchtests/bench-strchrnul.c: New file.
7722 * benchtests/bench-strcmp-ifunc.c: New file.
7723 * benchtests/bench-strcmp.c: New file.
7724 * benchtests/bench-strcpy-ifunc.c: New file.
7725 * benchtests/bench-strcpy.c: New file.
7726 * benchtests/bench-strcspn-ifunc.c: New file.
7727 * benchtests/bench-strcspn.c: New file.
7728 * benchtests/bench-strlen-ifunc.c: New file.
7729 * benchtests/bench-strlen.c: New file.
7730 * benchtests/bench-strncasecmp-ifunc.c: New file.
7731 * benchtests/bench-strncasecmp.c: New file.
7732 * benchtests/bench-strncat-ifunc.c: New file.
7733 * benchtests/bench-strncat.c: New file.
7734 * benchtests/bench-strncmp-ifunc.c: New file.
7735 * benchtests/bench-strncmp.c: New file.
7736 * benchtests/bench-strncpy-ifunc.c: New file.
7737 * benchtests/bench-strncpy.c: New file.
7738 * benchtests/bench-strnlen-ifunc.c: New file.
7739 * benchtests/bench-strnlen.c: New file.
7740 * benchtests/bench-strpbrk-ifunc.c: New file.
7741 * benchtests/bench-strpbrk.c: New file.
7742 * benchtests/bench-strrchr-ifunc.c: New file.
7743 * benchtests/bench-strrchr.c: New file.
7744 * benchtests/bench-strspn-ifunc.c: New file.
7745 * benchtests/bench-strspn.c: New file.
7746 * benchtests/bench-strstr-ifunc.c: New file.
7747 * benchtests/bench-strstr.c: New file.
7749 * benchtests/Makefile: Disable parallel execution of targets.
7750 (string-bench): Add memcpy.
7751 (benchset): New variable to store a list of benchmark sets.
7752 (bench-func): Renamed from bench.
7753 (bench-set): New target.
7754 (bench): Depend on bench-func and bench-set.
7755 * benchtests/README: Add section on benchmark sets.
7756 * benchtests/bench-memcpy-ifunc.c: New file.
7757 * benchtests/bench-memcpy.c: New file.
7758 * benchtests/bench-string.h: New file.
7760 2013-06-11 Andreas Schwab <schwab@suse.de>
7763 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7764 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7765 values in the triple.
7766 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7767 terminator in the group key.
7769 2013-06-11 Andreas Jaeger <aj@suse.de>
7771 * po/zh_TW.po: Update Chinese (traditional) translation from
7772 translation project.
7774 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7776 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7777 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7778 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7779 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7780 (clock_getcpuclockid): Likewise.
7781 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7782 Add weak_alias and libc_hidden_def.
7783 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7784 * rt/clock_gettime.c (clock_gettime): Rename to
7785 __clock_gettime. Add weak_alias and libc_hidden_def.
7786 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7787 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7788 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7789 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7790 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7792 * rt/clock_settime.c (clock_settime): Rename to
7793 __clock_settime. Add weak_alias and libc_hidden_def.
7794 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7796 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7798 * mach/err_boot.sub: Remove trailing whitespace.
7799 * mach/err_ipc.sub: Likewise.
7800 * mach/err_mach.sub: Likewise.
7802 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7803 (ROUNDING_TESTS_double): Likewise.
7804 (ROUNDING_TESTS_long_double): Likewise.
7805 (ROUNDING_TESTS): Likewise.
7806 * math/libm-test.inc: Include <math-tests.h>.
7807 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7808 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7809 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7810 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7812 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7814 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7817 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7819 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7820 otherwise empty TRANS lines.
7821 * sysdeps/gnu/errlist.c: Regenerated.
7823 * catgets/gencat.c (error_print): Use (void) in function
7825 * crypt/crypt_util.c (__init_des): Likewise.
7826 * crypt/speeds.c (Stop): Likewise.
7828 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7829 * inet/ruserpass.c (token): Likewise.
7830 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7831 * intl/localealias.c (extend_alias_table): Likewise.
7832 * intl/plural-exp.c (init_germanic_plural): Likewise.
7833 * libio/fcloseall.c (__fcloseall): Likewise.
7834 * libio/genops.c (_IO_flush_all): Likewise.
7835 (_IO_flush_all_linebuffered): Likewise.
7836 (_IO_cleanup): Likewise.
7837 (_IO_iter_begin): Likewise.
7838 (_IO_iter_end): Likewise.
7839 (_IO_list_lock): Likewise.
7840 (_IO_list_unlock): Likewise.
7841 (_IO_list_resetlock): Likewise.
7842 * libio/getchar.c (getchar): Likewise.
7843 * libio/getchar_u.c (getchar_unlocked): Likewise.
7844 * libio/getwchar.c (getwchar): Likewise.
7845 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7846 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7847 * login/getpt.c (__getpt): Likewise.
7848 * login/tst-utmp.c (main): Likewise.
7849 * malloc/hooks.c (__malloc_check_init): Likewise.
7850 * malloc/malloc.c (__malloc_stats): Likewise.
7851 * malloc/mtrace.c (tr_break): Likewise.
7853 (muntrace): Likewise.
7854 * misc/fstab.c (endfsent): Likewise.
7855 * misc/getclktck.c (__getclktck): Likewise.
7856 * misc/getdtsz.c (__getdtablesize): Likewise.
7857 * misc/gethostid.c (gethostid): Likewise.
7858 * misc/getpagesize.c (__getpagesize): Likewise.
7859 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7860 (__get_nprocs): Likewise.
7861 (__get_phys_pages): Likewise.
7862 (__get_avphys_pages): Likewise.
7863 * misc/getttyent.c (getttyent): Likewise.
7864 (setttyent): Likewise.
7865 (endttyent): Likewise.
7866 * misc/getusershell.c (getusershell): Likewise.
7867 (endusershell): Likewise.
7868 (setusershell): Likewise.
7869 (initshells): Likewise.
7870 * misc/hsearch.c (__hdestroy): Likewise.
7871 * misc/sync.c (sync): Likewise.
7872 * misc/syslog.c (closelog_internal): Likewise.
7873 (closelog): Likewise.
7874 * misc/ttyslot.c (ttyslot): Likewise.
7875 * misc/vhangup.c (vhangup): Likewise.
7876 * posix/fork.c (__fork): Likewise.
7877 * posix/getegid.c (__getegid): Likewise.
7878 * posix/geteuid.c (__geteuid): Likewise.
7879 * posix/getgid.c (__getgid): Likewise.
7880 * posix/getpid.c (__getpid): Likewise.
7881 * posix/getppid.c (__getppid): Likewise.
7882 * posix/getuid.c (__getuid): Likewise.
7883 * posix/pause.c (pause): Likewise.
7884 * posix/setpgrp.c (setpgrp): Likewise.
7885 * posix/setsid.c (__setsid): Likewise.
7886 * posix/test-vfork.c (noop): Likewise.
7887 * resolv/gethnamaddr.c (_endhtent): Likewise.
7888 (_gethtent): Likewise.
7889 (ht_endhostent): Likewise.
7890 (gethostent): Likewise.
7891 (dns_service): Likewise.
7892 * stdlib/drand48.c (drand48): Likewise.
7893 * stdlib/lrand48.c (lrand48): Likewise.
7894 * stdlib/mrand48.c (mrand48): Likewise.
7895 * stdlib/rand.c (rand): Likewise.
7896 * stdlib/random.c (__random): Likewise.
7897 * stdlib/setenv.c (clearenv): Likewise.
7898 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7899 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7900 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7901 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7902 (__get_nprocs): Likewise.
7903 (__get_phys_pages): Likewise.
7904 (__get_avphys_pages): Likewise.
7905 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7906 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7907 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7908 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7909 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7910 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7911 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7912 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7913 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7914 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7915 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7916 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7917 * sysdeps/posix/clock.c (clock): Likewise.
7918 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7919 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7920 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7921 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7922 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7923 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7924 (__get_nprocs_conf): Likewise.
7925 (__get_phys_pages): Likewise.
7926 (__get_avphys_pages): Likewise.
7927 * time/clock.c (clock): Likewise.
7928 * time/tzset.c (__tzname_max): Likewise.
7930 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7932 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7933 (__bswap_32): Do not use "register".
7934 * crypt/crypt.c (_ufc_doit_r): Likewise.
7935 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7936 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7937 * gmon/gmon.c (__monstartup): Likewise.
7938 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7939 * hurd/hurdmalloc.c (more_memory): Likewise.
7942 (realloc): Likewise.
7943 (malloc_fork_prepare): Likewise.
7944 (malloc_fork_parent): Likewise.
7945 (malloc_fork_child): Likewise.
7946 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7947 (_svcauth_des): Likewise.
7948 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7949 * inet/inet_net.c (inet_network): Likewise.
7950 * inet/inet_netof.c (inet_netof): Likewise.
7951 * inet/rcmd.c (__validuser2_sa): Likewise.
7952 * io/fts.c (fts_open): Likewise.
7953 (fts_load): Likewise.
7954 (fts_close): Likewise.
7955 (fts_read): Likewise.
7956 (fts_children): Likewise.
7957 (fts_build): Likewise.
7958 (fts_stat): Likewise.
7959 (fts_sort): Likewise.
7960 (fts_alloc): Likewise.
7961 (fts_lfree): Likewise.
7962 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7963 (_IO_file_xsgetn): Likewise.
7964 (_IO_file_xsgetn_mmap): Likewise.
7965 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7966 (_IO_cookie_write): Likewise.
7967 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7968 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7969 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7970 * malloc/obstack.c (_obstack_begin): Likewise.
7971 (_obstack_begin_1): Likewise.
7972 (_obstack_newchunk): Likewise.
7973 (_obstack_allocated_p): Likewise.
7974 (obstack_free): Likewise.
7975 (_obstack_memory_used): Likewise.
7976 * misc/getttyent.c (getttynam): Likewise.
7977 (getttyent): Likewise.
7980 * misc/getusershell.c (initshells): Likewise.
7981 * misc/syslog.c (__vsyslog_chk): Likewise.
7982 * misc/ttyslot.c (ttyslot): Likewise.
7983 * nis/nis_hash.c (__nis_hash): Likewise.
7984 * posix/fnmatch_loop.c (FCT): Likewise.
7985 * posix/getconf.c (print_all): Likewise.
7987 * posix/getopt.c (exchange): Likewise.
7988 * posix/glob.c (globfree): Likewise.
7989 (prefix_array): Likewise.
7990 (__glob_pattern_type): Likewise.
7991 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7992 (NS_GET32): Likewise.
7993 (NS_PUT16): Likewise.
7994 (NS_PUT32): Likewise.
7995 * resolv/gethnamaddr.c (getanswer): Likewise.
7996 (gethostbyname2): Likewise.
7997 (gethostbyaddr): Likewise.
7998 (_gethtent): Likewise.
7999 (_gethtbyname2): Likewise.
8000 (_gethtbyaddr): Likewise.
8001 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8002 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8003 * resolv/res_init.c (__res_vinit): Likewise.
8004 (net_mask): Likewise.
8005 * resolv/res_mkquery.c (outchar): Likewise.
8007 * stdio-common/printf_fp.c (outchar): Likewise.
8009 * stdio-common/printf_fphex.c (outchar): Likewise.
8011 * stdio-common/printf_size.c (outchar): Likewise.
8013 * stdio-common/test_rdwr.c (main): Likewise.
8014 * stdio-common/tfformat.c (matches): Likewise.
8015 * stdio-common/vfprintf.c (outchar): Likewise.
8016 (printf_unknown): Likewise.
8017 (buffered_vfprintf): Likewise.
8018 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8019 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8020 (ReadFile): Likewise.
8021 * stdlib/qsort.c (SWAP): Likewise.
8022 (_quicksort): Likewise.
8023 * stdlib/setenv.c (__add_to_environ): Likewise.
8024 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8025 * stdlib/strtol_l.c (__strtol_l): Likewise.
8026 * stdlib/tst-strtod.c (main): Likewise.
8027 * stdlib/tst-strtol.c (main): Likewise.
8028 * stdlib/tst-strtoll.c (main): Likewise.
8029 * string/bits/string2.h (__strcmp_cc): Likewise.
8030 (__strcmp_cg): Likewise.
8031 (__strcspn_c1): Likewise.
8032 (__strcspn_c2): Likewise.
8033 (__strcspn_c3): Likewise.
8034 (__strspn_c1): Likewise.
8035 (__strspn_c2): Likewise.
8036 (__strspn_c3): Likewise.
8037 (__strsep_1c): Likewise.
8038 (__strsep_2c): Likewise.
8039 (__strsep_3c): Likewise.
8040 * string/memccpy.c (__memccpy): Likewise.
8041 * string/stpcpy.c (__stpcpy): Likewise.
8042 * string/strcmp.c (strcmp): Likewise.
8043 * string/strrchr.c (strrchr): Likewise.
8044 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8046 * sysdeps/mach/hurd/getcwd.c
8047 (_hurd_canonicalize_directory_name_internal): Likewise.
8048 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8049 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8050 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8051 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8052 Likewise, in both definitions.
8053 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8055 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8056 64] (__bswap_64): Likewise.
8057 * time/test_time.c (main): Likewise.
8058 * time/tzfile.c (__tzfile_read): Likewise.
8059 (__tzfile_compute): Likewise.
8060 * time/tzset.c (__tzset_parse_tz): Likewise.
8061 (tzset_internal): Likewise.
8062 (compute_change): Likewise.
8063 * wcsmbs/wcscat.c (__wcscat): Likewise.
8064 * wcsmbs/wcschr.c (wcschr): Likewise.
8065 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8066 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8067 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8068 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8069 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8070 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8071 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8072 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8073 * wcsmbs/wmemset.c (wmemset): Likewise.
8075 2013-06-06 Joseph Myers <joseph@codesourcery.com>
8077 * scripts/config.guess: Update to version 2013-05-16.
8078 * scripts/config.sub: Update to version 2013-04-24.
8079 * scripts/install-sh: Update to version 2011-11-20.07.
8080 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8081 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8083 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
8085 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8086 * elf/sln.c: Likewise.
8087 * hurd/hurd/ioctl.h: Likewise.
8088 * hurd/hurdmalloc.c: Likewise.
8089 * hurd/xattr.c: Likewise.
8090 * include/shlib-compat.h: Likewise.
8091 * inet/ruserpass.c: Likewise.
8092 * libio/iofgets_u.c: Likewise.
8093 * libio/iofgetws_u.c: Likewise.
8094 * locale/programs/ld-identification.c: Likewise.
8095 * locale/programs/ld-time.c: Likewise.
8096 * mach/msg-destroy.c: Likewise.
8097 * nss/nss_files/files-netgrp.c: Likewise.
8098 * resolv/res_data.c: Likewise.
8099 * soft-fp/op-1.h: Likewise.
8100 * soft-fp/op-2.h: Likewise.
8101 * soft-fp/op-4.h: Likewise.
8102 * soft-fp/op-common.h: Likewise.
8103 * stdio-common/printf_fphex.c: Likewise.
8104 * stdlib/strtod_l.c: Likewise.
8105 * sunrpc/rpc/clnt.h: Likewise.
8106 * sysdeps/generic/framestate.c: Likewise.
8107 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8108 * sysdeps/i386/bsd-setjmp.S: Likewise.
8109 * sysdeps/i386/__longjmp.S: Likewise.
8110 * sysdeps/i386/setjmp.S: Likewise.
8111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8112 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8113 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8114 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8115 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8116 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8117 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8118 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8119 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8120 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8121 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8122 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8123 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8124 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8125 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8126 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8127 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8128 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8129 * sysdeps/ieee754/support.c: Likewise.
8130 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8131 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8132 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8133 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8134 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8135 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8136 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8137 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8138 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8139 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8140 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8141 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8142 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8143 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8144 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8145 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8146 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8149 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8151 * posix/transbug.c: Remove executable mode.
8153 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8155 * crypt/speeds.c: Remove trailing whitespace.
8156 * dlfcn/default.c: Likewise.
8157 * elf/ifuncdep2.c: Likewise.
8158 * elf/ifuncmain1.c: Likewise.
8159 * elf/ifuncmain1vis.c: Likewise.
8160 * elf/testobj.h: Likewise.
8161 * elf/tst-stackguard1.c: Likewise.
8162 * gmon/sys/gmon.h: Likewise.
8163 * hurd/hurdmsg.c: Likewise.
8164 * hurd/new-fd.c: Likewise.
8165 * hurd/ports-get.c: Likewise.
8166 * iconvdata/ibm1008_420.c: Likewise.
8167 * inet/tst-getni1.c: Likewise.
8168 * inet/tst-getni2.c: Likewise.
8169 * libio/ioungetc.c: Likewise.
8170 * libio/wfiledoalloc.c: Likewise.
8171 * manual/libm-err-tab.pl: Likewise.
8172 * math/w_dremf.c: Likewise.
8173 * misc/ftruncate.c: Likewise.
8174 * posix/bug-glob2.c: Likewise.
8175 * posix/tst-pcre.c: Likewise.
8176 * posix/wait4.c: Likewise.
8177 * resolv/README: Likewise.
8178 * resolv/res_debug.h: Likewise.
8179 * resolv/tst-inet_ntop.c: Likewise.
8180 * setjmp/bug269-setjmp.c: Likewise.
8181 * soft-fp/extended.h: Likewise.
8182 * soft-fp/op-1.h: Likewise.
8183 * soft-fp/op-2.h: Likewise.
8184 * soft-fp/op-4.h: Likewise.
8185 * soft-fp/op-8.h: Likewise.
8186 * soft-fp/testit.c: Likewise.
8187 * stdio-common/bug16.c: Likewise.
8188 * stdlib/random.c: Likewise.
8189 * sunrpc/rpcsvc/rquota.x: Likewise.
8190 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8191 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8192 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8193 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8194 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8195 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8196 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8197 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8198 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8199 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8200 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8217 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8218 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8219 * sysdeps/ieee754/s_lib_version.c: Likewise.
8220 * sysdeps/mach/hurd/check_fds.c: Likewise.
8221 * sysdeps/mach/hurd/getsockname.c: Likewise.
8222 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8223 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8224 * sysdeps/powerpc/bits/link.h: Likewise.
8225 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8226 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8227 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8228 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8229 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8230 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8231 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8232 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8233 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8234 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8235 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8236 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8237 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8238 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8239 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8240 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8241 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8242 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8243 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8244 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8245 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8246 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8247 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8248 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8249 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8250 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8251 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8252 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8253 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8254 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8255 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8256 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8257 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8258 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8259 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8260 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8261 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8262 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8263 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8264 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8265 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8266 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8267 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8268 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8269 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8270 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8271 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8272 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8273 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8274 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8277 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8278 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8279 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8280 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8281 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8282 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8283 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8284 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8285 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8286 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8287 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8288 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8289 * sysdeps/powerpc/sysdep.h: Likewise.
8290 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8291 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8292 * sysdeps/sh/dl-trampoline.S: Likewise.
8293 * sysdeps/sh/memset.S: Likewise.
8294 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8295 * sysdeps/sh/strlen.S: Likewise.
8296 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8297 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8298 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8299 * sysdeps/sparc/sparc32/rem.S: Likewise.
8300 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8301 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8302 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8303 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8304 * sysdeps/sparc/sparc32/urem.S: Likewise.
8305 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8306 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8307 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8308 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8309 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8310 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8311 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8312 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8313 * sysdeps/unix/bsd/times.c: Likewise.
8314 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8315 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8319 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8320 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8321 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8322 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8323 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8324 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8325 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8326 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8327 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8328 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8329 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8330 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8331 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8332 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8333 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8334 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8335 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8336 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8337 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8338 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8339 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8340 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8341 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8342 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8343 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8344 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8345 * sysdeps/x86_64/strcspn.S: Likewise.
8347 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8349 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8350 generated file. Regenerate properly from gen-translit.pl.
8351 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8352 locale/C-translit.h.
8354 2013-06-05 Andreas Schwab <schwab@suse.de>
8357 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8358 week as 6 instead of -1.
8359 * time/tst-strptime.c (day_tests): Add test case.
8361 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8363 * sysdeps/generic/math_private.h
8364 (libc_feholdexcept_setround_53bit): Replace with
8365 libc_feholdsetround_53bit.
8366 (libc_feupdateenv_53bit): Replace with
8367 libc_feresetround_53bit.
8368 (SET_RESTORE_ROUND_53BIT): Adjust.
8370 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8372 * string/test-strchrnul.c: Add copyright header.
8374 * posix/tst-getaddrinfo4.c: Increase test timeout.
8376 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8379 * math/libm-test.inc (MAX_EXP): Remove
8381 (ulp): Use MIN_EXP - MANT_DIG.
8382 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8384 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8386 * po/be.po: Revert last change.
8387 * po/zh_CN.po: Likewise.
8388 * po/header.pot: Likewise.
8390 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8392 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8393 link-libc-deps to empty as target-specific variable.
8394 * Makerules (link-libc-args): New variable.
8395 (libc-for-link): Likewise.
8396 (link-libc-deps): Likewise.
8397 (lib%.so): Depend on $(link-libc-deps). Link with
8399 (build-module): Link with $(link-libc-args).
8400 (build-module-asneeded): Likewise.
8401 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8403 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8404 target-specific variable.
8405 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8406 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8407 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8409 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8411 ($(objpfx)libpcprofile.so): Likewise.
8412 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8414 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8415 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8416 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8418 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8419 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8420 * login/Makefile ($(objpfx)libutil.so): Likewise.
8421 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8422 * math/Makefile ($(objpfx)libm.so): Likewise.
8423 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8424 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8425 variable instead of depending directly on libc.
8426 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8427 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8429 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8431 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8432 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8433 ($(objpfx)libanl.so): Likewise.
8434 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8436 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8438 * sysdeps/i386/fpu/Makefile: Remove file.
8439 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8440 ($(objpfx)libm.so): Remove dependency on ld.so.
8442 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8445 * nis/yp_xdr.c (XDRMAXNAME): Define.
8446 (XDRMAXRECORD): Define.
8447 (xdr_domainname): Use XDRMAXNAME.
8448 (xdr_mapname): Likewise.
8449 (xdr_peername): Likewise.
8450 (xdr_keydat): Use XDRMAXRECORD.
8451 (xdr_valdat): Likewise.
8453 2013-05-30 Jeff Law <law@redhat.com>
8456 * manual/errno.texi (ESTALE): Update to account for more than
8457 just NFS file systems.
8458 * sysdeps/gnu/errlist.c: Regenerated.
8460 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8463 * elf/Makefile (tests): Add tst-null-argv.
8464 (modules-names): Add tst-null-argv-lib.
8465 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8466 (tst-null-argv-ENV): Set environment for tst-null-argv.
8467 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8468 (RTLD_PROGNAME): New macro.
8469 * elf/tst-null-argv.c: New test case.
8470 * elf/tst-null-argv-lib.c: Library for test case.
8471 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8472 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8473 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8474 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8475 * elf/dl-init.c (call_init): Likewise.
8476 (_dl_init): Likewise.
8477 * elf/dl-load.c (print_search_path): Likewise.
8478 (_dl_map_object): Likewise.
8479 * elf/dl-lookup.c (do_lookup_x): Likewise.
8480 (add_dependency): Likewise.
8481 (_dl_lookup_symbol_x): Likewise.
8482 (_dl_debug_bindings): Likewise.
8483 * elf/dl-open.c (_dl_show_scope): Likewise.
8484 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8485 * elf/dl-version.c (match_symbol): Likewise.
8486 (_dl_check_map_versions): Likewise.
8487 * elf/rtld.c (dl_main): Likewise.
8488 (print_unresolved): Use RTLD_PROGNAME.
8489 (print_missing_version): Likewise.
8490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8491 (elf_machine_rela): Likewise.
8492 * sysdeps/powerpc/powerpc32/dl-machine.c
8493 (__process_machine_rela): Likewise.
8494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8496 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8498 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8500 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8501 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8503 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8505 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8507 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8509 * po/be.po: Add descriptive title.
8510 * po/zh_CN.po: Likewise.
8511 * po/header.pot: Likewise.
8513 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8515 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8517 (enlarge_archive): Likewise.
8519 2013-05-28 Ben North <ben@redfrontdoor.org>
8521 * manual/arith.texi (frexp): It is the magnitude of the return
8522 value which lies in [0.5, 1), not the return value itself.
8524 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8528 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8530 * stdio-common/bug26.c (main): Correct fscanf template.
8532 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8533 declare _dl_skip_args.
8535 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8538 * manual/platform.texi: Add missing @end deftypefun.
8540 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8543 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8544 bit of mantissa of 2^16382.
8545 * math/libm-test.inc (hypot_test_data): Add more tests.
8547 * math/libm-test.inc: Add drem and pow10 to list of tested
8549 (pow10_test): New function.
8550 (drem_test): Likewise.
8551 (drem_test_tonearest): Likewise.
8552 (drem_test_towardzero): Likewise.
8553 (drem_test_downward): Likewise.
8554 (drem_test_upward): Likewise.
8555 (main): Call the new functions.
8557 * math/libm-test.inc (finite_test_data): Remove.
8558 (finite_test): Run tests from isfinite_test_data.
8559 (gamma_test_data): Remove.
8560 (gamma_test): Run tests from lgamma_test_data.
8561 * sysdeps/i386/fpu/libm-test-ulps: Update.
8562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8564 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8566 * manual/platform.texi: Add PowerPC PPR function set documentation.
8567 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8570 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8572 * math/libm-test.inc (MAX_EXP): Define.
8574 (ulp): New function.
8575 (check_float_internal): Use ULPDIFF.
8576 (cpow_test): Disable failing test.
8577 (check_ulp): Test ulp() implemetnation.
8578 (main): Call check_ulp before starting tests.
8580 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8582 * math/gen-libm-test.pl (generate_testfile): Do not handle
8583 START_DATA and END_DATA.
8584 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8586 (acos_tonearest_test_data): Likewise.
8587 (acos_towardzero_test_data): Likewise.
8588 (acos_downward_test_data): Likewise.
8589 (acos_upward_test_data): Likewise.
8590 (acosh_test_data): Likewise.
8591 (asin_test_data): Likewise.
8592 (asin_tonearest_test_data): Likewise.
8593 (asin_towardzero_test_data): Likewise.
8594 (asin_downward_test_data): Likewise.
8595 (asin_upward_test_data): Likewise.
8596 (asinh_test_data): Likewise.
8597 (atan_test_data): Likewise.
8598 (atanh_test_data): Likewise.
8599 (atan2_test_data): Likewise.
8600 (cabs_test_data): Likewise.
8601 (cacos_test_data): Likewise.
8602 (cacosh_test_data): Likewise.
8603 (carg_test_data): Likewise.
8604 (casin_test_data): Likewise.
8605 (casinh_test_data): Likewise.
8606 (catan_test_data): Likewise.
8607 (catanh_test_data): Likewise.
8608 (cbrt_test_data): Likewise.
8609 (ccos_test_data): Likewise.
8610 (ccosh_test_data): Likewise.
8611 (ceil_test_data): Likewise.
8612 (cexp_test_data): Likewise.
8613 (cimag_test_data): Likewise.
8614 (clog_test_data): Likewise.
8615 (clog10_test_data): Likewise.
8616 (conj_test_data): Likewise.
8617 (copysign_test_data): Likewise.
8618 (cos_test_data): Likewise.
8619 (cos_tonearest_test_data): Likewise.
8620 (cos_towardzero_test_data): Likewise.
8621 (cos_downward_test_data): Likewise.
8622 (cos_upward_test_data): Likewise.
8623 (cosh_test_data): Likewise.
8624 (cosh_tonearest_test_data): Likewise.
8625 (cosh_towardzero_test_data): Likewise.
8626 (cosh_downward_test_data): Likewise.
8627 (cosh_upward_test_data): Likewise.
8628 (cpow_test_data): Likewise.
8629 (cproj_test_data): Likewise.
8630 (creal_test_data): Likewise.
8631 (csin_test_data): Likewise.
8632 (csinh_test_data): Likewise.
8633 (csqrt_test_data): Likewise.
8634 (ctan_test_data): Likewise.
8635 (ctan_tonearest_test_data): Likewise.
8636 (ctan_towardzero_test_data): Likewise.
8637 (ctan_downward_test_data): Likewise.
8638 (ctan_upward_test_data): Likewise.
8639 (ctanh_test_data): Likewise.
8640 (ctanh_tonearest_test_data): Likewise.
8641 (ctanh_towardzero_test_data): Likewise.
8642 (ctanh_downward_test_data): Likewise.
8643 (ctanh_upward_test_data): Likewise.
8644 (erf_test_data): Likewise.
8645 (erfc_test_data): Likewise.
8646 (exp_test_data): Likewise.
8647 (exp_tonearest_test_data): Likewise.
8648 (exp_towardzero_test_data): Likewise.
8649 (exp_downward_test_data): Likewise.
8650 (exp_upward_test_data): Likewise.
8651 (exp10_test_data): Likewise.
8652 (exp2_test_data): Likewise.
8653 (expm1_test_data): Likewise.
8654 (fabs_test_data): Likewise.
8655 (fdim_test_data): Likewise.
8656 (finite_test_data): Likewise.
8657 (floor_test_data): Likewise.
8658 (fma_test_data): Likewise.
8659 (fma_towardzero_test_data): Likewise.
8660 (fma_downward_test_data): Likewise.
8661 (fma_upward_test_data): Likewise.
8662 (fmax_test_data): Likewise.
8663 (fmin_test_data): Likewise.
8664 (fmod_test_data): Likewise.
8665 (fpclassify_test_data): Likewise.
8666 (frexp_test_data): Likewise.
8667 (gamma_test_data): Likewise.
8668 (hypot_test_data): Likewise.
8669 (ilogb_test_data): Likewise.
8670 (isfinite_test_data): Likewise.
8671 (isgreater_test_data): Likewise.
8672 (isgreaterequal_test_data): Likewise.
8673 (isinf_test_data): Likewise.
8674 (isless_test_data): Likewise.
8675 (islessequal_test_data): Likewise.
8676 (islessgreater_test_data): Likewise.
8677 (isnan_test_data): Likewise.
8678 (isnormal_test_data): Likewise.
8679 (issignaling_test_data): Likewise.
8680 (isunordered_test_data): Likewise.
8681 (j0_test_data): Likewise.
8682 (j1_test_data): Likewise.
8683 (jn_test_data): Likewise.
8684 (ldexp_test_data): Likewise.
8685 (lgamma_test_data): Likewise.
8686 (lrint_test_data): Likewise.
8687 (lrint_tonearest_test_data): Likewise.
8688 (lrint_towardzero_test_data): Likewise.
8689 (lrint_downward_test_data): Likewise.
8690 (lrint_upward_test_data): Likewise.
8691 (llrint_test_data): Likewise.
8692 (llrint_tonearest_test_data): Likewise.
8693 (llrint_towardzero_test_data): Likewise.
8694 (llrint_downward_test_data): Likewise.
8695 (llrint_upward_test_data): Likewise.
8696 (log_test_data): Likewise.
8697 (log10_test_data): Likewise.
8698 (log1p_test_data): Likewise.
8699 (log2_test_data): Likewise.
8700 (logb_test_data): Likewise.
8701 (logb_downward_test_data): Likewise.
8702 (lround_test_data): Likewise.
8703 (llround_test_data): Likewise.
8704 (modf_test_data): Likewise.
8705 (nearbyint_test_data): Likewise.
8706 (nextafter_test_data): Likewise.
8707 (nexttoward_test_data): Likewise.
8708 (pow_test_data): Likewise.
8709 (pow_tonearest_test_data): Likewise.
8710 (pow_towardzero_test_data): Likewise.
8711 (pow_downward_test_data): Likewise.
8712 (pow_upward_test_data): Likewise.
8713 (remainder_test_data): Likewise.
8714 (remainder_tonearest_test_data): Likewise.
8715 (remainder_towardzero_test_data): Likewise.
8716 (remainder_downward_test_data): Likewise.
8717 (remainder_upward_test_data): Likewise.
8718 (remquo_test_data): Likewise.
8719 (rint_test_data): Likewise.
8720 (rint_tonearest_test_data): Likewise.
8721 (rint_towardzero_test_data): Likewise.
8722 (rint_downward_test_data): Likewise.
8723 (rint_upward_test_data): Likewise.
8724 (round_test_data): Likewise.
8725 (scalb_test_data): Likewise.
8726 (scalbn_test_data): Likewise.
8727 (scalbln_test_data): Likewise.
8728 (signbit_test_data): Likewise.
8729 (sin_test_data): Likewise.
8730 (sin_tonearest_test_data): Likewise.
8731 (sin_towardzero_test_data): Likewise.
8732 (sin_downward_test_data): Likewise.
8733 (sin_upward_test_data): Likewise.
8734 (sincos_test_data): Likewise.
8735 (sinh_test_data): Likewise.
8736 (sinh_tonearest_test_data): Likewise.
8737 (sinh_towardzero_test_data): Likewise.
8738 (sinh_downward_test_data): Likewise.
8739 (sinh_upward_test_data): Likewise.
8740 (sqrt_test_data): Likewise.
8741 (tan_test_data): Likewise.
8742 (tan_tonearest_test_data): Likewise.
8743 (tan_towardzero_test_data): Likewise.
8744 (tan_downward_test_data): Likewise.
8745 (tan_upward_test_data): Likewise.
8746 (tanh_test_data): Likewise.
8747 (tgamma_test_data): Likewise.
8748 (trunc_test_data): Likewise.
8749 (y0_test_data): Likewise.
8750 (y1_test_data): Likewise.
8751 (yn_test_data): Likewise.
8752 (significand_test_data): Likewise.
8754 * math/gen-libm-test.pl (@functions): Remove variable.
8755 (generate_testfile): Don't handle START and END lines.
8756 * math/libm-test.inc (START): New macro.
8758 (END_COMPLEX): Likewise.
8759 (acos_test): Use END macro without arguments.
8760 (acos_test_tonearest): Likewise.
8761 (acos_test_towardzero): Likewise.
8762 (acos_test_downward): Likewise.
8763 (acos_test_upward): Likewise.
8764 (acosh_test): Likewise.
8765 (asin_test): Likewise.
8766 (asin_test_tonearest): Likewise.
8767 (asin_test_towardzero): Likewise.
8768 (asin_test_downward): Likewise.
8769 (asin_test_upward): Likewise.
8770 (asinh_test): Likewise.
8771 (atan_test): Likewise.
8772 (atanh_test): Likewise.
8773 (atan2_test): Likewise.
8774 (cabs_test): Likewise.
8775 (cacos_test): Use END_COMPLEX macro without arguments.
8776 (cacosh_test): Likewise.
8777 (carg_test): Use END macro without arguments.
8778 (casin_test): Use END_COMPLEX macro without arguments.
8779 (casinh_test): Likewise.
8780 (catan_test): Likewise.
8781 (catanh_test): Likewise.
8782 (cbrt_test): Use END macro without arguments.
8783 (ccos_test): Use END_COMPLEX macro without arguments.
8784 (ccosh_test): Likewise.
8785 (ceil_test): Use END macro without arguments.
8786 (cexp_test): Use END_COMPLEX macro without arguments.
8787 (cimag_test): Use END macro without arguments.
8788 (clog_test): Use END_COMPLEX macro without arguments.
8789 (clog10_test): Likewise.
8790 (conj_test): Likewise.
8791 (copysign_test): Use END macro without arguments.
8792 (cos_test): Likewise.
8793 (cos_test_tonearest): Likewise.
8794 (cos_test_towardzero): Likewise.
8795 (cos_test_downward): Likewise.
8796 (cos_test_upward): Likewise.
8797 (cosh_test): Likewise.
8798 (cosh_test_tonearest): Likewise.
8799 (cosh_test_towardzero): Likewise.
8800 (cosh_test_downward): Likewise.
8801 (cosh_test_upward): Likewise.
8802 (cpow_test): Use END_COMPLEX macro without arguments.
8803 (cproj_test): Likewise.
8804 (creal_test): Use END macro without arguments.
8805 (csin_test): Use END_COMPLEX macro without arguments.
8806 (csinh_test): Likewise.
8807 (csqrt_test): Likewise.
8808 (ctan_test): Likewise.
8809 (ctan_test_tonearest): Likewise.
8810 (ctan_test_towardzero): Likewise.
8811 (ctan_test_downward): Likewise.
8812 (ctan_test_upward): Likewise.
8813 (ctanh_test): Likewise.
8814 (ctanh_test_tonearest): Likewise.
8815 (ctanh_test_towardzero): Likewise.
8816 (ctanh_test_downward): Likewise.
8817 (ctanh_test_upward): Likewise.
8818 (erf_test): Use END macro without arguments.
8819 (erfc_test): Likewise.
8820 (exp_test): Likewise.
8821 (exp_test_tonearest): Likewise.
8822 (exp_test_towardzero): Likewise.
8823 (exp_test_downward): Likewise.
8824 (exp_test_upward): Likewise.
8825 (exp10_test): Likewise.
8826 (exp2_test): Likewise.
8827 (expm1_test): Likewise.
8828 (fabs_test): Likewise.
8829 (fdim_test): Likewise.
8830 (finite_test): Likewise.
8831 (floor_test): Likewise.
8832 (fma_test): Likewise.
8833 (fma_test_towardzero): Likewise.
8834 (fma_test_downward): Likewise.
8835 (fma_test_upward): Likewise.
8836 (fmax_test): Likewise.
8837 (fmin_test): Likewise.
8838 (fmod_test): Likewise.
8839 (fpclassify_test): Likewise.
8840 (frexp_test): Likewise.
8841 (gamma_test): Likewise.
8842 (hypot_test): Likewise.
8843 (ilogb_test): Likewise.
8844 (isfinite_test): Likewise.
8845 (isgreater_test): Likewise.
8846 (isgreaterequal_test): Likewise.
8847 (isinf_test): Likewise.
8848 (isless_test): Likewise.
8849 (islessequal_test): Likewise.
8850 (islessgreater_test): Likewise.
8851 (isnan_test): Likewise.
8852 (isnormal_test): Likewise.
8853 (issignaling_test): Likewise.
8854 (isunordered_test): Likewise.
8855 (j0_test): Likewise.
8856 (j1_test): Likewise.
8857 (jn_test): Likewise.
8858 (ldexp_test): Likewise.
8859 (lgamma_test): Likewise.
8860 (lrint_test): Likewise.
8861 (lrint_test_tonearest): Likewise.
8862 (lrint_test_towardzero): Likewise.
8863 (lrint_test_downward): Likewise.
8864 (lrint_test_upward): Likewise.
8865 (llrint_test): Likewise.
8866 (llrint_test_tonearest): Likewise.
8867 (llrint_test_towardzero): Likewise.
8868 (llrint_test_downward): Likewise.
8869 (llrint_test_upward): Likewise.
8870 (log_test): Likewise.
8871 (log10_test): Likewise.
8872 (log1p_test): Likewise.
8873 (log2_test): Likewise.
8874 (logb_test): Likewise.
8875 (logb_test_downward): Likewise.
8876 (lround_test): Likewise.
8877 (llround_test): Likewise.
8878 (modf_test): Likewise.
8879 (nearbyint_test): Likewise.
8880 (nextafter_test): Likewise.
8881 (nexttoward_test): Likewise.
8882 (pow_test): Likewise.
8883 (pow_test_tonearest): Likewise.
8884 (pow_test_towardzero): Likewise.
8885 (pow_test_downward): Likewise.
8886 (pow_test_upward): Likewise.
8887 (remainder_test): Likewise.
8888 (remainder_test_tonearest): Likewise.
8889 (remainder_test_towardzero): Likewise.
8890 (remainder_test_downward): Likewise.
8891 (remainder_test_upward): Likewise.
8892 (remquo_test): Likewise.
8893 (rint_test): Likewise.
8894 (rint_test_tonearest): Likewise.
8895 (rint_test_towardzero): Likewise.
8896 (rint_test_downward): Likewise.
8897 (rint_test_upward): Likewise.
8898 (round_test): Likewise.
8899 (scalb_test): Likewise.
8900 (scalbn_test): Likewise.
8901 (scalbln_test): Likewise.
8902 (signbit_test): Likewise.
8903 (sin_test): Likewise.
8904 (sin_test_tonearest): Likewise.
8905 (sin_test_towardzero): Likewise.
8906 (sin_test_downward): Likewise.
8907 (sin_test_upward): Likewise.
8908 (sincos_test): Likewise.
8909 (sinh_test): Likewise.
8910 (sinh_test_tonearest): Likewise.
8911 (sinh_test_towardzero): Likewise.
8912 (sinh_test_downward): Likewise.
8913 (sinh_test_upward): Likewise.
8914 (sqrt_test): Likewise.
8915 (tan_test): Likewise.
8916 (tan_test_tonearest): Likewise.
8917 (tan_test_towardzero): Likewise.
8918 (tan_test_downward): Likewise.
8919 (tan_test_upward): Likewise.
8920 (tanh_test): Likewise.
8921 (tgamma_test): Likewise.
8922 (trunc_test): Likewise.
8923 (y0_test): Likewise.
8924 (y1_test): Likewise.
8925 (yn_test): Likewise.
8926 (significand_test): Likewise.
8928 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8931 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8933 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8936 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8937 __ppc_mdoio and __ppc_mdoom.
8938 * manual/platform.texi: Document new functions __ppc_yield,
8939 __ppc_mdoio and __ppc_mdoom.
8941 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8943 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8944 (main): Mention "tls" pseudo-hwcap is legacy.
8945 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8947 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8949 * math/gen-libm-test.pl (parse_args): Output only string of
8950 arguments as text for test name, not full call or descriptions of
8951 tests for extra outputs.
8952 (generate_testfile): Do not pass function name to parse_args.
8953 Generate this_func variable from START.
8954 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8956 (struct test_ff_f_data): Likewise.
8957 (test_ff_f_data_nexttoward): Likewise.
8958 (struct test_fi_f_data): Likewise.
8959 (struct test_fl_f_data): Likewise.
8960 (struct test_if_f_data): Likewise.
8961 (struct test_fff_f_data): Likewise.
8962 (struct test_c_f_data): Likewise.
8963 (struct test_f_f1_data): Likewise. Remove field extra_name.
8964 (struct test_fF_f1_data): Likewise.
8965 (struct test_ffI_f1_data): Likewise.
8966 (struct test_c_c_data): Rename test_name field to arg_str.
8967 (struct test_cc_c_data): Likewise.
8968 (struct test_f_i_data): Likewise.
8969 (struct test_ff_i_data): Likewise.
8970 (struct test_f_l_data): Likewise.
8971 (struct test_f_L_data): Likewise.
8972 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8974 (COMMON_TEST_SETUP): New macro.
8975 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8976 (COMMON_TEST_CLEANUP): Likewise.
8977 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8978 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8980 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8981 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8983 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8984 (RUN_TEST_fff_f): Take argument string. Call new setup and
8986 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8987 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8989 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8990 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8992 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8993 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8995 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8996 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8998 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8999 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9001 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9002 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9004 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9005 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9007 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9008 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9010 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9011 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9013 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9014 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9016 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9017 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9019 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9020 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9022 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9023 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9025 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9026 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9028 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9029 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9031 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9033 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9035 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9036 to _sifields.sigfault.
9037 (si_addr_lsb): Define new macro.
9038 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9039 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9040 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9042 2013-05-03 Carlos O'Donell <carlos at redhat.com>
9045 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9047 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9049 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9052 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9054 * math/gen-libm-test.pl (parse_args): Do not include expected
9055 result in test name.
9056 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9057 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9058 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9059 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9060 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9063 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9065 * benchtests/Makefile: Sort function entries.
9067 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9068 tanh, asinh, acosh, atanh.
9069 * benchtests/acos-inputs: New file.
9070 * benchtests/acosh-inputs: New file.
9071 * benchtests/asin-inputs: New file.
9072 * benchtests/asinh-inputs: New file.
9073 * benchtests/atanh-inputs: New file.
9074 * benchtests/cosh-inputs: New file.
9075 * benchtests/log-inputs: New file.
9076 * benchtests/sinh-inputs: New file.
9077 * benchtests/tanh-inputs: New file.
9079 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9082 * posix/tst-getaddrinfo4.c: New test.
9083 * posix/Makefile (tests): Add it.
9085 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9088 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9089 when no services were used.
9090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9091 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9093 2013-05-21 Andreas Schwab <schwab@suse.de>
9096 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9097 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9099 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9100 redundant variable declarations and reallocation of buffer when
9101 parsing as IPv6 address. Always set NSS status when called from
9102 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9103 buffer too small. Correct computation of needed size.
9104 * nss/Makefile (tests): Add test-digits-dots.
9105 * nss/test-digits-dots.c: New test.
9107 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9109 * benchtests/Makefile: Remove instructions for adding
9111 * benchtests/README: New file to explain how to execute and
9112 enhance the benchmark tests.
9114 2013-05-21 Andreas Schwab <schwab@suse.de>
9117 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9118 * setjmp/tst-sigsetjmp.c: New test.
9120 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9122 * sysdeps/x86_64/memset.S (memset): New implementation.
9123 (__bzero): Likewise.
9124 (__memset_tail): New function.
9126 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9128 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9129 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9130 __memcpy_sse2_unaligned ifunc selection.
9131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9132 Add memcpy-sse2-unaligned.S.
9133 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9134 Add: __memcpy_sse2_unaligned.
9136 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9139 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9140 math_force_eval before restoring floating-point envrionment.
9141 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9142 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9144 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9146 (__nearbyintl): Use math_force_eval before restoring
9147 floating-point environment.
9148 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9150 * math/gen-libm-test.pl (special_functions): Remove.
9151 (parse_args): Don't handle TEST_extra. Handle functions with no
9153 * math/libm-test.inc (struct test_sincos_data): Replace with
9154 struct test_fFF_11_data.
9155 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9156 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9157 (sincos_test_data): Change element type to struct
9158 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9159 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9160 RUN_TEST_LOOP_sincos.
9161 * math/README.libm-test: Don't mention special handling of
9162 individual functions.
9163 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9164 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9165 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9166 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9167 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9170 * math/gen-libm-test.pl (get_variable): Remove function.
9171 (parse_args): Don't show pointer parameters to call in test
9172 names. Use "extra output N" in test names for extra outputs
9173 rather than naming variables.
9175 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9178 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9179 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9180 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9182 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9184 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9187 * math/gen-libm-test.pl (@tests): Remove variable.
9189 (new_test): Remove function.
9190 (show_exceptions): New function.
9191 (special_functions): Use show_exceptions instead of new_test.
9192 (parse_args): Likewise.
9193 (generate_testfile): Pass only function name in generated call to
9194 print_max_error or print_complex_max_error.
9195 (get_ulps): Do not handle complex tests specially.
9196 (output_test): Rename to ...
9197 (get_all_ulps_for_test): ... this. Return a string rather than
9198 printing to a file. Require ulps to be present.
9199 (output_ulps): Generate arrays rather than #defines.
9200 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9201 (struct ulp_data): New type.
9202 (BUILD_COMPLEX_ULP): Remove macro.
9203 (compare_ulp_data): New function.
9204 (find_ulps): Likewise.
9205 (find_test_ulps): Likewise.
9206 (find_function_ulps): Likewise.
9207 (find_complex_function_ulps): Likewise.
9208 (print_max_error): Determine allowed ulps using
9210 (print_complex_max_error): Determine allowed ulps using
9211 find_complex_function_ulps.
9212 (check_float_internal): Determine max ulps using find_test_ulps.
9213 (check_float): Do not take max_ulp parameter. Update call to
9214 check_float_internal.
9215 (check_complex): Likewise.
9216 (check_int): Do not take max_ulp parameter.
9217 (check_long): Likewise.
9218 (check_bool): Likewise.
9219 (check_longlong): Likewise.
9220 (struct test_f_f_data): Remove max_ulp field.
9221 (struct test_ff_f_data): Likewise.
9222 (struct test_ff_f_data_nexttoward): Likewise.
9223 (struct test_fi_f_data): Likewise.
9224 (struct test_fl_f_data): Likewise.
9225 (struct test_if_f_data): Likewise.
9226 (struct test_fff_f_data): Likewise.
9227 (struct test_c_f_data): Likewise.
9228 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9229 (struct test_fF_f1_data): Likewise.
9230 (struct test_ffI_f1_data): Likewise.
9231 (struct test_c_c_data): Remove max_ulp field.
9232 (struct test_cc_c_data): Likewise.
9233 (struct test_f_i_data): Likewise.
9234 (struct test_ff_i_data): Likewise.
9235 (struct test_f_l_data): Likewise.
9236 (struct test_f_L_data): Likewise.
9237 (struct test_sincos_data): Likewise.
9238 (RUN_TEST_f_f): Do not handle ulps.
9239 (RUN_TEST_LOOP_f_f): Likewise.
9240 (RUN_TEST_2_f): Likewise.
9241 (RUN_TEST_LOOP_2_f): Likewise.
9242 (RUN_TEST_fff_f): Likewise.
9243 (RUN_TEST_LOOP_fff_f): Likewise.
9244 (RUN_TEST_c_f): Likewise.
9245 (RUN_TEST_LOOP_c_f): Likewise.
9246 (RUN_TEST_f_f1): Likewise.
9247 (RUN_TEST_LOOP_f_f1): Likewise.
9248 (RUN_TEST_fF_f1): Likewise.
9249 (RUN_TEST_LOOP_fF_f1): Likewise.
9250 (RUN_TEST_fI_f1): Likewise.
9251 (RUN_TEST_LOOP_fI_f1): Likewise.
9252 (RUN_TEST_ffI_f1): Likewise.
9253 (RUN_TEST_LOOP_ffI_f1): Likewise.
9254 (RUN_TEST_c_c): Likewise.
9255 (RUN_TEST_LOOP_c_c): Likewise.
9256 (RUN_TEST_cc_c): Likewise.
9257 (RUN_TEST_LOOP_cc_c): Likewise.
9258 (RUN_TEST_f_i): Likewise.
9259 (RUN_TEST_LOOP_f_i): Likewise.
9260 (RUN_TEST_f_i_tg): Likewise.
9261 (RUN_TEST_LOOP_f_i_tg): Likewise.
9262 (RUN_TEST_ff_i_tg): Likewise.
9263 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9264 (RUN_TEST_f_b): Likewise.
9265 (RUN_TEST_LOOP_f_b): Likewise.
9266 (RUN_TEST_f_b_tg): Likewise.
9267 (RUN_TEST_LOOP_f_b_tg): Likewise.
9268 (RUN_TEST_f_l): Likewise.
9269 (RUN_TEST_LOOP_f_l): Likewise.
9270 (RUN_TEST_f_L): Likewise.
9271 (RUN_TEST_LOOP_f_L): Likewise.
9272 (RUN_TEST_sincos): Likewise.
9273 (RUN_TEST_LOOP_sincos): Likewise.
9275 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9279 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9280 main case of finite arguments, set rounding mode to FE_TONEAREST
9281 and discard exceptions.
9282 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9284 (remainder_tonearest_test_data): New variable.
9285 (remainder_test_tonearest): New function.
9286 (remainder_towardzero_test_data): New variable.
9287 (remainder_test_towardzero): New function.
9288 (remainder_downward_test_data): New variable.
9289 (remainder_test_downward): New function.
9290 (remainder_upward_test_data): New variable.
9291 (remainder_test_upward): New function.
9292 (main): Call the new test functions.
9294 * math/libm-test.inc (struct test_f_f1_data): Remove field
9296 (struct test_fF_f1_data): Likewise.
9297 (struct test_ffI_f1_data): Likewise.
9298 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9299 based on value of EXTRA_EXPECTED.
9300 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9301 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9302 EXTRA_VAR based on value of EXTRA_EXPECTED.
9303 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9304 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9305 EXTRA_VAR based on value of EXTRA_EXPECTED.
9306 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9307 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9308 EXTRA_VAR based on value of EXTRA_EXPECTED.
9309 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9310 * math/gen-libm-test.pl (parse_args): Don't output initializers
9311 for extra output values.
9313 * math/libm-test.inc (check_int): Expect result to be exactly
9314 equal to expected value and do not handle ulps.
9315 (check_long): Likewise.
9316 (check_longlong): Likewise.
9318 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9320 (cimag_test_data): Likewise.
9321 (conj_test_data): Likewise.
9322 (copysign_test_data): Likewise.
9323 (cproj_test_data): Likewise.
9324 (creal_test_data): Likewise.
9325 (fabs_test_data): Likewise.
9326 (fdim_test_data): Likewise.
9327 (finite_test_data): Likewise.
9328 (floor_test_data): Likewise.
9329 (fmax_test_data): Likewise.
9330 (fmin_test_data): Likewise.
9331 (fmod_test_data): Likewise.
9332 (fpclassify_test_data): Likewise.
9333 (frexp_test_data): Likewise.
9334 (ilogb_test_data): Likewise.
9335 (isfinite_test_data): Likewise.
9336 (isgreater_test_data): Likewise.
9337 (isgreaterequal_test_data): Likewise.
9338 (isinf_test_data): Likewise.
9339 (isless_test_data): Likewise.
9340 (islessequal_test_data): Likewise.
9341 (islessgreater_test_data): Likewise.
9342 (isnan_test_data): Likewise.
9343 (isnormal_test_data): Likewise.
9344 (issignaling_test_data): Likewise.
9345 (isunordered_test_data): Likewise.
9346 (ldexp_test_data): Likewise.
9347 (lrint_test_data): Likewise.
9348 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9349 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9350 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9351 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9352 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9353 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9355 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9356 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9357 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9358 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9360 (lrint_downward_test_data): Test for "inexact" exceptions.
9361 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9362 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9363 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9365 (lrint_upward_test_data): Test for "inexact" exceptions.
9366 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9368 (llrint_test_data): Test for "inexact" exceptions.
9369 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9370 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9371 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9372 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9373 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9374 (llrint_downward_test_data): Test for "inexact" exceptions.
9375 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9376 (llrint_upward_test_data): Test for "inexact" exceptions.
9377 (logb_test_data): Likewise.
9378 (logb_downward_test_data): Likewise.
9379 (nextafter_test_data): Likewise.
9380 (nexttoward_test_data): Likewise.
9381 (remainder_test_data): Likewise.
9382 (remquo_test_data): Likewise.
9383 (scalbn_test_data): Likewise.
9384 (scalbln_test_data): Likewise.
9385 (signbit_test_data): Likewise.
9386 (sqrt_test_data): Likewise.
9387 (significand_test_data): Likewise.
9389 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9392 * benchtests/bench-modf.c (struct args): Mark arg0 as
9394 * scripts/bench.pl: Mark members of struct args as volatile.
9396 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9399 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9400 negative infinity on POWER6 or lower.
9401 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9403 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9406 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9407 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9408 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9409 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9410 (_FP_SETQNAN): New macro.
9411 (_FP_SETQNAN_SEMIRAW): Likewise.
9412 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9413 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9414 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9415 (FP_EXTEND): Use _FP_FRAC_SNANP.
9416 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9417 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9419 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9421 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9424 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9426 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9427 with DIVIDE_BY_ZERO_EXCEPTION.
9428 (gamma_test_data): Likewise.
9429 (lgamma_test_data): Likewise.
9430 (log_test_data): Likewise.
9431 (log10_test_data): Likewise.
9432 (log2_test_data): Likewise.
9433 (tgamma_test_data): Likewise.
9435 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9436 (acos_test_tonearest): Likewise.
9437 (acos_test_towardzero): Likewise.
9438 (acos_test_downward): Likewise.
9439 (acos_test_upward): Likewise.
9440 (acosh_test): Likewise.
9441 (asin_test): Likewise.
9442 (asin_test_tonearest): Likewise.
9443 (asin_test_towardzero): Likewise.
9444 (asin_test_downward): Likewise.
9445 (asin_test_upward): Likewise.
9446 (asinh_test): Likewise.
9447 (atan_test): Likewise.
9448 (atanh_test): Likewise.
9449 (atan2_test): Likewise.
9450 (cabs_test): Likewise.
9451 (cacos_test): Likewise.
9452 (cacosh_test): Likewise.
9453 (casin_test): Likewise.
9454 (casinh_test): Likewise.
9455 (catan_test): Likewise.
9456 (catanh_test): Likewise.
9457 (cbrt_test): Likewise.
9458 (ccos_test): Likewise.
9459 (ccosh_test): Likewise.
9460 (cexp_test): Likewise.
9461 (clog_test): Likewise.
9462 (clog10_test): Likewise.
9463 (cos_test): Likewise.
9464 (cos_test_tonearest): Likewise.
9465 (cos_test_towardzero): Likewise.
9466 (cos_test_downward): Likewise.
9467 (cos_test_upward): Likewise.
9468 (cosh_test): Likewise.
9469 (cosh_test_tonearest): Likewise.
9470 (cosh_test_towardzero): Likewise.
9471 (cosh_test_downward): Likewise.
9472 (cosh_test_upward): Likewise.
9473 (cpow_test): Likewise.
9474 (csin_test): Likewise.
9475 (csinh_test): Likewise.
9476 (csqrt_test): Likewise.
9477 (ctan_test): Likewise.
9478 (ctan_test_tonearest): Likewise.
9479 (ctan_test_towardzero): Likewise.
9480 (ctan_test_downward): Likewise.
9481 (ctan_test_upward): Likewise.
9482 (ctanh_test): Likewise.
9483 (ctanh_test_tonearest): Likewise.
9484 (ctanh_test_towardzero): Likewise.
9485 (ctanh_test_downward): Likewise.
9486 (ctanh_test_upward): Likewise.
9487 (erf_test): Likewise.
9488 (erfc_test): Likewise.
9489 (exp_test): Likewise.
9490 (exp_test_tonearest): Likewise.
9491 (exp_test_towardzero): Likewise.
9492 (exp_test_downward): Likewise.
9493 (exp_test_upward): Likewise.
9494 (exp10_test): Likewise.
9495 (exp2_test): Likewise.
9496 (expm1_test): Likewise.
9497 (fmod_test): Likewise.
9498 (gamma_test): Likewise.
9499 (hypot_test): Likewise.
9500 (j0_test): Likewise.
9501 (j1_test): Likewise.
9502 (jn_test): Likewise.
9503 (lgamma_test): Likewise.
9504 (log_test): Likewise.
9505 (log10_test): Likewise.
9506 (log1p_test): Likewise.
9507 (log2_test): Likewise.
9508 (logb_test_downward): Likewise.
9509 (pow_test): Likewise.
9510 (pow_test_tonearest): Likewise.
9511 (pow_test_towardzero): Likewise.
9512 (pow_test_downward): Likewise.
9513 (pow_test_upward): Likewise.
9514 (remainder_test): Likewise.
9515 (remquo_test): Likewise.
9516 (sin_test): Likewise.
9517 (sin_test_tonearest): Likewise.
9518 (sin_test_towardzero): Likewise.
9519 (sin_test_downward): Likewise.
9520 (sin_test_upward): Likewise.
9521 (sincos_test): Likewise.
9522 (sinh_test): Likewise.
9523 (sinh_test_tonearest): Likewise.
9524 (sinh_test_towardzero): Likewise.
9525 (sinh_test_downward): Likewise.
9526 (sinh_test_upward): Likewise.
9527 (sqrt_test): Likewise.
9528 (tan_test): Likewise.
9529 (tan_test_tonearest): Likewise.
9530 (tan_test_towardzero): Likewise.
9531 (tan_test_downward): Likewise.
9532 (tan_test_upward): Likewise.
9533 (tanh_test): Likewise.
9534 (tgamma_test): Likewise.
9535 (y0_test): Likewise.
9536 (y1_test): Likewise.
9537 (yn_test): Likewise.
9539 * math/gen-libm-test.pl (adjust_arg): Remove function.
9540 (special_function): Remove argument $in_func. Only handle
9541 generating output for tables of tests, not inside functions.
9542 (parse_args): Likewise.
9543 (generate_testfile): Remove variable $in_func. Update call to
9545 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9546 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9547 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9548 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9549 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9550 (MAX_VALUE_INIT): Rename macro to max_value.
9551 (MIN_VALUE_INIT): Rename macro to min_value.
9552 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9553 (plus_zero): Remove variable.
9554 (minus_zero): Likewise.
9555 (plus_infty): Likewise.
9556 (minus_infty): Likewise.
9557 (qnan_value): Likewise.
9558 (max_value): Likewise.
9559 (min_value): Likewise.
9560 (min_subnorm_value): Likewise.
9562 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9564 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9565 uint64_t or uint32_t usage.
9566 * crypt/sha256-block.c: Likewise.
9567 * crypt/sha256-crypt.c: Likewise.
9568 * crypt/sha256.c: Likewise.
9569 * crypt/sha512-block.c: Likewise.
9570 * crypt/sha512-crypt.c: Likewise.
9571 * crypt/sha512.c: Likewise.
9572 * debug/backtrace-tst.c: Likewise.
9573 * debug/pcprofiledump.c: Likewise.
9574 * elf/cache.c: Likewise.
9575 * elf/dl-cache.c: Likewise.
9576 * elf/dl-misc.c: Likewise.
9577 * elf/dl-profile.c: Likewise.
9578 * elf/dl-support.c: Likewise.
9579 * elf/ldconfig.c: Likewise.
9580 * elf/sprof.c: Likewise.
9581 * iconv/dummy-repertoire.c: Likewise.
9582 * iconv/iconv_charmap.c: Likewise.
9583 * iconv/skeleton.c: Likewise.
9584 * iconvdata/8bit-generic.c: Likewise.
9585 * iconvdata/cp737.h: Likewise.
9586 * iconvdata/cp775.h: Likewise.
9587 * iconvdata/ibm1008.h: Likewise.
9588 * iconvdata/ibm1025.h: Likewise.
9589 * iconvdata/ibm1046.h: Likewise.
9590 * iconvdata/ibm1097.h: Likewise.
9591 * iconvdata/ibm1112.h: Likewise.
9592 * iconvdata/ibm1122.h: Likewise.
9593 * iconvdata/ibm1123.h: Likewise.
9594 * iconvdata/ibm1124.h: Likewise.
9595 * iconvdata/ibm1129.h: Likewise.
9596 * iconvdata/ibm1130.h: Likewise.
9597 * iconvdata/ibm1132.h: Likewise.
9598 * iconvdata/ibm1133.h: Likewise.
9599 * iconvdata/ibm1137.h: Likewise.
9600 * iconvdata/ibm1140.h: Likewise.
9601 * iconvdata/ibm1141.h: Likewise.
9602 * iconvdata/ibm1142.h: Likewise.
9603 * iconvdata/ibm1143.h: Likewise.
9604 * iconvdata/ibm1144.h: Likewise.
9605 * iconvdata/ibm1145.h: Likewise.
9606 * iconvdata/ibm1146.h: Likewise.
9607 * iconvdata/ibm1147.h: Likewise.
9608 * iconvdata/ibm1148.h: Likewise.
9609 * iconvdata/ibm1149.h: Likewise.
9610 * iconvdata/ibm1153.h: Likewise.
9611 * iconvdata/ibm1154.h: Likewise.
9612 * iconvdata/ibm1155.h: Likewise.
9613 * iconvdata/ibm1156.h: Likewise.
9614 * iconvdata/ibm1157.h: Likewise.
9615 * iconvdata/ibm1158.h: Likewise.
9616 * iconvdata/ibm1160.h: Likewise.
9617 * iconvdata/ibm1161.h: Likewise.
9618 * iconvdata/ibm1162.h: Likewise.
9619 * iconvdata/ibm1163.h: Likewise.
9620 * iconvdata/ibm1164.h: Likewise.
9621 * iconvdata/ibm1166.h: Likewise.
9622 * iconvdata/ibm1167.h: Likewise.
9623 * iconvdata/ibm12712.h: Likewise.
9624 * iconvdata/ibm1390.h: Likewise.
9625 * iconvdata/ibm1399.h: Likewise.
9626 * iconvdata/ibm16804.h: Likewise.
9627 * iconvdata/ibm4517.h: Likewise.
9628 * iconvdata/ibm4899.h: Likewise.
9629 * iconvdata/ibm4909.h: Likewise.
9630 * iconvdata/ibm4971.h: Likewise.
9631 * iconvdata/ibm5347.h: Likewise.
9632 * iconvdata/ibm803.h: Likewise.
9633 * iconvdata/ibm856.h: Likewise.
9634 * iconvdata/ibm901.h: Likewise.
9635 * iconvdata/ibm902.h: Likewise.
9636 * iconvdata/ibm9030.h: Likewise.
9637 * iconvdata/ibm9066.h: Likewise.
9638 * iconvdata/ibm921.h: Likewise.
9639 * iconvdata/ibm922.h: Likewise.
9640 * iconvdata/ibm9448.h: Likewise.
9641 * iconvdata/isiri-3342.h: Likewise.
9642 * iconvdata/jis0201.h: Likewise.
9643 * include/link.h: Likewise.
9644 * include/netdb.h: Likewise.
9645 * inet/check_native.c: Likewise.
9646 * inet/check_pf.c: Likewise.
9647 * inet/getipv4sourcefilter.c: Likewise.
9648 * inet/getnameinfo.c: Likewise.
9649 * inet/getsourcefilter.c: Likewise.
9650 * inet/htonl.c: Likewise.
9651 * inet/setipv4sourcefilter.c: Likewise.
9652 * inet/setsourcefilter.c: Likewise.
9653 * inet/test-inet6_opt.c: Likewise.
9654 * inet/tst-network.c: Likewise.
9655 * locale/C-collate.c: Likewise.
9656 * locale/C-ctype.c: Likewise.
9657 * locale/C-time.c: Likewise.
9658 * locale/C-translit.h: Likewise.
9659 * locale/loadarchive.c: Likewise.
9660 * locale/programs/3level.h: Likewise.
9661 * locale/programs/charmap.c: Likewise.
9662 * locale/programs/charmap.h: Likewise.
9663 * locale/programs/ld-address.c: Likewise.
9664 * locale/programs/ld-collate.c: Likewise.
9665 * locale/programs/ld-ctype.c: Likewise.
9666 * locale/programs/ld-identification.c: Likewise.
9667 * locale/programs/ld-measurement.c: Likewise.
9668 * locale/programs/ld-messages.c: Likewise.
9669 * locale/programs/ld-monetary.c: Likewise.
9670 * locale/programs/ld-name.c: Likewise.
9671 * locale/programs/ld-numeric.c: Likewise.
9672 * locale/programs/ld-paper.c: Likewise.
9673 * locale/programs/ld-telephone.c: Likewise.
9674 * locale/programs/ld-time.c: Likewise.
9675 * locale/programs/linereader.c: Likewise.
9676 * locale/programs/locale.c: Likewise.
9677 * locale/programs/locarchive.c: Likewise.
9678 * locale/programs/locfile.h: Likewise.
9679 * locale/programs/repertoire.c: Likewise.
9680 * locale/programs/simple-hash.c: Likewise.
9681 * locale/programs/simple-hash.h: Likewise.
9682 * malloc/memusage.c: Likewise.
9683 * malloc/memusagestat.c: Likewise.
9684 * nis/nis_defaults.c: Likewise.
9685 * nis/nis_hash.c: Likewise.
9686 * nis/nis_print.c: Likewise.
9687 * nis/nis_xdr.c: Likewise.
9688 * nscd/connections.c: Likewise.
9689 * nscd/hstcache.c: Likewise.
9690 * nscd/nscd_gethst_r.c: Likewise.
9691 * nscd/nscd_getserv_r.c: Likewise.
9692 * nscd/nscd_helper.c: Likewise.
9693 * nscd/servicescache.c: Likewise.
9694 * nss/makedb.c: Likewise.
9695 * nss/nss_db/db-XXX.c: Likewise.
9696 * nss/nss_db/db-initgroups.c: Likewise.
9697 * nss/nss_db/db-netgrp.c: Likewise.
9698 * nss/nss_files/files-network.c: Likewise.
9699 * nss/nss_files/files-parse.c: Likewise.
9700 * posix/bug-regex5.c: Likewise.
9701 * posix/fnmatch_loop.c: Likewise.
9702 * posix/regcomp.c: Likewise.
9703 * posix/regexec.c: Likewise.
9704 * posix/tst-rfc3484-2.c: Likewise.
9705 * posix/tst-rfc3484-3.c: Likewise.
9706 * posix/tst-rfc3484.c: Likewise.
9707 * resolv/nss_dns/dns-canon.c: Likewise.
9708 * resolv/nss_dns/dns-network.c: Likewise.
9709 * resolv/res_init.c: Likewise.
9710 * resolv/res_mkquery.c: Likewise.
9711 * resolv/tst-aton.c: Likewise.
9712 * stdlib/cxa_atexit.c: Likewise.
9713 * stdlib/cxa_finalize.c: Likewise.
9714 * stdlib/gen-fpioconst.c: Likewise.
9715 * stdlib/strtol_l.c: Likewise.
9716 * string/tst-endian.c: Likewise.
9717 * sunrpc/auth_des.c: Likewise.
9718 * sunrpc/clnt_udp.c: Likewise.
9719 * sunrpc/rtime.c: Likewise.
9720 * sunrpc/svcauth_des.c: Likewise.
9721 * sunrpc/xdr.c: Likewise.
9722 * sunrpc/xdr_intXX_t.c: Likewise.
9723 * sunrpc/xdr_rec.c: Likewise.
9724 * sysdeps/generic/ldconfig.h: Likewise.
9725 * sysdeps/generic/ldsodefs.h: Likewise.
9726 * sysdeps/generic/memusage.h: Likewise.
9727 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9728 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9729 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9730 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9733 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9735 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9737 * sysdeps/posix/getaddrinfo.c: Likewise.
9738 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9739 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9740 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9741 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9742 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9743 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9744 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9745 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9746 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9747 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9748 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9749 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9750 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9751 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9752 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9753 * sysdeps/x86_64/dl-tls.h: Likewise.
9754 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9755 * time/alt_digit.c: Likewise.
9756 * time/era.c: Likewise.
9757 * wcsmbs/tst-c16c32-1.c: Likewise.
9759 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9761 * math/libm-test.inc (struct test_sincos_data): New type.
9762 (RUN_TEST_LOOP_sincos): New macro.
9763 (sincos_test_data): New variable.
9764 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9766 2013-05-16 Richard Henderson <rth@redhat.com>
9768 * math/atest-exp2.c (LIMB64): New macro.
9769 (CONSTSZ): New macro.
9770 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9772 (print_mpn_fp): ... to function scope.
9773 (read_mpn_hex): Remove.
9775 (exp2_mpn): Use mp_log2.
9776 (main): Use mp_exp1.
9778 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9780 * math/libm-test.inc: Remove comment about not testing "inexact"
9782 (INEXACT_EXCEPTION): New macro.
9783 (NO_INEXACT_EXCEPTION): Likewise.
9784 (INVALID_EXCEPTION_OK): Update value.
9785 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9786 (OVERFLOW_EXCEPTION_OK): Likewise.
9787 (UNDERFLOW_EXCEPTION_OK): Likewise.
9788 (IGNORE_ZERO_INF_SIGN): Likewise.
9789 (ERRNO_UNCHANGED): Likewise.
9790 (ERRNO_EDOM): Likewise.
9791 (ERRNO_ERANGE): Likewise.
9792 (test_exceptions): Handle testing "inexact" exceptions.
9793 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9794 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9795 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9796 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9798 (rint_towardzero_test_data): Likewise.
9799 (rint_downward_test_data): Likewise.
9800 (rint_upward_test_data): Likewise.
9802 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9803 with OVERFLOW_EXCEPTION.
9804 (exp10_test_data): Likewise.
9805 (exp2_test_data): Likewise.
9806 (expm1_test_data): Likewise.
9807 (lgamma_test_data): Likewise.
9808 (pow_test_data): Likewise.
9809 (tgamma_test_data): Likewise.
9810 (yn_test_data): Remove duplicate test of overflow.
9812 * math/libm-test.inc (struct test_cc_c_data): New type.
9813 (RUN_TEST_LOOP_cc_c): New macro.
9814 (cpow_test_data): New variable.
9815 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9817 * math/libm-test.inc (struct test_f_L_data): New type.
9818 (RUN_TEST_LOOP_f_L): New macro.
9819 (llrint_test_data): New variable.
9820 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9821 (llrint_tonearest_test_data): New variable.
9822 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9823 (llrint_towardzero_test_data): New variable.
9824 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9825 (llrint_downward_test_data): New variable.
9826 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9827 (llrint_upward_test_data): New variable.
9828 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9829 (llround_test_data): New variable.
9830 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9832 2013-05-13 Peter Collingbourne <pcc@google.com>
9834 * math/atest-exp2.c (get_log2): Remove const attribute.
9836 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9838 * math/libm-test.inc (struct test_f_l_data): New type.
9839 (RUN_TEST_LOOP_f_l): New macro.
9840 (lrint_test_data): New variable.
9841 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9842 (lrint_tonearest_test_data): New variable.
9843 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9844 (lrint_towardzero_test_data): New variable.
9845 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9846 (lrint_downward_test_data): New variable.
9847 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9848 (lrint_upward_test_data): New variable.
9849 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9850 (lround_test_data): New variable.
9851 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9853 2013-05-15 Peter Collingbourne <pcc@google.com>
9855 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9856 (EXTRACT_WORDS64) Use where appropriate.
9857 (INSERT_WORDS64) Likewise.
9859 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9860 constraints with x constraints.
9861 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9863 * malloc/obstack.c (_obstack_compat): Add initializer.
9865 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9867 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9868 si_trapno and add si_addr_lsb to _sifields.sigfault.
9869 (si_trapno): Remove macro.
9870 (si_addr_lsb): Define new macro.
9871 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9873 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9875 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9876 instead of TEST_f_l.
9877 (llrint_test_tonearest): Likewise.
9878 (llrint_test_towardzero): Likewise.
9879 (llrint_test_downward): Likewise.
9880 (llrint_test_upward): Likewise.
9881 (llround_test): Likewise.
9883 * math/libm-test.inc (struct test_f_i_data): Add comment.
9884 (RUN_TEST_LOOP_f_b): New macro.
9885 (RUN_TEST_LOOP_f_b_tg): Likewise.
9886 (finite_test_data): New variable.
9887 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9888 (isfinite_test_data): New variable.
9889 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9890 (isinf_test_data): New variable.
9891 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9892 (isnan_test_data): New variable.
9893 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9894 (isnormal_test_data): New variable.
9895 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9896 (issignaling_test_data): New variable.
9897 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9898 (signbit_test_data): New variable.
9899 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9901 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9902 with INVALID_EXCEPTION.
9903 (acosh_test_data): Likewise.
9904 (asin_test_data): Likewise.
9905 (atanh_test_data): Likewise.
9906 (fmod_test_data): Likewise.
9907 (log_test_data): Likewise.
9908 (log10_test_data): Likewise.
9909 (log2_test_data): Likewise.
9910 (pow_test_data): Likewise.
9911 (sqrt_test_data): Likewise.
9912 (y0_test_data): Likewise.
9913 (y1_test_data): Likewise.
9914 (yn_test_data): Likewise.
9916 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9919 * math/libm-test.inc (struct test_ff_i_data): New type.
9920 (RUN_TEST_LOOP_ff_i_tg): New macro.
9921 (isgreater_test_data): New variable.
9922 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9923 (isgreaterequal_test_data): New variable.
9924 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9925 (isless_test_data): New variable.
9926 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9927 (islessequal_test_data): New variable.
9928 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9929 (islessgreater_test_data): New variable.
9930 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9931 (isunordered_test_data): New variable.
9932 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9934 2013-05-14 David S. Miller <davem@davemloft.net>
9936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9938 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9940 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9942 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9944 (struct test_f_i_data): Change type of max_ulp to int.
9946 * math/libm-test.inc (test_ffI_f1_data): New type.
9947 (RUN_TEST_LOOP_ffI_f1): New macro.
9948 (remquo_test_data): New variable.
9949 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9951 * setjmp/tst-setjmp-fp.c: New file.
9952 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9953 (link-libm): New variable.
9954 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9956 * math/libm-test.inc (struct test_f_i_data): New type.
9957 (RUN_TEST_LOOP_f_i): New macro.
9958 (RUN_TEST_LOOP_f_i_tg): Likewise.
9959 (fpclassify_test_data): New variable.
9960 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9961 (ilogb_test_data): New variable.
9962 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9964 * math/libm-test.inc (scalbln_test): Correct function name in END
9967 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9968 (RUN_TEST_LOOP_fI_f1): New macro.
9969 (frexp_test_data): New variable.
9970 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9972 * math/libm-test.inc (struct test_fF_f1_data): New type.
9973 (RUN_TEST_LOOP_fF_f1): New macro.
9974 (modf_test_data): New variable.
9975 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9977 * math/libm-test.inc (struct test_f_f1_data): New type.
9978 (RUN_TEST_LOOP_f_f1): New macro.
9979 (gamma_test_data): New variable.
9980 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9981 (lgamma_test_data): New variable.
9982 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9984 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9986 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9987 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9988 (main): Comment "tls" pseudo-hwcap.
9990 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9992 * math/libm-test.inc (struct test_fl_f_data): New type.
9993 (RUN_TEST_LOOP_fl_f): New variable.
9994 (scalbln_test_data): New variable.
9995 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9997 * math/libm-test.inc (struct test_fi_f_data): New type.
9998 (RUN_TEST_LOOP_fi_f): New macro.
9999 (ldexp_test_data): New variable.
10000 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10001 (scalbn_test_data): New variable.
10002 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10004 * math/libm-test.inc (struct test_c_f_data): New type.
10005 (RUN_TEST_LOOP_c_f): New macro.
10006 (cabs_test_data): New variable.
10007 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10008 (carg_test_data): New variable.
10009 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10010 (cimag_test_data): New variable.
10011 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10012 (creal_test_data): New variable.
10013 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10015 * math/libm-test.inc (struct test_if_f_data): New type.
10016 (RUN_TEST_LOOP_if_f): New macro.
10017 (jn_test_data): New variable.
10018 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10019 (yn_test_data): New variable.
10020 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10022 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10024 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10026 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10027 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10029 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10031 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10032 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10033 (bench-deps): Add bench-timing.h.
10034 * benchtests-bench-skeleton.c: Include bench-timing.h.
10035 (main): Use TIMING_* macros instead of clock_gettime.
10036 * benchtests/bench-timing.h: New file.
10039 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10040 Renamed from _LIB_VERSION.
10041 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10043 2013-05-12 Joseph Myers <joseph@codesourcery.com>
10045 * math/libm-test.inc (struct test_fff_f_data): New type.
10046 (RUN_TEST_LOOP_fff_f): New macro.
10047 (fma_test_data): New variable.
10048 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10049 (fma_towardzero_test_data): New variable.
10050 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10051 (fma_downward_test_data): New variable.
10052 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10053 (fma_upward_test_data): New variable.
10054 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10056 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10057 (struct test_c_c_data): New type.
10058 (RUN_TEST_LOOP_c_c): New macro.
10059 (cacos_test_data): New variable.
10060 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10061 (cacosh_test_data): New variable.
10062 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10063 (casin_test_data): New variable.
10064 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10065 (casinh_test_data): New variable.
10066 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10067 (catan_test_data): New variable.
10068 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10069 (catanh_test_data): New variable.
10070 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10071 (ccos_test_data): New variable.
10072 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10073 (ccosh_test_data): New variable.
10074 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10075 (cexp_test_data): New variable.
10076 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10077 (clog_test_data): New variable.
10078 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10079 (clog10_test_data): New variable.
10080 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10081 (conj_test_data): New variable.
10082 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10083 (cproj_test_data): New variable.
10084 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10085 (csin_test_data): New variable.
10086 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10087 (csinh_test_data): New variable.
10088 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10089 (csqrt_test_data): New variable.
10090 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10091 (ctan_test_data): New variable.
10092 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10093 (ctan_tonearest_test_data): New variable.
10094 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10095 (ctan_towardzero_test_data): New variable.
10096 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10097 (ctan_downward_test_data): New variable.
10098 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10099 (ctan_upward_test_data): New variable.
10100 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10101 (ctanh_test_data): New variable.
10102 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10103 (ctanh_tonearest_test_data): New variable.
10104 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10105 (ctanh_towardzero_test_data): New variable.
10106 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10107 (ctanh_downward_test_data): New variable.
10108 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10109 (ctanh_upward_test_data): New variable.
10110 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10111 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10114 * math/libm-test.inc (struct test_ff_f_data): New type.
10115 (struct test_ff_f_data_nexttoward): Likewise.
10116 (RUN_TEST_LOOP_2_f): New macro.
10117 (RUN_TEST_LOOP_ff_f): Likewise.
10118 (atan2_test_data): New variable.
10119 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10120 (copysign_test_data): New variable.
10121 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10122 (fdim_test_data): New variable.
10123 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10124 (fmax_test_data): New variable.
10125 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10126 (fmin_test_data): New variable.
10127 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10128 (fmod_test_data): New variable.
10129 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10130 (hypot_test_data): New variable.
10131 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10132 (nextafter_test_data): New variable.
10133 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10134 (nexttoward_test_data): New variable.
10135 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10136 (pow_test_data): New variable.
10137 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10138 (pow_tonearest_test_data): New variable.
10139 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10140 (pow_towardzero_test_data): New variable.
10141 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10142 (pow_downward_test_data): New variable.
10143 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10144 (pow_upward_test_data): New variable.
10145 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10146 (remainder_test_data): New variable.
10147 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10148 (scalb_test_data): New variable.
10149 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10150 * sysdeps/i386/fpu/libm-test-ulps: Update.
10152 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10154 * math/libm-test.inc (fma_test): Use max_value instead of local
10156 (nextafter_test): Likewise.
10158 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10159 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10160 (acos_downward_test_data): New variable.
10161 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10162 (acos_upward_test_data): New variable.
10163 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10164 (acosh_test_data): New variable.
10165 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10166 (asin_test_data): New variable.
10167 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10168 (asin_tonearest_test_data): New variable.
10169 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10170 (asin_towardzero_test_data): New variable.
10171 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10172 (asin_downward_test_data): New variable.
10173 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10174 (asin_upward_test_data): New variable.
10175 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10176 (asinh_test_data): New variable.
10177 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10178 (atan_test_data): New variable.
10179 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10180 (atanh_test_data): New variable.
10181 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10182 (cbrt_test_data): New variable.
10183 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10184 (ceil_test_data): New variable.
10185 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10186 (cos_test_data): New variable.
10187 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10188 (cos_tonearest_test_data): New variable.
10189 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10190 (cos_towardzero_test_data): New variable.
10191 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10192 (cos_downward_test_data): New variable.
10193 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10194 (cos_upward_test_data): New variable.
10195 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10196 (cosh_test_data): New variable.
10197 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10198 (cosh_tonearest_test_data): New variable.
10199 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10200 (cosh_towardzero_test_data): New variable.
10201 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10202 (cosh_downward_test_data): New variable.
10203 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10204 (cosh_upward_test_data): New variable.
10205 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10206 (erf_test_data): New variable.
10207 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10208 (erfc_test_data): New variable.
10209 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10210 (exp_test_data): New variable.
10211 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10212 (exp_tonearest_test_data): New variable.
10213 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10214 (exp_towardzero_test_data): New variable.
10215 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10216 (exp_downward_test_data): New variable.
10217 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10218 (exp_upward_test_data): New variable.
10219 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10220 (exp10_test_data): New variable.
10221 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10222 (exp2_test_data): New variable.
10223 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10224 (expm1_test_data): New variable.
10225 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10226 (fabs_test_data): New variable.
10227 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10228 (floor_test_data): New variable.
10229 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10230 (j0_test_data): New variable.
10231 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10232 (j1_test_data): New variable.
10233 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10234 (log_test_data): New variable.
10235 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10236 (log10_test_data): New variable.
10237 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10238 (log1p_test_data): New variable.
10239 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10240 (log2_test_data): New variable.
10241 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10242 (logb_test_data): New variable.
10243 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10244 (logb_downward_test_data): New variable.
10245 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10246 (nearbyint_test_data): New variable.
10247 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10248 (rint_test_data): New variable.
10249 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10250 (rint_tonearest_test_data): New variable.
10251 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10252 (rint_towardzero_test_data): New variable.
10253 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10254 (rint_downward_test_data): New variable.
10255 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10256 (rint_upward_test_data): New variable.
10257 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10258 (round_test_data): New variable.
10259 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10260 (sin_test_data): New variable.
10261 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10262 (sin_tonearest_test_data): New variable.
10263 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10264 (sin_towardzero_test_data): New variable.
10265 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10266 (sin_downward_test_data): New variable.
10267 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10268 (sin_upward_test_data): New variable.
10269 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10270 (sinh_test_data): New variable.
10271 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10272 (sinh_tonearest_test_data): New variable.
10273 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10274 (sinh_towardzero_test_data): New variable.
10275 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10276 (sinh_downward_test_data): New variable.
10277 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10278 (sinh_upward_test_data): New variable.
10279 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10280 (sqrt_test_data): New variable.
10281 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10282 (tan_test_data): New variable.
10283 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10284 (tan_tonearest_test_data): New variable.
10285 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10286 (tan_towardzero_test_data): New variable.
10287 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10288 (tan_downward_test_data): New variable.
10289 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10290 (tan_upward_test_data): New variable.
10291 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10292 (tanh_test_data): New variable.
10293 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10294 (tgamma_test_data): New variable.
10295 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10296 (trunc_test_data): New variable.
10297 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10298 (y0_test_data): New variable.
10299 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10300 (y1_test_data): New variable.
10301 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10302 (significand_test_data): New variable.
10303 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10305 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10308 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10310 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10312 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10314 2013-05-10 Andreas Jaeger <aj@suse.de>
10317 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10318 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10320 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10322 * math/gen-libm-test.pl (adjust_arg): New function.
10323 (special_functions): Handle generating output in both functions
10325 (parse_args): Likewise.
10326 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10327 $in_func argument to parse_args.
10328 * math/libm-test.inc (struct test_f_f_data): New type.
10329 (IF_ROUND_INIT_): New macro.
10330 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10331 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10332 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10333 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10334 (ROUND_RESTORE_): Likewise.
10335 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10336 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10337 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10338 (ROUND_RESTORE_FE_UPWARD): Likewise.
10339 (RUN_TEST_LOOP_f_f): New macro.
10340 (acos_test_data): New variable.
10341 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10342 (acos_tonearest_test_data): New variable.
10343 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10345 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10347 * benchtests/bench-skeleton.c (startup): Fix coding style.
10349 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10352 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10353 negative infinity argument.
10354 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10355 negative infinity argument.
10356 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10357 negative infinity argument.
10358 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10361 2013-05-10 Florian Weimer <fweimer@redhat.com>
10363 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10364 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10365 * iconv/iconv_prog.c (main): Likewise.
10366 * locale/programs/charmap-dir.c (charmap_readdir)
10367 (fopen_uncompressed): Likewise.
10368 * locale/programs/locfile.c (siblings_uncached)
10369 (write_locale_data): Use lstat64 instead of lstat.
10370 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10373 2013-05-10 Andreas Jaeger <aj@suse.de>
10376 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10378 Include <locale.h>.
10380 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10382 * elf/dl-close.c (_dl_close_worker): Add comments.
10384 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10387 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10389 (__ieee754_rem_pio2l): Update comments.
10392 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10394 (__ieee754_rem_pio2l): Update comments.
10396 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10397 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10399 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10402 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10403 (M_PI_34_LOG10El): Likewise.
10404 (M_PI2_LOG10El): Likewise.
10405 (M_PI4_LOG10El): Likewise.
10406 (M_PI_LOG10El): Likewise.
10408 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10412 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10414 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10415 (MINUS_ZERO_INIT): Likewise.
10416 (PLUS_INFTY_INIT): Likewise.
10417 (MINUS_INFTY_INIT): Likewise.
10418 (QNAN_VALUE_INIT): Likewise.
10419 (MAX_VALUE_INIT): Likewise.
10420 (MIN_VALUE_INIT): Likewise.
10421 (MIN_SUBNORM_VALUE_INIT): Likewise.
10422 (plus_zero): Initialize with PLUS_ZERO_INIT.
10423 (minus_zero): Initialize with MINUS_ZERO_INIT.
10424 (plus_infty): Initialize with PLUS_INFTY_INIT.
10425 (minus_infty): Initialize with MINUS_INFTY_INIT.
10426 (qnan_value): Initialize with QNAN_VALUE_INIT.
10427 (max_value): Initialize with MAX_VALUE_INIT.
10428 (min_value): Initialize with MIN_VALUE_INIT.
10429 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10431 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10432 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10433 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10434 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10436 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10437 (RUN_TEST_2_f): Likewise.
10438 (RUN_TEST_ff_f): Likewise.
10439 (RUN_TEST_fi_f): Likewise.
10440 (RUN_TEST_fl_f): Likewise.
10441 (RUN_TEST_fff_f): Likewise.
10442 (RUN_TEST_c_f): Likewise.
10443 (RUN_TEST_f_f1): Likewise.
10444 (RUN_TEST_fF_f1): Likewise.
10445 (RUN_TEST_fI_f1): Likewise.
10446 (RUN_TEST_ffI_f1): Likewise.
10447 (RUN_TEST_c_c): Likewise.
10448 (RUN_TEST_cc_c): Likewise.
10449 (RUN_TEST_f_i): Likewise.
10450 (RUN_TEST_f_i_tg): Likewise.
10451 (RUN_TEST_ff_i_tg): Likewise.
10452 (RUN_TEST_f_b): Likewise.
10453 (RUN_TEST_f_b_tg): Likewise.
10454 (RUN_TEST_f_l): Likewise.
10455 (RUN_TEST_f_L): Likewise.
10456 (RUN_TEST_sincos): Likewise.
10457 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10458 whether to show exceptions. Do not include ");\n" in return
10460 (special_functions): Output call to RUN_TEST_sincos instead of
10461 check_float calls. Update calls to new_test.
10462 (parse_args): Output call to single RUN_TEST_* macro instead of
10463 check_* calls and other assignments. Update calls to new_test.
10469 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10470 input to result for tgamma overflow.
10471 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10472 (gamma_coeff): New variable.
10473 (NCOEFF): New macro.
10474 (gamma_positive): New function.
10475 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10476 underflow here. Use gamma_positive instead of exp (lgamma) for
10478 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10479 (gamma_coeff): New variable.
10480 (NCOEFF): New macro.
10481 (gammaf_positive): New function.
10482 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10483 underflow here. Use gamma_positive instead of exp (lgamma) for
10485 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10486 (gamma_coeff): New variable.
10487 (NCOEFF): New macro.
10488 (gammal_positive): New function.
10489 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10490 underflow here. Use gamma_positive instead of exp (lgamma) for
10492 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10493 (gamma_coeff): New variable.
10494 (NCOEFF): New macro.
10495 (gammal_positive): New function.
10496 (__ieee754_gammal_r): Handle positive infinity, overflow and
10497 underflow here. Handle NaN the same as positive infinity. Remove
10498 check x < 0xffffffff for negative integers. Use gamma_positive
10499 instead of exp (lgamma) for other arguments.
10500 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10501 (gamma_coeff): New variable.
10502 (NCOEFF): New macro.
10503 (gammal_positive): New function.
10504 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10505 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10506 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10509 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10510 * sysdeps/generic/math_private.h (__gamma_productf): New
10512 (__gamma_product): Likewise.
10513 (__gamma_productl): Likewise.
10514 * math/Makefile (libm-calls): Add gamma_product.
10515 * math/libm-test.inc (tgamma_test): Add more tests.
10516 * sysdeps/i386/fpu/libm-test-ulps: Update.
10517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10519 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10521 * benchtests/bench-skeleton.c (main): Preheat CPU.
10523 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10525 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10527 2013-05-07 Roland McGrath <roland@hack.frob.com>
10529 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10530 and _dl_skip_args_internal.
10532 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10534 * manual/message.texi (Message Translation): Talk about users.
10535 Message to key mapping impacts design.
10537 2013-05-06 Roland McGrath <roland@hack.frob.com>
10539 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10541 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10543 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10544 * sysdeps/wordsize-64/glob64.c: ... here.
10546 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10547 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10550 * debug/getlogin_r_chk.c: Moved to ...
10551 * login/getlogin_r_chk.c: ... here.
10552 * debug/Makefile (routines): Move getlogin_r_chk to ...
10553 * login/Makefile (routines): ... here.
10554 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10555 * login/Versions (libc: GLIBC_2.4): ... here.
10557 * io/poll.c (__poll): Renamed from poll.
10558 Add libc_hidden_def.
10559 (poll): Define as weak alias.
10561 * debug/ptsname_r_chk.c: Moved to ...
10562 * login/ptsname_r_chk.c: ... here.
10563 * debug/Makefile (routines): Move ptsname_r_chk to ...
10564 * login/Makefile (routines): ... here.
10565 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10566 * login/Versions (libc: GLIBC_2.4): ... here.
10568 * posix/getlogin.c: Moved to ...
10569 * login/getlogin.c: ... here.
10570 * posix/getlogin_r.c: Moved to ...
10571 * login/getlogin_r.c: ... here.
10572 * posix/getlogin_r.c: Moved to ...
10573 * login/getlogin_r.c: ... here.
10574 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10575 * login/Makefile (routines): ... here.
10576 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10577 * login/Versions (libc: GLIBC_2.0): ... here.
10579 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10580 (setrlimit): Define as weak alias.
10582 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10583 Call __ names for open, ftruncate, and close.
10584 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10585 (truncate): Define as weak alias.
10587 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10589 * math/gen-libm-test.pl (parse_args): Initialize x before each
10590 test of frexp, modf and remquo.
10592 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10593 test signgam value.
10595 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10599 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10601 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10603 2013-05-06 Roland McGrath <roland@hack.frob.com>
10605 * elf/dl-writev.h: New file.
10606 * elf/dl-misc.c: Include it.
10607 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10608 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10610 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10612 * math/libm-test.inc (noXFails): Remove variable.
10613 (noXPasses): Likewise.
10614 (BUILD_COMPLEX_INT): Remove macro.
10615 (print_screen): Remove xfail argument.
10616 (print_screen_max_error): Likewise.
10617 (update_stats): Likewise.
10618 (print_max_error): Likewise. Update calls to other affected
10620 (print_complex_max_error): Likewise.
10621 (test_single_exception): Update calls to print_screen.
10622 (test_single_errno): Likewise.
10623 (check_float_internal): Remove xfail argument. Update calls to
10624 other affected functions.
10625 (check_float): Likewise.
10626 (check_complex): Likewise.
10627 (check_int): Likewise.
10628 (check_long): Likewise.
10629 (check_bool): Likewise.
10630 (check_longlong): Likewise.
10631 (main): Don't print noXFails and noXPasses.
10632 * math/gen-libm-test.pl (top level): Don't mention expected
10633 failure handling in comment.
10634 (new_test): Don't handle expected failures.
10635 (parse_args): Don't mention expected failure handling in comment.
10636 (generate_testfile): Don't handle expected failures.
10637 (parse_ulps): Likewise.
10638 (print_ulps_file): Likewise.
10639 (get_failure): Remove function.
10640 (output_test): Don't handle expected failures.
10641 * make/README.libm-test: Don't mention expected failure handling.
10643 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10644 (minus_zero): Likewise.
10645 (plus_infty): Likewise.
10646 (minus_infty): Likewise.
10647 (qnan_value): Likewise.
10648 (max_value): Likewise.
10649 (min_value): Likewise.
10650 (min_subnorm_value): Likewise.
10651 (initialize): Do not initialize those variables dynamically.
10653 2013-05-03 Roland McGrath <roland@hack.frob.com>
10655 * io/open.c (__open_2): Moved to ...
10656 * io/open_2.c: ... this new file.
10657 * io/open64.c (__open64_2): Moved to ...
10658 * io/open64_2.c: ... this new file.
10659 * io/openat.c (__openat_2): Moved to ...
10660 * io/openat_2.c: ... this new file.
10661 * io/openat64.c (__openat64_2): Moved to ...
10662 * io/openat64_2.c: ... this new file.
10663 * io/Makefile (routines): Add them.
10664 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10665 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10666 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10667 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10668 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10669 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10670 (__openat64): Add hidden_ver.
10671 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10672 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10674 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10675 Separately conditionalize setting of GLRO(dl_sysinfo) so
10676 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10677 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10679 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10681 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10682 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10684 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10685 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10686 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10687 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10688 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10690 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10692 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10693 test signgam value.
10695 * math/libm-test.inc (hypot_test): Do not use
10696 IGNORE_ZERO_INF_SIGN.
10698 2013-05-03 Andreas Jaeger <aj@suse.de>
10700 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10702 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10703 (PF_MAX): Adjust for VSOCK change.
10705 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10709 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10712 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10713 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10714 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10716 2013-05-02 David S. Miller <davem@davemloft.net>
10718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10720 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10722 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10724 2013-05-01 Roland McGrath <roland@hack.frob.com>
10726 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10728 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10731 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10732 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10733 Use __attribute__ ((__gnu_inline__)).
10734 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10735 Don't use __attribute__ ((__gnu_inline__)).
10737 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10740 * math/s_catan.c (__catan): Handle small real or imaginary part of
10741 input specially to avoid spurious underflow.
10742 * math/s_catanf.c (__catanf): Likewise.
10743 * math/s_catanh.c (__catanh): Likewise.
10744 * math/s_catanhf.c (__catanhf): Likewise.
10745 * math/s_catanhl.c (__catanhl): Likewise.
10746 * math/s_catanl.c (__catanl): Likewise.
10747 * math/libm-test.inc (catan_test): Add more tests.
10748 (catanh_test): Likewise.
10749 * sysdeps/i386/fpu/libm-test-ulps: Update.
10750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10752 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10756 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10759 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10760 accurately for denominator in atan2.
10761 * math/s_catanf.c (__catanf): Likewise.
10762 * math/s_catanh.c (__catanh): Likewise.
10763 * math/s_catanhf.c (__catanhf): Likewise.
10764 * math/s_catanhl.c (__catanhl): Likewise.
10765 * math/s_catanl.c (__catanl): Likewise.
10766 * math/libm-test.inc (catan_test): Add more tests.
10767 (catanh_test): Likewise.
10768 * sysdeps/i386/fpu/libm-test-ulps: Update.
10769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10771 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10773 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10775 * benchtests/Makefile (bench): Remove slow benchmarks.
10776 * benchtests/atan-inputs: Add slow benchmark inputs.
10777 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10778 (BENCH_FUNC): Accept variant offset.
10780 * benchtests/bench-skeleton.c (main): Run benchmark for each
10782 * benchtests/cos-inputs: Add slow benchmark inputs.
10783 * benchtests/exp-inputs: Likewise.
10784 * benchtests/pow-inputs: Likewise.
10785 * benchtests/sin-inputs: Likewise.
10786 * benchtests/slowatan-inputs: Remove.
10787 * benchtests/slowatan.c: Remove.
10788 * benchtests/slowcos-inputs: Remove.
10789 * benchtests/slowcos.c: Remove.
10790 * benchtests/slowexp-inputs: Remove.
10791 * benchtests/slowexp.c: Remove.
10792 * benchtests/slowpow-inputs: Remove.
10793 * benchtests/slowpow.c: Remove.
10794 * benchtests/slowsin-inputs: Remove.
10795 * benchtests/slowsin.c: Remove.
10796 * benchtests/slowtan-inputs: Remove.
10797 * benchtests/slowtan.c: Remove.
10798 * benchtests/tan-inputs: Add slow benchmark inputs.
10799 * scripts/bench.pl: Parse comments and directives.
10801 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10803 ($(objpfx)bench-%.c): Remove *-ITER.
10804 * benchtests/bench-modf.c: Remove definition of ITER.
10805 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10806 (main): Loop for DURATION seconds instead of fixed number of
10808 * scripts/bench.pl: Don't expect iterations in parameters.
10810 2013-04-29 Roland McGrath <roland@hack.frob.com>
10812 * io/fchdir.c (__fchdir): Renamed from fchdir.
10813 (fchdir): Define as weak alias.
10815 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10817 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10818 (ERRNO_EDOM): Likewise.
10819 (ERRNO_ERANGE): Likewise.
10820 (noErrnoTests): New variable.
10821 (init_max_error): Set errno to 0.
10822 (test_single_errno): New function.
10823 (test_errno): Likewise.
10824 (check_float_internal): Call test_errno. Set errno to 0.
10825 (check_complex): Refer to errno tests in comment.
10826 (check_int): Call test_errno. Set errno to 0.
10827 (check_long): Likewise.
10828 (check_bool): Likewise.
10829 (check_longlong): Likewise.
10830 (cos_test): Use ERRNO_* flags for errno tests instead of
10832 (expm1_test): Likewise.
10833 (fmod_test): Likewise.
10834 (ilogb_test): Likewise.
10835 (lgamma_test): Likewise.
10836 (pow_test): Likewise.
10837 (remainder_test): Likewise.
10838 (sin_test): Likewise.
10839 (tan_test): Likewise.
10840 (yn_test): Likewise.
10841 (initialize): Set errno to 0.
10842 (main): Print number of errno tests.
10843 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10845 2013-04-29 Andreas Jaeger <aj@suse.de>
10848 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10852 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10853 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10857 * stdlib/random.c (__initstate): Return NULL if
10861 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10862 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10865 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10869 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10871 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10872 of individual tests.
10873 (casin_test): Likewise.
10874 (casinh_test): Likewise.
10876 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10879 * math/s_catan.c (__catan): Handle arguments with large real or
10880 imaginary part separately without squaring.
10881 * math/s_catanf.c (__catanf): Likewise.
10882 * math/s_catanh.c (__catanh): Likewise.
10883 * math/s_catanhf.c (__catanhf): Likewise.
10884 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10886 (__catanhl): Handle arguments with large real or imaginary part
10887 separately without squaring.
10888 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10890 (__catanl): Handle arguments with large real or imaginary part
10891 separately without squaring.
10892 * math/libm-test.inc (catan_test): Add more tests.
10893 (catanh_test): Likewise.
10894 * sysdeps/i386/fpu/libm-test-ulps: Update.
10895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10897 2013-04-27 Andreas Jaeger <aj@suse.de>
10900 * stdlib/stdlib.h: Update guards for qecvt.
10901 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10904 2013-04-27 Allan McRae <allan@archlinux.org>
10906 * sysdeps/i386/fpu/libm-test-ulps: Update.
10908 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10911 * math/s_catan.c: Include <float.h>.
10912 (__catan): Ensure underflow exception occurs for underflowed
10914 * math/s_catanf.c: Include <float.h>.
10915 (__catanf): Ensure underflow exception occurs for underflowed
10917 * math/s_catanh.c: Include <float.h>.
10918 (__catanh): Ensure underflow exception occurs for underflowed
10920 * math/s_catanhf.c: Include <float.h>.
10921 (__catanhf): Ensure underflow exception occurs for underflowed
10923 * math/s_catanhl.c: Include <float.h>.
10924 (__catanhl): Ensure underflow exception occurs for underflowed
10926 * math/s_catanl.c: Include <float.h>.
10927 (__catanl): Ensure underflow exception occurs for underflowed
10929 * math/libm-test.inc (catan_test): Add more tests.
10930 (catanh_test): Likewise.
10933 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10934 underflowed result.
10935 * math/s_ccoshf.c (__ccoshf): Likewise.
10936 * math/s_ccoshl.c (__ccoshl): Likewise.
10937 * math/s_csin.c (__csin): Likewise.
10938 * math/s_csinf.c (__csinf): Likewise.
10939 * math/s_csinh.c (__csinh): Likewise.
10940 * math/s_csinhf.c (__csinhf): Likewise.
10941 * math/s_csinhl.c (__csinhl): Likewise.
10942 * math/s_csinl.c (__csinl): Likewise.
10943 * math/libm-test.inc (ccos_test): Add more tests.
10944 (ccosh_test): Likewise.
10945 (csin_test): Likewise.
10946 (csinh_test): Likewise.
10948 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10950 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10951 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10952 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10953 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10954 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10955 powerpc/power5+/fpu folders.
10956 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10959 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10963 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10965 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10966 additions to variable.
10967 [$(config-machine) = x86_64] (modules-names): Likewise.
10968 ($(objpfx)tst-audit3): Remove dependency.
10969 ($(objpfx)tst-audit3.out): Likewise.
10970 ($(objpfx)tst-audit4): Likewise.
10971 ($(objpfx)tst-audit4.out): Likewise.
10972 ($(objpfx)tst-audit5): Likewise.
10973 ($(objpfx)tst-audit5.out): Likewise.
10974 ($(objpfx)tst-audit6): Likewise.
10975 ($(objpfx)tst-audit6.out): Likewise.
10976 ($(objpfx)tst-audit7): Likewise.
10977 ($(objpfx)tst-audit7.out): Likewise.
10978 (tst-audit3-ENV): Remove variable.
10979 (tst-audit4-ENV): Likewise.
10980 (tst-audit5-ENV): Likewise.
10981 (tst-audit6-ENV): Likewise.
10982 (tst-audit7-ENV): Likewise.
10983 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10984 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10985 addition to variable.
10986 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10987 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10988 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10989 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10990 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10991 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10992 tst-audit3, tst-audit4 and tst-audit5.
10993 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10994 tst-audit6 and tst-audit7.
10995 [$(subdir) = elf] (modules-names): Add audit modules for those
10997 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10998 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10999 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11000 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11001 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11002 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11003 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11004 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11005 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11006 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11007 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11008 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11009 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11010 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11011 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11012 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11014 [$(subdir) = elf && $(config-cflags-avx) = yes]
11015 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11016 [$(subdir) = elf && $(config-cflags-avx) = yes]
11017 (CFLAGS-tst-auditmod4a.c): Likewise.
11018 [$(subdir) = elf && $(config-cflags-avx) = yes]
11019 (CFLAGS-tst-auditmod4b.c): Likewise.
11020 [$(subdir) = elf && $(config-cflags-avx) = yes]
11021 (CFLAGS-tst-auditmod6b.c): Likewise.
11022 [$(subdir) = elf && $(config-cflags-avx) = yes]
11023 (CFLAGS-tst-auditmod6c.c): Likewise.
11024 [$(subdir) = elf && $(config-cflags-avx) = yes]
11025 (CFLAGS-tst-auditmod7b.c): Likewise.
11026 * elf/tst-audit3.c: Move to ...
11027 * sysdeps/x86_64/tst-audit3.c: ... here.
11028 * elf/tst-audit4.c: Move to ...
11029 * sysdeps/x86_64/tst-audit4.c: ... here.
11030 * elf/tst-audit5.c: Move to ...
11031 * sysdeps/x86_64/tst-audit5.c: ... here.
11032 * elf/tst-audit6.c: Move to ...
11033 * sysdeps/x86_64/tst-audit6.c: ... here.
11034 * elf/tst-audit7.c: Move to ...
11035 * sysdeps/x86_64/tst-audit7.c: ... here.
11036 * elf/tst-auditmod3a.c: Move to ...
11037 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11038 * elf/tst-auditmod3b.c: Move to ...
11039 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11040 * elf/tst-auditmod4a.c: Move to ...
11041 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11042 * elf/tst-auditmod4b.c: Move to ...
11043 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11044 * elf/tst-auditmod5a.c: Move to ...
11045 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11046 * elf/tst-auditmod5b.c: Move to ...
11047 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11048 * elf/tst-auditmod6a.c: Move to ...
11049 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11050 * elf/tst-auditmod6b.c: Move to ...
11051 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11052 * elf/tst-auditmod6c.c: Move to ...
11053 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11054 * elf/tst-auditmod7a.c: Move to ...
11055 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11056 * elf/tst-auditmod7b.c: Move to ...
11057 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11059 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11062 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11063 define unconditionally.
11064 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11065 define unconditionally.
11066 (INT8_C, INT16_C, etc.): Likewise.
11068 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11070 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11071 __ehdr_start with hidden visibility.
11073 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11075 2013-04-24 Carlos O'Donell <carlos@redhat.com>
11077 * math/libm-test.inc (cos_test): Use accurate hex constants.
11078 (sincost_test): Likewise.
11080 2013-04-24 Joseph Myers <joseph@codesourcery.com>
11082 * math/libm-test.inc (catan_test): Add more tests.
11083 (catanh_test): Likewise.
11085 * math/s_catanf.c (__catanf): Use suffixed floating-point
11087 * math/s_catanhf.c (__catanhf): Likewise.
11088 * math/s_catanhl.c (__catanhl): Likewise.
11089 * math/s_catanl.c (__catanl): Likewise.
11092 * math/s_catan.c (__catan): Calculate imaginary part of result
11093 with log1p not log unless computing log of number close to 0.
11094 * math/s_catanf.c (__catanf): Likewise.
11095 * math/s_catanl.c (__catanl): Likewise.
11096 * math/s_catanh.c (__catanh): Calculate real part of result with
11097 log1p not log unless computing log of number close to 0.
11098 * math/s_catanhf.c (__catanhf): Likewise.
11099 * math/s_catanhl.c (__catanhl): Likewise.
11100 * math/libm-test.inc (catan_test): Add more tests.
11101 (catanh_test): Likewise.
11102 * sysdeps/i386/fpu/libm-test-ulps: Update.
11103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11105 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11107 * benchtests/Makefile: Mention files in which fast and slow
11108 paths of math functions are implemented.
11110 2013-04-23 Roland McGrath <roland@hack.frob.com>
11112 * sysdeps/posix/timespec_get.c: New file.
11114 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11116 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11118 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11120 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11121 powerpc/power5/fpu folders.
11122 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11123 * benchtests/Makefile: Add modf testcase.
11124 * benchtests/bench-modf.c: New file: Benchmark test for mo
11126 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11129 * time/Makefile (tests): Add tst-strptime-whitespace.
11130 * time/strptime_l.c (get_number): Use ISSPACE.
11131 (__strptime_internal): Likewise.
11132 * time/tst-strptime-whitespace.c: New test case.
11134 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11136 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11138 (_nss_files_init): Set it here.
11140 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11142 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11143 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11146 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11148 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11150 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11155 2013-04-21 David S. Miller <davem@davemloft.net>
11157 * po/ru.po: Update Russion translation from translation project.
11159 2013-04-17 Adam Conrad <adconrad@0c3.net>
11161 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11164 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11166 * configure.in: Remove i386 configure warning. Remove i386 case.
11167 * configure: Regenerate.
11168 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11169 Add example to error message.
11170 * sysdeps/i386/configure: Regenerate.
11172 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11174 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11176 * benchtests/cos-inputs: New file.
11177 * benchtests/slowcos-inputs: New file.
11178 * benchtests/slowcos.c: New file.
11179 * benchtests/slowtan-inputs: New file.
11180 * benchtests/slowtan.c: New file.
11181 * benchtests/tan-inputs: New file.
11183 2013-04-16 Roland McGrath <roland@hack.frob.com>
11185 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11188 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11190 * benchtests/Makefile: Include cppflags-iterator.mk to add
11191 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11193 * Makefile.in (bench-clean): New target.
11194 * benchtests/Makefile (bench-clean): Likewise.
11196 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11198 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11200 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11202 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11204 2013-04-15 Andreas Schwab <schwab@suse.de>
11206 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11207 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11208 * nscd/pwdcache.c (cache_addpw): Likewise.
11209 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11212 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11214 * benchtests/Makefile (bench): Write all output to
11215 bench-out.tmp together.
11217 2013-04-15 Andreas Schwab <schwab@suse.de>
11219 * nscd/nscd.c (main): Don't fork again after closing files.
11221 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11223 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11225 * benchtests/Rules (bench-deps): Collect dependencies into a
11226 single variable. Add Makefile to dependencies.
11227 ($(objpfx)bench-%.c): Depend on bench-deps.
11229 2013-04-12 Roland McGrath <roland@hack.frob.com>
11230 Xavier Roche <roche+kml2@exalead.com>
11233 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11234 just that it's a file descriptor.
11235 * manual/llio.texi (Synchronizing AIO Operations): Update description
11236 for EBADF error from aio_fsync.
11238 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11240 * Rules (bench): Move target definition...
11241 * benchtests/Makefile: ... here.
11243 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11245 * math/libm-test.inc (cos_test): Fix PI/2 test.
11246 (sincos_test): Likewise.
11247 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11248 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11250 2013-04-11 Andreas Schwab <schwab@suse.de>
11253 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11254 accept exponent character only when digits were seen.
11255 * stdio-common/Makefile (tests): Add bug26.
11256 * stdio-common/bug26.c: New file.
11259 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11262 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11264 * Makeconfig (rtld-prefix): Define built linker prefix.
11265 * Rules (run-bench): Use it.
11266 * math/Makefile (run-regen-ulps): Likewise.
11268 * Rules (bench): Remove eval.
11270 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11271 Roland McGrath <roland@hack.frob.com>
11272 Ondrej Bilka <neleai@seznam.cz>
11275 * time/getdate.c: Include ctype.h and alloca.h.
11276 (__getdate_r): Trim leading and trailing spaces of input.
11277 * time/tst-getdate.c (tests): Add tests with leading and
11280 2013-04-08 Roland McGrath <roland@hack.frob.com>
11283 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11284 when computing value.
11286 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11288 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11289 Use testrun.sh to run libm tests.
11292 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11294 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11297 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11299 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11301 * Makefile.in (regen-ulps): New target.
11302 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11303 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11304 [ifneq (no,$(PERL)] (regen-ulps): New target.
11305 [ifeq (no,$(PERL)] (regen-ulps): New target.
11306 * math/libm-test.inc (ulps_file_name): Define.
11307 (output_dir): New variable.
11308 (options): Add "output-dir" option.
11309 (parse_opt): Handle 'o' case.
11310 (main): If output_dir is non-NULL use it as a prefix
11312 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11314 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11316 [BZ #10060, #10062]
11317 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11318 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11319 fail configure if __sync_val_compare_and_swap is not inlined.
11320 * sysdeps/i386/configure: Regenerate.
11321 * configure.in: Build for i686 when configured for i386.
11322 * configure: Regenerate.
11323 * README: Remove i386 reference.
11325 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11327 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11330 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11332 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11333 (lmsnanval): New variables.
11334 (F): Add conversion tests.
11335 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11336 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11338 * stdio-common/tstdiomisc.c (F): Properly collect individual
11341 [BZ #14686, #15336]
11342 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11343 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11344 Instead, use input NaN values or generate a qNaN by arithmetic
11345 operation. Also fix bugs to comply with the standard.
11346 * math/libm-test.inc (remainder_test): Add more tests.
11348 [BZ #15335, #15342]
11349 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11351 input NaN values or generate a qNaN by arithmetic operation.
11353 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11356 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11359 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11362 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11363 underflowed result.
11364 * math/s_cexpf.c (__cexpf): Likewise.
11365 * math/s_cexpl.c (__cexpl): Likewise.
11366 * math/libm-test.inc (cexp_test): Add more tests.
11368 2013-04-03 Andreas Schwab <schwab@suse.de>
11371 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11372 order arrays from heap if bigger than alloca cutoff.
11374 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11376 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11377 (SNAN_TESTS_double): Refer to GCC PR56831.
11378 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11381 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11383 * Rules (bench): Move bench.out after the run is complete.
11385 * Rules (bench): Echo currently running benchmark.
11387 * benchtests/Makefile (bench): Add atan and slowatan.
11388 * benchtests/atan-inputs: New file.
11389 * benchtests/slowatan-inputs: New file.
11390 * benchtests/slowatan.c: New file.
11392 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11393 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11397 * sysdeps/unix/sysv/linux/kernel-features.h
11398 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11399 __ASSUME_XFS_RESTRICTED_CHOWN.
11400 * sysdeps/unix/sysv/linux/pathconf.c
11401 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11402 Save and restore errno.
11404 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11407 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11408 arguments using __kernel_casinh.
11409 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11410 arguments using __kernel_casinhf.
11411 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11412 arguments using __kernel_casinhl.
11413 * math/libm-test.inc (cacosh_test): Add more tests.
11414 * sysdeps/i386/fpu/libm-test-ulps: Update.
11415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11417 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11419 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11422 * bench/Makefile (bench): Add sin and slowsin.
11423 * benchtests/sin-inputs: New file.
11424 * benchtests/slowsin-inputs: New file.
11425 * benchtests/slowsin.c: New file.
11427 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11428 (bench): Add slowexp and slowpow.
11429 (exp-ITER): Increase iterations.
11430 (pow-ITER): Likewise.
11431 * benchtests/exp-inputs: Change input.
11432 * benchtests/pow-inputs: Likewise.
11433 * benchtests/slowexp-inputs: New file.
11434 * benchtests/slowexp.c: New file.
11435 * benchtests/slowpow-inputs: New file.
11436 * benchtests/slowpow.c: New file.
11438 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11440 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11442 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11443 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11444 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11445 * benchtests/Makefile: Add rint benchtest.
11446 * benchtests/rint-inputs: Input for rint benchtest.
11448 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11450 * Versions.def (libm): Add GLIBC_2.18.
11451 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11452 hidden libm prototypes.
11453 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11454 * math/Makefile (libm-calls): Add s_issignaling.
11455 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11456 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11457 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11459 * math/math.h [__USE_GNU] (issignaling): New macro.
11460 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11461 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11462 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11463 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11465 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11466 * manual/arith.texi (issignaling): New section.
11467 * manual/libm-err-tab.pl (@all_functions): Update comment.
11468 * math/gen-libm-test.pl (parse_args): Apply special handling for
11470 * math/libm-test.inc (print_float, issignaling_test): New
11472 (check_float_internal): Add issignaling checks.
11473 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11474 default definition.
11475 * sysdeps/powerpc/math-tests.h: New file.
11476 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11478 * math/test-snan.c (TEST_FUNC): Likewise.
11480 2013-03-30 David S. Miller <davem@davemloft.net>
11482 * po/de.po: Update from translation team.
11484 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11487 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11488 imaginary part less than 1.0 and real part less than 0.5
11490 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11491 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11492 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11493 (cacos_test): Add more tests.
11494 (casin_test): Likewise.
11495 (casinh_test): Likewise.
11496 * sysdeps/i386/fpu/libm-test-ulps: Update.
11497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11499 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11501 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11502 ONE with its value.
11504 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11505 (__pow_mp): Replace ONE and MONE with their values.
11506 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11508 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11509 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11510 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11511 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11513 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11515 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11516 (__pow_mp): Replace ZERO and MZERO with their values.
11517 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11518 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11519 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11521 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11522 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11525 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11527 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11529 2013-03-28 Roland McGrath <roland@hack.frob.com>
11531 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11532 Declare with __attribute__ ((weak)).
11533 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11534 Call __call_tls_dtors only if it's not NULL.
11536 2013-03-28 Roland McGrath <roland@hack.frob.com>
11538 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11539 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11540 magic __ehdr_start linker symbol if it's defined.
11541 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11542 them up here if it was already done.
11544 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11545 (_dl_aux_init): Use const in cast when setting it.
11546 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11547 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11548 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11550 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11552 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11553 * csu/libc-tls.c: Nor here.
11554 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11556 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11557 (__libc_message): Never call vsyslog.
11559 2013-03-28 Alan Modra <amodra@gmail.com>
11561 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11563 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11566 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11569 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11573 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11576 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11577 Don't add gid passed as argument.
11579 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11581 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11584 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11585 imaginary part between 1.0 and 1.5 and real part less than 0.5
11587 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11588 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11589 * math/libm-test.inc (cacos_test): Add more tests.
11590 (casin_test): Likewise.
11591 (casinh_test): Likewise.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11595 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11597 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11600 (denorm): Likewise.
11601 (__dbl_mp): Likewise.
11602 (add_magnitudes): Likewise.
11603 (sub_magnitudes): Likewise.
11611 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11613 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11614 (__dubcos): Likewise.
11615 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11616 (__ieee754_acos): Likewise.
11617 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11618 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11619 (__exp1): Likewise.
11620 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11621 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11623 (my_log2): Likewise.
11624 (checkint): Likewise.
11625 * sysdeps/ieee754/dbl-64/e_remainder.c
11626 (__ieee754_remainder): Likewise.
11627 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11629 (bsloww): Likewise.
11630 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11632 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11633 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11634 MANTISSA_STORE_T to store computations on mantissa. Use
11635 macros for rounding and division.
11636 (denorm): Likewise.
11637 (__dbl_mp): Likewise.
11638 (add_magnitudes): Likewise.
11639 (sub_magnitudes): Likewise.
11642 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11643 powers of two in terms of TWOPOW macro.
11644 (mp_no): Make type of mantissa as MANTISSA_T.
11645 [!RADIXI]: Define RADIXI.
11646 [!TWO52]: Define TWO52.
11647 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11649 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11651 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11652 llroundl symbol when building for PPC32.
11654 2013-03-24 Mark H Weaver <mhw@netris.org>
11656 * manual/arith.texi (Normalization Functions): Fix prototypes for
11657 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11659 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11663 high value to check if expl overflow.
11664 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11665 to check for underflow and overflow.
11666 * math/libm-test.inc: Add exp test.
11668 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11671 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11674 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11676 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11679 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11681 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11682 wrap blocks consisting of several statements.
11684 * sysdeps/generic/math-tests.h: New file.
11685 * sysdeps/i386/fpu/math-tests.h: Likewise.
11686 * math/test-snan.c: Include it.
11687 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11689 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11692 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11693 (__ieee754_j0l): Do not improve calculations using cos of twice
11694 input for inputs above LDBL_MAX / 2.0L.
11695 (__ieee754_y0l): Likewise.
11696 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11697 (__ieee754_j1l): Do not improve calculations using cos of twice
11698 input for inputs above LDBL_MAX / 2.0L.
11699 (__ieee754_y1l): Likewise.
11700 * math/libm-test.inc (j0_test): Add another test.
11701 (j1_test): Likewise.
11702 (y0_test): Likewise.
11703 (y1_test): Likewise.
11704 * sysdeps/i386/fpu/libm-test-ulps: Update.
11706 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11708 * Rules ($(objpfx)bench-%.c): Include code from a C source
11711 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11714 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11715 imaginary part 1.0 and real part less than 0.5 specially.
11716 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11717 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11718 * math/libm-test.inc (cacos_test): Add more tests.
11719 (casin_test): Likewise.
11720 (casinh_test): Likewise.
11721 * sysdeps/i386/fpu/libm-test-ulps: Update.
11722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11724 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11726 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11727 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11729 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11731 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11732 * config.make.in (config-cflags-sse4): Remove variable.
11733 (config-cflags-avx): Likewise.
11734 (config-cflags-sse2avx): Likewise.
11735 (config-cflags-novzeroupper): Likewise.
11736 (config-asflags-i686): Likewise.
11737 (have-mfma4): Likewise.
11738 (have-as-vis3): Likewise.
11740 * configure.in (MIG): Do not AC_SUBST.
11741 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11742 (libc_cv_cc_sse4): Do not AC_SUBST.
11743 (libc_cv_cc_avx): Likewise.
11744 (libc_cv_cc_sse2avx): Likewise.
11745 (libc_cv_cc_novzeroupper): Likewise.
11746 (libc_cv_cc_fma4): Likewise.
11747 (libc_cv_as_i686): Likewise.
11748 (libc_cv_sparc_as_vis3): Likewise.
11749 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11751 (config-asflags-i686): Likewise.
11752 (config-cflags-avx): Likewise.
11753 (config-cflags-sse2avx): Likewise.
11754 (have-mfma4): Likewise.
11755 (config-cflags-novzeroupper): Likewise.
11756 * sysdeps/mach/configure.in (MIG): Likewise.
11757 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11758 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11760 (config-cflags-avx): Likewise.
11761 (config-cflags-sse2avx): Likewise.
11762 (have-mfma4): Likewise.
11763 (config-cflags-novzeroupper): Likewise.
11764 * configure: Regenerated.
11765 * sysdeps/i386/configure: Likewise.
11766 * sysdeps/mach/configure: Likewise.
11767 * sysdeps/sparc/configure: Likewise.
11768 * sysdeps/x86_64/configure: Likewise.
11770 2013-03-20 Roland McGrath <roland@hack.frob.com>
11773 * locale/programs/localedef.c (options): Put N_ translation marker
11774 on argument names, not just descriptions.
11776 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11778 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11780 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11783 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11785 2013-03-19 Roland McGrath <roland@hack.frob.com>
11787 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11788 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11789 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11790 [!BEFORE_ABORT] (before_abort): New function.
11791 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11792 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11793 (writev_for_fatal): New function.
11794 (WRITEV_FOR_FATAL): New macro; call that.
11795 (backtrace_and_maps): New function.
11796 (BEFORE_ABORT): New macro; call that.
11797 (struct str_list): Type removed.
11798 (__libc_message, __libc_fatal): Functions removed.
11799 Include <sysdeps/posix/libc_fatal.c> instead.
11801 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11803 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11805 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11808 2013-03-19 Andreas Schwab <schwab@suse.de>
11810 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11811 * sysdeps/gnu/configure: Regenerate.
11813 * configure.in: Substitute libc_cv_rtlddir.
11814 * configure: Regenerate.
11815 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11816 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11817 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11818 * elf/Makefile (install-others, CFLAGS-interp.c)
11819 (ldso_install, common-ldd-rewrite): Likewise.
11820 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11821 $(inst_slibdir)/$(rtld-installed-name).
11822 * scripts/rellns-sh: Add -p option.
11823 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11826 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11828 * manual/nptl.texi: Renamed to ...
11829 * manual/threads.texi: ... this.
11830 * manual/Makefile (chapters): Update.
11832 2013-03-18 Roland McGrath <roland@hack.frob.com>
11835 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11836 on argument names, not just descriptions.
11837 * malloc/memusagestat.c (options): Likewise.
11838 * nss/getent.c (options): Likewise.
11840 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11843 * iconv/iconv_prog.c (options): Put N_ translation marker
11844 on argument names, not just descriptions.
11845 * iconv/iconvconfig.c (options): Likewise.
11847 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11849 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11850 implementation which is faster on all x86_64 architectures.
11851 Tested on AMD, Intel Nehalem, SNB, IVB.
11852 * sysdeps/x86_64/strnlen.S: Likewise.
11854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11855 Remove all multiarch strlen and strnlen versions.
11856 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11857 Remove strlen and strnlen related parts.
11859 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11860 Inline strlen part.
11861 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11863 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11864 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11865 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11866 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11867 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11868 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11870 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11872 * manual/memory.texi (Malloc Tunable Parameters):
11873 Sort parameters alphabetically. Add comments for missing entries.
11875 2013-03-17 David S. Miller <davem@davemloft.net>
11877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11879 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11882 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11883 for arguments at most half maximum finite value.
11884 * math/libm-test.inc (j0_test): Add more tests.
11885 (j1_test): Likewise.
11886 (y0_test): Likewise.
11887 (y1_test): Likewise.
11888 * sysdeps/i386/fpu/libm-test-ulps: Update.
11889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11892 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11893 1 / x and functions P and Q for arguments above 0x1p256L.
11894 (__ieee754_y0l): Likewise.
11895 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11896 (__ieee754_y1l): Likewise.
11897 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11898 (j1_test): Likewise.
11899 (y0_test): Likewise.
11900 (y1_test): Likewise.
11902 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11904 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11907 2013-03-15 Roland McGrath <roland@hack.frob.com>
11909 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11910 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11911 zero since it's initialized to EXEC_PAGESIZE.
11913 * sysdeps/unix/sysv/linux/ldsodefs.h
11914 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11915 * sysdeps/generic/ldsodefs.h: ... here.
11917 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11919 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11921 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11923 * math/test-snan.c: Renamed from
11924 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11925 * math/Makefile (tests): Add test-snan.
11926 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11929 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11930 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11932 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11933 __builtin_nan family of functions.
11934 * math/libm-test.inc (initialize): Initialize qnan_value with
11935 __builtin_nan family of functions.
11936 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11938 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11940 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11941 storage class. Initialize qNaN_var and sNaN_var with
11942 __builtin_nan and __builtin_nans families of functions,
11945 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11946 (sqrt_test): Remove duplicate test with qNaN input.
11947 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11948 (round_test, signbit_test, significand_test): Note missing +/-Inf
11949 as well as qNaN tests.
11951 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11952 qNaN_var. Fix a few strings, too.
11953 * math/libm-test.inc (nan_value): Rename to qnan_value.
11954 * math/gen-libm-test.pl (%beautify): Adjust to that.
11955 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11956 * math/test-misc.c (main): Likewise.
11957 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11958 to __qnan_bytes, and __qnan_union, respectively.
11959 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11961 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11962 and lqnanval, respectively.
11963 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11964 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11965 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11966 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11968 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11969 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11972 * math/test-misc.c (main): Fix copy'n'pastos.
11973 * misc/tst-efgcvt.c (special): Likewise.
11975 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11976 Remove declarations.
11978 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11980 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11981 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11982 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11983 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11985 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11987 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11988 macro to return vdso values correctly in IFUNC implementations.
11989 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11990 Optimization by using IFUNC.
11992 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11993 Richard Henderson <rth@redhat.com>
11994 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11996 * Makefile.in (bench): New target.
11997 * NEWS: Mention the benchmark framework.
11998 * Rules (bench): Likewise.
11999 (binaries-bench): Generate binaries for functions to
12001 * benchtests/Makefile: New makefile for benchmark tests.
12002 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12004 * benchtests/exp-inputs: New input file for EXP function.
12005 * benchtests/pow-inputs: New input file for POW function.
12006 * scripts/bench.pl: New script to generate source files for
12007 benchmark programs.
12009 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12011 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12012 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12013 computations on mantissa. Use macros for rounding and
12015 (denorm): Likewise.
12016 (__dbl_mp): Likewise.
12017 (add_magnitudes): Likewise.
12018 (sub_magnitudes): Likewise.
12021 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12022 powers of two in terms of TWOPOW macro.
12023 (mp_no): Make type of mantissa as MANTISSA_T.
12024 [!RADIXI]: Define RADIXI.
12025 [!TWO52]: Define TWO52.
12026 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12028 * manual/nptl.texi (cindex): Modify threads to pthreads.
12030 2013-03-15 Joseph Myers <joseph@codesourcery.com>
12032 * sysdeps/x86_64/preconfigure: Regenerated.
12034 2013-03-14 Joseph Myers <joseph@codesourcery.com>
12037 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12039 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12040 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12042 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12043 * math/libm-test.inc (j0_test): Do not allow one spurious
12044 underflow exception.
12045 (y1_test): Likewise.
12047 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12049 * manual/Makefile (chapters): Add nptl.
12050 * manual/debug.texi (Debugging Support): Add link to Threads
12052 * manual/nptl.texi: New file.
12054 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12056 2013-03-14 Petr Baudis <pasky@ucw.cz>
12058 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12059 for non-NULL pointer before the memory validity test. Pointed
12060 out by Holger Brunck <holger.brunck@keymile.com>.
12062 2013-03-13 Andreas Schwab <schwab@suse.de>
12064 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12067 2013-03-13 Joseph Myers <joseph@codesourcery.com>
12069 * timezone/zic.c: Update from tzcode 2013b.
12071 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12073 * manual/install.texi (Configuring and compiling):
12074 Mention i686 and i586.
12075 * INSTALL: Regenerate.
12077 2013-03-12 Roland McGrath <roland@hack.frob.com>
12079 * sysdeps/init_array/elf-init.c: New file.
12081 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12082 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12084 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12085 __gmon_start__ as global, but as static with a .preinit_array pointer.
12086 * sysdeps/init_array/gmon-start.c: New file. Use that.
12087 * sysdeps/init_array/crti.S: New file, empty except for comments.
12088 * sysdeps/init_array/crtn.S: Likewise.
12090 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12092 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12095 Remove Prefer_SSE_for_memop.
12096 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12097 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12098 HAS_PREFER_SSE_FOR_MEMOP.
12099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12101 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12102 Remove bzero, memset ifunc support.
12103 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12104 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12105 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12106 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12108 2013-03-11 Andreas Schwab <schwab@suse.de>
12111 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12114 (GLIBC_2.16): Remove pthread_atfork.
12116 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12118 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12119 (ptestcases.h): Likewise.
12121 2013-03-08 Roland McGrath <roland@hack.frob.com>
12123 * Makeconfig ($(common-objpfx)config.status): Depend on
12124 sysdeps/*/preconfigure{,.in} too.
12126 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12128 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12129 (__free_hook): Use void * instead of __malloc_ptr_t.
12130 (__malloc_hook): Likewise.
12131 (__realloc_hook): Likewise.
12132 (__memalign_hook): Likewise.
12133 (__after_morecore_hook): Likewise.
12134 * malloc/arena.c (save_malloc_hook): Likewise.
12135 (save_free_hook): Likewise.
12136 * malloc/hooks.c (malloc_hook_ini): Likewise.
12137 (realloc_hook_ini): Likewise.
12138 (memalign_hook_ini): Likewise.
12139 * malloc/malloc.c (malloc_hook_ini): Likewise.
12140 (realloc_hook_ini): Likewise.
12141 (memalign_hook_ini): Likewise.
12142 (__free_hook): Likewise.
12143 (__malloc_hook): Likewise.
12144 (__realloc_hook): Likewise.
12145 (__memalign_hook): Likewise.
12146 (__libc_malloc): Likewise.
12147 (__libc_free): Likewise.
12148 (__libc_realloc): Likewise.
12149 (__libc_memalign): Likewise.
12150 (__libc_valloc): Likewise.
12151 (__libc_pvalloc): Likewise.
12152 (__libc_calloc): Likewise.
12153 (__posix_memalign): Likewise.
12154 * malloc/morecore.c (__sbrk): Likewise.
12155 (__default_morecore): Likewise.
12157 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12159 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12160 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12161 __malloc_ptrdiff_t.
12163 * malloc/malloc.h (__malloc_size_t): Remove macro.
12164 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12166 (old_memalign_hook): Likewise.
12167 (old_realloc_hook): Likewise.
12168 (struct hdr): Likewise.
12170 (mallochook): Likewise.
12171 (memalignhook): Likewise.
12172 (reallochook): Likewise.
12173 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12174 (tr_old_realloc_hook): Likewise.
12175 (tr_old_memalign_hook): Likewise.
12176 (tr_mallochook): Likewise.
12177 (tr_reallochook): Likewise.
12178 (tr_memalignhook): Likewise.
12180 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12182 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12183 default_ldbl_pack and using as default implementation.
12184 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12186 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12187 redundant definition.
12188 (ldbl_insert_mantissa): Likewise.
12189 (ldbl_canonicalize): Likewise.
12190 (ldbl_nearbyint): Likewise.
12191 (ldbl_pack): Rename to ldbl_pack_ppc.
12192 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12193 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12194 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12196 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12199 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12200 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12201 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12203 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12204 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12205 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12207 2013-03-07 Andreas Jaeger <aj@suse.de>
12209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12212 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12214 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12215 Include mpa.h and declare __MPEXP.
12216 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12217 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12218 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12219 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12220 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12221 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12222 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12224 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12225 (__slowpow): Use long double EXPL and LOGL functions to
12227 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12228 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12229 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12230 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12231 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12232 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12235 intermediate variable to calculate exponent.
12237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12241 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12242 [!NO__SQR]: Define __sqr.
12243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12244 and NO__SQR. Remove all code except __mul and __sqr. Include
12245 sysdeps/ieee754/dbl-64/mpa.c.
12246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12249 * posix/Makefile (tests): Add tst-pathconf.
12250 * posix/tst-pathconf.c: New test case.
12251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12253 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12255 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12257 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12259 2013-03-06 Andreas Jaeger <aj@suse.de>
12261 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12262 definition via __MAP_ANONYMOUS.
12264 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12265 it's not part of Linux headers.
12267 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12268 (MAP_HUGE_MASK): Define.
12270 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12272 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12275 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12276 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12278 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12281 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12283 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12284 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12285 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12286 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12287 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12288 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12290 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12293 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12294 Handle f2fs and efivarfs.
12296 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12299 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12300 (EFIVARFS_MAGIC): Add.
12301 (F2FS_LINK_MAX): Add.
12303 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12305 * stdio-common/vfprintf.c: Replace __builtin_expect with
12308 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12311 * sysdeps/generic/bp-sym.h: Remove file.
12312 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12313 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12314 <bp-sym.h> and <bp-asm.h>.
12315 (__longjmp): Don't use BP_SYM.
12316 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12318 (memcpy): Don't use BP_SYM.
12319 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12320 <bp-sym.h> and <bp-asm.h>.
12321 (memcpy): Don't use BP_SYM.
12322 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12324 (memcpy): Don't use BP_SYM.
12325 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12327 (memset): Don't use BP_SYM.
12328 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12329 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12330 (__bzero): Don't use BP_SYM.
12331 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12332 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12333 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12334 <bp-sym.h> and <bp-asm.h>.
12335 (memcmp): Don't use BP_SYM. Remove comment about bounded
12337 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12338 <bp-sym.h> and <bp-asm.h>.
12339 (memcpy): Don't use BP_SYM.
12340 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12341 <bp-sym.h> and <bp-asm.h>.
12342 (memset): Don't use BP_SYM.
12343 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12344 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12345 (__bzero): Don't use BP_SYM.
12346 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12347 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12348 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12349 <bp-sym.h> and <bp-asm.h>.
12350 (strncmp): Don't use BP_SYM. Remove comment about bounded
12352 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12353 <bp-sym.h> and <bp-asm.h>.
12354 (memcpy): Don't use BP_SYM.
12355 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12356 <bp-sym.h> and <bp-asm.h>.
12357 (memset): Don't use BP_SYM.
12358 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12359 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12360 (__bzero): Don't use BP_SYM.
12361 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12362 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12363 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12364 <bp-sym.h> and <bp-asm.h>.
12365 (__memchr): Don't use BP_SYM.
12366 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12367 <bp-sym.h> and <bp-asm.h>.
12368 (memcmp): Don't use BP_SYM. Remove comment about bounded
12370 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12371 <bp-sym.h> and <bp-asm.h>.
12372 (memcpy): Don't use BP_SYM.
12373 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12374 <bp-sym.h> and <bp-asm.h>.
12375 (__mempcpy): Don't use BP_SYM.
12376 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12377 <bp-sym.h> and <bp-asm.h>.
12378 (__memrchr): Don't use BP_SYM.
12379 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12380 <bp-sym.h> and <bp-asm.h>.
12381 (memset): Don't use BP_SYM.
12382 (__bzero): Likewise.
12383 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12384 <bp-sym.h> and <bp-asm.h>.
12385 (__rawmemchr): Don't use BP_SYM.
12386 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12387 <bp-sym.h> and <bp-asm.h>.
12388 (__STRCMP): Don't use BP_SYM.
12389 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12390 <bp-sym.h> and <bp-asm.h>.
12391 (strchr): Don't use BP_SYM.
12392 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12393 <bp-sym.h> and <bp-asm.h>.
12394 (__strchrnul): Don't use BP_SYM.
12395 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12396 <bp-sym.h> and <bp-asm.h>.
12397 (strlen): Don't use BP_SYM.
12398 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12399 <bp-sym.h> and <bp-asm.h>.
12400 (strncmp): Don't use BP_SYM. Remove comment about bounded
12402 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12403 <bp-sym.h> and <bp-asm.h>.
12404 (__strnlen): Don't use BP_SYM.
12405 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12406 <bp-sym.h> and <bp-asm.h>.
12407 (__GI__setjmp): Don't use BP_SYM.
12408 (_setjmp): Likewise.
12409 (__sigsetjmp): Likewise.
12410 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12411 (L(start_addresses)): Don't use BP_SYM.
12412 (_start): Likewise.
12413 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12415 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12416 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12417 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12418 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12419 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12421 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12422 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12423 about bounded pointers.
12424 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12425 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12426 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12428 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12429 about bounded pointers. Remove GKM FIXME comments.
12430 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12431 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12433 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12434 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12435 Remove GKM FIXME comments.
12436 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12437 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12438 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12440 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12441 about bounded pointers. Remove GKM FIXME comment.
12442 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12444 (strncmp): Don't use BP_SYM. Remove comment about bounded
12446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12447 <bp-sym.h> and <bp-asm.h>.
12448 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12450 <bp-sym.h> and <bp-asm.h>.
12451 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12454 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12456 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12459 2013-03-05 David S. Miller <davem@davemloft.net>
12461 * po/es.po: Update from translation team.
12463 2013-03-05 Andreas Jaeger <aj@suse.de>
12465 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12466 <bits/mman-linux.h>.
12467 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12469 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12470 <bits/mman-linux.h> to end of file.
12471 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12473 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12474 <bits/mman-linux.h> to end of file.
12475 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12477 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12478 <bits/mman-linux.h> to end of file.
12480 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12481 (MCL_CURRENT, MCL_FUTURE): Define here.
12483 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12486 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12488 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12490 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12492 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12493 fourth parameter needed for rt_sigprocmask syscall.
12494 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12495 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12496 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12497 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12498 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12499 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12501 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12504 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12505 comment about bounded pointers.
12506 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12507 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12509 2013-03-04 Andreas Jaeger <aj@suse.de>
12511 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12512 common definitions.
12514 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12515 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12516 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12517 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12518 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12519 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12521 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12524 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12525 __ieee754_sqrl instead of __sqrl.
12527 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12529 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12530 * sysdeps/powerpc/fpu_control.h: ... here.
12531 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12532 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12533 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12534 * sysdeps/powerpc/bits/mathinline.h: ... here.
12536 2013-03-01 Roland McGrath <roland@hack.frob.com>
12538 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12539 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12540 to just [NEED_DL_SYSINFO_DSO].
12541 * elf/dl-support.c: Likewise.
12542 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12543 * elf/rtld.c (dl_main): Likewise.
12544 * elf/setup-vdso.h (setup_vdso): Likewise.
12545 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12546 * sysdeps/unix/sysv/linux/dl-sysdep.c
12547 (_dl_discover_osversion): Likewise.
12549 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12551 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12552 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12554 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12556 * NEWS: Mention libm performance improvements and non-x86 PI
12559 * csu/libc-start.c (__pthread_initialize_minimal): Change
12560 function arguments.
12561 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12563 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12566 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12567 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12568 <bp-sym.h> and <bp-asm.h>.
12569 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12570 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12572 (memcpy): Don't use BP_SYM.
12573 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12575 (__mpn_add_n): Don't use BP_SYM.
12576 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12577 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12579 (__mpn_addmul_1): Don't use BP_SYM.
12580 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12581 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12583 (_setjmp): Don't use BP_SYM.
12584 (__novmx_setjmp): Likewise.
12585 (__GI__setjmp): Likewise.
12586 (__vmx_setjmp): Likewise.
12587 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12589 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12590 (__bzero): Don't use BP_SYM.
12591 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12592 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12593 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12594 <bp-sym.h> and <bp-asm.h>.
12595 (memcpy): Don't use BP_SYM.
12596 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12597 <bp-sym.h> and <bp-asm.h>.
12598 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12599 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12600 <bp-sym.h> and <bp-asm.h>.
12601 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12602 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12604 (__mpn_lshift): Don't use BP_SYM.
12605 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12606 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12608 (memset): Don't use BP_SYM.
12609 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12610 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12611 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12613 (__mpn_mul_1): Don't use BP_SYM.
12614 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12615 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12616 <bp-sym.h> and <bp-asm.h>.
12617 (memcmp): Don't use BP_SYM.
12618 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12619 <bp-sym.h> and <bp-asm.h>.
12620 (memcpy): Don't use BP_SYM.
12621 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12622 <bp-sym.h> and <bp-asm.h>.
12623 (memset): Don't use BP_SYM.
12624 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12625 <bp-sym.h> and <bp-asm.h>.
12626 (strncmp): Don't use BP_SYM.
12627 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12628 <bp-sym.h> and <bp-asm.h>.
12629 (memcpy): Don't use BP_SYM.
12630 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12631 <bp-sym.h> and <bp-asm.h>.
12632 (memset): Don't use BP_SYM.
12633 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12634 <bp-sym.h> and <bp-asm.h>.
12635 (__memchr): Don't use BP_SYM.
12636 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12637 <bp-sym.h> and <bp-asm.h>.
12638 (memcmp): Don't use BP_SYM.
12639 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12640 <bp-sym.h> and <bp-asm.h>.
12641 (memcpy): Don't use BP_SYM.
12642 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12643 <bp-sym.h> and <bp-asm.h>.
12644 (__mempcpy): Don't use BP_SYM.
12645 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12646 <bp-sym.h> and <bp-asm.h>.
12647 (__memrchr): Don't use BP_SYM.
12648 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12649 <bp-sym.h> and <bp-asm.h>.
12650 (memset): Don't use BP_SYM.
12651 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12652 <bp-sym.h> and <bp-asm.h>.
12653 (__rawmemchr): Don't use BP_SYM.
12654 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12655 <bp-sym.h> and <bp-asm.h>.
12656 (__STRCMP): Don't use BP_SYM.
12657 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12658 <bp-sym.h> and <bp-asm.h>.
12659 (strchr): Don't use BP_SYM.
12660 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12661 <bp-sym.h> and <bp-asm.h>.
12662 (__strchrnul): Don't use BP_SYM.
12663 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12664 <bp-sym.h> and <bp-asm.h>.
12665 (strlen): Don't use BP_SYM.
12666 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12667 <bp-sym.h> and <bp-asm.h>.
12668 (strncmp): Don't use BP_SYM.
12669 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12670 <bp-sym.h> and <bp-asm.h>.
12671 (__strnlen): Don't use BP_SYM.
12672 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12674 (__mpn_rshift): Don't use BP_SYM.
12675 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12676 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12677 <bp-sym.h> and <bp-asm.h>.
12678 (__sigsetjmp): Don't use BP_SYM.
12679 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12680 (L(start_addresses)): Don't use BP_SYM.
12681 (_start): Likewise.
12682 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12684 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12685 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12686 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12687 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12689 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12690 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12691 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12692 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12694 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12696 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12697 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12699 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12701 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12702 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12703 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12705 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12707 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12709 (strncmp): Don't use BP_SYM,
12710 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12712 (__mpn_sub_n): Don't use BP_SYM.
12713 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12714 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12716 (__mpn_submul_1): Don't use BP_SYM.
12717 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12719 <bp-sym.h> and <bp-asm.h>.
12720 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12722 <bp-sym.h> and <bp-asm.h>.
12723 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12726 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12729 Use ZK to minimize writes to Z.
12730 (sub_magnitudes): Simplify code a bit.
12731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12732 Use ZK to minimize writes to Z.
12733 (sub_magnitudes): Simplify code a bit.
12735 2013-02-27 Roland McGrath <roland@hack.frob.com>
12737 * csu/gmon-start.c: Add special exception to license text.
12739 2013-02-27 Richard Henderson <rth@redhat.com>
12741 * scripts/config.guess: Update from config.git.
12742 * scripts/config.sub: Likewise.
12744 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12746 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12748 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12750 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12752 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12754 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12756 2013-02-26 Roland McGrath <roland@hack.frob.com>
12758 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12759 [$(build-shared = yes].
12761 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12763 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12764 (__mul): Reduce iterations for calculating mantissa.
12766 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12768 (__mpranred): Likewise.
12771 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12772 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12774 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12776 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12777 Define __attribute__.
12779 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12781 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12783 * posix/regex_internal.h (__attribute): Remove.
12784 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12785 (re_string_context_at): Likewise.
12786 (bitset_not): Use __attribute__ and mark function as possibly
12788 (bitset_merge): Likewise.
12789 (bitset_mask): Likewise.
12790 (re_string_char_size_at): Likewise.
12791 (re_string_wchar_at): Likewise.
12792 (re_string_elem_size_at): Likewise.
12794 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12796 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12800 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12804 (denorm): Likewise.
12805 (__dbl_mp): Likewise.
12806 (add_magnitudes): Likewise.
12807 (sub_magnitudes): Likewise.
12811 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12814 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12817 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12821 up changes with default code.
12822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12825 2013-02-24 Allan McRae <allan@archlinux.org>
12827 * manual/socket.texi (The Internet Namespace): Order menu items
12828 to match that in the file.
12830 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12831 node listing of the info page menu.
12833 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12836 * sysdeps/i386/bp-asm.h: Remove file.
12837 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12838 (PARMS): Do not use macros from bp-asm.h.
12842 (__mpn_add_n): Do not use BP_SYM
12843 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12845 (PARMS): Do not use macros from bp-asm.h.
12848 (__mpn_addmul_1): Do not use BP_SYM
12849 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12851 (PARMS): Do not use macros from bp-asm.h.
12852 (SIGMSK): Likewise.
12853 (_setjmp): Likewise. Do not use BP_SYM.
12854 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12856 (PARMS): Do not use macros from bp-asm.h.
12857 (SIGMSK): Likewise.
12858 (setjmp): Likewise. Do not use BP_SYM.
12859 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12861 (PARMS): Do not use macros from bp-asm.h.
12862 (__frexp): Do not use BP_SYM.
12864 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12866 (PARMS): Do not use macros from bp-asm.h.
12867 (__frexpf): Do not use BP_SYM.
12868 (frexpf): Likewise.
12869 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12871 (PARMS): Do not use macros from bp-asm.h.
12872 (__frexpl): Do not use BP_SYM.
12873 (frexpl): Likewise.
12874 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12876 (PARMS): Do not use macros from bp-asm.h.
12877 (__remquo): Do not use BP_SYM.
12878 (remquo): Likewise.
12879 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12881 (PARMS): Do not use macros from bp-asm.h.
12882 (__remquof): Do not use BP_SYM.
12883 (remquof): Likewise.
12884 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12886 (PARMS): Do not use macros from bp-asm.h.
12887 (__remquol): Do not use BP_SYM.
12888 (remquol): Likewise.
12889 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12891 (PARMS): Do not use macros from bp-asm.h.
12894 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12895 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12897 (PARMS): Do not use macros from bp-asm.h.
12898 (strlen): Do not use BP_SYM.
12899 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12901 (PARMS): Do not use macros from bp-asm.h.
12905 (__mpn_add_n): Do not use BP_SYM.
12906 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12908 (PARMS): Do not use macros from bp-asm.h.
12911 (__mpn_addmul_1): Do not use BP_SYM.
12912 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12915 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12917 (PARMS): Do not use macros from bp-asm.h.
12920 (__mpn_lshift): Do not use BP_SYM.
12921 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12923 (PARMS): Do not use macros from bp-asm.h.
12927 (memcpy): Likewise. Do not use BP_SYM.
12928 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12929 libc_hidden_def and weak_alias.
12930 (mempcpy): Do not use BP_SYM in weak_alias.
12931 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12933 (PARMS): Do not use macros from bp-asm.h.
12936 [!BZERO_P] (CHR): Likewise.
12937 (memset): Likewise. Do not use BP_SYM.
12938 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12940 (PARMS): Do not use macros from bp-asm.h.
12943 (__mpn_mul_1): Do not use BP_SYM.
12944 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12946 (PARMS): Do not use macros from bp-asm.h.
12949 (__mpn_rshift): Do not use BP_SYM.
12950 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12952 (PARMS): Do not use macros from bp-asm.h.
12955 (strchr): Likewise. Do not use BP_SYM.
12956 (index): Do not use BP_SYM in weak_alias.
12957 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12959 (PARMS): Do not use macros from bp-asm.h.
12962 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12963 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12965 (PARMS): Do not use macros from bp-asm.h.
12966 (strlen): Do not use BP_SYM.
12967 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12969 (PARMS): Do not use macros from bp-asm.h.
12973 (__mpn_sub_n): Do not use BP_SYM.
12974 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12976 (PARMS): Do not use macros from bp-asm.h.
12979 (__mpn_submul_1): Do not use BP_SYM.
12980 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12982 (PARMS): Do not use macros from bp-asm.h.
12986 (__mpn_add_n): Do not use BP_SYM.
12987 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12990 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12992 (PARMS): Do not use macros from bp-asm.h.
12995 (memcmp): Do not use BP_SYM.
12996 (bcmp): Do not use BP_SYM in weak_alias.
12997 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12999 (PARMS): Do not use macros from bp-asm.h.
13003 (memcpy): Likewise. Do not use BP_SYM.
13004 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13006 (PARMS): Do not use macros from bp-asm.h.
13010 (memmove): Likewise. Do not use BP_SYM.
13011 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13013 (PARMS): Do not use macros from bp-asm.h.
13017 (__mempcpy): Likewise. Do not use BP_SYM.
13018 (mempcpy): Do not use BP_SYM in weak_alias.
13019 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13021 (PARMS): Do not use macros from bp-asm.h.
13024 [!BZERO_P] (CHR): Likewise.
13025 (memset): Likewise. Do not use BP_SYM.
13026 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13028 (PARMS): Do not use macros from bp-asm.h.
13030 (strcmp): Do not use BP_SYM.
13031 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13033 (PARMS): Do not use macros from bp-asm.h.
13036 [USE_AS_STRTOK_R] (SAVE): Likewise.
13037 (FUNCTION): Likewise. Do not use BP_SYM.
13038 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13040 (strtok_r): Likewise.
13041 (__GI___strtok_r): Likewise.
13042 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13043 (PARMS): Do not use macros from bp-asm.h.
13046 (__mpn_lshift): Do not use BP_SYM.
13047 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13048 (PARMS): Do not use macros from bp-asm.h.
13051 (__memchr): Do not use BP_SYM.
13052 (memchr): Do not use BP_SYM in weak_alias.
13053 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13054 (PARMS): Do not use macros from bp-asm.h.
13057 (memcmp): Do not use BP_SYM.
13058 (bcmp): Do not use BP_SYM in weak_alias.
13059 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13060 (PARMS): Do not use macros from bp-asm.h.
13063 (__mpn_mul_1): Do not use BP_SYM.
13064 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13066 (PARMS): Do not use macros from bp-asm.h.
13069 (__rawmemchr): Do not use BP_SYM.
13070 (rawmemchr): Do not use BP_SYM in weak_alias.
13071 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13072 (PARMS): Do not use macros from bp-asm.h.
13075 (__mpn_rshift): Do not use BP_SYM.
13076 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13077 (PARMS): Do not use macros from bp-asm.h.
13078 (SIGMSK): Likewise.
13079 (__sigsetjmp): Likewise. Do not use BP_SYM.
13080 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13081 (_start): Do not use BP_SYM.
13082 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13083 (PARMS): Do not use macros from bp-asm.h.
13086 (__stpcpy): Likewise. Do not use BP_SYM.
13087 (stpcpy): Do not use BP_SYM in weak_alias.
13088 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13090 (PARMS): Do not use macros from bp-asm.h.
13094 (__stpncpy): Likewise. Do not use BP_SYM.
13095 (stpncpy): Do not use BP_SYM in weak_alias.
13096 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13097 (PARMS): Do not use macros from bp-asm.h.
13100 (strchr): Likewise. Do not use BP_SYM.
13101 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13103 (PARMS): Do not use macros from bp-asm.h.
13106 (__strchrnul): Likewise. Do not use BP_SYM.
13107 (strchrnul): Do not use BP_SYM in weak_alias.
13108 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13110 (PARMS): Do not use macros from bp-asm.h.
13112 (strcspn): Do not use BP_SYM.
13113 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13115 (PARMS): Do not use macros from bp-asm.h.
13118 (strpbrk): Likewise. Do not use BP_SYM.
13119 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13121 (PARMS): Do not use macros from bp-asm.h.
13124 (strrchr): Likewise. Do not use BP_SYM.
13125 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13126 (PARMS): Do not use macros from bp-asm.h.
13128 (strspn): Do not use BP_SYM.
13129 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13130 (PARMS): Do not use macros from bp-asm.h.
13134 (FUNCTION): Likewise. Do not use BP_SYM.
13135 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13137 (strtok_r): Likewise.
13138 (__GI___strtok_r): Likewise.
13139 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13140 (PARMS): Do not use macros from bp-asm.h.
13144 (__mpn_sub_n): Do not use BP_SYM.
13145 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13147 (PARMS): Do not use macros from bp-asm.h.
13150 (__mpn_submul_1): Do not use BP_SYM.
13151 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13153 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13155 (PARMS): Do not use macros from bp-asm.h.
13160 (__clone): Do not use BP_SYM.
13161 (clone): Do not use BP_SYM in weak_alias.
13162 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13164 (PARMS): Do not use macros from bp-asm.h.
13166 (__mmap64): Do not use BP_SYM.
13167 (mmap64): Do not use BP_SYM in weak_alias.
13168 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13169 <bp-sym.h> and <bp-asm.h>.
13170 (PARMS): Do not use macros from bp-asm.h.
13171 (__posix_fadvise64_l64): Do not use BP_SYM.
13172 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13173 (PARMS): Do not use macros from bp-asm.h.
13175 (semtimedop): Do not use BP_SYM.
13176 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13179 2013-02-21 Allan McRae <allan@archlinux.org>
13181 * manual/message.texi (Charset conversion in gettext):
13182 Move @end statement to beginning of line.
13184 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13191 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13192 (denorm): Likewise.
13193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13196 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13198 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13199 tail-call to the resolved function if pltexit isn't needed.
13201 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13204 or Y being zero as being unlikely.
13205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13208 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13210 * manual/nss.texi (System Databases and Name Service Switch):
13211 Remove frobnicate @pxref.
13213 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13215 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13216 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13218 2013-02-20 Petr Machata <pmachata@redhat.com>
13220 * elf/elf.h (R_ARM_TARGET1): New macro.
13221 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13222 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13223 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13224 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13225 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13226 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13227 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13228 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13229 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13230 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13231 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13232 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13233 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13234 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13235 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13236 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13237 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13238 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13239 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13240 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13241 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13242 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13243 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13244 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13245 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13246 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13247 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13248 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13249 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13250 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13251 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13252 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13253 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13254 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13255 (R_ARM_THM_GOT_BREL12): Likewise.
13256 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13257 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13258 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13259 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13260 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13261 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13262 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13263 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13264 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13266 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13268 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13269 __attribute_used__ to __attribute__ ((unused)).
13271 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13273 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13276 comment formatting.
13277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13279 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13282 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13284 (ENTER): Remove both macro definitions.
13286 (CHECK_BOUNDS_LOW): Likewise.
13287 (CHECK_BOUNDS_HIGH): Likewise.
13288 (CHECK_BOUNDS_BOTH): Likewise.
13289 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13290 (RETURN_BOUNDED_POINTER): Likewise.
13291 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13292 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13293 (POP_ERRNO_LOCATION_RETURN): Likewise.
13294 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13295 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13296 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13298 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13299 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13300 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13301 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13302 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13303 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13304 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13305 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13306 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13307 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13308 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13309 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13310 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13311 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13313 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13314 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13316 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13317 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13318 * sysdeps/i386/i586/memset.S (memset): Likewise.
13319 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13320 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13321 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13323 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13324 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13325 Change uses of L(2) to L(out).
13326 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13327 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13328 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13329 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13330 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13332 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13333 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13335 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13336 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13337 (RETURN): Do not use macro LEAVE.
13338 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13339 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13340 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13341 * sysdeps/i386/i686/memset.S (memset): Likewise.
13342 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13343 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13344 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13345 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13347 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13348 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13349 L(1_2) and L(1_3) into L(1).
13350 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13351 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13352 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13353 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13354 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13355 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13356 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13357 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13358 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13360 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13361 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13362 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13363 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13364 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13365 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13366 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13367 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13368 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13369 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13370 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13371 * sysdeps/i386/strspn.S (strspn): Likewise.
13372 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13374 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13375 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13376 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13377 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13378 L(1_3) into L(1_1).
13379 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13380 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13381 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13383 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13385 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13387 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13390 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13392 * math/atest-exp.c (exp_mpn): Remove ROUND.
13393 * math/atest-exp2.c (exp_mpn): Likewise.
13394 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13396 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13397 * stdlib/tst-tls-atexit-lib.c: Likewise.
13398 * stdlib/tst-tls-atexit.c: Likewise.
13400 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13402 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13403 and __attribute_alloc_size__.
13405 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13407 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13408 __attribute_alloc_size__.
13409 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13410 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13412 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13414 * include/programs/xmalloc.h: New file.
13415 * catgets/gencat.c: Include it.
13416 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13417 * elf/pldd.c: Likewise.
13418 * iconv/iconv_charmap.c: Likewise.
13419 * iconv/iconvconfig.c: Likewise.
13420 * iconv/strtab.c: Likewise.
13421 * locale/programs/locale.c: Likewise.
13422 * locale/programs/localedef.h: Likewise.
13423 * locale/programs/simple-hash.c: Likewise.
13424 * nscd/nscd.h: Likewise.
13425 * nss/makedb.c: Likewise.
13426 * sysdeps/generic/ldconfig.h: Likewise.
13428 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13430 * Versions.def: Add GLIBC_2.18.
13431 * include/link.h (struct link_map): New member l_tls_dtor_count.
13432 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13433 (__call_tls_dtors): Likewise.
13434 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13435 __cxa_thread_atexit_impl.
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13444 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13452 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13453 (tests): Add test case tst-tls-atexit.
13454 (modules-names): Add shared library for tst-tls-atexit.
13455 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13456 (GLIBC_PRIVATE): Add __call_tls_dtors.
13457 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13459 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13460 * stdlib/tst-tls-atexit.c: New test case.
13461 * stdlib/tst-tls-atexit-lib.c: New test case.
13463 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13465 * elf/Versions (ld): Add _dl_find_dso_for_object.
13466 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13467 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13468 (dl_open_worker): Use _dl_find_dso_for_object.
13469 * elf/dl-sym.c (do_sym): Likewise.
13470 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13472 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13474 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13475 Syntactic changes only.
13476 (_dl_runtime_profile): Do a tail-call to the resolved function.
13478 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13481 * sysdeps/x86_64/bp-asm.h: Remove file.
13482 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13483 <bp-sym.h> and <bp-asm.h>.
13484 (__clone): Do not use BP_SYM.
13485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13486 <bp-sym.h> and <bp-asm.h>.
13487 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13488 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13490 (_setjmp): Do not use BP_SYM.
13491 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13493 (setjmp): Do not use BP_SYM.
13494 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13496 (mempcpy): Do not use BP_SYM in weak_alias.
13497 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13499 (strchr): Do not use BP_SYM.
13500 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13502 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13503 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13504 (_start): Do not use BP_SYM.
13505 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13507 (strcat): Do not use BP_SYM.
13508 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13510 (STRCMP): Do not use BP_SYM.
13511 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13513 (STRCPY): Do not use BP_SYM.
13514 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13516 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13518 (FUNCTION): Do not use BP_SYM.
13519 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13521 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13523 2013-02-17 Andreas Jaeger <aj@suse.de>
13525 * time/Versions: Sort entries.
13526 * string/Versions: Likewise.
13527 * resolv/Versions: Likewise.
13528 * posix/Versions: Likewise.
13529 * iconv/Versions: Likewise.
13530 * elf/Versions: Likewise.
13531 * wcsmbs/Versions: Likewise.
13533 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13535 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13536 loop termination condition.
13538 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13539 variable to calculate EZ.
13542 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13543 the lower precision input.
13545 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13548 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13549 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13550 (run-via-rtld-prefix): Do not handle %-bp tests.
13551 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13552 (all-object-suffixes): Remove .ob.
13553 (bppfx): Remove variable.
13554 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13555 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13556 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13557 [$(build-bounded) = yes] (libtype.ob): Likewise.
13558 * Makerules (elide-routines.ob): Remove variable.
13559 (do-tests-clean): Do not handle *-bp.out.
13560 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13561 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13562 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13563 (tests): Do not include $(tests-bp.out).
13564 (xtests): Do not include $(xtests-bp.out).
13565 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13566 [$(build-bounded) = yes] ($(addprefix
13567 $(objpfx),$(binaries-bounded))): Remove rule.
13568 ($(objpfx)%-bp.out): Remove rule.
13569 * config.make.in (build-bounded): Remove variable.
13570 * crypt/Makefile [$(build-bounded) = yes]
13571 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13572 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13573 append to variable.
13574 [$(build-bounded) = yes] (install-lib): Likewise.
13575 [$(build-bounded) = yes] (generated): Likewise.
13576 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13578 * intl/Makefile [$(build-bounded) = yes]
13579 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13580 * math/Makefile [$(build-bounded) = yes]
13581 ($(tests:%=$(objpfx)%-bp): Likewise.
13582 * misc/Makefile [$(build-bounded) = yes]
13583 ($(objpfx)tst-tsearch-bp): Likewise.
13584 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13585 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13587 * string/Makefile (o-objects.ob): Remove variable.
13588 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13589 (CFLAGS-.ob): Remove variable.
13590 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13591 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13592 both definitions of variable.
13593 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13594 (ASFLAGS-.ob): Remove variable.
13596 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13599 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13600 Remove __BOUNDED_POINTERS__ from condition.
13601 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13602 * string/bits/string2.h [!__NO_STRING_INLINES &&
13603 !__BOUNDED_POINTERS__]: Likewise.
13604 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13606 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13607 Remove conditional code.
13608 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13609 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13610 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13614 * csu/libc-start.c: Do not include <bp-sym.h>.
13615 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13616 * elf/dl-open.c: Do not include <bp-sym.h>.
13617 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13618 * math/fegetenv.c: Do not include <bp-sym.h>.
13619 (fegetenv): Do not use BP_SYM in versioned symbols.
13620 * nptl/sysdeps/pthread/bits/libc-lockP.h
13621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13624 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13626 (__pthread_mutex_destroy): Likewise.
13627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13628 (__pthread_mutex_lock): Likewise.
13629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13630 (__pthread_mutex_trylock): Likewise.
13631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13632 (__pthread_mutex_unlock): Likewise.
13633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13634 (__pthread_mutexattr_init): Likewise.
13635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13636 (__pthread_mutexattr_destroy): Likewise.
13637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13638 (__pthread_mutexattr_settype): Likewise.
13639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13640 (__pthread_rwlock_init): Likewise.
13641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13642 (__pthread_rwlock_destroy): Likewise.
13643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13644 (__pthread_rwlock_rdlock): Likewise.
13645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13646 (__pthread_rwlock_tryrdlock): Likewise.
13647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13648 (__pthread_rwlock_wrlock): Likewise.
13649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13650 (__pthread_rwlock_trywrlock): Likewise.
13651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13652 (__pthread_rwlock_unlock): Likewise.
13653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13654 (__pthread_key_create): Likewise.
13655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13656 (__pthread_setspecific): Likewise.
13657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13658 (__pthread_getspecific): Likewise.
13659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13662 (_pthread_cleanup_push_defer): Likewise.
13663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13664 (_pthread_cleanup_pop_restore): Likewise.
13665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13666 (pthread_setcancelstate): Likewise.
13667 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13669 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13670 (memchr): Do not use BP_SYM in weak_alias.
13671 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13672 (fegetenv): Do not use BP_SYM in versioned symbols.
13673 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13674 (fesetenv): Do not use BP_SYM in versioned symbols.
13675 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13676 (feupdateenv): Do not use BP_SYM in versioned symbols.
13677 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13678 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13679 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13680 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13681 (open64): Do not use BP_SYM in weak_alias.
13682 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13683 (fegetenv): Do not use BP_SYM in versioned symbols.
13684 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13685 (fesetenv): Do not use BP_SYM in versioned symbols.
13686 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13687 (feupdateenv): Do not use BP_SYM in versioned symbols.
13688 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13689 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13690 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13691 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13692 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13693 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13694 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13696 (__libc_start_main): Do not use BP_SYM.
13698 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13701 redundant return line.
13703 (denorm): Likewise.
13704 (dbl_mp): Likewise.
13705 (sub_magnitudes): Likewise.
13711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13713 (denorm): Likewise.
13714 (dbl_mp): Likewise.
13715 (sub_magnitudes): Likewise.
13722 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13724 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13725 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13728 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13729 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13731 of __mul for squares.
13732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13736 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13737 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13739 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13742 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13744 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13745 prototype or function definition. Rename ubp_* variables and
13746 parameters. Remove argv definitions conditional on
13747 [__BOUNDED_POINTERS__].
13748 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13749 * elf/dl-runtime.c (_dl_fixup): Likewise.
13750 * include/set-hooks.h (RUN_HOOK): Likewise.
13751 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13753 * string/strcpy.c (strcpy): Do not use __unbounded.
13754 * sysdeps/generic/frame.h (struct layout): Likewise.
13755 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13756 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13757 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13758 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13759 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13760 (__backtrace): Likewise.
13761 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13763 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13764 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13765 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13767 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13768 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13769 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13770 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13771 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13772 Do not use __unbounded.
13773 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13774 Rename __unboundedrlimits parameter to rlimits in prototype.
13775 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13776 Do not use __unbounded.
13777 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13778 not use __ptrvalue.
13779 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13780 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13781 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13782 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13783 __ptrvalue or __unbounded.
13784 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13785 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13787 (__new_msgctl): Do not use __ptrvalue.
13788 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13790 (__libc_msgrcv): Do not use __ptrvalue.
13791 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13792 startup_info): Do not use __unbounded.
13793 (__libc_start_main): Likewise. Rename ubp_* variables and
13794 parameters. Remove argv definitions conditional on
13795 [__BOUNDED_POINTERS__].
13796 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13798 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13800 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13802 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13804 (__new_shmctl): Do not use __ptrvalue.
13805 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13806 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13808 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13809 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13810 (__libc_sigaction): Likewise.
13811 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13812 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13814 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13816 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13818 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13820 * string/mempcpy.c: Implement by calling memcpy.
13822 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13829 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13830 values in the mantissa.
13832 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13833 minimize writes to Z.
13834 (sub_magnitudes): Simplify code a bit.
13836 2013-02-12 Roland McGrath <roland@hack.frob.com>
13838 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13839 from the message. The linker prefixes all warnings with that already.
13841 2013-02-12 Andreas Schwab <schwab@suse.de>
13844 * posix/regexec.c (extend_buffers): Add parameter min_len.
13845 (check_matching): Pass minimum needed length.
13846 (clean_state_log_if_needed): Likewise.
13847 (get_subexp): Likewise.
13848 * posix/Makefile (tests): Add bug-regex34.
13849 (bug-regex34-ENV): Define.
13850 * posix/bug-regex34.c: New file.
13853 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13854 elements compare against the byte sequence of it, not its name.
13855 * posix/Makefile (tests): Add bug-regex35.
13856 (bug-regex35-ENV): Define.
13857 * posix/bug-regex35.c: New file.
13859 2013-02-11 Tom de Vries <tom@codesourcery.com>
13861 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13863 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13864 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13865 (CHECK_EOL): Add undef.
13867 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13869 * bits/stdlib-bsearch.h: New file.
13870 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13871 * stdlib/stdlib.h: Likewise.
13873 2013-02-11 Roland McGrath <roland@hack.frob.com>
13875 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13876 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13878 * manual/search.texi (Array Search Function): Add missing const in
13880 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13881 declaration to use rlim_t.
13882 (Basic Scheduling Functions): Remove erroneous const from
13883 sched_getparam prototype. Remove erroneous * from
13884 sched_get_priority_max and sched_get_priority_min prototypes.
13885 (Resource Usage): Fix summary @comment on vtimes to refer to
13886 sys/vtimes.h rather than vtimes.h.
13887 Add missing *s in vtimes prototype.
13888 (Limits on Resources): Fix ulimit prototype to return long int.
13889 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13890 prototypes to use long int rather than double.
13891 (BSD Random): Fix initstate and setstate to use char *, not void *.
13892 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13893 prototype to make second argument 'struct aiocb64 *const[]'.
13894 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13895 (Status of AIO Operations): Remove erroneous const in aio_return and
13896 aio_return64 prototypes.
13897 (Synchronizing I/O): Fix sync prototype to return void.
13898 * manual/startup.texi (Suboptions): Remove an erroneous const in
13899 getsubopt prototype.
13900 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13901 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13902 use size_t rather than int.
13903 (Scanning All Users): Likewise for getpwent_r.
13904 (Setting Groups): Add missing const to setgroups prototype.
13905 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13906 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13907 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13908 'const void *' rather than 'const char *'.
13909 (Host Address Functions): Likewise for inet_ntop.
13910 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13911 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13912 ssize_t for return value.
13913 (Sending Data): Likewise for send, sendto, sendmsg.
13914 (Socket Option Functions): Add a missing const in setsockopt prototype.
13915 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13916 use wchar_t for the argument.
13917 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13918 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13920 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13921 double/float/long double for second argument.
13922 Fix return types of significand, significandf, significandl.
13923 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13924 argument in fchmod prototype.
13925 (File Owner): Use uid_t and gid_t in fchown prototype.
13926 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13927 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13928 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13929 use 'const struct dirent **' as argument types to CMP function pointer
13931 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13932 (File Times): Fix summary magic @comment for struct utimbuf and utime
13933 to refer to utime.h, not time.h.
13934 * manual/string.texi (Argz Functions): Add missing const in
13935 argz_extract and argz_next prototypes.
13936 (Finding Tokens in a String): Likewise for basename.
13937 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13938 (Copying and Concatenation): Fix typo in wmemmove prototype.
13939 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13940 (Signal Stack): Remove erroneous const in sigstack prototype.
13941 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13943 (Simple Calendar Time): Likewise for stime.
13944 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13946 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13947 say sys/sysctl.h instead.
13948 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13949 and vsyslog prototypes.
13951 2013-02-11 Tom de Vries <tom@codesourcery.com>
13953 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13956 2013-02-11 Roland McGrath <roland@hack.frob.com>
13958 * misc/sys/mman.h: Fix typo in mremap comment.
13960 2013-02-08 Roland McGrath <roland@hack.frob.com>
13962 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13963 the '\0' terminator.
13965 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13968 * debug/segfault.c: Don't include <bp-checks.h>.
13969 * sysdeps/generic/bp-checks.h: Remove file.
13970 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13971 (__GETDENTS): Don't use CHECK_N.
13972 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13973 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13974 (__getgroups): Don't use CHECK_N.
13975 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13976 (setgroups): Don't use CHECK_N.
13977 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13978 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13979 (__libc_msgrcv): Don't use CHECK_N.
13980 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13981 (__libc_msgsnd): Don't use CHECK_N.
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13984 (__libc_pread): Don't use CHECK_N.
13985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13986 include <bp-checks.h>.
13987 (__libc_pread64): Don't use CHECK_N.
13988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13989 include <bp-checks.h>.
13990 (__libc_pwrite): Don't use CHECK_N.
13991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13992 include <bp-checks.h>.
13993 (__libc_pwrite64): Don't use CHECK_N.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13996 (__libc_pread): Don't use CHECK_N.
13997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13998 include <bp-checks.h>.
13999 (__libc_pread64): Don't use CHECK_N.
14000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14001 include <bp-checks.h>.
14002 (__libc_pwrite): Don't use CHECK_N.
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14004 include <bp-checks.h>.
14005 (__libc_pwrite64): Don't use CHECK_N.
14006 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14007 (do_pread): Don't use CHECK_N.
14008 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14009 (do_pread64): Don't use CHECK_N.
14010 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14011 (do_pwrite): Don't use CHECK_N.
14012 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14013 (do_pwrite64): Don't use CHECK_N.
14014 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14015 (__libc_readv): Don't use CHECK_N.
14016 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14017 (semop): Don't use CHECK_N.
14018 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14020 (semtimedop): Don't use CHECK_N.
14021 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14022 (__libc_pread): Don't use CHECK_N.
14023 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14025 (__libc_pread64): Don't use CHECK_N.
14026 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14028 (__libc_pwrite): Don't use CHECK_N.
14029 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14031 (__libc_pwrite64): Don't use CHECK_N.
14032 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14034 (__libc_msgrcv): Don't use CHECK_N.
14035 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14036 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14037 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14038 (__libc_writev): Don't use CHECK_N.
14040 2013-02-08 Roland McGrath <roland@hack.frob.com>
14042 * string/strcpy.c: Removed unused variable.
14044 * Makeconfig (+sysdep-includes): Define with := rather than =.
14045 Use an existing include/ subdir of each sysdeps dir before it.
14047 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14049 * nscd/connection.c (register_traced_file): Comment function.
14050 [HAVE_INOTIFY] (union __inev): Define.
14051 [HAVE_INOTIFY] (inotify_check_files): New function.
14052 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14053 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14055 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14057 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14059 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14060 loaded if not already and that a failure is permanent.
14062 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14065 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14066 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14068 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14071 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14072 (CHECK_1_NULL_OK): Likewise.
14073 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14074 (__fxstat): Do not use CHECK_1.
14075 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14077 (___fxstat64): Do not use CHECK_1.
14078 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14080 (__fxstatat): Do not use CHECK_1.
14081 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14083 (__fxstatat64): Do not use CHECK_1.
14084 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14086 (__fxstat): Do not use CHECK_1.
14087 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14089 (__fxstatat): Do not use CHECK_1.
14090 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14092 (__getresgid): Do not use CHECK_1.
14093 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14095 (__getresuid): Do not use CHECK_1.
14096 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14098 (__lxstat): Do not use CHECK_1.
14099 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14101 (__old_msgctl): Do not use CHECK_1.
14102 (__new_msgctl): Likewise.
14103 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14105 (__new_setrlimit): Do not use CHECK_1.
14106 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14108 (__old_shmctl): Do not use CHECK_1.
14109 (__new_shmctl): Likewise.
14110 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14112 (__xstat): Do not use CHECK_1.
14113 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14114 (__lxstat): Do not use CHECK_1.
14115 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14117 (___lxstat64): Do not use CHECK_1.
14118 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14119 (__old_msgctl): Do not use CHECK_1.
14120 (__new_msgctl): Likewise.
14121 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14123 (__gettimeofday): Do not use CHECK_1.
14124 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14125 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14126 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14128 (__gettimeofday): Do not use CHECK_1.
14129 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14130 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14131 (__new_shmctl): Do not use CHECK_1.
14132 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14134 (do_sigtimedwait): Do not use CHECK_1.
14135 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14137 (do_sigwaitinfo): Do not use CHECK_1.
14138 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14140 (msgctl): Do not use CHECK_1.
14141 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14143 (shmctl): Do not use CHECK_1.
14144 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14145 (ustat): Do not use CHECK_1.
14146 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14148 (__fxstat): Do not use CHECK_1.
14149 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14151 (__fxstatat): Do not use CHECK_1.
14152 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14154 (__lxstat): Do not use CHECK_1.
14155 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14157 (__xstat): Do not use CHECK_1.
14158 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14159 (__xstat): Do not use CHECK_1.
14160 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14161 (___xstat64): Do not use CHECK_1.
14164 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14166 (CHECK_BOUNDS_HIGH): Likewise.
14167 * string/strcpy.c: Do not include <bp-checks.h>.
14168 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14170 2013-02-07 Roland McGrath <roland@hack.frob.com>
14172 * nscd/nscd-client.h (__nscd_drop_map_ref):
14173 Add __attribute__ ((unused)).
14174 * nis/nss-nisplus.h (niserr2nss): Likewise.
14176 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14177 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14179 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14180 Remove inline keyword.
14181 * include/rounding-mode.h (round_away): Likewise.
14182 * libio/wfileops.c (adjust_wide_data): Likewise.
14183 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14184 (__m128i_strloadu_tolower): Likewise.
14185 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14186 (__m128i_strloadu_tolower): Likewise.
14187 * time/mktime.c (ydhms_diff): Likewise.
14188 * locale/elem-hash.h (elem_hash): Likewise.
14189 * locale/setlocale.c (setdata): Likewise.
14190 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14191 (re_string_wchar_at): Likewise.
14192 (bitset_not, bitset_merge, bitset_mask): Likewise.
14193 [!(__GNUC__ > 3)] (inline): Remove macro.
14194 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14195 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14196 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14197 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14198 * string/memcmp.c (memcmp_bytes): Likewise.
14199 * locale/programs/locarchive.c (compute_hashval): Likewise.
14200 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14201 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14202 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14203 * nss/getent.c (print_rpc, print_protocols): Likewise.
14204 (print_passwd, print_group, print_aliases): Likewise.
14205 * nis/nss-nisplus.h (niserr2nss): Likewise.
14206 * nscd/connections.c (restart_p): Likewise.
14207 Change return type to bool.
14209 2013-02-05 Roland McGrath <roland@hack.frob.com>
14211 * Makeconfig (all-Depend-files): Add existing
14212 $(sorted-subdirs:=/Depend) files.
14213 (all-subdirs): Remove nss.
14214 * sysdeps/unix/inet/Subdirs: Add it here instead.
14215 * hesiod/Depend: New file.
14217 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14218 instead of calling alloca.
14220 * io/lseek.c (__lseek): Rename to __libc_lseek.
14221 Define __lseek as an alias.
14223 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14225 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14227 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14228 else clause and remove check for non-standard endianness.
14230 2013-02-04 David S. Miller <davem@davemloft.net>
14232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14234 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14237 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14238 (__ubp_memchr): Remove prototype.
14239 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14240 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14241 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14242 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14243 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14245 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14246 (__ubp_memchr): Likewise.
14247 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14248 (__ubp_memchr): Likewise.
14249 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14250 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14251 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14252 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14254 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14255 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14256 (__getcwd): Do not use CHECK_STRING.
14257 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14259 (__real_chown): Do not use CHECK_STRING.
14260 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14262 (fchownat): Do not use CHECK_STRING.
14263 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14265 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14267 (__lchown): Do not use CHECK_STRING.
14268 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14269 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14270 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14271 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14273 include <bp-checks.h>.
14274 (truncate64): Do not use CHECK_STRING.
14275 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14277 (__real_chown): Do not use CHECK_STRING.
14278 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14280 (__lchown): Do not use CHECK_STRING.
14281 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14283 (__chown): Do not use CHECK_STRING.
14284 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14286 (truncate64): Do not use CHECK_STRING.
14287 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14289 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14290 (__xmknod): Do not use CHECK_STRING.
14291 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14293 (__xmknodat): Do not use CHECK_STRING.
14294 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14295 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14297 2013-02-04 Andreas Schwab <schwab@suse.de>
14300 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14301 * include/netdb.h: Likewise for h_errno.
14302 * elf/tst-stackguard1.c: Include <tls.h>.
14304 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14306 * elf/link.h (struct link_map): Extend the l_addr comment.
14307 * include/link.h (struct link_map): Likewise.
14309 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14312 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14313 (BOUNDED_1): Remove macro.
14314 * debug/backtrace.c: Don't include <bp-checks.h>.
14315 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14316 (__backtrace): Likewise.
14317 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14319 (__backtrace): Don't use BOUNDED_1.
14320 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14322 (__backtrace): Don't use BOUNDED_1.
14323 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14324 (__backtrace): Don't use BOUNDED_1.
14325 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14326 (shmat): Don't use BOUNDED_N.
14328 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14331 * sysdeps/generic/bp-start.h: Remove file.
14332 * csu/libc-start.c: Don't include <bp-start.h>.
14333 (LIBC_START_MAIN): Set up __environ directly instead of using
14334 INIT_ARGV_and_ENVIRON.
14335 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14339 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14341 (CHECK_FCNTL): Likewise.
14342 (CHECK_N_PAGES): Likewise.
14345 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14347 (CHECK_SIGSET_NULL_OK): Likewise.
14348 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14350 (sigpending): Don't use CHECK_SIGSET.
14351 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14353 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14354 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14356 (do_sigsuspend): Don't use CHECK_SIGSET.
14357 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14359 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14360 (do_sigwait): Don't use CHECK_SIGSET.
14361 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14363 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14364 include <bp-checks.h>.
14365 (sigpending): Don't use CHECK_SIGSET.
14366 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14367 include <bp-checks.h>.
14368 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14369 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14371 (sigpending): Don't use CHECK_SIGSET.
14372 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14374 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14377 * sysdeps/generic/bp-semctl.h: Remove file.
14378 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14379 <bp-checks.h> and <bp-semctl.h>.
14380 (__old_semctl): Don't use CHECK_SEMCTL.
14381 (__new_semctl): Likewise.
14382 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14384 (__old_semctl): Don't use CHECK_SEMCTL.
14385 (__new_semctl): Likewise.
14386 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14387 <bp-checks.h> and <bp-semctl.h>.
14388 (__old_semctl): Don't use CHECK_SEMCTL.
14389 (__new_semctl): Likewise.
14390 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14391 <bp-checks.h> and <bp-semctl.h>.
14392 (semctl): Don't use CHECK_SEMCTL.
14395 * Makerules (elide-bp-thunks): Remove variable.
14396 (elide-routines.oS): Don't use $(elide-bp-thunks).
14397 (elide-routines.os): Likewise.
14398 (elide-routines.o): Likewise.
14399 (elide-routines.op): Likewise.
14400 (elide-routines.og): Likewise.
14401 (objects): Don't use $(bp-thunks).
14402 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14404 (common-generated): Do not add s-proto-bp.d.
14405 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14408 Do not generate makefile rules for bounded-pointer thunks.
14409 * sysdeps/generic/bp-thunks.h: Remove file.
14410 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14411 * sysdeps/unix/s-proto-bp.S: Likewise.
14414 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14415 parts of result separately when argument is not close to line from
14416 -i to i and one part of argument is small.
14417 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14418 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14419 * math/libm-test.inc (cacos_test): Add more tests.
14420 (casin_test): Likewise.
14421 (casinh_test): Likewise.
14422 * sysdeps/i386/fpu/libm-test-ulps: Update.
14423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14425 2013-01-31 David S. Miller <davem@davemloft.net>
14427 * po/de.po: Update from translation team.
14429 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14431 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14433 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14435 * configure.in (_AC_PROG_CC_C89): New definition.
14436 * configure: Regenerate.
14438 * configure.in (AC_PROG_CPP): New definition.
14439 * configure: Regenerate.
14441 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14443 * debug/tst-backtrace.h: New file.
14444 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14445 (ret): Remove variable.
14447 (FAIL): Remove macro.
14448 (NO_INLINE): Likewise.
14449 (fn1): Use match function instead of strstr.
14450 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14451 (ret): Remove variable.
14453 (FAIL): Remove macro.
14454 (NO_INLINE): Likewise.
14455 (fn): Use match function instead of strstr.
14456 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14457 (ret): Remove variable.
14459 (FAIL): Remove macro.
14460 (NO_INLINE): Likewise.
14461 (handle_signal): Use match function instead of strstr.
14462 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14463 (ret): Remove variable.
14465 (FAIL): Remove macro.
14466 (NO_INLINE): Likewise.
14467 (handle_signal): Use match function instead of strstr.
14469 2013-01-23 Roland McGrath <roland@hack.frob.com>
14471 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14473 2013-01-23 David S. Miller <davem@davemloft.net>
14475 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14476 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14477 argument of CAS if possible.
14478 * sysdeps/sparc/sparc64/bits/atomic.h
14479 (__arch_compare_and_exchange_val_32_acq): Likewise.
14480 (__arch_compare_and_exchange_val_64_acq): Likewise.
14482 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14484 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14485 * sysdeps/posix/ulimit.c: ... this.
14486 Include <limits.h>.
14487 * sysdeps/unix/bsd/ulimit.c: Remove file.
14489 2013-01-23 Adam Conrad <adconrad@0c3.net>
14491 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14492 (LDFLAGS-tst-array5): Likewise.
14494 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14497 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14498 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14499 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14500 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14502 2013-01-21 David S. Miller <davem@davemloft.net>
14504 * sysdeps/sparc/backtrace.c: New file.
14505 * sysdeps/sparc/sparc32/backtrace.h: New file.
14506 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14507 * sysdeps/sparc/sparc64/backtrace.h: New file.
14508 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14509 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14512 2013-01-21 Andreas Schwab <schwab@suse.de>
14515 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14518 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14524 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14525 Mark Mitchell <mark@codesourcery.com>
14526 Tom de Vries <tom@codesourcery.com>
14527 Paul Pluzhnikov <ppluzhnikov@google.com>
14529 * debug/tst-backtrace2.c: New file.
14530 * debug/tst-backtrace3.c: Likewise.
14531 * debug/tst-backtrace4.c: Likewise.
14532 * debug/tst-backtrace5.c: Likewise.
14533 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14534 (CFLAGS-tst-backtrace3.c): Likewise.
14535 (CFLAGS-tst-backtrace4.c): Likewise.
14536 (CFLAGS-tst-backtrace5.c): Likewise.
14537 (LDFLAGS-tst-backtrace2): Likewise.
14538 (LDFLAGS-tst-backtrace3): Likewise.
14539 (LDFLAGS-tst-backtrace4): Likewise.
14540 (LDFLAGS-tst-backtrace5): Likewise.
14541 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14542 tst-backtrace4 and tst-backtrace5.
14544 2013-01-18 Anton Blanchard <anton@samba.org>
14545 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14547 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14548 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14549 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14550 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14552 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14553 "+r" and remove output regs list as redundant. Add explicit inline
14554 asm to specify register of return val to work around compiler codegen
14555 bug. Remove (int) cast on return value. Add return type parameter to
14556 use in macro so that this macro does not truncate return value for
14558 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14559 pass to INTERNAL_VSYSCALL_NCS.
14560 (INLINE_VSYSCALL): Add 'long int' as return type to
14561 INTERNAL_VSYSCALL_NCS macro invocation.
14562 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14563 INTERNAL_VSYSCALL_NCS macro invocation.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14566 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14569 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14570 Fix application of SIMD FP exception mask.
14572 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14573 mp_no from a power of two.
14574 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14575 __mpexp_twomm1. Use __pow_mp.
14577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14580 2013-01-17 David S. Miller <davem@davemloft.net>
14582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14584 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14587 * include/complex.h: Condition contents on [!_COMPLEX_H].
14588 (__kernel_casinhf): New prototype.
14589 (__kernel_casinh): Likewise.
14590 (__kernel_casinhl): Likewise.
14591 * math/Makefile (libm_calls): Add k_casinh.
14592 * math/k_casinh.c: New file.
14593 * math/k_casinhf.c: Likewise.
14594 * math/k_casinhl.c: Likewise.
14595 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14596 finite nonzero arguments.
14597 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14598 finite nonzero arguments.
14599 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14600 finite nonzero arguments.
14601 * math/s_casinh.c: Do not include <float.h>.
14602 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14603 * math/s_casinhf.c: Do not include <float.h>.
14604 (__casinhf): Move code for finite nonzero arguments to
14606 * math/s_casinhl.c: Do not include <float.h>.
14607 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14609 (__casinhl): Move code for finite nonzero arguments to
14611 * math/libm-test.inc (cacos_test): Add more tests.
14612 * sysdeps/i386/fpu/libm-test-ulps: Update.
14613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14615 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14617 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14618 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14619 [!HAVE_MREMAP]: Remove [defined linux] case.
14620 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14622 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14624 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14626 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14628 * elf/elf.h (R_386_SIZE32): New relocation.
14629 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14631 (elf_machine_rela): Likewise.
14632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14633 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14635 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14637 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14638 (FP_FAST_FMA): Do not define.
14639 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14640 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14641 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14642 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14643 !_SOFT_FLOAT]: Likewise.
14644 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14645 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14647 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14648 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14649 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14650 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14651 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14652 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14655 2013-01-16 Andreas Schwab <schwab@suse.de>
14658 * include/stdlib.h (__mktemp): Add declaration.
14659 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14660 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14662 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14664 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14666 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14667 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14668 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14670 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14671 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14673 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14675 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14676 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14677 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14679 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14680 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14682 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14684 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14686 2013-01-15 David S. Miller <davem@davemloft.net>
14688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14689 trunc{,f} to libm-sysdep_routes.
14690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14700 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14701 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14702 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14703 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14704 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14705 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14708 nearbyint{,f} to libm-sysdep_routes.
14709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14720 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14722 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14723 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14725 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14726 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14727 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14729 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14730 libc_feholdexcept and libc_fesetenv.
14732 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14734 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14736 2013-01-14 David S. Miller <davem@davemloft.net>
14738 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14739 (SPARC_ASM_VIS2_IFUNC): Likewise.
14740 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14742 use of 'siam' instruction.
14743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14776 routines to libm-sysdep_routines.
14777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14780 fdim/fdimf to libm-sysdep_routines.
14781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14789 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14790 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14791 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14792 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14794 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14796 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14797 to optimize copies.
14799 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14804 local variable MPTWO.
14805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14808 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14810 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14813 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14815 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14817 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14819 * manual/pattern.texi (glob_t): Document gl_flags.
14820 (glob64_t): Likewise.
14822 2013-01-11 David S. Miller <davem@davemloft.net>
14824 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14825 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14826 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14827 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14828 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14829 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14830 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14831 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14832 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14833 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14834 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14835 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14836 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14838 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14839 sparc V9 rather than using V8 code.
14840 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14841 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14843 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14845 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14848 2013-01-11 Roland McGrath <roland@hack.frob.com>
14850 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14851 not in the main loop.
14852 * configure: Regenerated.
14854 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14856 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14857 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14859 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14860 [!__GLIBC_HAVE_LONG_LONG] case.
14861 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14862 condition to just #else.
14863 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14864 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14865 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14866 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14868 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14869 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14870 #elif condition to just #else.
14871 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14872 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14873 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14874 #elif condition to just #else.
14876 2013-01-11 Steve Ellcey <sellcey@mips.com>
14878 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14879 (EF_MIPS_ARCH_64): Fix value.
14880 (EF_MIPS_ARCH_32R2): New.
14881 (EF_MIPS_ARCH_64R2): New.
14883 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14885 * Makeconfig (+link-pie-before-libc): New.
14886 (+link-pie-after-libc): Likewise.
14887 (+link-pie-tests): Likewise.
14888 (+link-pie): Rewritten.
14889 (link-before-libc): Remove $(config-LDFLAGS).
14890 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14891 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14892 (config-LDFLAGS): Renamed to ...
14893 (rtld-LDFLAGS): This.
14894 (rtld-tests-LDFLAGS): New macro.
14895 (link-libc-rpath-link): Likewise.
14896 (link-libc-tests-rpath-link): Likewise.
14897 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14898 (link-libc): Prepand $(link-libc-rpath-link).
14899 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14900 (test-program-prefix): New macro.
14901 (test-via-rtld-prefix): Likewise.
14902 (test-program-cmd): Likewise.
14903 (host-test-program-cmd): Likewise.
14904 * Makefile ($(common-objpfx)testrun.sh): Replace
14905 $(run-program-prefix) with $(test-program-prefix).
14906 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14908 ($(common-objpfx)shlib.lds): Likewise.
14909 (build-module-helper): Likewise.
14910 ($(common-objpfx)format.lds): Likewise.
14911 * Rules (binaries-pie-tests): New.
14912 (binaries-pie-notests): Likewise.
14913 (binaries-pie): Rewritten.
14914 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14915 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14916 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14917 (make-test-out): Replace $(host-built-program-cmd) with
14918 $(host-test-program-cmd).
14919 * config.make.in (build-hardcoded-path-in-tests): New variable.
14920 * configure.in (--enable-hardcoded-path-in-tests): New configure
14922 (hardcoded_path_in_tests): New AC_SUBST.
14923 * configure: Regenerated.
14924 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14925 $(built-program-cmd) with $(test-program-cmd).
14926 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14927 (test_program_cmd): This.
14928 * elf/Makefile ($(objpfx)order.out): Run test with
14929 $(test-program-prefix).
14930 ($(objpfx)order2.out): Likewise.
14931 ($(objpfx)tst-initorder.out): Likewise.
14932 ($(objpfx)tst-initorder2.out): Likewise.
14933 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14934 $(test-program-cmd).
14935 ($(objpfx)tst-array1-static.out): Likewise.
14936 ($(objpfx)tst-array2.out): Likewise.
14937 ($(objpfx)tst-array3.out): Likewise.
14938 ($(objpfx)tst-array4.out): Likewise.
14939 ($(objpfx)tst-array5.out): Likewise.
14940 ($(objpfx)tst-array5-static.out): Likewise.
14941 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14942 $(test-program-cmd).
14943 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14944 $(run-program-prefix) with $(test-program-prefix).
14945 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14946 (test_program_prefix): This.
14947 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14948 $(run-program-prefix) with $(test-program-prefix).
14949 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14950 (test_program_prefix): This.
14951 * iconvdata/tst-tables.sh: Likewise.
14952 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14953 $(run-program-prefix) with $(test-program-prefix).
14954 ($(objpfx)tst-translit.out): Likewise.
14955 ($(objpfx)tst-gettext2.out): Likewise.
14956 ($(objpfx)tst-gettext4.out): Likewise.
14957 ($(objpfx)tst-gettext6.out): Likewise.
14958 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14959 (test_program_prefix): This.
14960 * intl/tst-gettext2.sh: Likewise.
14961 * intl/tst-gettext4.sh Likewise.
14962 * intl/tst-gettext6.sh: Likewise.
14963 * intl/tst-translit.sh: Likewise.
14964 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14965 with $(test-program-cmd).
14966 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14967 $(run-program-prefix) with $(test-program-prefix).
14968 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14969 (test_program_prefix): This.
14970 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14971 $(run-program-prefix) with $(test-program-prefix).
14972 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14973 (test_program_prefix): This.
14974 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14975 * posix/Makefile ($(objpfx)globtest.out): Replace
14976 $(run-via-rtld-prefix) and $(test-wrapper) with
14977 $(test-program-prefix) and $(test-via-rtld-prefix).
14978 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14979 $(test-program-prefix).
14980 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14981 $(host-test-program-cmd).
14982 (tst-spawn-ARGS): Likewise.
14983 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14984 $(test-program-prefix).
14985 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14986 (test_via_rtld_prefix): This.
14987 (test_wrapper): Renamed to ...
14988 (test_program_prefix): This.
14989 (run_program_prefix): Replaced by test_program_prefix.
14990 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14991 (test_program_prefix): This.
14992 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14993 with $(host-test-program-cmd).
14994 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14995 $(run-program-prefix) with $(test-program-prefix).
14996 ($(objpfx)tst-printf.out): Likewise.
14997 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14998 $(test-program-cmd).
14999 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15000 (test_program_prefix): This.
15001 * stdio-common/tst-unbputc.sh: Likewise.
15002 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15003 $(run-program-prefix) with $(test-program-prefix).
15004 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15005 (test_program_prefix): This.
15006 * string/Makefile ($(objpfx)tst-svc.out): Replace
15007 $(built-program-cmd) with $(test-program-cmd).
15009 2013-01-11 Andreas Jaeger <aj@suse.de>
15012 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15013 value. Sync with Linux 3.7.
15015 2013-01-10 David S. Miller <davem@davemloft.net>
15017 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15018 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15019 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15021 2013-01-10 Roland McGrath <roland@hack.frob.com>
15023 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15025 * configure: Regenerated.
15027 2013-01-10 David S. Miller <davem@davemloft.net>
15029 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15030 sparc V9 rather than using V8 code.
15031 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15032 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15034 2013-01-10 Roland McGrath <roland@hack.frob.com>
15036 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15037 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15038 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15039 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15040 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15041 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15042 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15043 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15044 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15045 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15046 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15047 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15048 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15049 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15050 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15051 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15052 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15053 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15054 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15055 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15056 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15057 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15058 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15059 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15060 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15061 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15062 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15064 2013-01-10 David S. Miller <davem@davemloft.net>
15066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15068 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15070 * posix/Makefile (tests-static): New variable.
15071 (tests): Add $(tests-static).
15072 (tst-exec-static-ARGS): New variable.
15073 (tst-spawn-static-ARGS): Likewise.
15074 * posix/tst-exec-static.c: New file.
15075 * posix/tst-spawn-static.c: Likewise.
15076 * posix/tst-exec.c: Support run directly.
15077 * posix/tst-spawn.c: Likewise.
15079 2013-01-10 Joseph Myers <joseph@codesourcery.com>
15081 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15083 * math/bits/mathcalls.h (llrint): Likewise.
15084 (llround): Likewise.
15085 * stdlib/stdlib.h (struct drand48_data): Likewise.
15086 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15087 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15088 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15090 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15092 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15093 (elf_greg_t): Likewise.
15094 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15095 (__jmp_buf): Likewise.
15096 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15098 (llrint): Likewise, for all definitions.
15099 (llrintl): Likewise.
15101 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15102 Remove [__GNUC__] condition.
15103 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15104 condition to just [__USE_ISOC99].
15105 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15107 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15110 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15111 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15113 (_POSIX_V6_ILP32_OFF32): Likewise.
15114 (_XBS5_ILP32_OFF32): Likewise.
15115 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15116 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15118 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15120 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15123 doubles __mpexp_twomm1. Adjust usage.
15124 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15127 2013-01-10 Andreas Schwab <schwab@suse.de>
15130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15131 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15133 2013-01-09 David S. Miller <davem@davemloft.net>
15136 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15137 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15138 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15139 TCP_FASTOPEN): Define.
15140 (tcp_repair_opt): New structure.
15141 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15143 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15144 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15145 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15146 (tcp_cookie_transactions): New structure.
15148 2013-01-09 Anton Blanchard <anton@samba.org>
15150 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15151 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15152 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15153 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15155 2013-01-09 Joseph Myers <joseph@codesourcery.com>
15157 * include/features.h (__USE_ANSI): Remove.
15159 2013-01-09 Roland McGrath <roland@hack.frob.com>
15161 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15163 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15165 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15167 * sysdeps/s390/fpu/libm-test-ulps: Update.
15169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15171 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15175 (denorm): Likewise.
15176 (__mp_dbl): Likewise.
15177 (__dbl_mp): Likewise.
15178 (add_magnitudes): Likewise.
15179 (sub_magnitudes): Likewise.
15185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15189 (denorm): Likewise.
15190 (__mp_dbl): Likewise.
15191 (__dbl_mp): Likewise.
15192 (add_magnitudes): Likewise.
15193 (sub_magnitudes): Likewise.
15199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15203 (denorm): Likewise.
15204 (__mp_dbl): Likewise.
15205 (__dbl_mp): Likewise.
15206 (add_magnitudes): Likewise.
15207 (sub_magnitudes): Likewise.
15214 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15216 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15217 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15218 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15219 2 && __USE_EXTERN_INLINES]: Likewise.
15221 2013-01-08 Andreas Jaeger <aj@suse.de>
15224 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15226 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15227 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15229 2013-01-07 Anton Blanchard <anton@samba.org>
15231 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15232 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15233 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15234 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15235 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15236 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15237 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15238 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15240 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15241 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15242 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15243 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15244 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15245 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15246 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15247 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15248 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15249 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15250 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15251 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15252 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15253 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15254 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15255 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15256 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15257 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15258 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15259 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15260 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15261 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15263 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15264 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15265 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15266 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15267 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15268 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15269 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15270 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15271 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15272 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15273 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15275 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15277 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15278 (__MALLOC_PMT): Likewise.
15279 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15280 [__GNUC__], only on [_LIBC].
15281 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15282 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15283 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15284 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15285 forward declaration.
15286 (realloc_hook_ini): Likewise.
15287 (memalign_hook_ini): Likewise.
15288 (__libc_memalign): Do not use __MALLOC_PMT in variable
15290 (__libc_valloc): Likewise.
15291 (__libc_pvalloc): Likewise.
15292 (__libc_calloc): Likewise.
15293 (__posix_memalign): Likewise.
15296 * math/s_casinh.c: Include <float.h>.
15297 (__casinh): Do not do computation with squaring and square root
15298 for large arguments.
15299 * math/s_casinhf.c: Include <float.h>.
15300 (__casinhf): Do not do computation with squaring and square root
15301 for large arguments.
15302 * math/s_casinhl.c: Include <float.h>.
15303 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15304 (__casinhl): Do not do computation with squaring and square root
15305 for large arguments.
15306 * math/libm-test.inc (casin_test): Add more tests.
15307 (casinh_test): Likewise.
15308 * sysdeps/i386/fpu/libm-test-ulps: Update.
15309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15311 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15313 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15314 (__x86_64_raw_data_cache_size): Likewise.
15315 (__x86_64_data_cache_size_half): Likewise.
15316 (__x86_64_raw_data_cache_size_half): Likewise.
15317 (__x86_64_shared_cache_size): Likewise.
15318 (__x86_64_raw_shared_cache_size): Likewise.
15319 (__x86_64_shared_cache_size_half): Likewise.
15320 (__x86_64_raw_shared_cache_size_half): Likewise.
15321 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15323 (__x86_data_cache_size): This.
15324 (__x86_64_raw_data_cache_size): Renamed to ...
15325 (__x86_raw_data_cache_size): This.
15326 (__x86_64_data_cache_size_half): Renamed to ...
15327 (__x86_data_cache_size_half): This.
15328 (__x86_64_raw_data_cache_size_half): Renamed to ...
15329 (__x86_raw_data_cache_size_half): This.
15330 (__x86_64_shared_cache_size): Renamed to ...
15331 (__x86_shared_cache_size): This.
15332 (__x86_64_raw_shared_cache_size): Renamed to ...
15333 (__x86_raw_shared_cache_size): This.
15334 (__x86_64_shared_cache_size_half): Renamed to ...
15335 (__x86_shared_cache_size_half): This.
15336 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15337 (__x86_raw_shared_cache_size_half): This.
15338 * sysdeps/x86_64/memcpy.S: Updated.
15339 * sysdeps/x86_64/memset.S: Likewise.
15340 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15341 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15342 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15344 2013-01-04 David S. Miller <davem@davemloft.net>
15346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15348 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15350 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15351 1 to avoid redefinition warning.
15352 (__USE_GNU): Don't define.
15353 (init_signaling_nan): Protoize.
15355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15357 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15359 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15361 (__cpymn): Likewise.
15362 (norm): Remove commented code.
15363 (denorm): Likewise.
15364 (__mp_dbl): Likewise.
15366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15367 (__cpymn): Likewise.
15368 (norm): Remove commented code.
15369 (denorm): Likewise.
15370 (__mp_dbl): Likewise.
15373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15374 mp_no value for 1.0 and 2.0.
15375 (norm): Use RADIXI instead of radixi.d.
15376 (denorm): Likewise.
15377 (__mul): Use 0.0 instead of zero.d.
15378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15379 mp_no value for 1.0 and 2.0.
15380 (norm): Use RADIXI instead of radixi.d.
15381 (denorm): Likewise.
15382 (__mul): Use 0.0 instead of zero.d.
15384 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15387 * math/s_casinh.c (__casinh): Reduce finite argument to first
15388 quadrant then set signs of results at the end.
15389 * math/s_casinhf.c (__casinhf): Likewise.
15390 * math/s_casinhl.c (__casinhl): Likewise.
15391 * math/libm-test.inc (casin_test): Add more tests.
15392 (casinh_test): Likewise.
15393 * sysdeps/i386/fpu/libm-test-ulps: Update.
15394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15396 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15398 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15400 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15402 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15404 (denorm): Likewise.
15405 (__mp_dbl): Likewise.
15408 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15409 and adjust the header comment.
15411 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15412 variable name from declaration.
15414 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15417 Initialize COMMON_CPUID_INDEX_7 element.
15418 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15419 (CPUID_RTM): Likewise.
15420 (HAS_RTM): Likewise.
15421 (COMMON_CPUID_INDEX_7): New enum.
15423 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15426 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15427 size is zero, record memory as freed.
15429 2013-01-03 Andreas Jaeger <aj@suse.de>
15431 * po/ia.po: Add new Interlingua translation.
15433 2012-01-03 Allan McRae <allan@archlinux.org>
15435 * locale/programs/localedef.c: Fix description of '--posix' flag.
15437 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15439 * NEWS: Update dates in second copyright notice.
15440 * README: Update copyright dates in example.
15441 * manual/libc.texinfo: Update copyright dates.
15442 * scripts/test-installation.pl: Update copyright date in --version
15445 * hurd/ctty-input.c: Fix copyright notice formatting.
15446 * hurd/ctty-output.c: Likewise.
15447 * hurd/dtable.c: Likewise.
15448 * hurd/hurd-raise.c: Likewise.
15449 * hurd/hurdprio.c: Likewise.
15450 * hurd/msgportdemux.c: Likewise.
15451 * misc/sys/file.h: Likewise.
15452 * misc/sys/ioctl.h: Likewise.
15453 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15454 * sysdeps/mach/hurd/chdir.c: Likewise.
15455 * sysdeps/mach/hurd/fchdir.c: Likewise.
15456 * sysdeps/mach/hurd/rename.c: Likewise.
15457 * sysdeps/mach/hurd/rmdir.c: Likewise.
15458 * sysdeps/mach/hurd/seekdir.c: Likewise.
15459 * sysdeps/mach/hurd/setsid.c: Likewise.
15460 * sysdeps/posix/wait3.c: Likewise.
15462 * All files with FSF copyright notices: Update copyright dates
15463 using scripts/update-copyrights.
15464 * intl/plural.c: Regenerated.
15465 * locale/programs/charmap-kw.h: Likewise.
15466 * locale/programs/locfile-kw.h: Likewise.
15468 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15470 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15473 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15474 calculation loop and add branch prediction.
15476 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15477 check access beyond bounds of m1np.
15479 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15481 (__inv): Remove local variable MPTWO to use the global
15483 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15484 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15486 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15487 MP3HALFS static const.
15489 2013-01-01 David S. Miller <davem@davemloft.net>
15491 * po/ca.po: Update from translation team.
15493 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15495 * scripts/update-copyrights: New file.
15496 * Makeconfig: Reformat copyright notice.
15497 * ctype/ctype.h: Likewise.
15498 * debug/swprintf_chk.c: Likewise.
15499 * elf/dl-cache.c: Likewise.
15500 * elf/dl-debug.c: Likewise.
15501 * elf/dl-object.c: Likewise.
15502 * grp/initgroups.c: Likewise.
15503 * hurd/Makefile: Likewise.
15504 * hurd/hurd/signal.h: Likewise.
15505 * hurd/hurdfault.c: Likewise.
15506 * hurd/hurdioctl.c: Likewise.
15507 * hurd/hurdlookup.c: Likewise.
15508 * hurd/intr-msg.c: Likewise.
15509 * iconv/gconv_open.c: Likewise.
15510 * libio/swprintf.c: Likewise.
15511 * locale/lc-ctype.c: Likewise.
15512 * locale/nl_langinfo.c: Likewise.
15513 * mach/Machrules: Likewise.
15514 * mach/Makefile: Likewise.
15515 * malloc/obstack.h: Likewise.
15516 * manual/Makefile: Likewise.
15517 * manual/tsort.awk: Likewise.
15518 * misc/bits/stab.def: Likewise.
15519 * nis/nis_print_group_entry.c: Likewise.
15520 * nis/nis_table.c: Likewise.
15521 * nis/nss_compat/compat-pwd.c: Likewise.
15522 * nis/nss_compat/compat-spwd.c: Likewise.
15523 * po/Makefile: Likewise.
15524 * posix/fnmatch.c: Likewise.
15525 * posix/regex.h: Likewise.
15526 * resolv/Makefile: Likewise.
15527 * resolv/nss_dns/dns-network.c: Likewise.
15528 * resolv/res_hconf.c: Likewise.
15529 * scripts/gen-sorted.awk: Likewise.
15530 * soft-fp/soft-fp.h: Likewise.
15531 * stdio-common/printf.h: Likewise.
15532 * stdlib/monetary.h: Likewise.
15533 * stdlib/random.c: Likewise.
15534 * stdlib/random_r.c: Likewise.
15535 * sysdeps/generic/Makefile: Likewise.
15536 * sysdeps/gnu/Makefile: Likewise.
15537 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15539 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15544 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15547 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15548 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15549 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15550 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15551 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15557 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15558 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15559 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15565 * sysdeps/mach/hurd/errnos.awk: Likewise.
15566 * sysdeps/mach/hurd/fork.c: Likewise.
15567 * sysdeps/mach/hurd/getcwd.c: Likewise.
15568 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15569 * sysdeps/mach/hurd/mmap.c: Likewise.
15570 * sysdeps/mach/hurd/utimes.c: Likewise.
15571 * sysdeps/mach/hurd/xmknod.c: Likewise.
15572 * sysdeps/posix/profil.c: Likewise.
15573 * sysdeps/posix/readdir_r.c: Likewise.
15574 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15575 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15576 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15577 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15579 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15580 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15581 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15583 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15584 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15585 * sysdeps/pthread/lio_listio.c: Likewise.
15586 * sysdeps/sparc/dl-procinfo.h: Likewise.
15587 * sysdeps/unix/i386/sysdep.S: Likewise.
15588 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15589 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15590 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15591 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15593 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15594 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15595 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15596 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15597 * sysdeps/wordsize-32/divdi3.c: Likewise.
15598 * time/sys/time.h: Likewise.
15599 * wcsmbs/Makefile: Likewise.
15601 2013-01-01 David S. Miller <davem@davemloft.net>
15603 * po/fr.po: Update from translation team.
15605 * catgets/gencat.c: Update copyright year.
15606 * csu/version.c: Likewise.
15607 * debug/catchsegv.sh: Likewise.
15608 * debug/pcprofiledump.c: Likewise.
15609 * debug/xtrace.sh: Likewise.
15610 * elf/ldconfig.c: Likewise.
15611 * elf/ldd.bash.in: Likewise.
15612 * elf/pldd.c: Likewise.
15613 * elf/sotruss.ksh: Likewise.
15614 * elf/sprof.c: Likewise.
15615 * iconv/iconv_prog.c: Likewise.
15616 * iconv/iconvconfig.c: Likewise.
15617 * locale/programs/locale.c: Likewise.
15618 * locale/programs/localedef.c: Likewise.
15619 * login/programs/pt_chown.c: Likewise.
15620 * malloc/memusage.sh: Likewise.
15621 * malloc/memusagestat.c: Likewise.
15622 * malloc/mtrace.pl: Likewise.
15623 * nscd/nscd.c: Likewise.
15624 * nss/getent.c: Likewise.
15625 * nss/makedb.c: Likewise.
15626 * posix/getconf.c: Likewise.
15628 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15630 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15633 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15635 * math/bits/mathcalls.h (modf): Use __nonnull.
15637 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15639 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15640 (split): Use macro CN instead of the bare value.
15641 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15644 instead of the bare value.
15645 (power1): Likewise.
15647 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15649 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15651 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15653 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15655 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15656 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15657 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15658 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15660 2012-12-28 Andreas Jaeger <aj@suse.de>
15662 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15663 values are from Linux 3.7.
15665 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15666 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15668 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15670 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15673 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15675 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15676 variables with preprocessor constants.
15677 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15678 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15679 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15681 2012-12-27 Bruno Haible <bruno@clisp.org>
15684 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15687 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15689 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15690 and use variable directly.
15691 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15693 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15695 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15696 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15698 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15700 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15701 include directive. Remove local variable MPONE.
15702 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15703 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15704 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15706 2012-12-25 David S. Miller <davem@davemloft.net>
15708 * version.h (RELEASE): Set to "development".
15709 (VERSION): Set to "2.17.90".
15710 * NEWS: Add 2.18 section.
15712 2012-12-21 David S. Miller <davem@davemloft.net>
15714 * po/hr.po: Update from translation team.
15716 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15718 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15720 2012-12-19 Steve Ellcey <sellcey@mips.com>
15722 * NEWS: Mention new memcpy for MIPS.
15724 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15726 * manual/contrib.texi (Contributors): Spelling correction.
15728 2012-12-15 David S. Miller <davem@davemloft.net>
15730 * po/ru.po: Update from translation team.
15732 2012-12-13 David S. Miller <davem@davemloft.net>
15734 * NEWS: Mention IFUNC testsuite enhancements.
15736 * po/pl.po: Update from translation team.
15737 * po/bg.po: Likewise.
15739 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15740 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15742 2012-12-11 David S. Miller <davem@davemloft.net>
15744 * po/sv.po: Update from translation team.
15746 * po/vi.po: Update from translation team.
15748 * po/cs.po: Update from translation team.
15750 * po/de.po: Update from translation team.
15751 * po/eo.po: Likewise.
15752 * po/nl.po: Likewise.
15754 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15757 * manual/argp.texi (Argp Helper Functions): Move node to follow
15758 Argp Parsing State.
15761 * manual/conf.texi (Limits on File System Capacity): Mention if
15762 terminating null is included in the max size.
15764 2012-12-10 Andreas Jaeger <aj@suse.de>
15766 * po/cs.po: Update from translation team.
15768 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15770 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15771 void pointer and cast to uintptr_t.
15772 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15774 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15775 * sysdeps/s390/s390-64/memset.S: Likewise.
15777 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15780 * menual/message.texi (Message Translation): Fix typos.
15781 (Helper programs for gettext): Likewise.
15783 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15786 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15789 2012-12-07 David S. Miller <davem@davemloft.net>
15791 * po/libc.pot: Update.
15793 2012-12-07 Richard Henderson <rth@redhat.com>
15796 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15797 normal/normal case to before the switch.
15798 (_FP_DIV): Likewise.
15800 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15801 Mike Frysinger <vapier@gentoo.org>
15803 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15804 check for __NR_fadvise64_64.
15806 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15808 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15809 0, not just to plain "0" as a statement.
15810 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15813 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15815 * NEWS: Use sourceware.org in Bugzilla URL.
15817 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15820 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15822 * stdio-common/tst-put-error.c (do_test): Add newline to the
15823 padded test to ensure flush.
15825 2012-12-05 Jeff Law <law@redhat.com>
15827 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15829 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15831 * README: Don't refer to ports add-on as distributed separately.
15832 Mention AArch64 in list of systems supported in the ports add-on.
15834 * LICENSES: Add more non-FSF copyright and license notices.
15836 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15839 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15841 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15842 10000 as width of padded output.
15844 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15846 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15848 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15849 variable LX with __attribute__ ((unused)).
15850 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15852 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15855 with __attribute__ ((unused)).
15857 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15859 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15861 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15863 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15864 (CFLAGS-nldbl-acos.c): New variable.
15865 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15866 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15867 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15868 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15869 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15870 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15871 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15872 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15873 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15874 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15875 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15876 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15877 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15878 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15879 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15880 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15881 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15882 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15883 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15884 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15885 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15886 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15887 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15888 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15889 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15890 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15891 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15892 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15893 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15894 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15895 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15896 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15897 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15898 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15899 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15900 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15901 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15902 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15903 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15904 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15905 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15906 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15907 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15908 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15909 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15910 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15911 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15912 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15913 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15914 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15915 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15916 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15917 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15918 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15919 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15920 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15921 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15922 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15923 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15924 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15925 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15926 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15927 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15928 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15929 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15930 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15931 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15932 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15933 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15934 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15935 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15936 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15937 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15938 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15939 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15940 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15941 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15942 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15943 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15944 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15945 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15946 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15947 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15948 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15949 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15950 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15951 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15952 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15953 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15954 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15955 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15956 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15957 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15958 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15959 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15960 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15961 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15964 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15967 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15968 whole low double instead of just low 47 bits when splitting values
15971 2012-12-03 Allan McRae <allan@archlinux.org>
15973 * manual/stdio.texi (Predefined Printf Handlers): Remove
15974 @hsep and @vsep usage.
15976 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15978 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15979 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15981 2012-12-03 Jeff Law <law@redhat.com>
15983 * time/sys/time.h (settimeofday): Do not mark TV argument
15986 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15988 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15989 when currently writing and seek to current position when not.
15990 * libio/Makefile (tests): Remove bug-fclose1.
15991 * libio/bug-fclose1.c: Delete.
15993 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15995 * manual/arith.texi (feenableexcept): Fix typo.
15996 (fedisableexcept): Likewise.
15998 2012-11-30 Roland McGrath <roland@hack.frob.com>
16000 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16001 second, differently-typed declaration, rather than a cast.
16003 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16005 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16006 * include/rpc/svc.h: ... here.
16008 2012-11-30 Aurelien Jarno <aurel32@debian.org>
16011 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16012 depending n and resplen2 to catch cases where answer
16015 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16017 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16018 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16020 2012-11-29 Mike Frysinger <vapier@gentoo.org>
16022 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16024 2012-11-29 Roland McGrath <roland@hack.frob.com>
16026 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16028 2012-11-28 Jeff Law <law@redhat.com>
16031 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16032 dataset_temporary. Track alloca usage into alloca_used.
16033 If dataset is large allocate and release it via malloc/free.
16035 2012-06-04 Florian Weimer <fweimer@redhat.com>
16038 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16040 2012-11-28 David S. Miller <davem@davemloft.net>
16042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16044 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16047 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16048 of pi/2 rounded to nearest to 64 bits.
16049 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16050 nearest to 64 bits.
16051 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16054 2012-11-28 Jeff Law <law@redhat.com>
16055 Martin Osvald <mosvald@redhat.com>
16058 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16059 * sunrpc/svc.c: Include time.h.
16060 (__svc_accept_failed): New function.
16061 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16062 any reason other than EINTR, call __svc_accept_failed.
16063 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16064 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16066 2012-11-28 Andreas Schwab <schwab@suse.de>
16068 * scripts/abilist.awk: Also handle indirect functions in .opd
16071 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16074 * sysdeps/x86/fpu/powl_helper.c: New file.
16075 * sysdeps/x86/fpu/Makefile: Likewise.
16076 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16078 (__ieee754_powl): Use __powl_helper for finite arguments except
16079 integer exponents below 8.
16080 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16082 (__ieee754_powl): Use __powl_helper for finite arguments except
16083 integer exponents below 8.
16084 * math/libm-test.inc (pow_test): Add more tests and enable some
16085 previously disabled tests.
16086 * sysdeps/i386/fpu/libm-test-ulps: Update.
16087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16089 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16090 Carlos O'Donell <carlos_odonell@mentor.com>
16092 * nss/makedb.c (is_prime): Assert that input is odd and greater
16093 than 4. Note that fact in a comment too.
16094 (next_prime): Add 4 to input.
16096 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16099 * libio/Makefile (tests): Add test case tst-fwrite-error.
16100 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16101 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16102 * libio/tst-fwrite-error.c: New test case.
16104 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16106 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16107 before casting to void *.
16108 * include/libc-internal.h (__pointer_type): New macro.
16109 (__integer_if_pointer_type_sub): Likewise.
16110 (__integer_if_pointer_type): Likewise.
16111 (cast_to_integer): Likewise.
16112 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16113 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16114 before casting to atomic64_t.
16115 (atomic_exchange_acq): Likewise.
16116 (__arch_exchange_and_add_body): Likewise.
16117 (__arch_add_body): Likewise.
16118 (atomic_add_negative): Likewise.
16119 (atomic_add_zero): Likewise.
16121 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16123 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16124 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16125 (add_fdes): Likewise.
16126 (linear_search_fdes): Likewise.
16127 (binary_search_unencoded_fdes): Likewise.
16129 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16131 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16133 2012-11-24 Adam Conrad <adconrad@0c3.net>
16135 * configure.in: Autodetect C++ header directories.
16136 * configure: Regenerated.
16138 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16140 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16142 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16146 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16148 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16149 LDBL_MANT_DIG == 106]: Disable some tests.
16150 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16152 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16157 input for small inputs. Return +/- pi/2 for large inputs.
16158 * math/libm-test.inc (atan_test): Add more tests.
16160 * sysdeps/generic/unwind-dw2-fde-glibc.c
16161 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16162 __attribute__ ((unused)).
16165 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16166 x * y if x and y are nonzero and z is zero.
16169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16170 nonzero exponents with absolute value below 0x1p-117 to +/-
16174 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16175 up arguments below 2**-450, not just those below 2**-500.
16176 * math/libm-test.inc (hypot_test): Add another test.
16179 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16180 Return a+b for ratio over 2**120, not 2**60.
16181 * math/libm-test.inc (hypot_test): Add another test.
16183 * math/libm-test.inc (clog_test): Use
16184 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16185 (clog10_test): Likewise.
16188 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16190 2012-11-22 Andreas Schwab <schwab@suse.de>
16192 * sysdeps/i386/fpu/libm-test-ulps: Update.
16194 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16196 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16197 printf output with newline.
16199 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16202 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16203 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16204 -z nodlopen, -z initfirst and -z execstack support.
16205 * configure: Regenerated.
16207 * elf/elf.h (DF_1_NODIRECT): New macro.
16208 (DF_1_IGNMULDEF): Likewise.
16209 (DF_1_NOKSYMS): Likewise.
16210 (DF_1_NOHDR): Likewise.
16211 (DF_1_EDITED): Likewise.
16212 (DF_1_NORELOC): Likewise.
16213 (DF_1_SYMINTPOSE): Likewise.
16214 (DF_1_GLOBAUDIT): Likewise.
16215 (DF_1_SINGLETON): Likewise.
16216 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16217 DT_1_SUPPORTED_MASK bits.
16218 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16220 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16222 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16224 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16226 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16229 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16230 (sendmmsg): Move declarations...
16231 * socket/sys/socket.h: ... here.
16232 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16233 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16235 * socket/recvmmsg.c: ... this new file.
16236 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16237 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16238 definition of __sendmmsg hidden.
16239 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16240 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16241 Move ENOSYS stub into and include it from...
16242 * socket/sendmmsg.c: ... this new file.
16243 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16244 (sysdep_routines): Move recvmmsg and sendmmsg...
16245 * socket/Makefile (routines): ... here.
16246 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16247 (GLIBC_PRIVATE): Add __sendmmsg.
16248 * include/sys/socket.h (__sendmmsg): Add declarations.
16249 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16252 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16254 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16255 variable I1 with __attribute__ ((unused)).
16256 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16258 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16260 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16261 DUMMY variables with __attribute__ ((unused)).
16263 * bits/byteswap.h: Include <bits/types.h>.
16264 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16266 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16268 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16269 string_t. Do not manually set errno.
16270 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16271 length with __strnlen. Make sure to both set errno and return it on
16274 2012-11-19 David S. Miller <davem@davemloft.net>
16276 With help from Joseph Myers.
16277 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16278 very large arguments properly.
16279 * math/libm-test.inc (atan_test): New tests.
16280 (atan2_test): New tests.
16281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16284 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16287 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16290 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16291 [POSIX] (EADDRNOTAVAIL): Likewise.
16292 [POSIX] (EAFNOSUPPORT): Likewise.
16293 [POSIX] (EALREADY): Likewise.
16294 [POSIX] (ECONNABORTED): Likewise.
16295 [POSIX] (ECONNREFUSED): Likewise.
16296 [POSIX] (ECONNRESET): Likewise.
16297 [POSIX] (EDESTADDRREQ): Likewise.
16298 [POSIX] (EDQUOT): Likewise.
16299 [POSIX] (EHOSTUNREACH): Likewise.
16300 [POSIX] (EIDRM): Likewise.
16301 [POSIX] (EISCONN): Likewise.
16302 [POSIX] (ELOOP): Likewise.
16303 [POSIX] (EMULTIHOP): Likewise.
16304 [POSIX] (ENETDOWN): Likewise.
16305 [POSIX] (ENETUNREACH): Likewise.
16306 [POSIX] (ENOBUFS): Likewise.
16307 [POSIX] (ENODATA): Likewise.
16308 [POSIX] (ENOLINK): Likewise.
16309 [POSIX] (ENOMSG): Likewise.
16310 [POSIX] (ENOPROTOOPT): Likewise.
16311 [POSIX] (ENOSR): Likewise.
16312 [POSIX] (ENOSTR): Likewise.
16313 [POSIX] (ENOTCONN): Likewise.
16314 [POSIX] (ENOTSOCK): Likewise.
16315 [POSIX] (EOPNOTSUPP): Likewise.
16316 [POSIX] (EOVERFLOW): Likewise.
16317 [POSIX] (EPROTO): Likewise.
16318 [POSIX] (EPROTONOSUPPORT): Likewise.
16319 [POSIX] (EPROTOTYPE): Likewise.
16320 [POSIX] (ESTALE): Likewise.
16321 [POSIX] (ETIME): Likewise.
16322 [POSIX] (ETXTBSY): Likewise.
16323 [POSIX] (EWOULDBLOCK): Likewise.
16324 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16325 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16326 [POSIX] (SEEK_CUR): Likewise.
16327 [POSIX] (SEEK_END): Likewise.
16328 [POSIX || UNIX98] (mode_t): Do not require.
16329 [POSIX] (off_t): Likewise.
16330 [POSIX] (pid_t): Likewise.
16331 [POSIX] (sys/stat.h): Do not allow header.
16332 [POSIX] (unistd.h): Likewise.
16333 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16334 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16335 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16336 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16338 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16339 sigevent): Specify elements.
16340 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16342 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16343 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16345 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16346 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16347 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16348 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16349 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16350 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16351 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16352 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16353 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16354 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16355 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16356 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16357 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16358 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16360 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16362 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16364 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16366 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16367 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16368 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16369 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16370 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16371 Specify lower bound on value.
16372 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16373 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16374 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16375 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16376 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16377 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16378 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16379 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16381 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16383 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16384 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16385 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16386 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16387 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16388 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16389 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16390 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16391 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16392 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16393 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16394 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16395 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16396 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16397 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16398 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16400 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16402 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16403 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16404 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16405 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16406 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16407 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16409 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16410 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16411 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16412 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16413 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16414 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16415 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16417 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16418 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16419 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16420 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16421 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16422 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16423 specify as optional.
16424 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16425 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16426 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16427 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16428 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16429 [XPG3] (NL_LANGMAX): Likewise.
16430 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16431 [POSIX || XPG3] (NL_NMAX): Likewise.
16432 [POSIX || XPG3] (NL_SETMAX): Likewise.
16433 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16434 [XPG3] (NZERO): Likewise.
16435 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16436 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16437 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16438 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16439 (REG_ERANGE): Expect.
16440 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16442 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16443 Use (void) in prototype.
16444 [POSIX] (*_t): Allow.
16445 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16446 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16447 (WRDE_BADVAL): Expect.
16449 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16451 [XPG3 || XPG4] (O_RSYNC): Likewise.
16452 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16454 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16455 [XPG3 || XPG4] (sigqueue): Likewise.
16456 [XPG3 || XPG4] (sigtimedwait): Likewise.
16457 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16458 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16459 [XPG3 || XPG4] (vsnprintf): Likewise.
16460 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16462 [XPG3 || XPG4] (blksize_t): Likewise.
16463 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16465 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16466 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16467 [XPG3 || XPG4] (struct itimerspec): Likewise.
16468 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16469 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16470 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16471 [XPG3 || XPG4] (clockid_t): Likewise.
16472 [XPG3 || XPG4] (timer_t): Likewise.
16473 [XPG3 || XPG4] (clock_getres): Likewise.
16474 [XPG3 || XPG4] (clock_gettime): Likewise.
16475 [XPG3 || XPG4] (clock_settime): Likewise.
16476 [XPG3 || XPG4] (nanosleep): Likewise.
16477 [XPG3 || XPG4] (timer_create): Likewise.
16478 [XPG3 || XPG4] (timer_delete): Likewise.
16479 [XPG3 || XPG4] (timer_gettime): Likewise.
16480 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16481 [XPG3 || XPG4] (timer_settime): Likewise.
16482 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16483 [XPG3 || XPG4] (getlogin_r): Likewise.
16484 [XPG3 || XPG4] (pread): Likewise.
16485 [XPG3 || XPG4] (pthread_atfork): Likewise.
16486 [XPG3 || XPG4] (pwrite): Likewise.
16489 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16492 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16494 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16495 finalizing MALLSTREAM.
16497 * sysdeps/mach/hurd/syncfs.c: New file.
16499 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16502 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16503 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16504 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16505 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16506 (_nss_dns_gethostbyname4_r): Likewise.
16507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16508 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16510 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16513 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16515 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16517 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16518 * elf/cache.c (print_entry): Print ",AArch64" for
16521 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16522 * elf/cache.c (print_entry): Print ",hard-float" for
16525 2012-11-18 David S. Miller <davem@davemloft.net>
16527 With help from Joseph Myers.
16528 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16530 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16532 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16533 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16535 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16536 * math/libm-test.inc (y0_test): New tests.
16537 (y1_test): New tests.
16538 * sysdeps/i386/fpu/libm-test-ulps: Update.
16539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16542 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16544 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16546 * configure: Regenerated.
16548 2012-11-17 David S. Miller <davem@davemloft.net>
16551 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16552 nonzero exponents with absolute value below 0x1p-128 to +/-
16555 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16557 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16559 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16561 * posix/getconf-speclist.c: New file.
16562 * posix/posix-envs.def: Likewise.
16563 * posix/confstr.c (START_ENV_GROUP): New macro.
16564 (END_ENV_GROUP): Likewise.
16565 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16566 (KNOWN_PRESENT_ENV_STRING): Likewise.
16567 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16568 (UNKNOWN_ENVIRONMENT): Likewise.
16569 (confstr): Include posix-envs.def instead of handling
16570 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16571 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16572 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16573 (END_ENV_GROUP): Likewise.
16574 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16575 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16576 (UNKNOWN_ENVIRONMENT): Likewise.
16577 (__sysconf): Include posix-envs.def instead of handling associated
16578 cases directly here.
16579 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16580 preprocessing getconf-speclist.c rather than running getconf or
16581 generating empty file.
16583 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16585 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16587 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16590 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16592 2012-11-16 David S. Miller <davem@davemloft.net>
16594 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16595 smaller than LDBL_EPSILON/2.0L, just return xm1.
16597 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16599 * elf/tst-array1.c (init): Set constructor priority to 1000.
16600 (fini): Set destructor priority to 1000.
16601 * elf/tst-array2dep.c: Likewise.
16603 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16606 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16607 (_IO_new_file_xsputn): Also return EOF if none of the input
16608 data was written when overflow failed.
16609 * libio/iopadn.c (_IO_padn): Likewise.
16610 * libio/iowpadn.c (_IO_wpadn): Likewise.
16611 * stdio-common/tst-put-error.c: Add copyright notice.
16612 (do_test): Add case for printing padded string.
16613 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16614 _IO_padn returned error.
16615 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16616 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16619 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16621 * libio/libioP.h: Add comment note that the references to C++
16622 bits are now obsolete.
16624 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16626 * math/libm-test.inc (check_complex): Use asprintf.
16628 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16630 * debug/pcprofiledump.c (print_version): Update copyright year.
16631 * malloc/memusagestat.c (print_version): Likewise.
16633 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16636 * elf/Makefile (tests): Add tst-audit8.
16637 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16638 ($(objpfx)tst-audit8.out): New target.
16639 (tst-audit8-ENV): New variable.
16640 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16641 audit if l_reloc_result is NULL.
16642 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16643 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16644 * elf/tst-audit8.c: New file.
16646 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16648 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16649 * misc/Makefile (CFLAGS-select.c): Define.
16650 * posix/Makefile (CFLAGS-pause.c): Define.
16652 2012-11-13 David S. Miller <davem@davemloft.net>
16654 * crypt/Makefile: Move test targets after toplevel Rules
16655 inclusion. Grab any necessary sysdep routines when linking.
16656 * crypt/md5.c (md5_process_block): Remove define, we will always
16657 name it __md5_process_block.
16658 (md5_finish_ctx): Update md5_process_block call.
16659 (md5_stream): Likewise.
16660 (md5_process_bytes): Likewise.
16661 (md5_process_block): Rename to __md5_process_block and move to ...
16662 * crypt/md5-block.c: ... here.
16663 * crypt/sha256.c (sha256_process_block): Move to ...
16664 * crypt/sha256-block.c: ... here.
16665 * crypt/sha512.c (sha512_process_block): Move to ...
16666 * crypt/sha512-block.c: ... here.
16667 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16669 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16670 * sysdeps/sparc/sparc64/multiarch/Makefile
16671 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16673 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16674 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16676 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16677 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16678 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16679 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16680 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16681 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16682 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16683 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16684 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16686 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16687 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16689 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16691 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16693 * timezone/tzselect.ksh: Update from tzcode git revision
16694 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16695 * timezone/zdump.c: Likewise.
16696 * timezone/zic.c: Likewise.
16697 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16698 in TZVERSION setting, not $(PKGVERSION).
16699 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16700 REPORT_BUGS_TO settings.
16703 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16706 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16708 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16709 detection to immediately after _FP_ROUND().
16710 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16713 2012-11-11 David S. Miller <davem@davemloft.net>
16715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16717 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16718 __close rather than their public counterparts.
16720 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16722 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16724 [UNIX98] (sem_timedwait): Do not expect.
16725 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16726 [XPG4 || UNIX98] (sockatmark): Do not expect.
16727 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16728 (clock_getcpuclockid): Do not expect.
16729 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16730 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16732 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16733 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16734 [UNIX98] (vwscanf): Likewise.
16735 [UNIX98] (vswscanf): Likewise.
16737 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16739 * timezone/version.h: Remove file.
16740 * timezone/README: Do not refer to version.h.
16741 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16742 $(objpfx)version.h.
16743 ($(objpfx)zdump.o): Likewise.
16744 ($(objpfx)version.h): New target.
16746 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16748 * timezone/README: Don't mention modification to tzselect.ksh.
16749 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16750 work on unmodified tzselect.ksh. Substitute version numbers in
16753 * Makefile (format-me): Remove.
16754 (INSTALL): Adjust indentation. Use commands directly instead of
16755 using $(format-me).
16757 * aclocal.m4 (ACX_PKGVERSION): New macro.
16758 (ACX_BUGURL): Likewise.
16759 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16760 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16761 (REPORT_BUGS_TO): Likewise.
16762 * configure: Regenerated.
16763 * config.h.in (PKGVERSION): New macro.
16764 (REPORT_BUGS_TO): Likewise.
16765 * config.make.in (PKGVERSION): New variable.
16766 (PKGVERSION_TEXI): Likewise.
16767 (REPORT_BUGS_TO): Likewise.
16768 (REPORT_BUGS_TEXI): Likewise.
16769 * Makefile (format-me): Use -I$(common-objpfx)manual.
16770 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16771 ($(common-objpfx)manual/%): New target.
16772 (manual/%): Remove target.
16773 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16774 (print_version): Use PKGVERSION.
16775 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16776 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16777 and REPORT_BUGS_TO.
16778 ($(objpfx)xtrace): Likewise.
16779 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16780 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16781 (print_version): Use PKGVERSION.
16782 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16783 (do_version): Use PKGVERSION.
16784 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16786 (common-ldd-rewrite): Likewise.
16787 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16788 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16789 (print_version): Use PKGVERSION.
16790 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16791 * elf/pldd.c (argp_program_bug_address): Remove variable.
16792 (more_help): New function.
16793 (argp): Use more_help.
16794 (print_version): Use PKGVERSION.
16795 * elf/sln.c (main): Use PKGVERSION.
16796 (usage): Use REPORT_BUGS_TO.
16797 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16798 (top level): Use PKGVERSION.
16799 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16800 (print_version): Use PKGVERSION.
16801 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16802 (print_version): Use PKGVERSION.
16803 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16804 (print_version): Use PKGVERSION.
16805 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16806 (print_version): Use PKGVERSION.
16807 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16808 (print_version): Use PKGVERSION.
16809 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16810 (print_version): Use PKGVERSION.
16811 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16813 ($(objpfx)memusage): Likewise.
16814 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16815 (do_version): Use PKGVERSION.
16816 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16817 (print_version): Use PKGVERSION.
16818 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16819 ($PKGVERSION): New variable.
16820 ($REPORT_BUGS_TO): Likewise.
16821 (usage): Use $REPORT_BUGS_TO.
16822 (top level): Use $PKGVERSION.
16823 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16824 ($(objpfx)pkgvers.texi): New rule.
16825 ($(objpfx)stamp-pkgvers): Likewise.
16826 * manual/install.texi: Include pkgvers.texi.
16827 (--with-pkgversion): Document new configure option.
16828 (--with-bugurl): Likewise.
16829 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16830 than necessarily for this particular distribution. Use
16831 REPORT_BUGS_TO for where to report bugs.
16832 * INSTALL: Regenerated.
16833 * manual/libc.texinfo: Include pkgvers.texi.
16834 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16835 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16836 (print_version): Use PKGVERSION.
16837 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16838 (print_version): Use PKGVERSION.
16839 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16840 (print_version): Use PKGVERSION.
16841 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16842 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16844 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16845 (print_version): Use PKGVERSION.
16846 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16847 (print_version): Use PKGVERSION.
16848 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16851 * timezone/checktab.awk: Update from tzcode 2012i.
16852 * timezone/ialloc.c: Likewise.
16853 * timezone/private.h: Likewise.
16854 * timezone/scheck.c: Likewise.
16855 * timezone/tzfile.h: Likewise.
16856 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16857 (TZVERSION): Hardcode tzcode version number.
16858 * timezone/zdump.c: Update from tzcode 2012i.
16859 * timezone/zic.c: Likewise.
16860 * timezone/version.h: New file.
16861 * timezone/README: Describe version.h. Update upstream location.
16864 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16865 (mktemp): Enable declaration.
16866 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16867 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16883 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16884 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16885 for copies of such integer values.
16886 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16887 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16889 2012-11-09 Andreas Jaeger <aj@suse.de>
16891 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16892 definitions and declarations that are provided by
16893 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16895 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16897 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16898 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16899 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16902 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16904 * elf/elf.h: Update comment before AArch64 relocations.
16906 2012-11-07 David S. Miller <davem@davemloft.net>
16908 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16909 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16910 (__start_context): Declare.
16911 (__makecontext_ret): Delete.
16912 (__makecontext): Hook up __start_context instead of
16914 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16915 (sysdep_routines): Add __start_context when in stdlib.
16917 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16919 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16920 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16921 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16923 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16924 (READELF): New variable. Use it instead of hardcoded "readelf".
16926 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16928 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16929 * sysdeps/x86/Makefile: Here.
16930 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16931 * sysdeps/x86/tst-xmmymm.sh: This.
16933 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16935 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16937 [UNIX98] (pthread_barrier_t): Do not expect.
16938 [UNIX98] (pthread_barrierattr_t): Likewise.
16939 [UNIX98] (pthread_spinlock_t): Likewise.
16940 [UNIX98] (pthread_barrier_destroy): Likewise.
16941 [UNIX98] (pthread_barrier_init): Likewise.
16942 [UNIX98] (pthread_barrier_wait): Likewise.
16943 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16944 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16945 [UNIX98] (pthread_barrierattr_init): Likewise.
16946 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16947 [UNIX98] (pthread_getcpuclockid): Likewise.
16948 [UNIX98] (pthread_mutex_timedlock): Likewise.
16949 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16950 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16951 [UNIX98] (pthread_sigmask): Likewise.
16952 [UNIX98] (pthread_spin_destroy): Likewise.
16953 [UNIX98] (pthread_spin_init): Likewise.
16954 [UNIX98] (pthread_spin_lock): Likewise.
16955 [UNIX98] (pthread_spin_trylock): Likewise.
16956 [UNIX98] (pthread_spin_unlock): Likewise.
16957 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16959 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16960 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16961 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16962 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16963 [XPG3 || XPG4] (pthread_key_t): Likewise.
16964 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16965 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16966 [XPG3 || XPG4] (pthread_once_t): Likewise.
16967 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16968 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16969 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16970 [XPG3 || XPG4] (pthread_t): Likewise.
16972 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16974 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16976 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16977 Change function return type to int.
16979 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16980 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16981 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16982 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16983 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16984 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16985 [!POSIX] (posix_madvise): Likewise.
16986 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16988 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16989 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16990 (mode_t): Likewise.
16991 (posix_mem_offset): Likewise.
16992 (posix_typed_mem_get_info): Likewise.
16993 (posix_typed_mem_open): Likewise.
16995 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16996 Change condition to [XOPEN2K8].
16998 * conform/conformtest.pl: Preprocess allow-header data with -x c
16999 instead of from stdin.
17000 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17001 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17002 [C99-based standards] (cerfc): Likewise.
17003 [C99-based standards] (cexp2): Likewise.
17004 [C99-based standards] (cexpm1): Likewise.
17005 [C99-based standards] (clog10): Likewise.
17006 [C99-based standards] (clog1p): Likewise.
17007 [C99-based standards] (clog2): Likewise.
17008 [C99-based standards] (clgamma): Likewise.
17009 [C99-based standards] (ctgamma): Likewise.
17010 [C99-based standards] (cerff): Likewise.
17011 [C99-based standards] (cerfcf): Likewise.
17012 [C99-based standards] (cexp2f): Likewise.
17013 [C99-based standards] (cexpm1f): Likewise.
17014 [C99-based standards] (clog10f): Likewise.
17015 [C99-based standards] (clog1pf): Likewise.
17016 [C99-based standards] (clog2f): Likewise.
17017 [C99-based standards] (clgammaf): Likewise.
17018 [C99-based standards] (ctgammaf): Likewise.
17019 [C99-based standards] (cerfl): Likewise.
17020 [C99-based standards] (cerfcl): Likewise.
17021 [C99-based standards] (cexp2l): Likewise.
17022 [C99-based standards] (cexpm1l): Likewise.
17023 [C99-based standards] (clog10l): Likewise.
17024 [C99-based standards] (clog1pl): Likewise.
17025 [C99-based standards] (clog2l): Likewise.
17026 [C99-based standards] (clgammal): Likewise.
17027 [C99-based standards] (ctgammal): Likewise.
17028 * conform/data/inttypes.h-data [C99-based standards]: Include
17029 stdint.h-data. Remove all expectations for stdint.h contents.
17030 [C99-based standards] (PRI*): Do not allow.
17031 [C99-based standards] (SCN*): Likewise.
17032 [C99-based standards] (*_t): Likewise.
17033 [C99-based-standards] (PRId8): Expect macro.
17034 [C99-based-standards] (PRIi8): Likewise.
17035 [C99-based-standards] (PRIo8): Likewise.
17036 [C99-based-standards] (PRIu8): Likewise.
17037 [C99-based-standards] (PRIx8): Likewise.
17038 [C99-based-standards] (PRIX8): Likewise.
17039 [C99-based-standards] (SCNd8): Likewise.
17040 [C99-based-standards] (SCNi8): Likewise.
17041 [C99-based-standards] (SCNo8): Likewise.
17042 [C99-based-standards] (SCNu8): Likewise.
17043 [C99-based-standards] (SCNx8): Likewise.
17044 [C99-based-standards] (PRIdLEAST8): Likewise.
17045 [C99-based-standards] (PRIiLEAST8): Likewise.
17046 [C99-based-standards] (PRIoLEAST8): Likewise.
17047 [C99-based-standards] (PRIuLEAST8): Likewise.
17048 [C99-based-standards] (PRIxLEAST8): Likewise.
17049 [C99-based-standards] (PRIXLEAST8): Likewise.
17050 [C99-based-standards] (SCNdLEAST8): Likewise.
17051 [C99-based-standards] (SCNiLEAST8): Likewise.
17052 [C99-based-standards] (SCNoLEAST8): Likewise.
17053 [C99-based-standards] (SCNuLEAST8): Likewise.
17054 [C99-based-standards] (SCNxLEAST8): Likewise.
17055 [C99-based-standards] (PRIdFAST8): Likewise.
17056 [C99-based-standards] (PRIiFAST8): Likewise.
17057 [C99-based-standards] (PRIoFAST8): Likewise.
17058 [C99-based-standards] (PRIuFAST8): Likewise.
17059 [C99-based-standards] (PRIxFAST8): Likewise.
17060 [C99-based-standards] (PRIXFAST8): Likewise.
17061 [C99-based-standards] (SCNdFAST8): Likewise.
17062 [C99-based-standards] (SCNiFAST8): Likewise.
17063 [C99-based-standards] (SCNoFAST8): Likewise.
17064 [C99-based-standards] (SCNuFAST8): Likewise.
17065 [C99-based-standards] (SCNxFAST8): Likewise.
17066 [C99-based-standards] (PRId16): Likewise.
17067 [C99-based-standards] (PRIi16): Likewise.
17068 [C99-based-standards] (PRIo16): Likewise.
17069 [C99-based-standards] (PRIu16): Likewise.
17070 [C99-based-standards] (PRIx16): Likewise.
17071 [C99-based-standards] (PRIX16): Likewise.
17072 [C99-based-standards] (SCNd16): Likewise.
17073 [C99-based-standards] (SCNi16): Likewise.
17074 [C99-based-standards] (SCNo16): Likewise.
17075 [C99-based-standards] (SCNu16): Likewise.
17076 [C99-based-standards] (SCNx16): Likewise.
17077 [C99-based-standards] (PRIdLEAST16): Likewise.
17078 [C99-based-standards] (PRIiLEAST16): Likewise.
17079 [C99-based-standards] (PRIoLEAST16): Likewise.
17080 [C99-based-standards] (PRIuLEAST16): Likewise.
17081 [C99-based-standards] (PRIxLEAST16): Likewise.
17082 [C99-based-standards] (PRIXLEAST16): Likewise.
17083 [C99-based-standards] (SCNdLEAST16): Likewise.
17084 [C99-based-standards] (SCNiLEAST16): Likewise.
17085 [C99-based-standards] (SCNoLEAST16): Likewise.
17086 [C99-based-standards] (SCNuLEAST16): Likewise.
17087 [C99-based-standards] (SCNxLEAST16): Likewise.
17088 [C99-based-standards] (PRIdFAST16): Likewise.
17089 [C99-based-standards] (PRIiFAST16): Likewise.
17090 [C99-based-standards] (PRIoFAST16): Likewise.
17091 [C99-based-standards] (PRIuFAST16): Likewise.
17092 [C99-based-standards] (PRIxFAST16): Likewise.
17093 [C99-based-standards] (PRIXFAST16): Likewise.
17094 [C99-based-standards] (SCNdFAST16): Likewise.
17095 [C99-based-standards] (SCNiFAST16): Likewise.
17096 [C99-based-standards] (SCNoFAST16): Likewise.
17097 [C99-based-standards] (SCNuFAST16): Likewise.
17098 [C99-based-standards] (SCNxFAST16): Likewise.
17099 [C99-based-standards] (PRId32): Likewise.
17100 [C99-based-standards] (PRIi32): Likewise.
17101 [C99-based-standards] (PRIo32): Likewise.
17102 [C99-based-standards] (PRIu32): Likewise.
17103 [C99-based-standards] (PRIx32): Likewise.
17104 [C99-based-standards] (PRIX32): Likewise.
17105 [C99-based-standards] (SCNd32): Likewise.
17106 [C99-based-standards] (SCNi32): Likewise.
17107 [C99-based-standards] (SCNo32): Likewise.
17108 [C99-based-standards] (SCNu32): Likewise.
17109 [C99-based-standards] (SCNx32): Likewise.
17110 [C99-based-standards] (PRIdLEAST32): Likewise.
17111 [C99-based-standards] (PRIiLEAST32): Likewise.
17112 [C99-based-standards] (PRIoLEAST32): Likewise.
17113 [C99-based-standards] (PRIuLEAST32): Likewise.
17114 [C99-based-standards] (PRIxLEAST32): Likewise.
17115 [C99-based-standards] (PRIXLEAST32): Likewise.
17116 [C99-based-standards] (SCNdLEAST32): Likewise.
17117 [C99-based-standards] (SCNiLEAST32): Likewise.
17118 [C99-based-standards] (SCNoLEAST32): Likewise.
17119 [C99-based-standards] (SCNuLEAST32): Likewise.
17120 [C99-based-standards] (SCNxLEAST32): Likewise.
17121 [C99-based-standards] (PRIdFAST32): Likewise.
17122 [C99-based-standards] (PRIiFAST32): Likewise.
17123 [C99-based-standards] (PRIoFAST32): Likewise.
17124 [C99-based-standards] (PRIuFAST32): Likewise.
17125 [C99-based-standards] (PRIxFAST32): Likewise.
17126 [C99-based-standards] (PRIXFAST32): Likewise.
17127 [C99-based-standards] (SCNdFAST32): Likewise.
17128 [C99-based-standards] (SCNiFAST32): Likewise.
17129 [C99-based-standards] (SCNoFAST32): Likewise.
17130 [C99-based-standards] (SCNuFAST32): Likewise.
17131 [C99-based-standards] (SCNxFAST32): Likewise.
17132 [C99-based-standards] (PRId64): Likewise.
17133 [C99-based-standards] (PRIi64): Likewise.
17134 [C99-based-standards] (PRIo64): Likewise.
17135 [C99-based-standards] (PRIu64): Likewise.
17136 [C99-based-standards] (PRIx64): Likewise.
17137 [C99-based-standards] (PRIX64): Likewise.
17138 [C99-based-standards] (SCNd64): Likewise.
17139 [C99-based-standards] (SCNi64): Likewise.
17140 [C99-based-standards] (SCNo64): Likewise.
17141 [C99-based-standards] (SCNu64): Likewise.
17142 [C99-based-standards] (SCNx64): Likewise.
17143 [C99-based-standards] (PRIdLEAST64): Likewise.
17144 [C99-based-standards] (PRIiLEAST64): Likewise.
17145 [C99-based-standards] (PRIoLEAST64): Likewise.
17146 [C99-based-standards] (PRIuLEAST64): Likewise.
17147 [C99-based-standards] (PRIxLEAST64): Likewise.
17148 [C99-based-standards] (PRIXLEAST64): Likewise.
17149 [C99-based-standards] (SCNdLEAST64): Likewise.
17150 [C99-based-standards] (SCNiLEAST64): Likewise.
17151 [C99-based-standards] (SCNoLEAST64): Likewise.
17152 [C99-based-standards] (SCNuLEAST64): Likewise.
17153 [C99-based-standards] (SCNxLEAST64): Likewise.
17154 [C99-based-standards] (PRIdFAST64): Likewise.
17155 [C99-based-standards] (PRIiFAST64): Likewise.
17156 [C99-based-standards] (PRIoFAST64): Likewise.
17157 [C99-based-standards] (PRIuFAST64): Likewise.
17158 [C99-based-standards] (PRIxFAST64): Likewise.
17159 [C99-based-standards] (PRIXFAST64): Likewise.
17160 [C99-based-standards] (SCNdFAST64): Likewise.
17161 [C99-based-standards] (SCNiFAST64): Likewise.
17162 [C99-based-standards] (SCNoFAST64): Likewise.
17163 [C99-based-standards] (SCNuFAST64): Likewise.
17164 [C99-based-standards] (SCNxFAST64): Likewise.
17165 [C99-based-standards] (PRIdMAX): Likewise.
17166 [C99-based-standards] (PRIiMAX): Likewise.
17167 [C99-based-standards] (PRIoMAX): Likewise.
17168 [C99-based-standards] (PRIuMAX): Likewise.
17169 [C99-based-standards] (PRIxMAX): Likewise.
17170 [C99-based-standards] (PRIXMAX): Likewise.
17171 [C99-based-standards] (SCNdMAX): Likewise.
17172 [C99-based-standards] (SCNiMAX): Likewise.
17173 [C99-based-standards] (SCNoMAX): Likewise.
17174 [C99-based-standards] (SCNuMAX): Likewise.
17175 [C99-based-standards] (SCNxMAX): Likewise.
17176 [C99-based-standards] (PRIdPTR): Likewise.
17177 [C99-based-standards] (PRIiPTR): Likewise.
17178 [C99-based-standards] (PRIoPTR): Likewise.
17179 [C99-based-standards] (PRIuPTR): Likewise.
17180 [C99-based-standards] (PRIxPTR): Likewise.
17181 [C99-based-standards] (PRIXPTR): Likewise.
17182 [C99-based-standards] (SCNdPTR): Likewise.
17183 [C99-based-standards] (SCNiPTR): Likewise.
17184 [C99-based-standards] (SCNoPTR): Likewise.
17185 [C99-based-standards] (SCNuPTR): Likewise.
17186 [C99-based-standards] (SCNxPTR): Likewise.
17187 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17189 * conform/data/stdint.h-data: Update comments to clarify
17191 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17193 [C99-based standards] (INT8_MAX): Likewise.
17194 [C99-based standards] (INT16_MIN): Likewise.
17195 [C99-based standards] (INT16_MAX): Likewise.
17196 [C99-based standards] (INT32_MIN): Likewise.
17197 [C99-based standards] (INT32_MAX): Likewise.
17198 [C99-based standards] (INT64_MIN): Likewise.
17199 [C99-based standards] (INT64_MAX): Likewise.
17200 [C99-based standards] (UINT8_MAX): Likewise.
17201 [C99-based standards] (UINT16_MAX): Likewise.
17202 [C99-based standards] (UINT32_MAX): Likewise.
17203 [C99-based standards] (UINT64_MAX): Likewise.
17204 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17205 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17206 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17207 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17208 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17209 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17210 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17211 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17212 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17213 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17214 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17215 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17216 [C99-based standards] (INT_FAST8_MIN): Likewise.
17217 [C99-based standards] (INT_FAST8_MAX): Likewise.
17218 [C99-based standards] (INT_FAST16_MIN): Likewise.
17219 [C99-based standards] (INT_FAST16_MAX): Likewise.
17220 [C99-based standards] (INT_FAST32_MIN): Likewise.
17221 [C99-based standards] (INT_FAST32_MAX): Likewise.
17222 [C99-based standards] (INT_FAST64_MIN): Likewise.
17223 [C99-based standards] (INT_FAST64_MAX): Likewise.
17224 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17225 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17226 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17227 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17228 [C99-based standards] (INTPTR_MIN): Likewise.
17229 [C99-based standards] (INTPTR_MAX): Likewise.
17230 [C99-based standards] (UINTPTR_MAX): Likewise.
17231 [C99-based standards] (INTMAX_MIN): Likewise.
17232 [C99-based standards] (INTMAX_MAX): Likewise.
17233 [C99-based standards] (UINTMAX_MAX): Likewise.
17234 [C99-based standards] (PTRDIFF_MIN): Likewise.
17235 [C99-based standards] (PTRDIFF_MAX): Likewise.
17236 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17237 [C99-based standards] (SIZE_MAX): Likewise.
17238 [C99-based standards] (WCHAR_MAX): Likewise.
17239 [C99-based standards] (WINT_MAX): Likewise.
17240 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17241 constraint on value.
17242 [C99-based standards] (WCHAR_MIN): Likewise.
17243 [C99-based standards] (WINT_MIN): Likewise.
17244 [C99-based standards] (*_t): Allow.
17245 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17246 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17247 Include math.h-data and complex.h-data. Remove all expectations
17248 of math.h and complex.h contents.
17249 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17251 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17252 (struct tm): Expect tag.
17253 [C99-based-standards] (wcstof): Expect function.
17254 [C99-based-standards] (wcstold): Likewise.
17255 [C99-based-standards] (wcstoll): Likewise.
17256 [C99-based-standards] (wcstoull): Likewise.
17257 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17258 macro-int-constant. Specify type.
17259 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17260 constraint on value.
17261 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17263 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17265 [ISO C standards]: Do not allow headers.
17266 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17267 wcs[abcdefghijklmnopqrstuvwxyz]*.
17268 [ISO C standards] (*_t): Do not allow.
17269 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17271 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17272 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17274 [ISO C standards]: Do not allow headers.
17275 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17276 is[abcdefghijklmnopqrstuvwxyz]*.
17277 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17278 to[abcdefghijklmnopqrstuvwxyz]*.
17279 [ISO C standards] (*_t): Do not allow.
17280 * conform/data/stdalign.h-data: New file.
17281 * conform/data/stdbool.h-data: Likewise.
17282 * conform/data/stdnoreturn.h-data: Likewise.
17284 2012-11-07 Roland McGrath <roland@hack.frob.com>
17287 * manual/filesys.texi (Directory Entries): Typo fix.
17288 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17290 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17292 * elf/elf.h (EM_AARCH64): New macro.
17293 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17294 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17295 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17296 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17297 (R_AARCH64_TLSDESC): Likewise.
17298 (NT_ARM_TLS): Likewise.
17299 (NT_ARM_HW_BREAK): Likewise.
17300 (NT_ARM_HW_WATCH): Likewise.
17302 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17305 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17306 (__ieee754_powl): Saturate nonzero exponents with absolute value
17307 below 0x1p-79 to +/- 0x1p-79.
17308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17309 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17310 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17311 nonzero exponents with absolute value below 0x1p-32 to +/-
17313 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17314 (__ieee754_powl): Saturate nonzero exponents with absolute value
17315 below 0x1p-79 to +/- 0x1p-79.
17316 * math/libm-test.inc (pow_test): Add more tests.
17318 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17320 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17321 _dl_s390_cap_flags with kernel. Increase string length.
17322 (_dl_s390_platforms): Add z196 and zEC12.
17324 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17326 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17327 Change XOPEN21K to XOPEN2K.
17329 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17331 * string/memmove.c: Use memcpy when possible.
17333 2012-11-06 Andreas Jaeger <aj@suse.de>
17335 * po/eo.po: Update from translation team.
17337 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17341 exponent and small x and y exponents, scale x or y up. Increase
17342 by 2 the exponent used in scaling up.
17343 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17344 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17345 * math/libm-test.inc (fma_test): Add more tests.
17346 (fma_test_towardzero): Likewise.
17347 (fma_test_downward): Likewise.
17348 (fma_test_upward): Likewise.
17350 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17353 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17357 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17358 namespace for names of struct fields.
17359 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17361 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17362 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17364 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17367 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17369 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17371 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17375 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17378 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17382 definitely overflow as x * y not x * y + z.
17383 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17384 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17385 * math/libm-test.inc (fma_test): Add more tests.
17386 (fma_test_towardzero): Likewise.
17387 (fma_test_downward): Likewise.
17388 (fma_test_upward): Likewise.
17390 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17394 * include/stub-tag.h: Remove file.
17395 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17397 * manual/maint.texi (Porting): Don't reference it.
17398 * Makerules ($(objpfx)stubs): Likewise.
17399 * dirent/closedir.c: Don't include <stub-tag.h>.
17400 * dirent/dirfd.c: Likewise.
17401 * dirent/fdopendir.c: Likewise.
17402 * dirent/getdents.c: Likewise.
17403 * dirent/getdents64.c: Likewise.
17404 * dirent/opendir.c: Likewise.
17405 * dirent/readdir.c: Likewise.
17406 * dirent/readdir64.c: Likewise.
17407 * dirent/readdir64_r.c: Likewise.
17408 * dirent/readdir_r.c: Likewise.
17409 * dirent/rewinddir.c: Likewise.
17410 * dirent/seekdir.c: Likewise.
17411 * dirent/telldir.c: Likewise.
17412 * gmon/profil.c: Likewise.
17413 * grp/setgroups.c: Likewise.
17414 * inet/if_index.c: Likewise.
17415 * io/access.c: Likewise.
17416 * io/chdir.c: Likewise.
17417 * io/chmod.c: Likewise.
17418 * io/chown.c: Likewise.
17419 * io/close.c: Likewise.
17420 * io/dup.c: Likewise.
17421 * io/dup2.c: Likewise.
17422 * io/dup3.c: Likewise.
17423 * io/euidaccess.c: Likewise.
17424 * io/faccessat.c: Likewise.
17425 * io/fchdir.c: Likewise.
17426 * io/fchmod.c: Likewise.
17427 * io/fchmodat.c: Likewise.
17428 * io/fchown.c: Likewise.
17429 * io/fchownat.c: Likewise.
17430 * io/fcntl.c: Likewise.
17431 * io/flock.c: Likewise.
17432 * io/fstatfs.c: Likewise.
17433 * io/fstatfs64.c: Likewise.
17434 * io/fstatvfs.c: Likewise.
17435 * io/fstatvfs64.c: Likewise.
17436 * io/futimens.c: Likewise.
17437 * io/fxstat.c: Likewise.
17438 * io/fxstat64.c: Likewise.
17439 * io/fxstatat.c: Likewise.
17440 * io/fxstatat64.c: Likewise.
17441 * io/getcwd.c: Likewise.
17442 * io/isatty.c: Likewise.
17443 * io/lchmod.c: Likewise.
17444 * io/lchown.c: Likewise.
17445 * io/link.c: Likewise.
17446 * io/linkat.c: Likewise.
17447 * io/lseek.c: Likewise.
17448 * io/lseek64.c: Likewise.
17449 * io/lxstat64.c: Likewise.
17450 * io/mkdir.c: Likewise.
17451 * io/mkdirat.c: Likewise.
17452 * io/mkfifo.c: Likewise.
17453 * io/mkfifoat.c: Likewise.
17454 * io/open.c: Likewise.
17455 * io/open64.c: Likewise.
17456 * io/openat.c: Likewise.
17457 * io/openat64.c: Likewise.
17458 * io/pipe.c: Likewise.
17459 * io/pipe2.c: Likewise.
17460 * io/poll.c: Likewise.
17461 * io/posix_fadvise.c: Likewise.
17462 * io/posix_fadvise64.c: Likewise.
17463 * io/posix_fallocate.c: Likewise.
17464 * io/posix_fallocate64.c: Likewise.
17465 * io/read.c: Likewise.
17466 * io/readlink.c: Likewise.
17467 * io/readlinkat.c: Likewise.
17468 * io/rmdir.c: Likewise.
17469 * io/sendfile.c: Likewise.
17470 * io/sendfile64.c: Likewise.
17471 * io/statfs.c: Likewise.
17472 * io/statfs64.c: Likewise.
17473 * io/statvfs.c: Likewise.
17474 * io/statvfs64.c: Likewise.
17475 * io/symlink.c: Likewise.
17476 * io/symlinkat.c: Likewise.
17477 * io/ttyname.c: Likewise.
17478 * io/ttyname_r.c: Likewise.
17479 * io/umask.c: Likewise.
17480 * io/unlink.c: Likewise.
17481 * io/unlinkat.c: Likewise.
17482 * io/utime.c: Likewise.
17483 * io/utimensat.c: Likewise.
17484 * io/write.c: Likewise.
17485 * io/xmknod.c: Likewise.
17486 * io/xmknodat.c: Likewise.
17487 * io/xstat.c: Likewise.
17488 * io/xstat64.c: Likewise.
17489 * login/getpt.c: Likewise.
17490 * login/grantpt.c: Likewise.
17491 * login/unlockpt.c: Likewise.
17492 * math/e_acoshl.c: Likewise.
17493 * math/e_acosl.c: Likewise.
17494 * math/e_asinl.c: Likewise.
17495 * math/e_atan2l.c: Likewise.
17496 * math/e_atanhl.c: Likewise.
17497 * math/e_coshl.c: Likewise.
17498 * math/e_expl.c: Likewise.
17499 * math/e_fmodl.c: Likewise.
17500 * math/e_gammal_r.c: Likewise.
17501 * math/e_hypotl.c: Likewise.
17502 * math/e_j0l.c: Likewise.
17503 * math/e_j1l.c: Likewise.
17504 * math/e_jnl.c: Likewise.
17505 * math/e_lgammal_r.c: Likewise.
17506 * math/e_log10l.c: Likewise.
17507 * math/e_log2l.c: Likewise.
17508 * math/e_logl.c: Likewise.
17509 * math/e_powl.c: Likewise.
17510 * math/e_rem_pio2l.c: Likewise.
17511 * math/e_sinhl.c: Likewise.
17512 * math/e_sqrtl.c: Likewise.
17513 * math/fclrexcpt.c: Likewise.
17514 * math/fedisblxcpt.c: Likewise.
17515 * math/feenablxcpt.c: Likewise.
17516 * math/fegetenv.c: Likewise.
17517 * math/fegetexcept.c: Likewise.
17518 * math/fegetround.c: Likewise.
17519 * math/feholdexcpt.c: Likewise.
17520 * math/fesetenv.c: Likewise.
17521 * math/fesetround.c: Likewise.
17522 * math/feupdateenv.c: Likewise.
17523 * math/fgetexcptflg.c: Likewise.
17524 * math/fraiseexcpt.c: Likewise.
17525 * math/fsetexcptflg.c: Likewise.
17526 * math/ftestexcept.c: Likewise.
17527 * math/k_cosl.c: Likewise.
17528 * math/k_rem_pio2l.c: Likewise.
17529 * math/k_sinl.c: Likewise.
17530 * math/k_tanl.c: Likewise.
17531 * math/s_asinhl.c: Likewise.
17532 * math/s_atanl.c: Likewise.
17533 * math/s_cbrtl.c: Likewise.
17534 * math/s_erfl.c: Likewise.
17535 * math/s_expm1l.c: Likewise.
17536 * math/s_log1pl.c: Likewise.
17537 * math/s_tanhl.c: Likewise.
17538 * misc/acct.c: Likewise.
17539 * misc/brk.c: Likewise.
17540 * misc/chflags.c: Likewise.
17541 * misc/chroot.c: Likewise.
17542 * misc/fchflags.c: Likewise.
17543 * misc/fgetxattr.c: Likewise.
17544 * misc/flistxattr.c: Likewise.
17545 * misc/fremovexattr.c: Likewise.
17546 * misc/fsetxattr.c: Likewise.
17547 * misc/fsync.c: Likewise.
17548 * misc/ftruncate.c: Likewise.
17549 * misc/futimes.c: Likewise.
17550 * misc/futimesat.c: Likewise.
17551 * misc/getdomain.c: Likewise.
17552 * misc/getdtsz.c: Likewise.
17553 * misc/gethostid.c: Likewise.
17554 * misc/gethostname.c: Likewise.
17555 * misc/getloadavg.c: Likewise.
17556 * misc/getpagesize.c: Likewise.
17557 * misc/getsysstats.c: Likewise.
17558 * misc/getxattr.c: Likewise.
17559 * misc/gtty.c: Likewise.
17560 * misc/ioctl.c: Likewise.
17561 * misc/lgetxattr.c: Likewise.
17562 * misc/listxattr.c: Likewise.
17563 * misc/llistxattr.c: Likewise.
17564 * misc/lremovexattr.c: Likewise.
17565 * misc/lsetxattr.c: Likewise.
17566 * misc/lutimes.c: Likewise.
17567 * misc/madvise.c: Likewise.
17568 * misc/mincore.c: Likewise.
17569 * misc/mlock.c: Likewise.
17570 * misc/mlockall.c: Likewise.
17571 * misc/mmap.c: Likewise.
17572 * misc/mprotect.c: Likewise.
17573 * misc/msync.c: Likewise.
17574 * misc/munlock.c: Likewise.
17575 * misc/munlockall.c: Likewise.
17576 * misc/munmap.c: Likewise.
17577 * misc/preadv.c: Likewise.
17578 * misc/preadv64.c: Likewise.
17579 * misc/ptrace.c: Likewise.
17580 * misc/pwritev.c: Likewise.
17581 * misc/pwritev64.c: Likewise.
17582 * misc/readv.c: Likewise.
17583 * misc/reboot.c: Likewise.
17584 * misc/remap_file_pages.c: Likewise.
17585 * misc/removexattr.c: Likewise.
17586 * misc/revoke.c: Likewise.
17587 * misc/select.c: Likewise.
17588 * misc/setdomain.c: Likewise.
17589 * misc/setegid.c: Likewise.
17590 * misc/seteuid.c: Likewise.
17591 * misc/sethostid.c: Likewise.
17592 * misc/sethostname.c: Likewise.
17593 * misc/setregid.c: Likewise.
17594 * misc/setreuid.c: Likewise.
17595 * misc/setxattr.c: Likewise.
17596 * misc/sstk.c: Likewise.
17597 * misc/stty.c: Likewise.
17598 * misc/swapoff.c: Likewise.
17599 * misc/swapon.c: Likewise.
17600 * misc/sync.c: Likewise.
17601 * misc/syncfs.c: Likewise.
17602 * misc/syscall.c: Likewise.
17603 * misc/truncate.c: Likewise.
17604 * misc/ualarm.c: Likewise.
17605 * misc/usleep.c: Likewise.
17606 * misc/ustat.c: Likewise.
17607 * misc/utimes.c: Likewise.
17608 * misc/vhangup.c: Likewise.
17609 * misc/writev.c: Likewise.
17610 * posix/_exit.c: Likewise.
17611 * posix/alarm.c: Likewise.
17612 * posix/execve.c: Likewise.
17613 * posix/fexecve.c: Likewise.
17614 * posix/fork.c: Likewise.
17615 * posix/fpathconf.c: Likewise.
17616 * posix/getaddrinfo.c: Likewise.
17617 * posix/getegid.c: Likewise.
17618 * posix/geteuid.c: Likewise.
17619 * posix/getgid.c: Likewise.
17620 * posix/getgroups.c: Likewise.
17621 * posix/getlogin.c: Likewise.
17622 * posix/getlogin_r.c: Likewise.
17623 * posix/getpgid.c: Likewise.
17624 * posix/getpid.c: Likewise.
17625 * posix/getppid.c: Likewise.
17626 * posix/getresgid.c: Likewise.
17627 * posix/getresuid.c: Likewise.
17628 * posix/getsid.c: Likewise.
17629 * posix/getuid.c: Likewise.
17630 * posix/glob64.c: Likewise.
17631 * posix/nanosleep.c: Likewise.
17632 * posix/pathconf.c: Likewise.
17633 * posix/pause.c: Likewise.
17634 * posix/posix_madvise.c: Likewise.
17635 * posix/pread.c: Likewise.
17636 * posix/pread64.c: Likewise.
17637 * posix/pwrite.c: Likewise.
17638 * posix/pwrite64.c: Likewise.
17639 * posix/sched_getaffinity.c: Likewise.
17640 * posix/sched_getp.c: Likewise.
17641 * posix/sched_gets.c: Likewise.
17642 * posix/sched_primax.c: Likewise.
17643 * posix/sched_primin.c: Likewise.
17644 * posix/sched_rr_gi.c: Likewise.
17645 * posix/sched_setaffinity.c: Likewise.
17646 * posix/sched_setp.c: Likewise.
17647 * posix/sched_sets.c: Likewise.
17648 * posix/sched_yield.c: Likewise.
17649 * posix/setgid.c: Likewise.
17650 * posix/setlogin.c: Likewise.
17651 * posix/setpgid.c: Likewise.
17652 * posix/setresgid.c: Likewise.
17653 * posix/setresuid.c: Likewise.
17654 * posix/setsid.c: Likewise.
17655 * posix/setuid.c: Likewise.
17656 * posix/sleep.c: Likewise.
17657 * posix/spawni.c: Likewise.
17658 * posix/sysconf.c: Likewise.
17659 * posix/times.c: Likewise.
17660 * posix/wait.c: Likewise.
17661 * posix/wait3.c: Likewise.
17662 * posix/wait4.c: Likewise.
17663 * posix/waitpid.c: Likewise.
17664 * resolv/gai_sigqueue.c: Likewise.
17665 * resource/getpriority.c: Likewise.
17666 * resource/getrlimit.c: Likewise.
17667 * resource/getrusage.c: Likewise.
17668 * resource/nice.c: Likewise.
17669 * resource/setpriority.c: Likewise.
17670 * resource/setrlimit.c: Likewise.
17671 * resource/ulimit.c: Likewise.
17672 * rt/aio_cancel.c: Likewise.
17673 * rt/aio_fsync.c: Likewise.
17674 * rt/aio_read.c: Likewise.
17675 * rt/aio_sigqueue.c: Likewise.
17676 * rt/aio_suspend.c: Likewise.
17677 * rt/aio_write.c: Likewise.
17678 * rt/clock_getres.c: Likewise.
17679 * rt/clock_gettime.c: Likewise.
17680 * rt/clock_nanosleep.c: Likewise.
17681 * rt/clock_settime.c: Likewise.
17682 * rt/lio_listio.c: Likewise.
17683 * rt/mq_close.c: Likewise.
17684 * rt/mq_getattr.c: Likewise.
17685 * rt/mq_notify.c: Likewise.
17686 * rt/mq_open.c: Likewise.
17687 * rt/mq_receive.c: Likewise.
17688 * rt/mq_send.c: Likewise.
17689 * rt/mq_setattr.c: Likewise.
17690 * rt/mq_timedreceive.c: Likewise.
17691 * rt/mq_timedsend.c: Likewise.
17692 * rt/mq_unlink.c: Likewise.
17693 * rt/shm_open.c: Likewise.
17694 * rt/shm_unlink.c: Likewise.
17695 * rt/timer_create.c: Likewise.
17696 * rt/timer_delete.c: Likewise.
17697 * rt/timer_getoverr.c: Likewise.
17698 * rt/timer_gettime.c: Likewise.
17699 * rt/timer_settime.c: Likewise.
17700 * setjmp/__longjmp.c: Likewise.
17701 * setjmp/setjmp.c: Likewise.
17702 * signal/kill.c: Likewise.
17703 * signal/killpg.c: Likewise.
17704 * signal/raise.c: Likewise.
17705 * signal/sigaction.c: Likewise.
17706 * signal/sigaltstack.c: Likewise.
17707 * signal/sigblock.c: Likewise.
17708 * signal/sigignore.c: Likewise.
17709 * signal/sigintr.c: Likewise.
17710 * signal/signal.c: Likewise.
17711 * signal/sigpause.c: Likewise.
17712 * signal/sigpending.c: Likewise.
17713 * signal/sigqueue.c: Likewise.
17714 * signal/sigreturn.c: Likewise.
17715 * signal/sigset.c: Likewise.
17716 * signal/sigsetmask.c: Likewise.
17717 * signal/sigstack.c: Likewise.
17718 * signal/sigsuspend.c: Likewise.
17719 * signal/sigtimedwait.c: Likewise.
17720 * signal/sigvec.c: Likewise.
17721 * signal/sigwait.c: Likewise.
17722 * signal/sigwaitinfo.c: Likewise.
17723 * signal/sysv_signal.c: Likewise.
17724 * socket/accept.c: Likewise.
17725 * socket/accept4.c: Likewise.
17726 * socket/bind.c: Likewise.
17727 * socket/connect.c: Likewise.
17728 * socket/getpeername.c: Likewise.
17729 * socket/getsockname.c: Likewise.
17730 * socket/getsockopt.c: Likewise.
17731 * socket/isfdtype.c: Likewise.
17732 * socket/listen.c: Likewise.
17733 * socket/recv.c: Likewise.
17734 * socket/recvfrom.c: Likewise.
17735 * socket/recvmsg.c: Likewise.
17736 * socket/send.c: Likewise.
17737 * socket/sendmsg.c: Likewise.
17738 * socket/sendto.c: Likewise.
17739 * socket/setsockopt.c: Likewise.
17740 * socket/shutdown.c: Likewise.
17741 * socket/sockatmark.c: Likewise.
17742 * socket/socket.c: Likewise.
17743 * socket/socketpair.c: Likewise.
17744 * stdio-common/ctermid.c: Likewise.
17745 * stdio-common/cuserid.c: Likewise.
17746 * stdio-common/remove.c: Likewise.
17747 * stdio-common/rename.c: Likewise.
17748 * stdio-common/renameat.c: Likewise.
17749 * stdio-common/tempname.c: Likewise.
17750 * stdlib/getcontext.c: Likewise.
17751 * stdlib/makecontext.c: Likewise.
17752 * stdlib/setcontext.c: Likewise.
17753 * stdlib/swapcontext.c: Likewise.
17754 * stdlib/system.c: Likewise.
17755 * streams/fattach.c: Likewise.
17756 * streams/fdetach.c: Likewise.
17757 * streams/getmsg.c: Likewise.
17758 * streams/getpmsg.c: Likewise.
17759 * streams/putmsg.c: Likewise.
17760 * streams/putpmsg.c: Likewise.
17761 * sysdeps/unix/bsd/getpt.c: Likewise.
17762 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17763 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17764 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17767 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17768 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17769 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17770 * sysvipc/msgctl.c: Likewise.
17771 * sysvipc/msgget.c: Likewise.
17772 * sysvipc/msgrcv.c: Likewise.
17773 * sysvipc/msgsnd.c: Likewise.
17774 * sysvipc/semctl.c: Likewise.
17775 * sysvipc/semget.c: Likewise.
17776 * sysvipc/semop.c: Likewise.
17777 * sysvipc/semtimedop.c: Likewise.
17778 * sysvipc/shmat.c: Likewise.
17779 * sysvipc/shmctl.c: Likewise.
17780 * sysvipc/shmdt.c: Likewise.
17781 * sysvipc/shmget.c: Likewise.
17782 * termios/tcdrain.c: Likewise.
17783 * termios/tcflow.c: Likewise.
17784 * termios/tcflush.c: Likewise.
17785 * termios/tcgetattr.c: Likewise.
17786 * termios/tcgetpgrp.c: Likewise.
17787 * termios/tcsendbrk.c: Likewise.
17788 * termios/tcsetattr.c: Likewise.
17789 * termios/tcsetpgrp.c: Likewise.
17790 * time/adjtime.c: Likewise.
17791 * time/clock.c: Likewise.
17792 * time/getitimer.c: Likewise.
17793 * time/gettimeofday.c: Likewise.
17794 * time/setitimer.c: Likewise.
17795 * time/settimeofday.c: Likewise.
17796 * time/stime.c: Likewise.
17797 * time/time.c: Likewise.
17799 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17801 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17804 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17806 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17808 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17812 FE_TONEAREST before applying Dekker multiplication and Knuth
17813 addition. Clear inexact exceptions and check for exact zero
17814 results afterwards.
17815 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17816 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17817 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17818 * math/libm-test.inc (fma_test): Add more tests.
17819 (fma_test_towardzero): Likewise.
17820 (fma_test_downward): Likewise.
17821 (fma_test_upward): Likewise.
17822 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17824 (libc_fesetround): New macro.
17825 (libc_fesetroundf): Likewise.
17826 (libc_fesetroundl): Likewise.
17827 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17829 (libc_fesetround_387): Likewise.
17830 (libc_fesetroundf): New macro.
17831 (libc_fesetround): Likewise.
17832 (libc_fesetroundl): Likewise.
17833 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17835 (libc_fesetroundf): New macro.
17836 (libc_fesetround): Likewise.
17837 (libc_fesetroundl): Likewise.
17838 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17839 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17840 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17842 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17843 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17845 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17846 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17848 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17852 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17853 integer constant usable in #if and use that to give value to enum
17855 (FE_DIVBYZERO): Likewise.
17856 (FE_UNDERFLOW): Likewise.
17857 (FE_OVERFLOW): Likewise.
17858 (FE_INVALID): Likewise.
17859 (FE_INVALID_SNAN): Likewise.
17860 (FE_INVALID_ISI): Likewise.
17861 (FE_INVALID_IDI): Likewise.
17862 (FE_INVALID_ZDZ): Likewise.
17863 (FE_INVALID_IMZ): Likewise.
17864 (FE_INVALID_COMPARE): Likewise.
17865 (FE_INVALID_SOFTWARE): Likewise.
17866 (FE_INVALID_SQRT): Likewise.
17867 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17868 (FE_TONEAREST): Likewise.
17869 (FE_TOWARDZERO): Likewise.
17870 (FE_UPWARD): Likewise.
17871 (FE_DOWNWARD): Likewise.
17872 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17873 (FE_DIVBYZERO): Likewise.
17874 (FE_OVERFLOW): Likewise.
17875 (FE_UNDERFLOW): Likewise.
17876 (FE_INEXACT): Likewise.
17877 (FE_TONEAREST): Likewise.
17878 (FE_DOWNWARD): Likewise.
17879 (FE_UPWARD): Likewise.
17880 (FE_TOWARDZERO): Likewise.
17881 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17882 (FE_UNDERFLOW): Likewise.
17883 (FE_OVERFLOW): Likewise.
17884 (FE_DIVBYZERO): Likewise.
17885 (FE_INVALID): Likewise.
17886 (FE_TONEAREST): Likewise.
17887 (FE_TOWARDZERO): Likewise.
17888 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17889 (FE_OVERFLOW): Likewise.
17890 (FE_UNDERFLOW): Likewise.
17891 (FE_DIVBYZERO): Likewise.
17892 (FE_INEXACT): Likewise.
17893 (FE_TONEAREST): Likewise.
17894 (FE_TOWARDZERO): Likewise.
17895 (FE_UPWARD): Likewise.
17896 (FE_DOWNWARD): Likewise.
17897 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17898 (FE_DIVBYZERO): Likewise.
17899 (FE_OVERFLOW): Likewise.
17900 (FE_UNDERFLOW): Likewise.
17901 (FE_INEXACT): Likewise.
17902 (FE_TONEAREST): Likewise.
17903 (FE_DOWNWARD): Likewise.
17904 (FE_UPWARD): Likewise.
17905 (FE_TOWARDZERO): Likewise.
17907 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17909 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17911 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17913 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17914 commands. Quote $PWD.
17915 (blacklist_exports): Don't use remove_newlines. Replace "declare
17917 (remove_newlines): Remove.
17919 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17921 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17922 * stdlib/stdlib.h (atof): Moved to ...
17923 * include/bits/stdlib-float.h: Here. New file.
17924 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17925 * stdlib/bits/stdlib-float.h: New file.
17926 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17928 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17931 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17933 * conform/conformtest.pl (@headers): Add fenv.h.
17934 * conform/data/fenv.h-data: New file.
17935 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17936 include of <math/fenv.h>.
17938 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17939 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17940 && !UNIX98]. Enables tests for XOPEN2K8.
17941 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17942 POSIX2008]: Likewise.
17944 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17945 (struct rusage): Do not expect type or its members.
17948 * math/math.h (FP_NAN): Define macro to integer constant usable in
17949 #if and use that to give value to enum constant.
17950 (FP_INFINITE): Likewise.
17951 (FP_ZERO): Likewise.
17952 (FP_SUBNORMAL): Likewise.
17953 (FP_NORMAL): Likewise.
17955 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17957 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17958 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17961 2012-11-02 Roland McGrath <roland@hack.frob.com>
17963 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17964 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17965 autoconf-time if not.
17966 * configure.in: Remove AC_PREREQ.
17968 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17970 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17971 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17972 of the internal implementation.
17974 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17976 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17977 except include of <misc/sys/syslog.h>.
17979 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17982 function returns with a NULL context exit with zero.
17984 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17986 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17988 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17990 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17991 (run_program_cmd): This.
17992 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17993 (tst_langinfo): New variable. Use it.
17995 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17997 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17998 floating point opcodes.
18000 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18002 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18005 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18007 * sysdeps/mach/hurd/powerpc: Remove directory.
18008 * sysdeps/mach/powerpc: Likewise.
18010 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18012 * scripts/check-local-headers.sh: Ignore c++ headers.
18014 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18016 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18017 __libc_cleanup_region_start argument.
18019 2012-11-01 Joseph Myers <joseph@codesourcery.com>
18023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18024 x * y using scaling, not as x * y + z.
18025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18027 * math/libm-test.inc (fma_test): Add more tests.
18028 (fma_test_towardzero): Likewise.
18029 (fma_test_downward): Likewise.
18030 (fma_test_upward): Likewise.
18032 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18034 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18036 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18038 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18041 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18043 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18045 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18052 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18055 Fix the order of the list for glibc 2.17.
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18059 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18063 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18066 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18067 for low part of x being zero before using __atanl (y).
18068 * math/libm-test.inc (atan2_test): Add another test.
18070 * manual/install.texi (Configuring and compiling): Document
18071 general use of test-wrapper and test-wrapper-env.
18072 * INSTALL: Regenerated.
18074 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18075 (__fma): Do not extract and scale down low bits on after-rounding
18076 systems when result rounded to normal precision would have normal
18078 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18079 (__fmal): Do not extract and scale down low bits on after-rounding
18080 systems when result rounded to normal precision would have normal
18082 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18083 (__fmal): Do not extract and scale down low bits on after-rounding
18084 systems when result rounded to normal precision would have normal
18086 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18088 (fma_test): Add more tests.
18089 (fma_test_towardzero): Likewise.
18090 (fma_test_downward): Likewise.
18091 (fma_test_upward): Likewise.
18093 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18095 * sysdeps/i386/tininess.h: Renamed to ...
18096 * sysdeps/x86/tininess.h: This.
18097 * sysdeps/x86_64/tininess.h: Removed.
18099 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18101 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18102 input. Use $(build-program-cmd).
18103 ($(objpfx)tst-array1-static.out): Likewise.
18104 ($(objpfx)tst-array2.out): Likewise.
18105 ($(objpfx)tst-array3.out): Likewise.
18106 ($(objpfx)tst-array4.out): Likewise.
18107 ($(objpfx)tst-array5.out): Likewise.
18108 ($(objpfx)tst-array5-static.out): Likewise.
18110 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18112 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18115 * nss/nsswitch.h (nss_interface_function): Provide new
18116 macro for use with NSS functions.
18117 * grp/initgroups.c: Use new macro.
18118 * nss/getXXbyYY.c: Likewise.
18119 * nss/getXXbyYY_r.c: Likewise.
18120 * nss/getXXent.c: Likewise.
18121 * nss/getXXent_r.c: Likewise.
18122 * sysdeps/posix/getaddrinfo.c: Likewise.
18124 2012-10-30 Andreas Jaeger <aj@suse.de>
18126 * po/ru.po: Update Russion translation from translation project.
18128 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18133 result and shift together with sticky bit instead of replicating
18134 round-to-nearest rounding.
18135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18137 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18138 missing underflow exceptions.
18139 (fma_test_towardzero): Add more tests.
18140 (fma_test_downward): Likewise.
18141 (fma_test_upward): Likewise.
18144 * sysdeps/generic/tininess.h: New file.
18145 * sysdeps/i386/tininess.h: Likewise.
18146 * sysdeps/sh/tininess.h: Likewise.
18147 * sysdeps/x86_64/tininess.h: Likewise.
18148 * stdlib/tst-strtod-underflow.c: Likewise.
18149 * stdlib/tst-tininess.c: Likewise.
18150 * stdlib/strtod_l.c: Include <tininess.h>.
18151 (round_and_return): Do not set errno for exact underflow cases.
18152 Force an underflow exception when setting errno for underflow.
18153 Determine underflow based on rounding to normal precision if
18154 TININESS_AFTER_ROUNDING.
18155 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18156 ERANGE for exact underflow cases.
18157 * stdlib/Makefile (tests): Add tst-tininess and
18158 tst-strtod-underflow.
18159 ($(objpfx)tst-tininess): Use $(link-libm).
18160 ($(objpfx)tst-strtod-underflow): Likewise.
18162 2012-10-30 Andreas Jaeger <aj@suse.de>
18165 * elf/Makefile (tests): Remove conditional for have-initfini-array
18166 since this is now always required and the variable does not exist
18168 (tests-static): Likewise.
18169 (modules-names): Likewise.
18171 * po/eo.po: Add Esperanto translation from translation project.
18173 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18174 merged with constructor/destructor.
18175 (init_array): Likewise.
18176 * elf/tst-array2dep.c (fini_array): Likewise.
18177 (init_array): Likewise.
18179 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18181 * manual/message.texi: Delete @cartouche tags.
18183 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18185 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18187 * sysdeps/mach/hurd/fsync.c: Likewise.
18189 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18190 [_POSIX_REALTIME_SIGNALS]: Change condition to
18191 [_POSIX_REALTIME_SIGNALS > 0].
18193 2012-10-27 Andreas Jaeger <aj@suse.de>
18195 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18196 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18198 [__WORDSIZE != 64]: Likewise.
18200 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18202 * iconvdata/tst-table.sh: Remove ${SHELL}.
18203 * iconvdata/tst-tables.sh: Likewise.
18205 2012-10-25 David S. Miller <davem@davemloft.net>
18207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18208 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18211 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18213 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18214 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18215 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18218 2012-10-25 Roland McGrath <roland@hack.frob.com>
18220 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18221 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18224 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18225 Jim Blandy <jimb@codesourcery.com>
18227 * scripts/cross-test-ssh.sh: New file.
18228 * manual/install.texi (Configuring and compiling): Document use of
18230 * INSTALL: Regenerated.
18232 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18234 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18237 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18239 * Makeconfig (run-program-prefix): Fix comment.
18241 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18242 Jim Blandy <jimb@codesourcery.com>
18244 * Makeconfig (test-wrapper): New variable,
18245 (test-wrapper-env): Likewise.
18246 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18247 (run-built-tests): Define to yes.
18248 (run-program-prefix): Use $(test-wrapper).
18249 (built-program-cmd): Likewise.
18250 * Rules (make-test-out): Use $(test-wrapper-env) and
18251 $(host-built-program-cmd).
18252 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18253 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18255 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18256 $(test-wrapper-env) to tst-rtld-load-self.sh.
18257 ($(objpfx)order2.out): Use $(test-wrapper).
18258 ($(objpfx)tst-initorder.out): Likewise.
18259 ($(objpfx)tst-initorder2.out): Likewise.
18260 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18261 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18262 (test_wrapper_env): New variable. Use it to run ld.so.
18263 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18264 Use it to run ld.so.
18265 (test_wrapper_env): Likewise.
18266 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18267 $(test-wrapper) to run-iconv-test.sh.
18268 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18269 (ICONV): Use $test_wrapper.
18270 * posix/Makefile ($(objpfx)globtest.out): Pass
18271 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18272 globtest.sh, not $(run-program-prefix).
18273 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18274 (test_wrapper): Likewise.
18275 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18276 set together with run_via_rtld_prefix.
18277 (run_program_prefix): Define in terms of test_wrapper and
18278 run_via_rtld_prefix.
18280 2012-10-24 Roland McGrath <roland@hack.frob.com>
18282 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18283 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18287 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18288 Declare __clock_getres, __clock_gettime, __clock_settime,
18289 __clock_nanosleep, and __clock_getcpuclockid.
18290 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18291 Remove librt_hidden_def (clock_gettime).
18292 * sysdeps/unix/clock_gettime.c: Likewise.
18293 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18294 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18295 * rt/clock_getres.c: Define __clock_getres as an alias.
18296 * sysdeps/posix/clock_getres.c: Likewise.
18297 * rt/clock_settime.c: Define __clock_settime as an alias.
18298 * sysdeps/unix/clock_settime.c: Likewise.
18299 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18300 * sysdeps/unix/clock_nanosleep.c: Likewise.
18301 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18302 * rt/clock-compat.c: New file.
18303 * rt/Makefile (librt-routines): Add clock-compat and move
18304 $(clock-routines) to ...
18305 (routines): ... here, new variable.
18306 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18307 Don't add get_clockfreq here.
18308 * rt/Versions (libc: GLIBC_2.17): New version set.
18309 Add clock_* symbols here.
18310 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18311 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18312 (GLIBC_2.17): Add clock_* symbols.
18313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18315 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18324 * NEWS: Mention the move.
18326 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18327 Use __open, __read, __close rather than their public counterparts.
18328 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18329 (__get_clockfreq_via_cpuinfo): Likewise.
18330 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18331 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18333 * config.h.in (HAVE_IFUNC): New #undef.
18334 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18336 * configure: Regenerated.
18338 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18340 * configure.in: Move READELF check to start of file.
18341 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18342 libc_cv_asm_gnu_indirect_function in the process.
18343 * configure: Regenerated.
18345 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18347 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18348 send the output to /dev/null.
18349 (libc_cv_cc_with_libunwind): Likewise.
18350 (libc_cv_as_noexecstack): Likewise.
18351 * configure: Regenerate.
18353 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18355 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18357 * posix/globtest.sh (TMPDIR): Do not set.
18358 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18359 (testout): Likewise.
18361 2012-10-24 Andreas Jaeger <aj@suse.de>
18363 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18364 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18365 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18366 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18367 posix_fadvise64, posix_fallocate64.
18369 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18370 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18371 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18373 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18375 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18377 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18378 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18379 <bits/fcntl-linux.h>.
18380 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18383 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18384 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18385 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18386 [__WORDSIZE != 64]: Likewise.
18388 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18390 * Makeconfig (run-built-tests): New variable.
18391 * Rules [$(cross-compiling) = yes]: Change condition to
18392 [$(run-built-tests) = no].
18393 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18394 to [$(run-built-tests) = yes].
18395 * elf/Makefile [$(cross-compiling) = no]: Likewise
18396 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18397 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18398 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18399 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18400 * io/Makefile [$(cross-compiling) = no]: Likewise.
18401 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18402 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18403 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18404 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18405 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18406 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18407 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18408 * string/Makefile [$(cross-compiling) = no]: Likewise.
18410 * posix/Makefile ($(objpfx)globtest.out): Pass
18411 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18412 $(rtld-installed-name).
18413 * posix/globtest.sh (elf_objpfx): Remove variable.
18414 (rtld_installed_name): Likewise.
18415 (library_path): Likewise.
18416 (run_program_prefix): New variable. Use for running globtest
18419 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18420 Joseph Myers <joseph@codesourcery.com>
18422 * Makeconfig (host-built-program-cmd): New variable.
18423 * elf/Makefile (tst-stackguard1-ARGS): Use
18424 $(host-built-program-cmd).
18425 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18426 (tst-spawn-ARGS): Likewise.
18427 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18429 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18430 Jim Blandy <jimb@codesourcery.com>
18432 * Makeconfig (run-via-rtld-prefix): New variable.
18433 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18434 (built-program-cmd): Likewise.
18436 2012-10-22 Andreas Jaeger <aj@suse.de>
18438 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18439 __O_RSYNC if it exists, otherwise to O_SYNC.
18441 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18442 Joseph Myers <joseph@codesourcery.com>
18444 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18446 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18448 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18451 2012-10-22 Andreas Jaeger <aj@suse.de>
18453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18458 bits/fcntl-linux.h.
18460 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18461 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18468 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18469 Joseph Myers <joseph@codesourcery.com>
18471 * config.make.in (NM): New variable.
18473 2012-10-21 Andreas Jaeger <aj@suse.de>
18475 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18476 definitions and declarations that are provided by
18477 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18479 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18482 * elf/Makefile (tests-static): Add tst-leaks1-static.
18483 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18484 ($(objpfx)tst-leaks1-static): New rule.
18485 ($(objpfx)tst-leaks1-static-mem): Likewise.
18486 (tst-leaks1-static-ENV): New macro.
18487 * elf/dl-open.c (dl_open_worker): Check the main application
18488 only if SHARED is defined.
18489 * elf/tst-leaks1-static.c: New file.
18491 2012-10-20 Andreas Jaeger <aj@suse.de>
18493 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18494 generic values for Linux.
18495 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18496 and declarations that are provided by <bits/fcntl-linux.h> and
18497 include <bits/fcntl-linux.h>.
18498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18499 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18501 2012-10-20 Roland McGrath <roland@hack.frob.com>
18503 * io/fcntl.h: Move include of <bits/types.h> to the top and
18504 include it unconditionally.
18506 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18508 * wcsmbs/Makefile (tests-ifunc): New variable.
18509 (tests): Add $(tests-ifunc).
18510 * wcsmbs/test-wcschr-ifunc.c: New file.
18511 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18512 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18513 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18514 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18515 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18517 * string/Makefile (tests-ifunc): New variable.
18518 (tests): Add $(tests-ifunc).
18519 * string/test-memccpy.c (TEST_NAME): New macro.
18520 * string/test-memchr.c (TEST_NAME): Likewise.
18521 * string/test-memcmp.c (TEST_NAME): Likewise.
18522 * string/test-memcpy.c (TEST_NAME): Likewise.
18523 * string/test-memmem.c (TEST_NAME): Likewise.
18524 * string/test-memmove.c (TEST_NAME): Likewise.
18525 * string/test-memset.c (TEST_NAME): Likewise.
18526 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18527 * string/test-stpcpy.c (TEST_NAME): Likewise.
18528 * string/test-stpncpy.c (TEST_NAME): Likewise.
18529 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18530 * string/test-strcasestr.c (TEST_NAME): Likewise.
18531 * string/test-strcat.c (TEST_NAME): Likewise.
18532 * string/test-strchr.c (TEST_NAME): Likewise.
18533 * string/test-strcmp.c(TEST_NAME): Likewise.
18534 * string/test-strcpy.c (TEST_NAME): Likewise.
18535 * string/test-strcspn.c (TEST_NAME): Likewise.
18536 * string/test-strlen.c (TEST_NAME): Likewise.
18537 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18538 * string/test-strncmp.c (TEST_NAME): Likewise.
18539 * string/test-strncpy.c (TEST_NAME): Likewise.
18540 * string/test-strnlen.c (TEST_NAME): Likewise.
18541 * string/test-strpbrk.c (TEST_NAME): Likewise.
18542 * string/test-strrchr.c (TEST_NAME): Likewise.
18543 * string/test-strspn.c (TEST_NAME): Likewise.
18544 * string/test-strstr.c (TEST_NAME): Likewise.
18545 * string/test-bcopy-ifunc.c: New file.
18546 * string/test-bzero-ifunc.c: Likewise.
18547 * string/test-memccpy-ifunc.c: Likewise.
18548 * string/test-memchr-ifunc.c: Likewise.
18549 * string/test-memcmp-ifunc.c: Likewise.
18550 * string/test-memcpy-ifunc.c: Likewise.
18551 * string/test-memmem-ifunc.c: Likewise.
18552 * string/test-memmove-ifunc.c: Likewise.
18553 * string/test-mempcpy-ifunc.c: Likewise.
18554 * string/test-memset-ifunc.c: Likewise.
18555 * string/test-rawmemchr-ifunc.c: Likewise.
18556 * string/test-stpcpy-ifunc.c: Likewise.
18557 * string/test-stpncpy-ifunc.c: Likewise.
18558 * string/test-strcasecmp-ifunc.c: Likewise.
18559 * string/test-strcasestr-ifunc.c: Likewise.
18560 * string/test-strcat-ifunc.c: Likewise.
18561 * string/test-strchr-ifunc.c: Likewise.
18562 * string/test-strchrnul-ifunc.c: Likewise.
18563 * string/test-strcmp-ifunc.c: Likewise.
18564 * string/test-strcpy-ifunc.c: Likewise.
18565 * string/test-strcspn-ifunc.c: Likewise.
18566 * string/test-strlen-ifunc.c: Likewise.
18567 * string/test-strncasecmp-ifunc.c: Likewise.
18568 * string/test-strncat-ifunc.c: Likewise.
18569 * string/test-strncmp-ifunc.c: Likewise.
18570 * string/test-strncpy-ifunc.c: Likewise.
18571 * string/test-strnlen-ifunc.c: Likewise.
18572 * string/test-strpbrk-ifunc.c: Likewise.
18573 * string/test-strrchr-ifunc.c: Likewise.
18574 * string/test-strspn-ifunc.c: Likewise.
18575 * string/test-strstr-ifunc.c: Likewise.
18577 * debug/Makefile (tests-ifunc): New variable.
18578 (tests): Add $(tests-ifunc).
18579 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18580 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18581 * debug/test-stpcpy_chk-ifunc.c: New file.
18582 * debug/test-strcpy_chk-ifunc.c: Likewise.
18584 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18587 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18588 header is not read in.
18590 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18592 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18593 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18594 directly. Pass built executable to script as
18595 $(built-program-cmd).
18596 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18597 $testprogram without using LD_LIBRARY_PATH and $ldso.
18599 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18600 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18601 $(rtld-installed-name).
18602 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18603 (rtld_installed_name): Likewise.
18604 (library_path): Likewise.
18605 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18606 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18607 $(run-program-prefix) to tst-tables.sh.
18608 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18609 it to run tst-table-from and tst-table-to.
18610 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18611 Pass it to tst-table.sh.
18612 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18613 $(run-program-prefix) to tst-gettext.sh.
18614 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18616 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18618 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18619 to run tst-gettext.
18620 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18621 to run tst-gettext2.
18622 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18623 to run tst-translit.
18624 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18625 $(run-program-prefix) to tst-mtrace.sh.
18626 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18628 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18629 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18630 $(rtld-installed-name).
18631 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18632 (rtld_installed_name): Likewise.
18633 (run_program_prefix): New variable. Use it to run wordexp-test.
18635 * Makeconfig (ARCH): Remove all definitions.
18636 (machine): Likewise.
18637 [ARCH]: Remove conditional code.
18638 [!objdir]: Give error.
18639 [!objdir] (objpfx): Remove.
18640 [!objdir] (common-objpfx): Likewise.
18641 [!objdir] (common-objdir): Likewise.
18642 * configure.in (config_makefile): Remove. Hardcode Makefile in
18643 AC_CONFIG_FILES call.
18644 * configure: Regenerated.
18647 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18649 (testout): Likewise.
18651 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18652 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18653 $(rtld-installed-name).
18654 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18655 (rtld_installed_name): Likwise.
18656 (runit): Remove function.
18657 (run_getconf): New variable, Use it for running getconf binary.
18659 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18662 * string/test-memmem.c (check_result): New function.
18663 (do_one_test): Use it.
18664 (check1): New function.
18665 (test_main): Use it.
18667 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18669 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18671 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18673 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18674 (_G_LSEEK64): Likewise.
18675 (_G_MMAP64): Likewise.
18676 (_G_FSTAT64): Likewise.
18677 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18678 (_G_LSEEK64): Likewise.
18679 (_G_MMAP64): Likewise.
18680 (_G_FSTAT64): Likewise.
18681 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18682 unconditional. Call __mmap64 directly.
18683 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18684 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18685 __lseek64 directly.
18686 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18687 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18689 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18690 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18691 __lseek64 directly.
18692 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18693 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18694 __lseek64 directly.
18695 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18696 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18697 __lseek64 directly.
18698 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18699 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18700 __fxstat64 directly.
18701 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18702 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18704 (freopen64) [!_G_OPEN64]: Remove conditional code.
18705 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18707 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18708 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18710 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18711 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18713 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18714 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18716 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18717 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18719 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18720 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18722 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18723 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18725 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18727 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18730 * manual/memory.texi (Malloc Tunable Parameters): Add note
18731 about free list pointers overwriting some perturb bytes.
18732 Wording suggested by Roland McGrath.
18734 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18736 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18737 (lgamma_test): Likewise.
18738 (tgamma_test): Likewise.
18740 2012-10-16 Florian Weimer <fweimer@redhat.com>
18743 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18744 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18746 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18748 * NEWS: Mention BZ #14716.
18749 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18750 when removing AVAILABLE1_USES_J macro.
18752 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18754 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18755 (__bswap_64): __uint64_t for unsigned 64-bit int.
18757 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18759 * include/string.h (memmem): Declare libc hidden alias.
18760 * string/memmem.c (memmem): Define libc hidden alias.
18761 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18762 __read, __close instead of open, read, close.
18764 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18767 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18769 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18770 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18771 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18773 (__rawmemchr_sse2): Likewise.
18774 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18775 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18776 (__strchr_sse2): Likewise.
18777 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18778 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18779 (__strcasecmp_sse2): Likewise.
18780 (__strncasecmp_sse2): Likewise.
18781 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18782 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18783 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18784 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18785 (__strrchr_sse2): Likewise.
18786 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18788 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18789 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18790 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18791 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18792 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18793 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18794 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18795 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18796 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18797 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18798 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18799 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18800 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18801 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18802 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18803 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18804 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18805 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18806 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18807 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18808 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18809 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18810 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18811 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18812 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18813 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18814 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18815 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18816 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18817 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18819 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18821 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18822 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18823 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18824 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18826 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18828 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18829 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18830 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18831 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18833 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18834 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18835 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18836 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18837 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18838 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18839 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18840 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18841 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18842 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18843 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18844 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18845 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18846 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18847 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18848 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18849 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18850 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18851 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18852 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18853 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18854 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18855 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18856 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18857 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18858 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18859 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18860 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18861 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18862 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18863 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18864 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18865 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18866 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18867 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18868 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18869 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18870 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18871 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18872 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18873 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18875 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18876 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18877 * include/ifunc-impl-list.h: New file.
18878 * misc/ifunc-impl-list.c: Likewise.
18879 * misc/Makefile (routines): Add ifunc-impl-list.
18880 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18881 * string/test-string.h: Include <ifunc-impl-list.h>.
18882 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18883 impl_array): New variables.
18884 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18886 (test_init): Call __libc_ifunc_impl_list to initialize
18887 func_list if TEST_IFUNC and TEST_NAME are defined.
18889 * string/Makefile (strop-tests): Add bcopy and bzero.
18890 * string/test-bcopy.c: New file.
18891 * string/test-bzero.c: Likewise.
18892 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18894 * string/test-memset.c: Support bzero test if TEST_BZERO is
18896 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18898 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18900 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18903 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18905 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18906 * configure: Regenerated.
18908 * Makeconfig (+link-static-before-libc): Don't include
18909 $(link-static-libc).
18911 * libio/libio.h (_IO_pos_t): Remove.
18913 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18915 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18918 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18920 * crypt/crypt-entry.c: Include fips-private.h.
18921 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18922 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18923 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18924 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18926 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18928 * crypt/crypt-private.h: Include stdbool.h.
18929 (_ufc_setup_salt_r): Return bool.
18930 * crypt/crypt-entry.c: Include errno.h.
18931 (__crypt_r): Return NULL with EINVAL for bad salt.
18932 * crypt/crypt_util.c (bad_for_salt): New.
18933 (_ufc_setup_salt_r): Check that salt is long enough and within
18934 the specified alphabet.
18935 * crypt/badsalttest.c: New file.
18936 * crypt/Makefile (tests): Add it.
18937 ($(objpfx)badsalttest): New.
18939 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18941 * NEWS: Add entry for BZ #14602.
18943 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18945 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18947 * math/libm-test.inc: Update comment listing what functions and
18949 (isgreater_test): New function.
18950 (isgreaterequal_test): Likewise.
18951 (isless_test): Likewise.
18952 (islessequal_test): Likewise.
18953 (islessgreater_test): Likewise.
18954 (isunordered_test): Likewise.
18955 (main): Call the new functions.
18957 2012-10-09 Roland McGrath <roland@hack.frob.com>
18959 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18960 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18961 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18962 * sysdeps/i386/configure: Regenerated.
18963 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18964 * sysdeps/mach/configure: Regenerated.
18965 * sysdeps/mach/hurd/configure: Regenerated.
18966 * sysdeps/powerpc/configure: Regenerated.
18967 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18968 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18969 * sysdeps/s390/s390-32/configure: Regenerated.
18970 * sysdeps/s390/s390-64/configure: Regenerated.
18971 * sysdeps/sh/configure: Regenerated.
18972 * sysdeps/sparc/configure: Regenerated.
18973 * sysdeps/unix/sysv/linux/configure: Regenerated.
18974 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18975 * sysdeps/x86_64/configure: Regenerated.
18977 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18978 defined. Don't check if MAP is NULL.
18980 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18982 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18983 (_G_stat64): Likewise.
18984 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18985 (_G_stat64): Likewise.
18986 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18987 instead of struct _G_stat64.
18988 * libio/fileops.c (mmap_remap_check): Likewise.
18989 (decide_maybe_mmap): Likewise.
18990 (_IO_new_file_seekoff): Likewise.
18991 (_IO_file_stat): Likewise.
18992 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18994 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18995 instead of struct _G_stat64.
18996 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18998 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19001 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19003 (CHECK_EOL): New macro.
19004 (two_way_short_needle): Check beginning of haystack for EOL. Use
19006 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19007 Replace with CHECK_EOL.
19008 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19009 Replace with CHECK_EOL.
19011 2012-10-08 Joseph Myers <joseph@codesourcery.com>
19013 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19015 * math/libm-test.inc: Update comment listing what functions and
19017 (finite_test): New function.
19018 (isinf_test): Likewise.
19019 (isnan_test): Likewise.
19020 (fpclassify_test): Test subnormal input.
19021 (isfinite_test): Likewise.
19022 (isnormal_test): Likewise.
19023 (main): Call the new functions.
19025 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19028 * Makerules (%.dynsym): Force C locale when running
19029 $(OBJDUMP) --dynamic-syms.
19031 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19033 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19036 2012-10-06 David S. Miller <davem@davemloft.net>
19038 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19039 upper 32-bits of the length value in %o2 since we use branch-on-register
19040 tests which consider the entire 64-bit register.
19042 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19044 * string/test-strstr.c (check2): Add a test for page boundary.
19046 2012-10-05 David S. Miller <davem@davemloft.net>
19048 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19049 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19051 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19053 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19054 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19055 and bzero when HWCAP_SPARC_CRYPTO is present.
19057 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19060 * string/test-strstr.c (check2): New function.
19061 (test_main): Call check2.
19063 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19065 * string/bug-strcasestr1.c (do_test): Moved to ...
19066 * string/test-strcasestr.c (check1): Here. New function.
19067 (do_one_test): Break out result checking code into ...
19068 (check_result): This. New function.
19069 (do_one_test): Call check_result.
19070 (test_main): Call check1.
19071 * string/bug-strchr1.c (do_test): Moved to ...
19072 * string/test-strchr.c (check1): Here. New function.
19073 (do_one_test): Break out result checking code into ...
19074 (check_result): This. New function.
19075 (do_one_test): Call check_result.
19076 (test_main): Call check1.
19077 * string/bug-strstr1.c (main): Moved to ...
19078 * string/test-strstr.c (check1): Here. New function.
19079 (do_one_test): Break out result checking code into ...
19080 (check_result): This. New function.
19081 (do_one_test): Call check_result.
19082 (test_main): Call check1.
19083 * string/bug-strcasestr1.c: Removed.
19084 * string/bug-strchr1.c: Likewise.
19085 * string/bug-strstr1.c: Likewise.
19087 * elf/Makefile (dl-routines): Add hwcaps.
19088 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19089 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19090 (_dl_important_hwcaps): Moved to ...
19091 * elf/dl-hwcaps.c: Here. New file.
19092 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19095 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19096 if IS_IN_rtld isn't defined.
19098 * elf/dl-support.c (_dl_sysinfo_map): New.
19099 Include "get-dynamic-info.h" and "setup-vdso.h".
19100 (_dl_non_dynamic_init): Call setup_vdso.
19101 * elf/dynamic-link.h: Don't include <assert.h>.
19102 (elf_get_dynamic_info): Moved to ...
19103 * elf/get-dynamic-info.h: Here. New file.
19104 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19105 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19106 * elf/setup-vdso.h: Here. New file.
19107 * elf/rtld.c: Include "setup-vdso.h".
19108 (dl_main): Call setup_vdso.
19110 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19112 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19113 creal in comment listing functions tested. List finite, isinf,
19114 isnan, isless, islessequal, isgreater, isgreaterequal,
19115 islessgreater, isunordered, lgamma_r and pow10 as functions and
19116 macros not tested. Mention which functions not tested are aliases
19117 for other functions. Fix typo. Note that signs of NaNs are not
19120 * scripts/config.guess: Update from config.git.
19121 * scripts/config.sub: Likewise.
19123 2012-10-04 Roland McGrath <roland@hack.frob.com>
19125 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19126 * misc/madvise.c (madvise): Renamed to __madvise.
19127 Make madvise a weak alias.
19128 * include/sys/mman.h: Declare __madvise.
19129 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19130 * sysdeps/unix/syscalls.list
19131 (madvise): Make __madvise the strong name, and madvise a weak alias.
19132 * sysdeps/unix/sysv/linux/syscalls.list
19133 (madvise, mmap): Remove redundant entries.
19134 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19135 * malloc/malloc.c (mtrim): Likewise.
19136 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19138 2012-10-03 Roland McGrath <roland@hack.frob.com>
19140 * sysdeps/mach/hurd/dl-cache.c: File removed.
19141 * config.h.in (USE_LDCONFIG): New #undef.
19142 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19143 * configure: Regenerated.
19144 * elf/Makefile (dl-routines): Add dl-cache only under
19145 [$(use-ldconfig) = yes].
19146 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19147 cache on [USE_LDCONFIG].
19148 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19150 * elf/rtld.c (dl_main): Likewise.
19152 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19154 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19155 _SC_LEVEL4_CACHE_LINESIZE.
19157 2012-10-03 Roland McGrath <roland@hack.frob.com>
19159 * sysdeps/unix/bsd/confstr.h: File removed.
19161 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
19163 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19166 2012-10-02 Roland McGrath <roland@hack.frob.com>
19168 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19169 Make 'mapoff' field ElfW(Off) rather than off_t.
19171 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19173 * nscd/Makefile: Remove nscd-cflags and all its users.
19174 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19175 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19178 * malloc.c (malloc_printerr): Clarify error message.
19180 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19184 Set bit_FMA_Usable if FMA is supported.
19185 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19187 (bit_FMA4_Usable): Updated.
19188 (index_FMA_Usable): New macro.
19189 (CPUID_FMA): Likewise
19190 (HAS_FMA): Defined with bit_FMA_Usable.
19192 2012-10-01 Roland McGrath <roland@hack.frob.com>
19194 * bits/types.h (__swblk_t): Type removed.
19195 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19196 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19197 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19198 (__SWBLK_T_TYPE): Likewise.
19199 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19200 (__SWBLK_T_TYPE): Likewise.
19201 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19202 (__SWBLK_T_TYPE): Likewise.
19203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19204 (__SWBLK_T_TYPE): Likewise.
19206 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19207 Honza Horak <hhorak@redhat.com>
19209 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19210 (xdr_mapname): Use YPMAXMAP as maxsize.
19211 (xdr_peername): Use YPMAXPEER as maxsize.
19212 (xdr_keydat): Use YPAXRECORD as maxsize.
19213 (xdr_valdat): Use YPMAXRECORD as maxsize.
19215 2012-10-01 Roland McGrath <roland@hack.frob.com>
19217 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19219 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19220 * csu/init-first.c: ... here.
19221 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19222 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19223 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19224 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19225 * sysdeps/i386/init-first.c: File removed.
19226 * sysdeps/sh/init-first.c: File removed.
19228 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19232 if x * y might underflow to zero and z is zero.
19233 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19234 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19235 * math/libm-test.inc (min_subnorm_value): New variable.
19236 (fma_test): Add more tests.
19237 (fma_test_towardzero): Likewise.
19238 (fma_test_downward): Likewise
19239 (fma_test_upward): Likewise.
19240 (initialize): Set min_subnorm_value.
19242 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19247 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19248 mode for addition resulting in exact zero.
19249 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19252 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19253 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19254 * math/libm-test.inc (fma_test): Add more tests.
19255 (fma_test_towardzero): New function.
19256 (fma_test_downward): Likewise.
19257 (fma_test_upward): Likewise.
19258 (main): Call the new functions.
19260 2012-09-28 David S. Miller <davem@davemloft.net>
19262 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19264 2012-09-28 Roland McGrath <roland@hack.frob.com>
19266 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19267 instead of SIGALRM.
19269 * sysdeps/gnu/_G_config.h: Moved to ...
19270 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19271 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19272 * sysdeps/generic/_G_config.h: ... here.
19274 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19276 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19278 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19279 Conditionalize target on [libnss_test1.so-version].
19281 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19283 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19284 (elfobjdir): Move out of conditionals.
19286 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19287 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19288 (__nss_lookup_function): Conditionalize label remove_from_tree on
19289 [!DO_STATIC_NSS || SHARED], matching its only use.
19291 2012-09-28 David S. Miller <davem@davemloft.net>
19293 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19294 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19296 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19298 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19300 when HWCAP_SPARC_CRYPTO is present.
19302 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19304 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19306 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19309 * stdio-common/vfprintf.c (process_string_arg): Revert
19312 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19314 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19316 * stdio-common/tst-sprintf.c: Include <locale.h>
19317 (main): Test sprintf's handling of incomplete multibyte
19320 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19322 * elf/dl-runtime.c (VERSYMIDX): Removed.
19323 * elf/dl-version.c (VERSYMIDX): Likewise.
19324 * elf/do-rel.h (VERSYMIDX): Likewise.
19325 (VALIDX): Likewise.
19326 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19327 * elf/rtld.c (VALIDX): Likewise.
19328 (ADDRIDX): Likewise.
19329 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19330 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19331 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19332 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19333 (VALIDX): Likewise.
19334 (ADDRIDX): Likewise.
19336 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19338 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19340 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19343 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19345 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19346 addresses are in the same scope as 192.0.2/24.
19347 * posix/gai.conf: Document new scope table defaults.
19349 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19352 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19353 for ftell. Compute offsets from write pointers instead.
19354 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19356 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19359 * libio/Makefile (tests): New test case tst-fseek.
19360 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19361 combination works in wide mode.
19362 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19363 state when the external buffer state changes.
19365 2012-09-27 David S. Miller <davem@davemloft.net>
19368 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19369 pass reloc->r_addend in as the 'high' argument to
19370 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19374 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19376 * rt/tst-aio2.c: Include <pthread.h>.
19377 * rt/tst-aio3.c: Likewise.
19379 2012-09-27 Steve Ellcey <sellcey@mips.com>
19381 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19383 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19385 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19386 contents on [SHARED].
19388 2012-09-26 Marek Polacek <polacek@redhat.com>
19392 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19393 for C++ and GCC <4.3 as well as for non GCC compilers.
19395 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19399 2012-09-25 Roland McGrath <roland@hack.frob.com>
19401 * Makefile.in (all, install): Declare with .PHONY.
19402 Reported by Michael Hope <michael.hope@linaro.org>.
19404 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19406 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19407 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19409 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19411 (sydep_routines): Add the new and the internal functions.
19412 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19413 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19415 (GLIBC_2.17): Add the new function.
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19417 (GLIBC_2.17): Likewise.
19418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19419 (GLIBC_2.17): Likewise.
19420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19421 (GLIBC_2.17): Likewise.
19422 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19424 2012-09-25 Alan Modra <amodra@gmail.com>
19426 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19427 Add release barrier before setting once_control to say
19428 initialisation is done. Add hints on lwarx. Use macro in
19430 (clear_once_control): Add release barrier.
19432 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19435 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19437 * math/s_clog10.c (__clog10): Likewise.
19438 * math/s_clog10f.c (__clog10f): Likewise.
19439 * math/s_clog10l.c (__clog10l): Likewise.
19440 * math/s_clogf.c (__clogf): Likewise.
19441 * math/s_clogl.c (__clogl): Likewise.
19442 * math/Makefile (libm-calls): Add x2y2m1.
19443 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19444 (__x2y2m1): Likewise.
19445 (__x2y2m1l): Likewise.
19446 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19447 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19448 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19449 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19450 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19451 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19452 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19453 * sysdeps/i386/fpu/libm-test-ulps: Update.
19454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19457 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19458 int as type of variable DEPTH.
19459 (glob): Use size_t instead of int as type of variables NEWCOUNT
19462 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19464 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19465 Add s_sincosf-sse2.
19466 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19467 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19468 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19469 macros for using routine as __sincosf_ia32.
19470 Use macro for function declaration and weak_alias.
19471 * sysdeps/i386/fpu/libm-test-ulps: Update.
19473 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19476 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19477 subnormal argument.
19478 * math/s_cexpf.c (__cexpf): Likewise.
19479 * math/s_csinf.c (__csinf): Likewise.
19480 * math/s_csinhf.c (__csinhf): Likewise.
19481 * math/s_ctanf.c (__ctanf): Likewise.
19482 * math/s_ctanhf.c (__ctanhf): Likewise.
19483 * math/s_ccosh.c (__ccoshf): Likewise.
19484 * math/s_cexp.c (__cexpl): Likewise.
19485 * math/s_csin.c (__csin): Likewise.
19486 * math/s_csinh.c (__csinh): Likewise.
19487 * math/s_ctan.c (__ctan): Likewise.
19488 * math/s_ctanh.c (ctanh): Likewise.
19489 * math/s_ccoshl.c (__ccoshl): Likewise.
19490 * math/s_cexpl.c (__cexpl): Likewise.
19491 * math/s_csinl.c (__csinl): Likewise.
19492 * math/s_csinhl.c (__csinhl): Likewise.
19493 * math/s_ctanl.c (__ctanl): Likewise.
19494 * math/s_ctanhl.c (__ctanhl): Likewise.
19496 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19498 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19499 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19500 (_IO_off_t): Define to __off_t, not _G_off_t.
19501 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19502 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19503 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19504 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19505 type of __dummy and __dummy2 fields.
19506 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19507 (_G_ssize_t): Likewise.
19508 (_G_off_t): Likewise.
19509 (_G_pid_t): Likewise.
19510 (_G_uid_t): Likewise.
19511 (_G_wchar_t): Likewise.
19512 (_G_wint_t): Likewise.
19513 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19514 (_G_ssize_t): Likewise.
19515 (_G_off_t): Likewise.
19516 (_G_pid_t): Likewise.
19517 (_G_uid_t): Likewise.
19518 (_G_wchar_t): Likewise.
19519 (_G_wint_t): Likewise.
19520 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19521 (_G_ssize_t): Likewise.
19522 (_G_off_t): Likewise.
19523 (_G_pid_t): Likewise.
19524 (_G_uid_t): Likewise.
19525 (_G_wchar_t): Likewise.
19526 (_G_wint_t): Likewise.
19528 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19530 * malloc/arena.c: Include malloc-sysdep.h.
19531 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19532 is sufficient to shrink the heap or an unmap is needed.
19533 * sysdeps/generic/malloc-sysdep.h: New file. Define
19534 new function check_may_shrink_heap.
19535 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19536 new function check_may_shrink_heap.
19538 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19540 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19543 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19545 * catgets/test-gencat.sh: Add "set -e".
19546 * elf/tst-pathopt.sh: Likewise.
19547 * grp/tst_fgetgrent.sh: Likewise.
19548 * iconvdata/run-iconv-test.sh: Likewise.
19549 * intl/tst-gettext.sh: Likewise.
19550 * intl/tst-gettext2.sh: Likewise.
19551 * intl/tst-gettext4.sh: Likewise.
19552 * intl/tst-gettext6.sh: Likewise.
19553 * intl/tst-translit.sh: Likewise.
19554 * io/ftwtest-sh: Likewise.
19555 * libio/test-freopen.sh: Likewise.
19556 * malloc/tst-mtrace.sh: Likewise.
19557 * posix/globtest.sh: Likewise.
19558 * posix/tst-getconf.sh: Likewise.
19559 * posix/wordexp-tst.sh: Likewise.
19560 * stdio-common/tst-printf.sh: Likewise.
19561 * stdio-common/tst-unbputc.sh: Likewise.
19562 * stdlib/tst-fmtmsg.sh: Likewise.
19563 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19564 * catgets/Makefile: Do not specify -e option when running
19565 testsuite shell scripts.
19566 * elf/Makefile: Likewise.
19567 * grp/Makefile: Likewise.
19568 * iconvdata/Makefile: Likewise.
19569 * intl/Makefile: Likewise.
19570 * io/Makefile: Likewise.
19571 * libio/Makefile: Likewise.
19572 * malloc/Makefile: Likewise.
19573 * posix/Makefile: Likewise.
19574 * stdio-common/Makefile: Likewise.
19575 * stdlib/Makefile: Likewise.
19576 * sysdeps/x86_64/Makefile: Likewise.
19578 * io/ftwtest-sh: Add copyright header.
19579 * posix/globtest.sh: Likewise.
19580 * posix/tst-getconf.sh: Likewise.
19581 * posix/wordexp-tst.sh: Likewise.
19582 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19584 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19587 * Makeconfig (+link): Defined as $(+link-static) if
19588 $(build-shared) isn't yes.
19589 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19591 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19593 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19596 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19597 new chunk size with MALLOC_ALIGN_MASK.
19599 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19602 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19604 (__printf_fphex): Determine rounding using get_rounding_mode and
19606 * stdio-common/tst-printf-round.c (struct hex_test): New
19608 (hex_tests): New variable.
19609 (test_hex_in_one_mode): New function.
19610 (do_test): Also run tests for hex float output.
19612 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19614 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19615 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19616 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19617 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19618 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19619 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19620 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19621 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19623 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19625 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19626 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19627 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19628 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19630 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19633 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19635 * elf/tst-rtld-load-self.sh: New test.
19636 * elf/Makefile: Run it.
19638 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19640 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19641 (tst-writev-ENV): Remove.
19642 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19644 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19646 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19648 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19650 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19652 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19654 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19655 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19656 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19659 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19662 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19663 * config.make.in (have-cpp-asm-debuginfo): Removed.
19664 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19665 * configure: Regenerated.
19667 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19670 * stdio-common/printf_fp.c: Include <stdbool.h> and
19672 (___printf_fp): Determine rounding using get_rounding_mode and
19674 * stdio-common/tst-printf-round.c: New file.
19675 * stdio-common/Makefile (tests): Add tst-printf-round.
19676 (link-libm): New variable.
19677 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19679 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19682 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19683 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19685 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19688 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19690 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19691 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19692 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19693 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19695 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19698 * include/rounding-mode.h: New file.
19699 * sysdeps/generic/get-rounding-mode.h: Likewise.
19700 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19701 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19702 (MAX_VALUE): New macro.
19703 (MIN_VALUE): Likewise.
19704 (overflow_value): New function.
19705 (underflow_value): Likewise.
19706 (round_and_return): Use overflow_value and underflow_value to
19707 determine return values in overflow and underflow cases. Use
19708 round_away to determine rounding depending on rounding mode.
19709 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19710 determine return values in overflow and underflow cases.
19711 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19712 (struct test_results): New structure.
19713 (struct test): Use struct test_results to store expected results
19714 for all rounding modes.
19715 (TEST): Include expected results for all rounding modes.
19716 (test_in_one_mode): New function.
19717 (do_test): Use test_in_one_mode to compute and check results.
19718 Check results for all rounding modes.
19719 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19722 2012-12-09 Allan McRae <allan@archlinux.org>
19724 * sysdeps/i386/fpu/libm-test-ulps: Update
19726 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19728 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19729 (_G_int32_t): Likewise.
19730 (_G_uint16_t): Likewise.
19731 (_G_uint32_t): Likewise.
19732 (_G_HAVE_BOOL): Likewise.
19733 (_G_HAVE_ATEXIT): Likewise.
19734 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19735 (_G_HAVE_IO_FILE_OPEN): Likewise.
19736 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19737 (_G_int32_t): Likewise.
19738 (_G_uint16_t): Likewise.
19739 (_G_uint32_t): Likewise.
19740 (_G_HAVE_BOOL): Likewise.
19741 (_G_HAVE_ATEXIT): Likewise.
19742 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19743 (_G_HAVE_IO_FILE_OPEN): Likewise.
19744 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19745 (_G_int32_t): Likewise.
19746 (_G_uint16_t): Likewise.
19747 (_G_uint32_t): Likewise.
19748 (_G_HAVE_BOOL): Likewise.
19749 (_G_HAVE_ATEXIT): Likewise.
19750 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19751 (_G_HAVE_IO_FILE_OPEN): Likewise.
19753 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19755 * csu/libc-tls.c: Update copyright years.
19757 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19759 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19760 [!_G_USING_THUNKS]: Remove conditional code.
19761 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19762 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19764 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19765 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19766 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19767 (_G_VTABLE_LABEL_PREFIX): Likewise.
19768 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19769 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19770 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19771 (_G_VTABLE_LABEL_PREFIX): Likewise.
19772 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19773 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19774 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19775 (_G_VTABLE_LABEL_PREFIX): Likewise.
19776 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19778 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19780 * libio/Makefile: Include ../Makeconfig before tests.
19781 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19782 only if $(build-shared) is yes.
19784 * iconv/gconv_db.c: Update copyright years.
19786 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19788 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19789 unwind info if defined PIC. Fix special cases description.
19790 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19792 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19794 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19796 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19798 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19800 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19803 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19804 (LDLIBS-tst-chk4): This.
19805 (LDFLAGS-tst-chk5): Renamed to ...
19806 (LDLIBS-tst-chk5): This.
19807 (LDFLAGS-tst-chk6): Renamed to ...
19808 (LDLIBS-tst-chk6): This.
19809 (LDFLAGS-tst-lfschk4): Renamed to ...
19810 (LDLIBS-tst-lfschk4): This.
19811 (LDFLAGS-tst-lfschk5): Renamed to ...
19812 (LDLIBS-tst-lfschk5): This.
19813 (LDFLAGS-tst-lfschk6): Renamed to ...
19814 (LDLIBS-tst-lfschk6): This.
19816 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19817 on $(common-objpfx)soversions.mk.
19819 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19822 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19825 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19827 * malloc/arena.c (arena_get_retry): New function that gets
19828 another arena for the caller to try its request on.
19829 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19830 current arena cannot fulfill the request.
19831 (__libc_memalign): Likewise.
19832 (__libc_memalign): Likewise.
19833 (__libc_pvalloc): Likewise.
19834 (__libc_calloc): Likewise.
19836 2012-09-05 John Tobey <john.tobey@gmail.com>
19839 * manual/arith.texi (Operations on Complex): Fix description
19840 of carg branch cut.
19842 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19845 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19849 * manual/memory.texi (Memory): Make order of menu items match
19852 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19854 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19855 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19856 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19858 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19860 * csu/libc-tls.c (static_dtv): Renamed to ...
19861 (_dl_static_dtv): This. Make it global.
19862 (_dl_initial_dtv): Removed.
19863 (__libc_setup_tls): Updated.
19864 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19865 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19868 2012-09-06 Petr Machata <pmachata@redhat.com>
19870 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19871 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19872 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19873 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19875 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19878 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19879 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19882 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19885 * Makeconfig (link-static-before-libc): Replace $(+prector)
19887 (link-static-after-libc): Replace $(+postctor) with
19889 (link-bounded): Replace $(+prector)/$(+postctor) with
19890 $(+prectorT)/$(+postctorT).
19891 (+prectorT): New macro.
19892 (+postctorT): Likewise.
19894 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19896 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19897 (round_str): Handle values above the maximum for IBM long double
19899 * stdlib/tst-strtod-round.c (tests): Regenerated.
19901 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19903 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19905 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19906 zarch_nohighgprs around the zarch optimized routines.
19907 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19908 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19909 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19912 2012-09-05 David S. Miller <davem@davemloft.net>
19914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19916 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19917 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19918 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19919 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19922 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19924 * malloc/arena.c: Fold copyright years.
19925 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19927 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19929 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19931 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19933 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19935 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19937 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19938 change internal state upon failure.
19940 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19942 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19943 * malloc/memusage.c (mmap): Likewise.
19944 (mmap64, mremap): Likewise. Adjust name in comment.
19946 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19948 * libio/fileops.c: Fix typos in comments.
19949 * libio/oldfileops.c: Likewise.
19950 * libio/wfileops.c: Likewise.
19952 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19955 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19956 (tst-malloc-usable-ENV): Set environment for test case.
19957 * malloc/hooks.c (malloc_check_get_size): New function to get
19959 * malloc/malloc.c (musable): Use malloc_check_get_size.
19960 * malloc/tst-malloc-usable.c: New test case.
19962 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19964 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19966 2012-09-05 Allan McRae <allan@archlinux.org>
19969 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19970 determine header location.
19971 * configure: Regenerated.
19973 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19975 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19977 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19978 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19980 (test): Regenerate.
19982 2012-09-04 David S. Miller <davem@davemloft.net>
19984 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19985 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19986 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19988 2012-09-04 Florian Weimer <fweimer@redhat.com>
19990 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19993 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19995 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19998 * libio/iogetdelim.c: Include <limits.h>.
19999 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20000 + len + 1 would overflow.
20002 2012-09-03 Andreas Jaeger <aj@suse.de>
20004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20005 * sysdeps/i386/fpu/libm-test-ulps: Update.
20007 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20009 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20010 Add s_sinf-sse2, s_conf-sse2.
20012 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20013 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20014 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20015 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20017 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20018 for using routine as __sinf_ia32.
20019 Use macro for function declaration and weak_alias.
20020 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20021 for using routine as __cosf_ia32.
20022 Use macro for function declaration and weak_alias.
20024 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20025 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20027 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20028 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20031 * math/libm-test.inc (cos_test): Add more test cases.
20032 (sin_test): Likewise.
20033 (sincos_test): Likewise.
20035 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20037 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20038 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20040 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20042 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20045 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20046 first element of the GOT.
20047 (elf_machine_load_address): Return the difference between
20048 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20050 2012-09-01 Allan McRae <allan@archlinux.org>
20053 * configure.in (AWK): Require gawk version 3.0 or later.
20054 * configure: Regenerated.
20056 2012-09-01 Joseph Myers <joseph@codesourcery.com>
20058 * sysdeps/unix/sysv/linux/kernel-features.h
20059 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20060 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20061 [__NR_clock_getres]: Make code unconditional.
20062 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20063 (clock_getcpuclockid): Remove code left unreachable by removal of
20065 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20066 code unconditional.
20067 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20068 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20069 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20070 Make code unconditional.
20071 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20072 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20073 * sysdeps/unix/sysv/linux/clock_settime.c
20074 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20076 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20077 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20079 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20082 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20083 scripts/test-installation.pl.
20085 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20086 and $ld_so_version if it is set.
20088 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20091 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20092 failure if reading from procfs failed.
20093 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20095 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20097 * sysdeps/unix/sysv/linux/kernel-features.h
20098 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20099 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20100 Remove conditional code.
20101 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20102 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20103 Remove conditional code.
20104 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20105 * sysdeps/unix/sysv/linux/i386/fxstat.c
20106 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20108 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20109 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20111 * sysdeps/unix/sysv/linux/i386/lxstat.c
20112 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20113 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20114 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20115 Remove conditional code.
20116 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20117 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20118 Remove conditional code.
20119 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20120 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20121 <kernel-features.h>.
20122 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20124 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20125 Remove conditional code.
20126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20127 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20128 Remove conditional.
20130 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20133 * NEWS: Add fixed bug number.
20135 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20138 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20139 underflowing exponent in case of negative sign.
20140 * stdlib/tst-strtod-round-data: Add more tests.
20141 * stdlib/tst-strtod-round.c (tests): Regenerated.
20144 * stdlib/strtod_l.c (NDIG): Remove.
20145 (HEXNDIG): Likewise.
20146 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20147 smallest representable value.
20148 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20149 lie within an exact representation of 1/2 ulp of the result.
20150 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20152 (TENS_P9_IDX): Define unconditionally.
20153 (TENS_P9_SIZE): Likewise.
20154 (TENS_P10_IDX): Likewise.
20155 (TENS_P10_SIZE): Likewise.
20156 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20157 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20158 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20159 entries for 10^2^13 and 10^2^14.
20160 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20161 (TENS_P13_IDX): Define.
20162 (TENS_P13_SIZE): Likewise.
20163 (TENS_P14_IDX): Likewise.
20164 (TENS_P14_SIZE): Likewise.
20165 (_fpioconst_pow10): Change array size to
20166 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20168 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20169 1024]: Add entries for 10^2^13 and 10^2^14.
20170 [LAST_POW10 > _LAST_POW10]: Remove #error.
20171 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20172 (_fpioconst_pow10): Change array size to
20173 FPIOCONST_POW10_ARRAY_SIZE.
20174 * stdlib/gen-fpioconst.c: New file.
20175 * stdlib/gen-tst-strtod-round.c: Likewise.
20176 * stdlib/tst-strtod-round-data: Likewise.
20177 * stdlib/tst-strtod-round.c: Likewise.
20178 * stdlib/Makefile (tests): Add tst-strtod-round.
20181 * stdlib/strtod_l.c: Include <stdint.h>.
20182 (NDEBUG): Do not define.
20183 (round_and_return): Change EXPONENT parameter to type intmax_t.
20184 Rearrange calculations to avoid internal overflow possibilities.
20185 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20186 Rearrange calculations to avoid internal overflow possibilities.
20187 Assert that number fits inside MPNSIZE limbs.
20188 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20189 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20190 calculations and add assertions to avoid internal overflow
20191 possibilities. Add casts to avoid signed/unsigned operations.
20192 * stdlib/tst-strtod-overflow.c: New file.
20193 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20195 2012-08-25 Marek Polacek <polacek@redhat.com>
20197 * time/time.h: Fix some typos in comments.
20199 2012-08-23 Roland McGrath <roland@hack.frob.com>
20201 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20202 * posix/tst-rfc3484-2.c: Likewise.
20203 * posix/tst-rfc3484-3.c: Likewise.
20205 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20207 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20208 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20210 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20212 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20213 #include of fxstatat64.c.
20215 2012-08-22 Roland McGrath <roland@hack.frob.com>
20217 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20218 * shadow/getspent_r.c: Likewise.
20219 * shadow/getspnam.c: Likewise.
20220 * shadow/getspnam_r.c: Likewise.
20221 * gshadow/getsgent.c: Likewise.
20222 * gshadow/getsgent_r.c: Likewise.
20223 * gshadow/getsgnam.c: Likewise.
20224 * gshadow/getsgnam_r.c: Likewise.
20225 * inet/getnetbyad.c: Likewise.
20226 * inet/getnetbyad_r.c: Likewise.
20227 * inet/getnetbynm.c: Likewise.
20228 * inet/getnetbynm_r.c: Likewise.
20229 * inet/getnetent.c: Likewise.
20230 * inet/getnetent_r.c: Likewise.
20231 * inet/getproto.c: Likewise.
20232 * inet/getproto_r.c: Likewise.
20233 * inet/getprtent.c: Likewise.
20234 * inet/getprtent_r.c: Likewise.
20235 * inet/getprtname.c: Likewise.
20236 * inet/getprtname_r.c: Likewise.
20237 * inet/getrpcbyname.c: Likewise.
20238 * inet/getrpcbyname_r.c: Likewise.
20239 * inet/getrpcbynumber.c: Likewise.
20240 * inet/getrpcbynumber_r.c: Likewise.
20241 * inet/getrpcent.c: Likewise.
20242 * inet/getrpcent_r.c: Likewise.
20243 * inet/getaliasent.c: Likewise.
20244 * inet/getaliasent_r.c: Likewise.
20245 * inet/getaliasname.c: Likewise.
20246 * inet/getaliasname_r.c: Likewise.
20247 * nscd/getgrgid_r.c: Likewise.
20248 * nscd/getgrnam_r.c: Likewise.
20249 * nscd/gethstbyad_r.c: Likewise.
20250 * nscd/gethstbynm3_r.c: Likewise.
20251 * nscd/getpwnam_r.c: Likewise.
20252 * nscd/getpwuid_r.c: Likewise.
20253 * nscd/getsrvbynm_r.c: Likewise.
20254 * nscd/getsrvbypt_r.c: Likewise.
20255 * nscd/gai.c: Likewise.
20257 * configure.in (build_nscd): New substituted variable, set
20258 by --disable-build-nscd and defaults to $use_nscd.
20259 * configure: Regenerated.
20260 * config.make.in (build-nscd): New substituted variable.
20261 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20262 Change conditional to require [$(build-nscd) = yes] as well.
20263 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20266 * configure.in (use_nscd): New substituted variable, set by
20267 --disable-nscd. If enabled, define USE_NSCD.
20268 * configure: Regenerated.
20269 * config.h.in: Add USE_NSCD.
20270 * config.make.in (use-nscd): New substituted variable.
20271 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20272 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20273 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20274 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20275 (CFLAGS-getgrnam_r.c): Likewise.
20276 (CFLAGS-initgroups.c): Likewise.
20277 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20278 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20280 * inet/getnetgrent_r.c
20281 (nscd_setnetgrent): New function, broken out of ...
20282 (setnetgrent): ... here. Call it.
20283 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20284 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20285 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20286 * nscd/Makefile (routines, aux): Move definitions after include of
20287 Makeconfig. Conditionalize on [$(use-nscd) != no].
20288 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20289 Conditionalize on [USE_NSCD].
20290 (is_nscd, nscd_init_cb): Likewise.
20291 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20292 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20293 * nss/nss_db/db-init.c: Likewise.
20294 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20296 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20297 (make_request): Use it.
20298 (cache_valid_p): New function.
20299 (__check_pf): Use it.
20300 * NEWS: Add item for --disable-nscd.
20302 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20304 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20305 to support sed >= 4.2.1-20-ga9bf076.
20306 * configure: Regenerated.
20308 2012-08-22 Roland McGrath <roland@hack.frob.com>
20310 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20311 Conditionalize whole body on [IREL].
20313 2012-08-22 Jeff Law <law@redhat.com>
20316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20317 if the family is PF_UNSPEC.
20319 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20321 * Makerules (lib-version): Rename from V.
20322 (install-lib-nosubdir): Change V to lib-version.
20324 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20327 * powerpc32/power6/wcschr.c: New file.
20328 * powerpc32/power6/wcscpy.c: New file.
20329 * powerpc32/power6/wcsrchr.c: New file.
20330 * powerpc64/power6/wcschr.c: New file.
20331 * powerpc64/power6/wcscpy.c: New file.
20332 * powerpc64/power6/wcsrchr.c: New file.
20334 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20336 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20337 (two_way_short_needle): Use it.
20338 * string/strstr.c (AVAILABLE1_USES_J): Define.
20339 * string/strcasestr.c: Likewise.
20341 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20343 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20346 * NEWS: Add an entry.
20347 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20348 define their defaults.
20349 (two_way_short_needle): Detect end-of-string on-the-fly.
20350 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20351 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20352 * string/bug-strcasestr1.c: New test.
20353 * string/Makefile: Run it.
20355 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20358 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20359 the first character.
20361 2012-08-21 Roland McGrath <roland@hack.frob.com>
20363 * csu/elf-init.c (__libc_csu_irel): Function removed.
20364 * csu/libc-start.c (apply_irel): New function.
20365 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20367 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20369 * sysdeps/unix/sysv/linux/kernel-features.h
20370 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20371 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20372 <kernel-features.h>.
20373 [__NR_fadvise64_64]: Make code unconditional.
20374 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20375 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20376 !__NR_fadvise64_64)]: Likewise.
20377 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20378 !__NR_fadvise64_64))]: Likewise.
20379 [__NR_fadvise64]: Make code unconditional.
20380 [!__NR_fadvise64]: Remove conditional code.
20381 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20382 <kernel-features.h>.
20383 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20385 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20388 not include <kernel-features.h>.
20389 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20391 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20393 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20394 include <kernel-features.h>.
20395 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20397 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20400 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20402 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20403 slight instruction rearrangements per scrollpipe analysis.
20404 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20406 2012-08-20 Roland McGrath <roland@hack.frob.com>
20408 * manual/syslog.texi (syslog; vsyslog, closelog):
20409 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20410 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20412 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20413 DSOCAPS to match condition on defining it.
20415 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20417 * sysdeps/unix/sysv/linux/kernel-features.h
20418 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20420 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20421 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20423 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20424 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20426 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20427 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20429 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20430 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20432 * sysdeps/unix/sysv/linux/kernel-features.h
20433 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20434 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20436 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20437 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20438 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20439 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20440 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20441 Make code unconditional.
20442 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20443 (__mmap64) [!__NR_mmap2]: Likewise.
20444 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20445 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20446 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20447 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20448 [__NR_mmap2]: Make code unconditional.
20449 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20450 (__mmap64) [!__NR_mmap2]: Likewise.
20452 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20454 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20456 2012-08-18 Andreas Jaeger <aj@suse.de>
20458 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20460 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20462 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20463 * include/unistd.h (__have_sock_cloexec): Likewise.
20464 (__have_pipe2): Likewise.
20465 (__have_dup3): Likewise.
20467 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20470 * include/unistd.h (__have_pipe2): Change define into an extern int.
20471 (__have_dup3): Likewise.
20472 * socket/have_sock_cloexec.c: Include fcntl.h.
20473 (__have_pipe2): New variable.
20474 (__have_dup3): Likewise.
20476 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20478 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20480 2012-08-17 Marek Polacek <polacek@redhat.com>
20482 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20483 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20485 2012-08-17 Roland McGrath <roland@hack.frob.com>
20487 * configure.in: Add AC_SUBST for sysheaders.
20488 * configure: Regenerated.
20489 * config.make.in (sysheaders): New substituted variable.
20491 * sysdeps/unix/mkfifo.c: Moved ...
20492 * sysdeps/posix/mkfifo.c: ... here.
20493 * sysdeps/unix/mkfifoat.c: Moved ...
20494 * sysdeps/posix/mkfifoat.c: ... here.
20496 * sysdeps/unix/utime.c: Moved ...
20497 * sysdeps/posix/utime.c: ... here.
20499 * sysdeps/unix/time.c: Moved ...
20500 * sysdeps/posix/time.c: ... here.
20501 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20502 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20504 * sysdeps/unix/nice.c: Moved ...
20505 * sysdeps/posix/nice.c: ... here.
20507 * sysdeps/unix/alarm.c: Moved ...
20508 * sysdeps/posix/alarm.c: ... here.
20510 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20512 2012-08-17 Jeff Law <law@redhat.com>
20514 * intl/Makefile (codeset_mo): New variable.
20515 ($(codeset_mo)): New target.
20516 (tst-codeset.out): Depend on that. Remove explicit rule.
20517 (tst-gettext3.out, tst-gettext5.out): Likewise.
20518 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20519 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20520 * intl/tst-codeset.sh: Remove.
20521 * intl/tst-gettext3.sh: Likewise.
20522 * intl/tst-gettext5.sh: Likewise.
20524 2012-08-17 Roland McGrath <roland@hack.frob.com>
20526 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20527 * sysdeps/unix/syscalls.list: ... here.
20529 * sysdeps/posix/getaddrinfo.c
20530 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20531 (gaiconf_init, gaiconf_reload): Use them.
20532 [!_STATBUF_ST_NSEC]
20533 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20534 Define using time_t rather than struct timespec.
20536 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20537 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20539 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20541 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20542 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20545 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20546 __libc_cleanup_push argument.
20548 * bits/param.h: New file.
20549 * misc/sys/param.h: New file.
20550 * include/sys/param.h: New file.
20551 * misc/Makefile (headers): Add bits/param.h.
20552 * sysdeps/generic/sys/param.h: File removed.
20553 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20554 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20555 * sysdeps/mach/hurd/bits/param.h: New file.
20556 * sysdeps/mach/hurd/sys/param.h: File removed.
20558 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20561 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20563 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20564 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20567 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20568 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20569 rather than -D_IO_MTSAFE_IO conditionally.
20570 * stdio-common/Makefile (CPPFLAGS): Likewise.
20571 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20572 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20573 Use $(libio-mtsafe).
20574 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20575 of -D_IO_MTSAFE_IO.
20576 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20577 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20578 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20579 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20580 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20581 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20582 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20583 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20584 (CFLAGS-fread_u_chk.c): Likewise.
20585 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20586 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20587 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20588 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20589 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20590 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20591 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20592 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20593 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20595 * libio/Makefile: Test [$(libc-reentrant) = yes]
20596 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20599 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20600 * sysdeps/pthread/configure: File removed.
20601 * sysdeps/pthread/Makeconfig: New file.
20602 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20603 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20605 2012-08-16 Gary Benson <gbenson@redhat.com>
20607 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20608 unmapping the first object in a namespace.
20610 2012-08-16 Roland McGrath <roland@hack.frob.com>
20612 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20613 (__internal_setnetgrent): ... this. Add internal_function to
20614 definition. Add libc_hidden_def.
20615 (setnetgrent): Update caller.
20616 (internal_endnetgrent): Renamed to ...
20617 (__internal_endnetgrent): ... this. Add internal_function to
20618 definition. Add libc_hidden_def.
20619 (endnetgrent): Update caller.
20620 (internal_getnetgrent_r): Renamed to ...
20621 (__internal_getnetgrent_r): ... this. Add internal_function to
20622 definition. Add libc_hidden_def.
20623 (__getnetgrent_r): Update caller.
20624 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20626 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20628 * stdlib/longlong.h: Update from GCC.
20630 2012-08-16 Roland McGrath <roland@hack.frob.com>
20632 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20633 on _QL, which is set by umul_ppmm but never used.
20634 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20635 variables, which are set by GMP macros but never used.
20636 * stdio-common/_itowa.c (_itowa): Likewise.
20637 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20638 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20640 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20642 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20643 struct La_sh_regs is not constant.
20644 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20645 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20646 and struct La_sparc64_regs are not constant.
20648 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20650 * sysdeps/unix/sysv/linux/kernel-features.h
20651 (__ASSUME_POSIX_TIMERS): Remove.
20652 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20653 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20654 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20655 Make code unconditional.
20656 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20657 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20658 Make code unconditional.
20659 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20660 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20661 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20662 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20663 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20664 Make code unconditional.
20665 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20666 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20667 (__libc_missing_posix_timers): Remove.
20669 2012-08-15 Roland McGrath <roland@hack.frob.com>
20671 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20672 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20674 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20676 * elf/dl-sym.c: Include <stdlib.h>.
20678 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20679 constants, which avoids warnings in 32-bit builds.
20681 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20682 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20684 * misc/lseek.c: File moved to ...
20685 * io/lseek.c: ... here.
20687 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20689 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20690 shifting LEN more than 31 bits at once.
20692 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20695 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20696 segmentation fault for a case of two empty input strings.
20697 * string/test-strncasecmp.c (check1): Renamed to...
20698 (bz12205): ...this.
20699 (bz14195): Add new testcase for two empty input strings and N > 0.
20700 (test_main): Call new testcase, adapt for renamed function.
20702 2012-08-15 Andreas Jaeger <aj@suse.de>
20705 * crypt/md5test2.c: New test, based on test supplied by Serge
20706 Belyshev <belyshev@depni.sinp.msu.ru>.
20707 * crypt/Makefile (xtests): Add md5test-giant..
20708 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20710 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20713 * crypt/md5.c (md5_process_block): Don't assume the buffer
20714 length is less than 2**32.
20715 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20716 length is less than 2**64.
20718 2012-08-15 Roland McGrath <roland@hack.frob.com>
20720 * string/str-two-way.h: Include <sys/param.h>.
20721 (MAX): Macro removed.
20723 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20724 Move #define and #undef of memmove to just before and after
20725 including <string.h>.
20727 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20728 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20729 and after including <string.h>. Move declarations of
20730 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20731 to before #include "string/memmove.c".
20733 * include/dirent.h: Declare __getdirentries.
20735 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20736 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20738 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20740 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20741 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20742 * sysdeps/i386/configure: Regenerated.
20743 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20744 STABS_CURRENT_FILE, and STABS_FUN.
20745 (END): Remove call to STABS_FUN_END.
20746 (STABS_CURRENT_FILE1): Delete.
20747 (STABS_CURRENT_FILE): Likewise.
20748 (STABS_FUN): Likewise.
20749 (STABS_FUN_END): Likewise.
20750 (STABS_FUN2): Likewise.
20751 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20752 * sysdeps/x86_64/configure: Regenerated.
20754 2012-08-14 Roland McGrath <roland@hack.frob.com>
20756 * elf/dl-open.c: Include <atomic.h>.
20757 * elf/dl-lookup.c: Likewise.
20759 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20761 * sysdeps/unix/sysv/linux/kernel-features.h
20762 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20763 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20765 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20767 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20768 condition on __ASSUME_CLONE_THREAD_FLAGS.
20770 2012-08-14 Andreas Jaeger <aj@suse.de>
20772 * sysdeps/i386/fpu/libm-test-ulps: Update.
20774 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20776 * include/atomic.h (atomic_exchange_and_add): Split into ...
20777 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20780 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20784 2012-08-13 Jeff Law <law@redhat.com>
20786 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20787 null byte in the output string.
20789 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20791 * sysdeps/unix/sysv/linux/kernel-features.h
20792 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20793 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20794 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20795 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20796 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20797 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20798 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20800 2012-08-09 Jeff Law <law@redhat.com>
20803 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20804 When avoid_arena is set, don't retry in the that arena. Pick the
20805 next one, whatever it might be.
20806 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20807 (arena_lock): Pass in new parameter to arena_get2.
20808 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20810 (__libc_malloc): Unify retrying after main arena failure with
20811 __libc_memalign version.
20812 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20814 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20817 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20818 to __redirect_strstr.
20819 (__strstr_sse42): Use typeof __redirect_strstr.
20820 (__strstr_ia32): Likewise.
20821 (__libc_strstr): New prototype.
20822 (strstr): Renamed to ...
20823 (__libc_strstr): This.
20824 (strstr): New strong alias of __libc_strstr.
20825 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20826 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20829 (__libc_time): New prototype.
20830 (time_ifunc): Replace time with __libc_time.
20831 (time): New strong alias and hidden definition of __libc_time.
20832 (__GI_time): Remove strong alias.
20833 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20834 Include <stddef.h>.
20835 (memmove): Redefined to __redirect_memmove.
20836 (__memmove_sse2): Use typeof __redirect_memmove.
20837 (__memmove_ssse3): Likewise.
20838 (__memmove_ssse3_back): Likewise.
20839 (__libc_memmove): New prototype.
20840 (memmove): Renamed to ...
20841 (__libc_memmove): This.
20842 (memmove): New strong alias of __libc_memmove.
20844 2012-08-08 Mark Salter <msalter@redhat.com>
20847 (R_MN10300_TLS_GD): Define.
20848 (R_MN10300_TLS_LD): Likewise.
20849 (R_MN10300_TLS_LDO): Likewise.
20850 (R_MN10300_TLS_GOTIE): Likewise.
20851 (R_MN10300_TLS_IE): Likewise.
20852 (R_MN10300_TLS_LE): Likewise.
20853 (R_MN10300_TLS_DTPMOD): Likewise.
20854 (R_MN10300_TLS_DTPOFF): Likewise.
20855 (R_MN10300_TLS_TPOFF): Likewise.
20856 (R_MN10300_SYM_DIFF): Likewise.
20857 (R_MN10300_ALIGN): Likewise.
20858 (R_MN10300_NUM): Update.
20860 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20862 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20865 2012-08-08 Roland McGrath <roland@hack.frob.com>
20867 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20869 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20870 sysdeps/unix -> sysdeps/posix move.
20871 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20873 2012-08-07 Allan McRae <allan@archlinux.org>
20876 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20877 (SUNOS_CPP): Likewise.
20878 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20880 (open_input): Call CPP using execvp.
20882 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20884 * sysdeps/unix/sysv/linux/kernel-features.h
20885 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20886 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20887 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20888 (__ASSUME_WAITID_SYSCALL): Likewise.
20889 * sysdeps/unix/sysv/linux/dl-execstack.c
20890 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20891 code unconditional.
20892 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20894 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20895 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20896 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20898 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20900 [__ASSUME_WAITID_SYSCALL]: Likewise.
20901 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20903 2012-08-07 Roland McGrath <roland@hack.frob.com>
20905 * sysdeps/unix/closedir.c: Renamed to ...
20906 * sysdeps/posix/closedir.c: ... here.
20907 * sysdeps/unix/dirfd.c: Renamed to ...
20908 * sysdeps/posix/dirfd.c: ... here.
20909 * sysdeps/unix/dirstream.h: Renamed to ...
20910 * sysdeps/posix/dirstream.h: ... here.
20911 * sysdeps/unix/fdopendir.c: Renamed to ...
20912 * sysdeps/posix/fdopendir.c: ... here.
20913 * sysdeps/unix/opendir.c: Renamed to ...
20914 * sysdeps/posix/opendir.c: ... here.
20915 * sysdeps/unix/readdir.c: Renamed to ...
20916 * sysdeps/posix/readdir.c: ... here.
20917 * sysdeps/unix/readdir_r.c: Renamed to ...
20918 * sysdeps/posix/readdir_r.c: ... here.
20919 * sysdeps/unix/rewinddir.c: Renamed to ...
20920 * sysdeps/posix/rewinddir.c: ... here.
20921 * sysdeps/unix/seekdir.c: Renamed to ...
20922 * sysdeps/posix/seekdir.c: ... here.
20923 * sysdeps/unix/telldir.c: Renamed to ...
20924 * sysdeps/posix/telldir.c: ... here.
20925 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20926 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20927 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20928 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20930 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20931 * bits/fcntl.h: ... here.
20933 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20935 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20936 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20937 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20938 (struct flock): Move l_start, l_len to the beginning.
20939 Use __pid_t for l_pid.
20940 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20941 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20942 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20943 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20944 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20945 [__USE_LARGEFILE64] (struct flock64): New type.
20946 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20948 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20949 * bits/dirent.h: ... here.
20951 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20952 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20954 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20956 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20957 Change from 2.6.0 to 2.6.16.
20958 * sysdeps/unix/sysv/linux/configure: Regenerated.
20959 * sysdeps/unix/sysv/linux/kernel-features.h
20960 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20961 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20963 (__ASSUME_UTIMES): Likewise.
20964 (__ASSUME_CLONE_STOPPED): Remove.
20965 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20966 architectures, not kernel version.
20967 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20968 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20969 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20970 (__ASSUME_WAITID_SYSCALL): Likewise.
20971 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20972 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20973 * README: State 2.6.16 as minimum Linux kernel version. Do not
20974 refer to older versions.
20976 2012-08-06 Roland McGrath <roland@hack.frob.com>
20978 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20979 Define alphasort64 as an alias.
20980 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20981 Define versionsort64 as an alias.
20982 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20983 Define scandir64 as an alias.
20984 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20985 Define scandirat64 as an alias.
20986 * dirent/alphasort64.c (alphasort64):
20987 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20988 * dirent/versionsort64.c: Likewise.
20989 * dirent/scandir64.c: Likewise.
20990 * dirent/scandirat64.c: Likewise.
20991 * sysdeps/wordsize-64/alphasort.c: File removed.
20992 * sysdeps/wordsize-64/alphasort64.c: File removed.
20993 * sysdeps/wordsize-64/scandir.c: File removed.
20994 * sysdeps/wordsize-64/scandir64.c: File removed.
20995 * sysdeps/wordsize-64/scandirat.c: File removed.
20996 * sysdeps/wordsize-64/scandirat64.c: File removed.
20997 * sysdeps/wordsize-64/versionsort.c: File removed.
20998 * sysdeps/wordsize-64/versionsort64.c: File removed.
20999 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21000 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21001 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21002 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21003 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21004 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21005 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21006 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21008 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21010 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21011 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21012 [defined __arch64__ || defined __sparcv9]
21013 (__INO_T_MATCHES_INO64_T): New macro.
21014 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21015 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21016 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21017 * sysdeps/unix/sysv/linux/bits/dirent.h
21018 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21019 (_DIRENT_MATCHES_DIRENT64): New macro.
21021 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21022 Define lockf64 as an alias.
21023 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21024 Define fseeko64 as an alias.
21025 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21026 Define ftello64 as an alias.
21027 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21028 Define _IO_fgetpos64 and fgetpos64 as aliases.
21029 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21030 Define _IO_fsetpos64 and fsetpos64 as aliases.
21031 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21032 Conditionalize body on this.
21033 * libio/fseeko64.c: Likewise.
21034 * libio/ftello64.c: Likewise.
21035 * libio/iofgetpos64.c: Likewise.
21036 * libio/iofsetpos64.c: Likewise.
21037 * sysdeps/wordsize-64/lockf.c: File removed.
21038 * sysdeps/wordsize-64/lockf64.c: File removed.
21039 * sysdeps/wordsize-64/fseeko.c: File removed.
21040 * sysdeps/wordsize-64/fseeko64.c: File removed.
21041 * sysdeps/wordsize-64/ftello.c: File removed.
21042 * sysdeps/wordsize-64/ftello64.c: File removed.
21043 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21044 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21045 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21046 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21047 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21048 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21049 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21050 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21051 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21052 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21053 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21054 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21055 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21056 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21058 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21059 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21060 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21061 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21062 [defined __arch64__ || defined __sparcv9]
21063 (__OFF_T_MATCHES_OFF64_T): New macro.
21064 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21065 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21066 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21067 (__OFF_T_MATCHES_OFF64_T): New macro.
21069 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21071 * stdlib/secure-getenv.c (__secure_getenv): Replace
21072 GLIBC_2_16 with GLIBC_2_17.
21074 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21076 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21077 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21079 2012-08-03 David S. Miller <davem@davemloft.net>
21081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21083 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21085 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21087 (__ASSUME_CORRECT_SI_PID): Likewise.
21088 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21089 (__ASSUME_TMPFS_NAME): Likewise.
21090 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21091 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21092 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21093 (HAVE_AUX_SECURE): Make definition unconditional.
21094 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21095 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21097 2012-08-03 Roland McGrath <roland@hack.frob.com>
21099 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21100 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21101 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21102 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21103 __eloop_threshold instead of SYMLOOP_MAX.
21105 * sysdeps/generic/eloop-threshold.h: New file.
21106 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21108 * elf/chroot_canon.c (chroot_canon): Likewise.
21110 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21114 Change to 2.6.0 everywhere.
21115 * sysdeps/unix/sysv/linux/configure: Regenerated.
21116 * sysdeps/unix/sysv/linux/kernel-features.h
21117 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21118 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21120 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21121 (__ASSUME_FUTEX_REQUEUE): Remove.
21122 (__ASSUME_STATFS64): Define unconditionally.
21123 (__ASSUME_AT_SECURE): Likewise.
21124 (__ASSUME_CORRECT_SI_PID): Likewise.
21125 (__ASSUME_TGKILL): Define without depending on kernel version for
21127 (__ASSUME_UTIMES): Likewise.
21128 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21130 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21131 (__ASSUME_TMPFS_NAME): Likewise.
21132 * README: Update reference to Linux kernel versions.
21134 2012-08-02 Marek Polacek <polacek@redhat.com>
21137 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21138 libc_cv_asm_type_prefix with %.
21139 * configure: Regenerated.
21140 * include/libc-symbols.h: Remove comment about
21141 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21142 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21143 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21144 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21145 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21146 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21147 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21148 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21149 * elf/tst-unique2mod1.c: Likewise.
21150 * elf/tst-unique1mod2.c: Likewise.
21151 * elf/tst-unique1mod1.c: Likewise.
21152 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21153 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21154 Replace ASM_TYPE_DIRECTIVE with .type.
21155 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21156 * sysdeps/i386/sysdep.h: Likewise.
21157 * sysdeps/x86_64/sysdep.h: Likewise.
21158 * sysdeps/sh/sysdep.h: Likewise.
21159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21160 Do not define ASM_TYPE_DIRECTIVE.
21161 * sysdeps/powerpc/sysdep.h: Likewise.
21162 * sysdeps/powerpc/powerpc32/sysdep.h:
21163 Replace ASM_TYPE_DIRECTIVE with .type.
21164 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21165 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21166 * sysdeps/i386/fpu/e_powf.S: Likewise.
21167 * sysdeps/i386/fpu/e_expl.S: Likewise.
21168 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21169 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21170 * sysdeps/i386/fpu/e_pow.S: Likewise.
21171 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21172 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21173 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21174 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21175 * sysdeps/i386/fpu/e_log2.S: Likewise.
21176 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21177 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21178 * sysdeps/i386/fpu/e_powl.S: Likewise.
21179 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21180 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21181 * sysdeps/i386/fpu/e_logl.S: Likewise.
21182 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21183 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21184 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21185 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21186 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21187 * sysdeps/i386/fpu/e_log.S: Likewise.
21188 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21189 * sysdeps/i386/fpu/e_logf.S: Likewise.
21190 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21191 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21192 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21193 * sysdeps/i386/fpu/e_log10.S: Likewise.
21194 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21195 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21196 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21197 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21198 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21199 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21200 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21201 * sysdeps/i386/i686/strtok.S: Likewise.
21202 * sysdeps/i386/i386-mcount.S: Likewise.
21203 * sysdeps/i386/strtok.S: Likewise.
21204 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21205 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21207 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21208 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21209 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21210 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21211 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21212 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21213 * sysdeps/x86_64/_mcount.S: Likewise.
21214 * sysdeps/x86_64/strtok.S: Likewise.
21215 * sysdeps/sh/_mcount.S: Likewise.
21217 2012-08-01 Roland McGrath <roland@hack.frob.com>
21219 * libio/iofopen.c: Include <fcntl.h>.
21220 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21221 (_IO_fopen64, fopen64): Define as aliases.
21222 * libio/iofopen64.c: Include <fcntl.h>.
21223 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21224 Conditionalize body on this.
21225 * sysdeps/wordsize-64/iofopen.c: File removed.
21226 * sysdeps/wordsize-64/iofopen64.c: File removed.
21228 2012-08-01 Marek Polacek <polacek@redhat.com>
21230 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21231 Use dlfcn directly instead of a variable.
21232 (binfmt-subdir): Do not define.
21235 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21238 Remove all definitions.
21239 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21240 <kernel-features.h>.
21241 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21242 (miss_F_GETOWN_EX): Remove all definitions.
21243 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21245 [!__ASSUME_FCNTL64]: Remove conditional code.
21246 [__ASSUME_FCNTL64]: Make code unconditional.
21247 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21248 <kernel-features.h>.
21249 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21250 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21251 (lockf64) [__NR_fcntl64]: Make code unconditional.
21252 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21254 * sysdeps/unix/sysv/linux/kernel-features.h
21255 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21256 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21257 Make code unconditional.
21258 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21259 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21261 [__NR_vfork]: Make code unconditional.
21262 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21263 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21265 [__NR_vfork]: Make code unconditional.
21266 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21267 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21269 2012-08-01 Roland McGrath <roland@hack.frob.com>
21271 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21272 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21274 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21275 Define mkstemp64 as an alias.
21276 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21277 Define mkstemps64 as an alias.
21278 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21279 Define mkostemp64 as an alias.
21280 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21281 Define mkostemps64 as an alias.
21282 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21283 Conditionalize body on this.
21284 * misc/mkostemp64.c: Likewise.
21285 * misc/mkostemps64.c: Likewise.
21286 * misc/mkstemps64.c: Likewise.
21287 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21288 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21289 * sysdeps/wordsize-64/mkostemp.c: File removed.
21290 * sysdeps/wordsize-64/mkstemp.c: File removed.
21291 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21292 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21293 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21294 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21297 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21298 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21299 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21300 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21302 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21303 compat_symbol macros from <shlib-compat.h> rather than the underlying
21304 default_symbol_version and symbol_version macros, so that DEFAULT
21305 lines in shlib-versions are respected.
21306 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21308 2012-08-01 Florian Weimer <fweimer@redhat.com>
21310 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21311 Declare with warn_unused_result.
21312 (setgid, setregid, setegid, setresgid): Likewise.
21313 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21315 * WUR-REPORT: Remove set*id functions.
21317 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21319 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21321 2012-07-31 Roland McGrath <roland@hack.frob.com>
21324 * include/sys/socket.h (__libc_accept, __libc_accept4):
21325 Add attribute_hidden.
21326 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21328 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21330 * inet/getnetgrent_r.c (setup): Likewise.
21332 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21334 2012-07-31 David S. Miller <davem@davemloft.net>
21336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21338 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21341 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21342 value between 1.0 and 2.0 and smaller part has absolute value less
21344 * math/s_clog10.c (__clog10): Likewise.
21345 * math/s_clog10f.c (__clog10f): Likewise.
21346 * math/s_clog10l.c (__clog10l): Likewise.
21347 * math/s_clogf.c (__clogf): Likewise.
21348 * math/s_clogl.c (__clogl): Likewise.
21349 * math/libm-test.inc (clog_test): Add more tests.
21350 (clog10_test): Likewise.
21351 * sysdeps/i386/fpu/libm-test-ulps: Update.
21352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21354 2012-07-31 Florian Weimer <fweimer@redhat.com>
21356 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21357 Exit with zero in case no suitable GID is found, and write a
21358 message to standard error.
21360 2012-07-30 Roland McGrath <roland@hack.frob.com>
21362 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21364 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21365 (MAXPATHLEN): Removed.
21366 (NOGROUP, NODEV): New macros.
21367 (setbit, clrbit, isset, isclr): New macros.
21368 (howmany, roundup, powerof2): New macros.
21369 (DEV_BSIZE): New macro.
21371 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21372 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21374 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21375 definition on [!__NO_LONG_DOUBLE_MATH].
21377 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21378 PTR_MANGLE and PTR_DEMANGLE.
21380 * socket/accept4.c (accept4): Rename to __libc_accept4.
21381 Define accept4 as a weak alias.
21383 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21384 on [_DIRENT_HAVE_D_TYPE].
21385 * io/ftw.c (ftw_dir): Likewise.
21387 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21389 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21391 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21392 Use the BSD numbers rather than the arbitrary ones we had.
21393 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21394 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21395 (SIGXCPU, SIGXFSZ): New macros.
21398 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21399 initializer on [_LIBC_REENTRANT].
21401 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21402 definitions inside [_POSIX_MAPPED_FILES].
21404 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21406 * dirent/opendir.c: Include <fcntl.h>.
21408 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21409 (__libc_getspecific): Likewise.
21410 (__libc_key_create): Likewise.
21412 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21413 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21414 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21415 (tmpfile64): Define as alias.
21416 * sysdeps/wordsize-64/tmpfile.c: File removed.
21417 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21418 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21419 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21421 * stdio-common/vfscanf.c: Include <stdbool.h>.
21422 * nss/makedb.c: Likewise.
21423 * stdio-common/_i18n_number.h: Likewise.
21424 * argp/argp-help.c: Likewise.
21425 * posix/wordexp.c: Likewise.
21426 * sysdeps/posix/spawni.c: Likewise.
21427 * nss/nss_files/files-initgroups.c: Likewise.
21428 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21429 * nss/nss_files/files-initgroups.c: Likewise.
21430 * nss/nss_db/db-netgrp.c: Likewise.
21431 * nss/nss_db/db-initgroups.c: Likewise.
21432 * io/fchmodat.c: Include <sys/stat.h>.
21434 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21435 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21437 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21440 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21441 Add multiple inclusion protection.
21443 2012-07-27 David S. Miller <davem@davemloft.net>
21445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21447 2012-07-27 Gary Benson <gbenson@redhat.com>
21450 * elf/rtld.c: Include <stap-probe.h>.
21451 (dl_main): Added static probes "init_start" and "init_complete".
21452 * elf/dl-load.c: Include <stap-probe.h>.
21453 (lose): Take new parameter "nsid".
21454 Added static probe "map_failed".
21455 (_dl_map_object_from_fd): Pass namespace id to lose.
21456 Added static probe "map_start".
21457 (open_verify): Pass namespace id to lose.
21458 * elf/dl-open.c: Include <stap-probe.h>.
21459 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21460 and "reloc_complete".
21461 * elf/dl-close.c: Include <stap-probe.h>.
21462 (_dl_close_worker): Added static probes "unmap_start" and
21464 * elf/rtld-debugger-interface.txt: New file documenting the above.
21466 2012-07-26 Roland McGrath <roland@hack.frob.com>
21468 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21469 rather than a string variable.
21470 * sunrpc/rpc_main.c (h_output): Likewise.
21471 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21473 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21475 * inet/check_native.c: New file.
21477 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21480 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21481 if larger part has absolute value 1.0.
21482 * math/s_clog10.c (__clog10): Likewise.
21483 * math/s_clog10f.c (__clog10f): Likewise.
21484 * math/s_clog10l.c (__clog10l): Likewise.
21485 * math/s_clogf.c (__clogf): Likewise.
21486 * math/s_clogl.c (__clogl): Likewise.
21487 * math/libm-test.inc (clog_test): Add more tests.
21488 (clog10_test): Likewise.
21489 * sysdeps/i386/fpu/libm-test-ulps: Update.
21490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21492 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21493 (pltexit): Likewise.
21494 (La_regs): Likewise.
21495 (La_retval): Likewise.
21496 (int_retval): Likewise.
21497 Update #error for removed macros to refer only to definitions in
21499 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21501 (pltexit): Likewise.
21502 (La_regs): Likewise.
21503 (La_retval): Likewise.
21504 (int_retval): Likewise.
21505 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21507 (pltexit): Likewise.
21508 (La_regs): Likewise.
21509 (La_retval): Likewise.
21510 (int_retval): Likewise.
21511 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21513 (pltexit): Likewise.
21514 (La_regs): Likewise.
21515 (La_retval): Likewise.
21516 (int_retval): Likewise.
21517 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21519 (pltexit): Likewise.
21520 (La_regs): Likewise.
21521 (La_retval): Likewise.
21522 (int_retval): Likewise.
21523 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21525 (pltexit): Likewise.
21526 (La_regs): Likewise.
21527 (La_retval): Likewise.
21528 (int_retval): Likewise.
21529 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21531 (pltexit): Likewise.
21532 (La_regs): Likewise.
21533 (La_retval): Likewise.
21534 (int_retval): Likewise.
21535 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21536 macro definitions in tst-audit.h.
21537 * sysdeps/i386/tst-audit.h: New file.
21538 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21539 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21540 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21541 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21542 * sysdeps/sh/tst-audit.h: Likewise.
21543 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21544 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21545 * sysdeps/x86_64/tst-audit.h: Likewise.
21547 2012-07-26 Andreas Jaeger <aj@suse.de>
21549 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21552 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21553 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21554 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21556 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21557 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21558 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21560 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21563 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21565 (si_call_addr, si_syscall, si_arch): Define new macro.
21566 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21568 (si_call_addr, si_syscall, si_arch): Define new marcro.
21569 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21571 (si_call_addr, si_syscall, si_arch): Define new macro.
21572 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21574 (si_call_addr, si_syscall, si_arch): Define new macro.
21576 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21579 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21580 Change to 2.4.21 where previously 2.4.1.
21581 * sysdeps/unix/sysv/linux/configure: Regenerated.
21582 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21583 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21584 Linux kernel version.
21585 (__ASSUME_STD_AUXV): Remove.
21586 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21588 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21589 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21590 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21591 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21592 (__ASSUME_NETLINK_SUPPORT): Likewise.
21593 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21594 (__no_netlink_support): Remove conditional definition.
21595 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21597 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21598 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21599 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21600 (if_nameindex_ioctl): Remove.
21601 (if_nameindex_netlink): Do not handle __no_netlink_support.
21602 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21604 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21605 Remove conditional code.
21606 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21608 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21610 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21611 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21612 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21614 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21615 [!__ASSUME_STD_AUXV]: Remove conditional code.
21616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21617 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21618 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21620 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21621 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21623 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21625 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21626 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21628 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21630 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21633 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21636 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21637 code unconditional.
21638 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21640 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21642 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21645 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21647 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21650 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21651 code unconditional.
21652 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21654 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21656 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21659 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21660 code unconditional.
21661 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21663 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21665 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21668 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21670 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21671 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21672 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21673 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21674 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21675 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21676 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21677 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21678 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21679 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21680 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21681 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21682 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21683 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21684 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21685 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21686 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21687 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21688 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21690 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21691 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21692 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21694 2012-07-25 Florian Weimer <fweimer@redhat.com>
21696 * Versions.def: Add GLIBC_2.17.
21697 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21698 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21699 Introduce __libc_secure_getenv.
21700 * stdlib/Versions (2.17): Add secure_getenv
21701 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21702 * stdlib/secure-getenv.c: Rename __secure_getenv to
21703 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21704 symbol __secure_getenv for GLIBC_2.0.
21705 * stdlib/tst-secure-getenv.c: New.
21706 * stdlib/Makefile (tests): Add testcase.
21707 * manual/startup.texi (Environment Access): Document
21709 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21710 __libc_secure_getenv.
21711 * inet/ruserpass.c (ruserpass): Likewise.
21712 * malloc/mtrace.c (mtrace): Likewise.
21713 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21714 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21715 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21716 * sysdeps/posix/tempname.c: Likewise. Evaluate
21717 HAVE_SECURE_GETENV.
21718 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21719 __secure_getenv to __libc_secure_getenv.
21720 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21733 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21735 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21736 (struct La_i86_retval): Likewise.
21737 (struct La_x86_64_regs): Likewise.
21738 (struct La_x86_64_retval): Likewise.
21739 (struct La_x32_regs): Likewise.
21740 (struct La_x32_retval): Likewise.
21741 (struct La_ppc32_regs): Likewise.
21742 (struct La_ppc32_retval): Likewise.
21743 (struct La_ppc64_regs): Likewise.
21744 (struct La_ppc64_retval): Likewise.
21745 (struct La_sh_regs): Likewise.
21746 (struct La_sh_retval): Likewise.
21747 (struct La_s390_32_regs): Likewise.
21748 (struct La_s390_32_retval): Likewise.
21749 (struct La_s390_64_regs): Likewise.
21750 (struct La_s390_64_retval): Likewise.
21751 (struct La_sparc32_regs): Likewise.
21752 (struct La_sparc32_retval): Likewise.
21753 (struct La_sparc64_regs): Likewise.
21754 (struct La_sparc64_retval): Likewise.
21755 (struct audit_ifaces): Remove architecture-specific pltenter and
21757 * sysdeps/i386/ldsodefs.h: New file.
21758 * sysdeps/powerpc/ldsodefs.h: Likewise.
21759 * sysdeps/s390/ldsodefs.h: Likewise.
21760 * sysdeps/sh/ldsodefs.h: Likewise.
21761 * sysdeps/sparc/ldsodefs.h: Likewise.
21762 * sysdeps/x86_64/ldsodefs.h: Likewise.
21764 2012-07-25 Marek Polacek <polacek@redhat.com>
21767 * math/libm-test.inc (yn_test): Add another test.
21768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21769 to ERANGE when the result is +-Inf.
21770 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21771 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21772 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21773 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21775 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21777 * conform/data/time.h-data (NULL): Use macro-constant. Require
21779 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21781 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21783 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21785 * configure.in <sysdeps resolving>: Correct printing
21787 * configure: Regenerate.
21789 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21791 * math/w_ilogb.c: Include <limits.h>.
21792 * math/w_ilogbl.c: Likewise.
21794 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21796 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21797 va_copy. Document allowing for unavailable va_copy only as
21798 pre-C99 compatibility.
21799 * manual/string.texi (Copying and Concatenation): Use va_copy
21800 instead of __va_copy in concat example.
21802 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21804 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21805 (__sendto): Use create_address_port. Initialize APORT and deallocate
21808 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21809 with O_NOLINK passed to __file_name_lookup.
21811 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21812 with O_NOLINK passed to __file_name_lookup.
21814 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21815 negative N or less than NGIDS.
21817 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21818 type to string_t. Set ERANGE as errno and return it if NAME is not big
21819 enough. Use memcpy instead of strncpy.
21821 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21823 * elf/Makefile (check-data): Remove.
21824 (localplt.data): New vpath directive.
21825 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21826 instead of $(check-data).
21827 * scripts/data/localplt-generic.data: Move to ...
21828 * sysdeps/generic/localplt.data: ... here.
21829 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21830 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21831 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21834 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21837 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21840 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21843 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21846 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21850 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21852 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21853 PPC32 and PPC64 files.
21854 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21855 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21857 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21859 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21860 __makecontext_ret to ...
21861 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21862 ... here and call exit if uc_link is NULL. New file.
21863 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21864 __makecontext_ret.S.
21865 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21866 __makecontext_ret to ...
21867 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21868 ... here and call exit if uc_link is NULL. New file.
21869 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21870 __makecontext_ret.S.
21872 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21874 * elf/elf.h (R_390_IRELATIVE): New definition.
21875 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21876 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21877 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21878 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21879 (elf_machine_lazy_rel): Likewise.
21880 * sysdeps/s390/dl-irel.h: New file.
21881 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21882 * sysdeps/s390/s390-64/memset.S: New asm code.
21883 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21884 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21885 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21886 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21887 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21888 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21889 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21890 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21891 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21892 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21893 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21894 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21895 * sysdeps/s390/s390-32/memset.S: New asm code.
21896 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21898 2012-07-17 Marek Polacek <polacek@redhat.com>
21901 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21902 * sysdeps/s390/s390-64/configure.in: Likewise.
21903 * sysdeps/sparc/configure.in: Likewise.
21904 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21905 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21906 * sysdeps/i386/configure.in: Likewise.
21907 * sysdeps/x86_64/configure.in: Likewise.
21908 * sysdeps/sh/configure.in: Likewise.
21909 * sysdeps/s390/s390-32/configure: Regenerated.
21910 * sysdeps/s390/s390-64/configure: Likewise.
21911 * sysdeps/x86_64/configure: Likewise.
21912 * sysdeps/sh/configure: Likewise.
21913 * sysdeps/powerpc/powerpc64/configure: Likewise.
21914 * sysdeps/powerpc/powerpc32/configure: Likewise.
21915 * sysdeps/sparc/configure: Likwise.
21916 * sysdeps/i386/configure: Likewise.
21918 * elf/dl-open.c: Comment fixes.
21920 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21922 * Makefile [CXX] (check-data): Remove.
21923 [CXX] (c++-types.data): New vpath directive.
21924 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21925 vpath. Do not allow for C++ type data being missing.
21926 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21927 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21928 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21929 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21930 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21931 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21932 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21935 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21938 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21941 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21944 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21947 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21950 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21953 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21956 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21957 definitions to architecture-specific files.
21958 (TLS_IE): Likewise.
21959 (TLS_LD): Likewise.
21960 (TLS_GD): Likewise.
21961 * sysdeps/i386/tls-macros.h: New file.
21962 * sysdeps/powerpc/tls-macros.h: Likewise.
21963 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21964 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21965 * sysdeps/sh/tls-macros.h: Likewise.
21966 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21967 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21968 * sysdeps/x86_64/tls-macros.h: Likewise.
21970 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21972 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21973 zero value for regular exit case.
21975 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21976 (__start_context): Preserve zero value for regular exit case.
21978 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21979 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21981 * manual/setjmp.texi (setcontext): Clarify normal process
21982 termination when uc_link is the null pointer.
21983 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21986 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21988 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21989 preprocessor. Test for each exception mask separately.
21991 2012-07-16 Andreas Jaeger <aj@suse.de>
21993 * po/ru.po: Update from translation team.
21995 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21997 * conform/data/string.h-data (NULL): Use macro-constant. Require
21999 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22000 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22001 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22002 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22003 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22005 2012-07-13 Andreas Jaeger <aj@suse.de>
22007 * po/fr.po: Update from translation team.
22009 2012-07-12 Marek Polacek <polacek@redhat.com>
22012 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22013 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22016 2012-07-12 Joseph Myers <joseph@codesourcery.com>
22019 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22020 Change to 2.4.1 where previously 2.4.0.
22021 * sysdeps/unix/sysv/linux/configure: Regenerated.
22022 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22023 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22025 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22026 (__ASSUME_AT_CLKTCK): Remove.
22027 (__ASSUME_AT_PAGESIZE): Likewise.
22028 (__ASSUME_AT_XID): Likewise.
22029 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22030 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22031 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22033 (HAVE_AUX_PAGESIZE): Likewise.
22034 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22035 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22036 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22038 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22042 the temporary buffer used to invoke __gethostbyname2_r,
22043 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22044 host_data / struct gaih_addrtuple.
22045 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22046 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22047 header file nss/nsswitch.h.
22048 * nss/nsswitch.h (global scope): Add definition of implementation
22049 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22050 resolv/nss_dns/dns-host.c).
22052 2012-07-11 Andreas Jaeger <aj@suse.de>
22054 * po/fr.po: Update from translation team.
22056 * po/sv.po: Update from translation team
22057 * po/fr.po: Another update from translation team.
22059 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22061 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22062 for subnormals or multiply small sinh result by itself.
22063 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22066 2012-07-11 David S. Miller <davem@davemloft.net>
22068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22070 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22073 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22074 (INTERNAL_MARK): Shift it here.
22076 2012-07-10 Marek Polacek <polacek@redhat.com>
22079 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22080 libc_cv_asm_global_directive with .globl.
22081 * configure: Regenerated.
22082 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22084 * sysdeps/i386/configure: Regenerated.
22085 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22087 * sysdeps/x86_64/configure: Regenerated.
22088 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22089 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22090 * elf/tst-unique2mod2.c: Likewise.
22091 * elf/tst-unique2mod1.c: Likewise.
22092 * elf/tst-unique1mod2.c: Likewise.
22093 * elf/tst-unique1mod1.c: Likewise.
22094 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22095 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22096 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22097 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22098 * sysdeps/mach/sysdep.h: Likewise.
22099 * sysdeps/i386/sysdep.h: Likewise.
22100 * sysdeps/i386/i386-mcount.S: Likewise.
22101 * sysdeps/x86_64/_mcount.S: Likewise.
22102 * sysdeps/x86_64/sysdep.h: Likewise.
22103 * sysdeps/sh/_mcount.S: Likewise.
22104 * sysdeps/sh/sysdep.h: Likewise.
22105 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22106 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22107 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22108 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22109 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22110 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22111 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22112 * locale/localeinfo.h: Likewise.
22113 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22114 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22116 2012-07-09 Roland McGrath <roland@hack.frob.com>
22119 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22121 * manual/message.texi (The Uniforum approach): Likewise.
22122 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22123 (glibc iconv Implementation): Likewise.
22125 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22128 * math/s_clog.c (__clog): Avoid scaling a value down where that
22129 could result in underflow.
22130 * math/s_clog10.c (__clog10): Likewise.
22131 * math/s_clog10f.c (__clog10f): Likewise.
22132 * math/s_clog10l.c (__clog10l): Likewise.
22133 * math/s_clogf.c (__clogf): Likewise.
22134 * math/s_clogl.c (__clogl): Likewise.
22135 * math/libm-test.inc (clog_test): Add more tests.
22136 (clog10_test): Likewise.
22137 * sysdeps/i386/fpu/libm-test-ulps: Update.
22138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22140 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22143 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22144 by 7 not 8 to examine high bit of fractional part.
22147 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22148 for call to __mcount_internal.
22149 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22150 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22151 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22153 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22156 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22157 approximation for values within 0x1p-13f of an odd multiple of
22159 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22160 exception. Add more tests.
22161 * sysdeps/i386/fpu/libm-test-ulps: Update.
22164 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22165 inputs and return -1 for them. Do not check for +Inf in case not
22166 reachable for +Inf.
22167 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22168 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22169 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22170 and return -1 for them. Do not check for +Inf in case not
22171 reachable for +Inf.
22172 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22174 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22175 and return -1 for them. Do not check for +Inf in case not
22176 reachable for +Inf.
22177 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22178 spurious underflow.
22179 * sysdeps/i386/fpu/libm-test-ulps: Update.
22180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22182 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22184 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22186 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22190 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22191 could result in spurious underflow. Scale down values above
22192 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22193 * math/s_csqrtf.c (__csqrtf): Likewise.
22194 * math/s_csqrtl.c (__csqrtl): Likewise.
22195 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22196 spurious underflow.
22197 * sysdeps/i386/fpu/libm-test-ulps: Update.
22198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22200 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22202 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22204 * catgets/xopen-msg.awk: New file.
22205 * catgets/xopen-msg.sed: Removed.
22207 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22209 * intl/po2test.awk: New file.
22210 * intl/po2test.sed: Removed.
22212 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22215 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22216 or multiply small sinh result by itself.
22217 * math/s_ctanf.c (__ctanf): Likewise.
22218 * math/s_ctanh.c (__ctanh): Likewise.
22219 * math/s_ctanhf.c (__ctanhf): Likewise.
22220 * math/s_ctanhl.c (__ctanhl): Likewise.
22221 * math/s_ctanl.c (__ctanl): Likewise.
22222 * math/libm-test.inc (ctan_test_tonearest): New function.
22223 (ctan_test_towardzero): Likewise.
22224 (ctan_test_downward): Likewise.
22225 (ctan_test_upward): Likewise.
22226 (ctanh_test_tonearest): Likewise.
22227 (ctanh_test_towardzero): Likewise.
22228 (ctanh_test_downward): Likewise.
22229 (ctanh_test_upward): Likewise.
22230 (main): Call these new functions.
22231 * sysdeps/i386/fpu/libm-test-ulps: Update.
22232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22234 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22236 * .gitignore: Delete /ports entry.
22238 2012-07-03 Andreas Jaeger <aj@suse.de>
22240 * po/bg.po: Update from translation team.
22241 * po/cs.po: Likewise.
22242 * po/de.po: Likewise.
22243 * po/hr.po: Likewise.
22244 * po/nl.pl: Likewise.
22245 * po/pl.po: Likewise.
22246 * po/vi.po: Likewise.
22248 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22250 * Makeconfig [!+link] (+link-before-libc): New variable.
22251 [!+link] (+link-after-libc): Likewise.
22252 [!+link] (+link-tests): Likewise.
22253 [!+link] (+link): Define in terms of $(+link-before-libc) and
22254 $(+link-after-libc).
22255 [!+link-static] (+link-static-before-libc): New variable.
22256 [!+link-static] (+link-static-after-libc): Likewise.
22257 [!+link-static] (+link-static-tests): Likewise.
22258 [!+link-static] (+link-static): Define in terms of
22259 $(+link-static-before-libc) and $(+link-static-after-libc).
22260 [build-shared] (link-libc-before-gnulib): New variable.
22261 [build-shared] (link-libc-tests): Likewise.
22262 [build-shared] (link-libc): Define in terms of
22263 $(link-libc-before-gnulib).
22264 [!build-shared] (link-libc-tests): New variable.
22265 (link-libc-static-tests): New variable.
22266 [!gnulib] (gnulib-arch): New variable.
22267 [!gnulib] (gnulib-tests): Likewise.
22268 [!gnulib] (static-gnulib-arch): Likewise.
22269 [!gnulib] (static-gnulib-tests): Likewise.
22270 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22271 Define with "=" instead of ":=".
22272 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22273 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22274 * Rules (binaries-all-notests): New variable.
22275 (binaries-all-tests): Likewise.
22276 (binaries-static-notests): Likewise.
22277 (binaries-static-tests): Likewise.
22278 (binaries-all): Define using $(binaries-all-notests) and
22279 $(binaries-all-tests).
22280 (binaries-static): Define using $(binaries-static-notests) and
22281 $(binaries-static-tests).
22282 (binaries-shared-tests): New variable.
22283 (binaries-shared-notests): Likewise.
22284 (binaries-shared): Remove variable.
22285 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22286 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22287 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22288 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22289 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22290 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22291 * elf/Makefile (sln-modules): New variable.
22292 (extra-objs): Add $(sln-modules:=.o).
22293 (ldconfig-modules): Add static-stubs.
22294 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22295 * elf/static-stubs.c: New file.
22298 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22299 by 7 not 8 to examine high bit of fractional part. Use volatile
22300 variables when splitting into final array of floats if
22301 __FLT_EVAL_METHOD__ != 0.
22302 * math/libm-test.inc (cos_test): Add another test.
22303 (sin_test): Likewise.
22304 * sysdeps/i386/fpu/libm-test-ulps: Update.
22307 * math/libm-test.inc (cosh_test): Add more tests.
22309 * version.h (RELEASE): Set to "development".
22310 (VERSION): Set to "2.16.90".
22312 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22314 * NEWS: Update copyright. Remove last-updated date.
22315 Mention math library bug fixes and timezone data changes.
22316 * README: Mention GNU/Hurd, x32, and HPPA support status.
22318 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22320 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22322 2012-06-27 Andreas Jaeger <aj@suse.de>
22324 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22326 2012-06-25 Andreas Jaeger <aj@suse.de>
22328 * sysdeps/s390/fpu/libm-test-ulps: Update.
22330 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22331 Thomas Schwinge <thomas@codesourcery.com>
22333 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22334 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22338 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22340 * sysdeps/mach/start.c: Remove file.
22341 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22342 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22343 * sysdeps/sh/init-first.c: Likewise.
22345 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22346 registers for frame unwinding purposes, add CFI directives.
22347 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22348 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22349 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22352 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22353 __fortify_fail returning.
22354 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22356 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22357 sysdeps/sh/____longjmp_chk.S.
22358 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22359 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22360 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22361 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22363 * sysdeps/sh/abort-instr.h: New file.
22364 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22365 process in case exit returns.
22367 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22368 initialize the GOT register before use.
22370 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22371 calculation of ARGC > 4.
22373 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22374 meaningful names to some local labels.
22376 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22377 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22379 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22380 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22381 (__arch_compare_and_exchange_val_16_acq): Likewise.
22382 (__arch_compare_and_exchange_val_32_acq): Likewise.
22383 (atomic_exchange_and_add): Fix gUSA sequence.
22384 (atomic_add): Likewise.
22385 (atomic_add_negative): Likewise.
22386 (atomic_add_zero): Likewise.
22387 (atomic_bit_test_set): Likewise.
22389 2012-06-22 Andreas Schwab <schwab@redhat.com>
22392 * include/link.h (struct link_map): Add l_free_initfini.
22393 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22395 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22396 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22397 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22400 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22402 * configure.in: Use AC_LANG_SOURCE.
22403 * configure: Regenerate.
22405 2012-06-22 Roland McGrath <roland@hack.frob.com>
22407 * configure.in (libc_cv_localstatedir): New substituted variable.
22408 * configure: Regenerated.
22409 * config.make.in (localstatedir): New variable, substituted from
22410 libc_cv_localstatedir.
22411 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22412 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22413 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22414 * sysdeps/gnu/configure: Regenerated.
22416 2012-06-21 Jeff Law <law@redhat.com>
22419 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22420 free. Simplify list management for _LIBC case.
22422 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22425 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22426 Clear sign bit of 64-bit integer value before comparing against
22429 * sysdeps/mach/configure: Regenerated.
22431 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22434 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22436 2012-06-21 Jeff Law <law@redhat.com>
22439 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22440 uint16_t for elements in the "seen" array to avoid char overflows.
22441 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22442 * elf/dl-open.c (dl_open_worker): Likewise.
22444 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22446 * scripts/list-sources.sh: Scan PORTS for translations.
22447 * po/libc.pot: Regenerated.
22449 2012-06-21 Andreas Jaeger <aj@suse.de>
22452 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22454 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22455 * bits/byteswap-16.h (__bswap_16): Likewise.
22456 * bits/byteswap.h (__bswap_constant_16): Likewise.
22458 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22461 * sysdeps/i386/fpu_control.h: Removed.
22462 * sysdeps/x86_64/fpu_control.h: Moved to ...
22463 * sysdeps/x86/fpu_control.h: Here.
22465 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22466 (_FPU_SETCW): Likewise.
22468 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22471 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22472 * sysdeps/x86/fpu/bits/mathinline.h: This.
22473 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22477 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22478 functions if __x86_64__ is defined.
22480 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22482 * string/endian.h: Add !__ASSEMBLER__ condition for including
22483 conversion interfaces.
22485 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22488 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22489 of ABS(x) in calculating zero to negative powers other than odd
22491 * math/libm-test.inc (pow_test): Add more tests.
22493 2012-06-15 Andreas Jaeger <aj@suse.de>
22495 * manual/contrib.texi (Contributors): Update entry of Liubov
22496 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22499 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22501 * string/string.h: Add __wur to GNU version of strerror_r.
22503 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22506 * string/Makefile (tests): Add tst-strtok_r.
22507 * string/tst-strtok_r.c: New file.
22508 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22509 RAX_LP/RDX_LP on SAVE_PTR.
22511 2012-06-14 Roland McGrath <roland@hack.frob.com>
22513 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22515 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22517 * libm_test.inc (csqrt_test): Allow more spurious underflow
22519 (j0_test): Likewise.
22520 (j1_test): Likewise.
22521 (y0_test): Likewise.
22522 (y1_test): Likewise.
22524 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22526 * po/Makefile (libc.pot): Use UTF-8 charset.
22528 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22531 Suppress sign-conversion warning from FD_SET.
22532 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22533 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22534 not unsigned long int.
22535 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22537 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22541 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22542 __extern_always_inline instead of __extern_inline.
22543 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22544 (__signbit): Likewise.
22545 (__signbitl): Support C++ namespace.
22546 (lrintf): New inline function.
22548 (llrintf): Likewise.
22549 (llrint): Likewise.
22559 (floorf): Likewise.
22560 (nearbyint): Likewise.
22561 (nearbyintf): Likewise.
22563 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22565 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22566 non-default versions.
22568 2012-06-11 Roland McGrath <roland@hack.frob.com>
22571 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22573 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22575 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22576 (FE_UPWARD, FE_DOWNWARD): Don't define.
22577 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22578 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22580 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22582 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22583 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22585 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22587 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22588 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22589 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22590 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22592 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22595 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22596 * sysdeps/i386/fpu/Implies: New file.
22597 * sysdeps/x86_64/fpu/Implies: Likewise.
22598 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22599 * sysdeps/x86/fpu/bits/fenv.h: This.
22601 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22604 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22607 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22608 character 0xffff that matches the last element of the
22611 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22613 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22616 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22618 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22619 values higher than 25.6283.
22621 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22623 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22624 subnormal exponent extraction and add some __builtin_expect.
22625 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22626 Fix for subnormal mantissa calculation.
22628 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22630 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22631 cpu2 is -1 and errno is not ENOSYS.
22633 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22636 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22637 * sysdeps/x86/bits/string.h: This.
22638 * sysdeps/x86_64/bits/string.h: Removed.
22640 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22641 if not compiling for x86-64, but compiling for >= i486.
22643 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22644 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22646 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22647 New macro from Linux kernel 3.4.0.
22648 (FP_XSTATE_MAGIC2): Likewise.
22649 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22650 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22651 (struct _fpx_sw_bytes): New struct.
22652 (struct _xsave_hdr): Likewise.
22653 (struct _ymmh_state): Likewise.
22654 (struct _xstate): Likewise.
22656 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22657 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22658 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22659 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22660 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22661 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22663 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22664 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22665 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22666 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22667 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22668 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22670 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22673 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22674 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22675 (sysdep_headers): Include sys/platform/ppc.h.
22676 * sysdeps/powerpc/test-gettimebase.c: Test for
22677 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22678 * manual/Makefile (appendices): Include platform.texi.
22679 * manual/contrib.texi (Contributors): Update @node pointers.
22680 * manual/maint.texi (Maintenance): Likewise.
22681 (Platform): New node.
22682 * manual/platform.texi: New file. Document the new features.
22684 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22685 Jakub Jelinek <jakub@redhat.com>
22688 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22689 where __builtin_expect is unavailable.
22691 2012-06-03 David S. Miller <davem@davemloft.net>
22693 * stdlib/longlong.h: Updated from GCC.
22695 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22698 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22699 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22702 (GLIBC_2.16): Likewise.
22704 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22706 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22708 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22711 (default-abi): New variable.
22712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22713 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22715 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22717 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22719 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22722 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22723 definition. Document in comment.
22725 2012-06-01 David S. Miller <davem@davemloft.net>
22727 * stdlib/longlong.h: Updated from GCC.
22729 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22732 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22733 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22734 sys/debugreg.h sys/io.h here.
22735 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22736 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22738 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22739 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22740 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22741 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22742 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22743 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22745 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22746 Define only if __x86_64__ is defined.
22748 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22751 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22752 Use int64_t for variable i.
22753 * math/libm-test.inc (fmod_test): Add more tests.
22755 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22756 z computation is not scheduled after fetestexcept.
22757 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22758 Use math_force_eval instead of asm to ensure calculation scheduled
22759 before exception test.
22760 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22761 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22763 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22766 computation is not scheduled after fetestexcept.
22768 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22771 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22772 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22774 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22776 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22777 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22779 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22782 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22784 (__WCHAR_MIN): Support __WORDSIZE == 64.
22785 (__WCHAR_MAX): Likewise.
22787 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22788 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22792 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22795 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22796 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22798 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22799 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22801 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22802 Defined to 1 if __x86_64__ isn't defined.
22803 (_STAT_VER_LINUX_OLD): New.
22804 (st_atime): Remove duplicate.
22805 (st_mtime): Likewise.
22806 (st_ctime): Likewise.
22808 2012-05-31 David S. Miller <davem@davemloft.net>
22810 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22813 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22815 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22819 * elf/dl-reloc.c: Include <_itoa.h>.
22820 (_dl_reloc_bad_type): Remove use of INTUSE.
22821 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22822 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22823 * stdio-common/psiginfo.c (psiginfo): Likewise.
22824 * stdio-common/psignal.c (psignal): Likewise.
22825 * string/strsignal.c (strsignal): Likewise.
22826 * include/signal.h (_sys_siglist): Declare hidden proto.
22827 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22828 INTVARDEF with libc_hidden_data_def.
22829 * stdio-common/itoa-udigits.c: Likewise.
22830 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22831 (_itoa_lower_digits_internal): Remove declaration.
22832 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22833 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22834 (_sys_sigabbrev_internal): Remove aliases.
22835 (_sys_siglist): Define hidden alias.
22837 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22842 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22845 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22846 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22848 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22849 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22850 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22851 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22852 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22853 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22855 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22856 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22857 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22859 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22867 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22868 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22869 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22871 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22872 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22873 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22874 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22875 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22876 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22878 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22879 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22881 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22882 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22886 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22888 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22889 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22891 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22893 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22894 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22895 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22897 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22899 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22901 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22903 * math/math.h (M_El): Use two more decimal places.
22904 (M_LOG2El): Likewise.
22905 (M_LOG10El): Likewise.
22906 (M_LN2l): Likewise.
22907 (M_LN10l): Likewise.
22909 (M_PI_2l): Likewise.
22910 (M_PI_4l): Likewise.
22911 (M_1_PIl): Likewise.
22912 (M_2_PIl): Likewise.
22913 (M_2_SQRTPIl): Likewise.
22914 (M_SQRT2l): Likewise.
22915 (M_SQRT1_2l): Likewise.
22917 2012-05-31 David S. Miller <davem@davemloft.net>
22919 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22920 values between float registers.
22921 * sysdeps/sparc/sparc64/memset.S: Likewise.
22922 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22924 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22926 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22927 -D_FORTIFY_SOURCE=1.
22928 (CPPFLAGS-tst-longjmp_chk.c): Define.
22929 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22930 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22931 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22932 CFLAGS-tst-wchar-h.c.
22934 2012-05-31 Marek Polacek <polacek@redhat.com>
22937 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22938 __endmntent_internal): Remove declaration.
22939 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22940 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22941 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22943 2012-05-30 David S. Miller <davem@davemloft.net>
22945 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22946 (___Q_simulate_exceptions): Use real FP ops rather than writing
22948 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22951 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22954 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22955 * sysdeps/x86/bits/xtitypes.h: This.
22957 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22958 * sysdeps/x86/bits/wordsize.h: This.
22960 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22961 * sysdeps/x86/bits/huge_vall.h: This.
22963 * sysdeps/i386/bits/select.h: Removed.
22964 * sysdeps/x86_64/bits/select.h: Renamed to ...
22965 * sysdeps/x86/bits/select.h: This.
22967 * sysdeps/i386/bits/setjmp.h: Removed.
22968 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22969 * sysdeps/x86/bits/setjmp.h: This.
22971 * sysdeps/i386/bits/mathdef.h: Removed.
22972 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22973 * sysdeps/x86/bits/mathdef.h: This.
22975 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22978 * include/sys/socket.h (__connect_internal)
22979 (__libc_sa_len_internal): Remove declaration.
22980 (__connect, __libc_sa_len): Declare hidden_proto.
22981 (SA_LEN): Remove use of INTUSE.
22982 * socket/connect.c: Add libc_hidden_def.
22983 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22984 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22985 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22987 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22988 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22989 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22990 of adding _internal alias.
22992 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22995 * sysdeps/i386/bits/link.h: Removed.
22996 * sysdeps/i386/bits/linkmap.h: Likewise.
22997 * sysdeps/x86_64/bits/link.h: Renamed to ...
22998 * sysdeps/x86/bits/link.h: This.
22999 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23000 * sysdeps/x86/bits/linkmap.h: This.
23002 * sysdeps/i386/bits/endian.h: Removed.
23003 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23004 * sysdeps/x86/bits/endian.h: This.
23006 * sysdeps/i386/bits/byteswap.h: Removed.
23007 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23008 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23009 * sysdeps/x86/bits/byteswap.h: This.
23010 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23011 * sysdeps/x86/bits/byteswap-16.h: This.
23012 * sysdeps/i386/Implies: Add x86.
23013 * sysdeps/x86_64/Implies: Likewise.
23015 2012-05-30 David S. Miller <davem@davemloft.net>
23017 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23018 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23019 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23020 (FP_TRAPPING_EXCEPTIONS): Define.
23021 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23022 (FP_TRAPPING_EXCEPTIONS): Define.
23023 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23024 subnormals only when inexact has been signalled or underflow
23025 exceptions are enabled.
23026 (_FP_PACK_CANONICAL): Likewise.
23028 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23031 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23032 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23034 2012-05-30 Richard Henderson <rth@twiddle.net>
23036 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23037 with #ifndef NOT_IN_libc.
23039 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23040 marked to avoid plt entry.
23042 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23045 * Makeconfig (default-abi): New macro.
23046 (abi-includes): Likewise.
23047 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23048 $(abi-$(default-abi)-lib-soname) for soname if defined.
23049 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23051 * Makefile (installed-stubs): Likewise.
23052 * include/stubs-biarch.h: Removed.
23053 * scripts/lib-names.awk: Only handle one library at a time.
23054 * scripts/soversions.awk: Remove WORDSIZE support.
23055 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23057 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23059 (syscall-list-default-condition): Likewise.
23060 (syscall-list-default-condition): Likewise.
23061 (syscall-list-includes): Likewise.
23062 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23063 syscall-list-* with abi-*. Handle undefined abi-variants.
23064 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23065 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23066 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23067 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23068 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23069 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23071 (syscall-list-32-options): Likewise.
23072 (syscall-list-32-condition): Likewise.
23073 (syscall-list-64-options): Likewise.
23074 (syscall-list-64-condition): Likewise.
23075 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23077 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23080 (abi-64-ld-soname): New macro.
23081 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23082 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23085 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23086 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23088 2012-05-30 Joseph Myers <joseph@codesourcery.com>
23090 * sysdeps/unix/sysv/linux/kernel-features.h
23091 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23092 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23093 include <kernel-features.h>.
23094 [!__NR_ftruncate64]: Remove conditional code.
23095 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23096 [__NR_ftruncate64]: Make code unconditional.
23097 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23098 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23099 include <kernel-features.h>.
23100 [!__NR_ftruncate64]: Remove conditional code.
23101 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23102 [__NR_ftruncate64]: Make code unconditional.
23103 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23105 include <kernel-features.h>.
23106 [!__NR_ftruncate64]: Remove conditional code.
23107 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23108 [__NR_ftruncate64]: Make code unconditional.
23109 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23111 include <kernel-features.h>.
23112 [!__NR_ftruncate64]: Remove conditional code.
23113 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23114 [__NR_ftruncate64]: Make code unconditional.
23115 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23117 * configure.in (libc_cv_fpie): Weaken to a compile test using
23118 LIBC_TRY_CC_OPTION.
23119 * configure: Regenerated.
23121 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23136 2012-05-27 David S. Miller <davem@davemloft.net>
23138 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23140 (__Q_simulate_exceptions): Return void. Change to simulate
23141 exceptions by writing into the %fsr.
23142 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23143 (__Qp_handle_exceptions): Likewise.
23145 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23146 __Qp_handle_exceptions.
23147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23148 __Qp_handle_exceptions.
23149 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23150 as unused and give dummy FP_RND_NEAREST initializer.
23151 (FP_INHIBIT_RESULTS): Define.
23152 (___Q_simulate_exceptions): Update declaration.
23153 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23155 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23156 as unused and give dummy FP_RND_NEAREST initializer.
23157 (__Qp_handle_exceptions): Update declaration.
23158 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23161 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23163 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23164 the temporary FPU control word.
23165 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23166 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23167 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23168 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23169 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23170 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23171 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23172 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23173 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23174 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23175 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23177 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23179 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23182 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23184 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23185 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23186 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23187 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23189 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23190 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23193 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23195 * po/h.po: Update from translation team.
23197 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23199 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23201 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23202 handling of denormals.
23203 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23204 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23205 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23206 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23207 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23208 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23212 2012-05-26 Marek Polacek <polacek@redhat.com>
23215 * math/libm-test.inc (fma_test): Don't always expect underflow
23218 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23221 * elf/tst-execstack.c: Include stackinfo.h.
23222 (do_test): Adjust test case to ensure that pthread_getattr_np
23223 behaviour remains the same after marking stack executable.
23225 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23227 * sysdeps/unix/sysv/linux/kernel-features.h
23228 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23229 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23231 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23232 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23233 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23235 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23236 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23238 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23240 * configure.in: Define the default includes to being none.
23241 * configure: Regenerated.
23243 2012-05-25 Roland McGrath <roland@hack.frob.com>
23245 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23246 * sysdeps/x86_64/setjmp.S: Likewise.
23247 * sysdeps/i386/bsd-setjmp.S: Likewise.
23248 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23249 * sysdeps/i386/setjmp.S: Likewise.
23250 * sysdeps/i386/__longjmp.S: Likewise.
23251 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23252 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23254 * include/stap-probe.h: New file.
23255 * configure.in: Handle --enable-systemtap.
23256 * configure: Regenerated.
23257 * config.h.in (USE_STAP_PROBE): New #undef.
23258 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23259 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23260 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23262 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23266 to 2.4.0 where earlier.
23267 * sysdeps/unix/sysv/linux/configure: Regenerated.
23268 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23269 <kernel-features.h>.
23270 [__ASSUME_32BITUIDS]: Make code unconditional.
23271 [!__ASSUME_32BITUIDS]: Remove conditional code.
23272 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23273 <kernel-features.h>.
23274 [__ASSUME_32BITUIDS]: Make code unconditional.
23275 [!__ASSUME_32BITUIDS]: Remove conditional code.
23276 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23277 [__ASSUME_32BITUIDS]: Make code unconditional.
23278 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23279 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23280 <kernel-features.h>.
23281 [__ASSUME_32BITUIDS]: Make code unconditional.
23282 [!__ASSUME_32BITUIDS]: Remove conditional code.
23283 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23284 <kernel-features.h>.
23285 [__ASSUME_32BITUIDS]: Make code unconditional.
23286 [!__ASSUME_32BITUIDS]: Remove conditional code.
23287 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23288 <kernel-features.h>.
23289 [__ASSUME_32BITUIDS]: Make code unconditional.
23290 [!__ASSUME_32BITUIDS]: Remove conditional code.
23291 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23292 <kernel-features.h>.
23293 [__ASSUME_32BITUIDS]: Make code unconditional.
23294 [!__ASSUME_32BITUIDS]: Remove conditional code.
23295 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23296 <kernel-features.h>.
23297 [__ASSUME_32BITUIDS]: Make code unconditional.
23298 [!__ASSUME_32BITUIDS]: Remove conditional code.
23299 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23300 <kernel-features.h>.
23301 [__ASSUME_32BITUIDS]: Make code unconditional.
23302 [!__ASSUME_32BITUIDS]: Remove conditional code.
23303 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23304 <kernel-features.h>.
23305 [__ASSUME_32BITUIDS]: Make code unconditional.
23306 [!__ASSUME_32BITUIDS]: Remove conditional code.
23307 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23308 <kernel-features.h>.
23309 [__ASSUME_32BITUIDS]: Make code unconditional.
23310 [!__ASSUME_32BITUIDS]: Remove conditional code.
23311 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23312 <kernel-features.h>.
23313 [__ASSUME_32BITUIDS]: Make code unconditional.
23314 [!__ASSUME_32BITUIDS]: Remove conditional code.
23315 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23316 <kernel-features.h>.
23317 [__ASSUME_32BITUIDS]: Make code unconditional.
23318 [!__ASSUME_32BITUIDS]: Remove conditional code.
23319 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23320 <kernel-features.h>.
23321 [__NR_setresgid] (__setresgid): Do not declare.
23322 [__ASSUME_32BITUIDS]: Make code unconditional.
23323 [!__ASSUME_32BITUIDS]: Remove conditional code.
23324 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23325 <kernel-features.h>.
23326 [__NR_setresuid] (__setresuid): Do not declare.
23327 [__ASSUME_32BITUIDS]: Make code unconditional.
23328 [!__ASSUME_32BITUIDS]: Remove conditional code.
23329 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23330 <kernel-features.h>.
23331 [__ASSUME_32BITUIDS]: Make code unconditional.
23332 [!__ASSUME_32BITUIDS]: Remove conditional code.
23333 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23334 <kernel-features.h>.
23335 [__ASSUME_32BITUIDS]: Make code unconditional.
23336 [!__ASSUME_32BITUIDS]: Remove conditional code.
23337 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23338 <kernel-features.h>.
23339 [__ASSUME_32BITUIDS]: Make code unconditional.
23340 [!__ASSUME_32BITUIDS]: Remove conditional code.
23341 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23342 <kernel-features.h>.
23343 [__ASSUME_32BITUIDS]: Make code unconditional.
23344 [!__ASSUME_32BITUIDS]: Remove conditional code.
23345 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23346 <kernel-features.h>.
23347 [__ASSUME_32BITUIDS]: Make code unconditional.
23348 [!__ASSUME_32BITUIDS]: Remove conditional code.
23349 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23350 <kernel-features.h>.
23351 [__ASSUME_32BITUIDS]: Make code unconditional.
23352 [!__ASSUME_32BITUIDS]: Remove conditional code.
23353 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23354 <kernel-features.h>.
23355 [__ASSUME_32BITUIDS]: Make code unconditional.
23356 [!__ASSUME_32BITUIDS]: Remove conditional code.
23357 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23358 <kernel-features.h>.
23359 [__ASSUME_32BITUIDS]: Make code unconditional.
23360 [!__ASSUME_32BITUIDS]: Remove conditional code.
23361 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23362 <kernel-features.h>.
23363 [__ASSUME_32BITUIDS]: Make code unconditional.
23364 [!__ASSUME_32BITUIDS]: Remove conditional code.
23365 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23366 <kernel-features.h>.
23367 [__ASSUME_32BITUIDS]: Make code unconditional.
23368 [!__ASSUME_32BITUIDS]: Remove conditional code.
23369 * sysdeps/unix/sysv/linux/kernel-features.h
23370 (__ASSUME_SETRESUID_SYSCALL): Remove.
23371 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23372 (__ASSUME_32BITUIDS): Likewise.
23373 (__ASSUME_LDT_WORKS): Likewise.
23374 (__ASSUME_O_DIRECTORY): Likewise.
23375 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23376 architecture but not kernel version.
23377 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23378 (__ASSUME_MMAP2_SYSCALL): Likewise.
23379 (__ASSUME_STAT64_SYSCALL): Likewise.
23380 (__ASSUME_IPC64): Likewise.
23381 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23382 <kernel-features.h>.
23383 [__ASSUME_32BITUIDS]: Make code unconditional.
23384 [!__ASSUME_32BITUIDS]: Remove conditional code.
23385 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23386 <kernel-features.h>.
23387 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23388 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23389 132096]: Remove conditional code.
23390 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23391 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23392 <kernel-features.h>.
23393 [__ASSUME_32BITUIDS]: Make code unconditional.
23394 [!__ASSUME_32BITUIDS]: Remove conditional code.
23395 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23396 <kernel-features.h>.
23397 [__ASSUME_32BITUIDS]: Make code unconditional.
23398 [!__ASSUME_32BITUIDS]: Remove conditional code.
23399 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23400 <kernel-features.h>.
23401 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23403 (__setresgid): Do not declare.
23404 [__ASSUME_32BITUIDS]: Make code unconditional.
23405 [!__ASSUME_32BITUIDS]: Remove conditional code.
23406 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23407 <kernel-features.h>.
23408 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23410 (__setresuid): Do not declare.
23411 [__ASSUME_32BITUIDS]: Make code unconditional.
23412 [!__ASSUME_32BITUIDS]: Remove conditional code.
23413 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23414 <kernel-features.h>.
23415 [__ASSUME_32BITUIDS]: Make code unconditional.
23416 [!__ASSUME_32BITUIDS]: Remove conditional code.
23417 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23418 <kernel-features.h>.
23419 [__ASSUME_32BITUIDS]: Make code unconditional.
23420 [!__ASSUME_32BITUIDS]: Remove conditional code.
23422 2012-05-25 Richard Henderson <rth@twiddle.net>
23424 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23425 dl_hwcap to ifunc resolver.
23426 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23428 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23429 dl_hwcap to ifunc resolver.
23430 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23432 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23435 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23436 for |x| <= 2**-26, not 2**-57.
23437 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23440 2012-05-24 Jeff Law <law@redhat.com>
23442 * stdio-common/Makefile (tests): Add bug25.
23443 * stdio-common/bug25.c: New test.
23445 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23448 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23449 multiple of MALLOC_ALIGNMENT in size.
23450 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23452 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23454 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23456 (FILENAME_MAX): Use macro-int-constant.
23457 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23458 (_IOFBF): Use macro-int-constant.
23459 (_IOLBF): Likewise.
23460 (_IONBF): Likewise.
23461 (SEEK_CUR): Likewise.
23462 (SEEK_END): Likewise.
23463 (SEEK_SET): Likewise.
23464 (TMP_MAX): Likewise.
23465 (EOF): Use macro-int-constant. Require < 0.
23466 (NULL): Use macro-constant. Require == 0.
23467 (stdin): Require type to be FILE *.
23468 (stdout): Likewise.
23469 (stderr): Likewise.
23470 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23471 macro-int-constant.
23472 (EXIT_SUCCESS): Likewise.
23473 (NULL): Use macro-constant. Require == 0.
23474 (RAND_MAX): Use macro-int-constant.
23475 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23476 [C99-based standards] (strtof): Require function.
23477 [C99-based standards] (strtold): Likewise.
23478 [C99-based standards] (strtoll): Likewise.
23479 [C99-based standards] (strtoull): Likewise.
23480 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23481 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23482 [ISO || ISO99 || ISO11] (math.h): Likewise.
23483 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23484 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23487 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23490 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23491 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23492 * intl/dgettext.c (DCGETTEXT): Likewise.
23493 * intl/gettext.c (DCGETTEXT): Likewise.
23494 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23495 * posix/regex_internal.h (gettext): Likewise.
23496 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23497 Remove declaration.
23498 * include/argz.h (__argz_count_internal)
23499 (__argz_stringify_internal): Remove declaration.
23500 (__argz_count, __argz_stringify): Declare hidden proto.
23501 * intl/dcgettext.c: Remove use of INTDEF.
23502 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23503 * string/argz-stringify.c: Likewise.
23504 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23505 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23506 Declare hidden proto.
23507 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23508 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23509 Declare hidden proto.
23510 * include/stdio.h (__asprintf_internal): Don't declare.
23511 (__asprintf): Don't define as macro. Declare hidden proto.
23512 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23513 (__fsetlocking): Declare hidden proto.
23514 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23515 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23517 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23518 (_IO_setlinebuf): Remove use of INTUSE.
23519 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23520 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23521 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23522 Remove declaration.
23523 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23524 (_IO_do_flush): Remove use of INTUSE.
23525 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23526 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23527 (_IO_adjust_column, _IO_least_wmarker)
23528 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23529 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23530 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23531 (_IO_default_doallocate, _IO_wdefault_doallocate)
23532 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23533 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23534 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23535 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23536 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23537 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23538 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23539 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23540 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23541 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23542 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23543 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23544 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23546 (_IO_flush_all_internal, _IO_adjust_column_internal)
23547 (_IO_default_uflow_internal, _IO_default_finish_internal)
23548 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23549 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23550 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23551 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23552 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23553 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23554 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23555 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23556 (_IO_file_close_internal, _IO_file_close_it_internal)
23557 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23558 (_IO_file_init_internal, _IO_file_attach_internal)
23559 (_IO_file_fopen_internal, _IO_file_read_internal)
23560 (_IO_file_sync_internal, _IO_file_seek_internal)
23561 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23562 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23563 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23564 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23565 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23566 (_IO_list_all_internal, _IO_link_in_internal)
23567 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23568 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23569 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23570 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23571 (_IO_do_write_internal, _IO_padn_internal)
23572 (_IO_getline_info_internal, _IO_getline_internal)
23573 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23574 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23575 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23576 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23577 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23578 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23579 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23580 with libc_hidden_ver, remove use of INTUSE.
23581 * libio/genops.c: Likewise.
23582 * libio/freopen.c: Likewise.
23583 * libio/freopen64.c: Likewise.
23584 * libio/iofclose.c: Likewise.
23585 * libio/iofdopen.c: Likewise.
23586 * libio/iofflush.c: Likewise.
23587 * libio/iofflush_u.c: Likewise.
23588 * libio/iofgets.c: Likewise.
23589 * libio/iofgets_u.c: Likewise.
23590 * libio/iofopen.c: Likewise.
23591 * libio/iofopncook.c: Likewise.
23592 * libio/iofread.c: Likewise.
23593 * libio/iofread_u.c: Likewise.
23594 * libio/ioftell.c: Likewise.
23595 * libio/iofwrite.c: Likewise.
23596 * libio/iogetline.c: Likewise.
23597 * libio/iogets.c: Likewise.
23598 * libio/iogetwline.c: Likewise.
23599 * libio/iopadn.c: Likewise.
23600 * libio/iopopen.c: Likewise.
23601 * libio/ioseekoff.c: Likewise.
23602 * libio/ioseekpos.c: Likewise.
23603 * libio/iosetbuffer.c: Likewise.
23604 * libio/iosetvbuf.c: Likewise.
23605 * libio/ioungetc.c: Likewise.
23606 * libio/ioungetwc.c: Likewise.
23607 * libio/iovdprintf.c: Likewise.
23608 * libio/iovsprintf.c: Likewise.
23609 * libio/iovsscanf.c: Likewise.
23610 * libio/memstream.c: Likewise.
23611 * libio/obprintf.c: Likewise.
23612 * libio/oldfileops.c: Likewise.
23613 * libio/oldiofclose.c: Likewise.
23614 * libio/oldiofdopen.c: Likewise.
23615 * libio/oldiofopen.c: Likewise.
23616 * libio/oldiopopen.c: Likewise.
23617 * libio/oldstdfiles.c: Likewise.
23618 * libio/putc.c: Likewise.
23619 * libio/setbuf.c: Likewise.
23620 * libio/setlinebuf.c: Likewise.
23621 * libio/stdfiles.c: Likewise.
23622 * libio/strops.c: Likewise.
23623 * libio/vasprintf.c: Likewise.
23624 * libio/vscanf.c: Likewise.
23625 * libio/vsnprintf.c: Likewise.
23626 * libio/vswprintf.c: Likewise.
23627 * libio/wfiledoalloc.c: Likewise.
23628 * libio/wfileops.c: Likewise.
23629 * libio/wgenops.c: Likewise.
23630 * libio/wmemstream.c: Likewise.
23631 * libio/wstrops.c: Likewise.
23632 * libio/__fpurge.c: Likewise.
23633 * libio/__fsetlocking.c: Likewise.
23634 * assert/assert.c: Likewise.
23635 * debug/fgets_chk.c: Likewise.
23636 * debug/fgets_u_chk.c: Likewise.
23637 * debug/fread_chk.c: Likewise.
23638 * debug/fread_u_chk.c: Likewise.
23639 * debug/gets_chk.c: Likewise.
23640 * debug/obprintf_chk.c: Likewise.
23641 * debug/vasprintf_chk.c: Likewise.
23642 * debug/vdprintf_chk.c: Likewise.
23643 * debug/vsnprintf_chk.c: Likewise.
23644 * debug/vsprintf_chk.c: Likewise.
23645 * malloc/mtrace.c: Likewise.
23646 * misc/error.c: Likewise.
23647 * misc/syslog.c: Likewise.
23648 * stdio-common/asprintf.c: Likewise.
23649 * stdio-common/fxprintf.c: Likewise.
23650 * stdio-common/getw.c: Likewise.
23651 * stdio-common/isoc99_fscanf.c: Likewise.
23652 * stdio-common/isoc99_scanf.c: Likewise.
23653 * stdio-common/isoc99_vfscanf.c: Likewise.
23654 * stdio-common/isoc99_vscanf.c: Likewise.
23655 * stdio-common/isoc99_vsscanf.c: Likewise.
23656 * stdio-common/printf-prs.c: Likewise.
23657 * stdio-common/printf_fp.c: Likewise.
23658 * stdio-common/printf_fphex.c: Likewise.
23659 * stdio-common/printf_size.c: Likewise.
23660 * stdio-common/putw.c: Likewise.
23661 * stdio-common/scanf.c: Likewise.
23662 * stdio-common/sprintf.c: Likewise.
23663 * stdio-common/tmpfile.c: Likewise.
23664 * stdio-common/vfprintf.c: Likewise.
23665 * stdio-common/vfscanf.c: Likewise.
23666 * stdlib/strfmon_l.c: Likewise.
23667 * sunrpc/openchild.c: Likewise.
23668 * sunrpc/xdr_stdio.c: Likewise.
23669 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23670 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23672 2012-05-24 Roland McGrath <roland@hack.frob.com>
23674 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23676 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23677 in the third column, to generate for the shared library an IFUNC
23678 that uses _dl_vdso_vsym.
23679 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23680 * Makeconfig (object-suffixes-noshared): New variable.
23682 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23683 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23684 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23685 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23688 * include/sys/time.h (__gettimeofday): Remove macro.
23689 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23690 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23692 (__gettimeofday): Add libc_hidden_def.
23693 (gettimeofday): Add libc_hidden_weak.
23694 * sysdeps/mach/gettimeofday.c: Likewise.
23695 * sysdeps/posix/gettimeofday.c: Likewise.
23696 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23697 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23698 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23699 (__gettimeofday_internal): Remove strong_alias.
23700 (__gettimeofday): Add libc_hidden_def.
23701 (gettimeofday): Add libc_hidden_weak.
23702 * sysdeps/unix/syscalls.list (gettimeofday):
23703 Remove __gettimeofday_internal alias.
23705 2012-05-24 Daniel Jacobowitz <drow@false.org>
23706 H.J. Lu <hongjiu.lu@intel.com>
23709 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23710 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23711 (largebin_index_32_big): New.
23712 (largebin_index): Use it for 16-byte alignment.
23713 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23714 correction with front_misalign.
23716 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23744 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23745 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23747 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23751 * math/libm-test.inc (exp_test): Add test from bug 14036.
23752 (pow_test): Add test from bug 10846.
23754 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23756 (special_function): Do not include flags in test name.
23757 (parse_args): Likewise.
23758 * sysdeps/i386/fpu/libm-test-ulps: Update.
23759 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23760 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23761 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23764 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23766 * math/libm-test.inc ("Philosophy"): Update comment about
23768 (UNDERFLOW_EXCEPTION): New macro.
23769 (UNDERFLOW_EXCEPTION_OK): Likewise.
23770 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23771 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23772 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23773 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23774 (INVALID_EXCEPTION_OK): Update value.
23775 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23776 (OVERFLOW_EXCEPTION_OK): Likewise.
23777 (IGNORE_ZERO_INF_SIGN): Likewise.
23778 (test_exceptions): Handle underflow exceptions.
23779 (acos_test): Update for underflow exception expectations.
23780 (cexp_test): Likewise.
23781 (clog_test): Likewise.
23782 (clog10_test): Likewise.
23783 (csqrt_test): Likewise.
23784 (ctan_test): Likewise.
23785 (ctanh_test): Likewise.
23786 (exp_test): Likewise.
23787 (exp10_test): Likewise.
23788 (exp2_test): Likewise.
23789 (expm1_test): Likewise.
23790 (fma_test): Likewise.
23791 (j0_test): Likewise.
23792 (jn_test): Likewise.
23793 (nexttoward_test): Likewise.
23794 (pow_test): Likewise.
23795 (scalbn_test): Likewise.
23796 (scalbln_test): Likewise.
23797 (tan_test): Likewise.
23798 (y1_test): Likewise.
23799 * sysdeps/i386/fpu/libm-test-ulps: Update.
23800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23802 2012-05-23 David S. Miller <davem@davemloft.net>
23804 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23805 (__libc_sigaction): Remove unused local variables.
23807 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23809 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23811 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23813 mktime: avoid signed integer overflow
23814 * time/mktime.c (__mktime_internal): Do not mishandle the case
23815 where diff == INT_MIN.
23817 mktime: simplify computation of average
23818 * time/mktime.c (ranged_convert): Use new time_t_avg function
23819 instead of rolling our own (probably-slower) code.
23821 mktime: do not assume signed right shift propagates sign bit
23822 * time/mktime.c (isdst_differ): New static function.
23823 (__mktime_internal): No need to normalize tm_isdst now.
23824 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23827 mktime: merge another wrapv change from gnulib
23828 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23829 from some compilers.
23831 mktime: remove incorrect attempt at unusual arithmetics
23832 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23833 The code didn't really work on such machines anyway.
23834 (TYPE_MINIMUM): Assume two's complement.
23835 (twos_complement_arithmetic): Verify that long_int and time_t
23836 are two's complement (or unsigned, in the latter case).
23838 mktime: check signed shifts on long_int and time_t, too
23839 * time/mktime.c (SHR): Check that shifts work as desired
23840 on the types long_int and time_t too, as SHR is used on
23843 mktime: do not assume 'long' is wide enough
23844 * time/mktime.c (verify): Move decl up.
23845 (long_int): New type.
23846 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23847 to remove assumption in the code that 'long' is wide enough to
23848 store year values. This assumption is not true on x32 and on
23849 some non-glibc platforms.
23851 mktime: merge wrapv change from gnulib
23852 * time/mktime.c (WRAPV): New macro.
23853 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23854 (guess_time_tm, __mktime_internal): Do not assume that signed
23855 integer overflow wraps around; modern compilers generate code
23856 where this assumption is no longer valid.
23858 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23860 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23861 Replace "jmp L(pseudo_end)" with "ret".
23862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23865 2012-05-23 Andreas Jaeger <aj@suse.de>
23867 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23868 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23870 2012-05-23 Andreas Jaeger <aj@suse.de>
23871 Maximilian Attems <max@stro.at>
23873 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23876 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23878 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23879 code so that pseudo_end is just ret and the stack pointer is
23880 correct also for static library in error case.
23882 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23884 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23885 move to syscalls.list.
23886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23891 * manual/install.texi (Running make install): Do not mention Linux
23892 kernel version for which pt_chown is not needed.
23893 (Linux): Do not mention problems with nscd with 2.0 kernels.
23894 * INSTALL: Regenerated.
23896 2012-05-23 Andreas Jaeger <aj@suse.de>
23898 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23899 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23901 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23902 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23903 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23904 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23905 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23909 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23911 * sysdeps/unix/sysv/linux/bits/in.h
23912 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23914 2012-05-22 Roland McGrath <roland@hack.frob.com>
23916 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23917 (PREPARE_VERSION): Just use assert instead, it will be elided
23918 under [NDEBUG] anyway.
23920 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23922 * sysdeps/unix/sysv/linux/Makefile: Include
23923 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23924 (sysdep_routines): Remove sysctl.
23925 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23926 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23927 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23928 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23929 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23931 2012-05-22 Andreas Jaeger <aj@suse.de>
23933 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23934 that pseudo_end is just ret and the stack pointer is correct also
23935 for static library in error case.
23937 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23940 * nss/nsswitch.c (defconfig_entries): New variable.
23941 (__nss_database_lookup): Don't leak defconfig entries.
23942 (nss_parse_service_list): Don't leak on error paths.
23943 (free_database_entries): New function.
23944 (free_defconfig): New function.
23945 (free_mem): Move common code to free_database_entries.
23947 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23949 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23951 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23953 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23954 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23957 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23958 (INTERNAL_SYSCALL_TYPES): Likewise.
23959 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23960 (LOAD_REGS_TYPES_[1-6]): Likewise.
23961 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23962 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23964 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23966 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23967 copysignl for GLIBC_2_0.
23968 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23969 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23970 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23971 logbl for GLIBC_2_0.
23972 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23973 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23975 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23977 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23978 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23980 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23983 * time/mktime.c: Update copyright years.
23985 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23987 mktime: merge comment-quoting-style change from gnulib
23988 * time/mktime.c: Quote 'like this' in comments.
23989 The GNU coding standards suggest that we no longer quote `like this',
23990 as "`" and "'" are typically rendered asymmetrically nowadays.
23991 The typical gnulib style is to quote 'like this' when quoting
23992 code, and "like this" when quoting English.
23994 * time/mktime.c (compile-command): Add "-I.".
23996 mktime: merge mktime-internal.h change from gnulib
23997 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23999 mktime: merge time_r change from gnulib
24000 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24002 mktime: merge DEBUG change from gnulib
24003 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24004 case system <time.h> has a #define.
24006 mktime: merge <sys/types.h> change from gnulib
24007 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24008 since <time.t> is now guaranteed to define time_t.
24010 mktime: merge HAVE_CONFIG_H change from gnulib
24011 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24013 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24015 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24018 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24020 (struct rusage): Use anonymous union to pad each field to
24023 2012-05-21 David S. Miller <davem@davemloft.net>
24025 * Makefules (o-iterator): Remove .s cases.
24026 (compile-command.s): Delete.
24027 (COMPILE.s): Delete.
24028 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24030 2012-05-21 Joseph Myers <joseph@codesourcery.com>
24032 * configure.in (libc_cv_predef_stack_protector): Only consider
24033 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24034 * configure: Regenerated.
24036 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24039 New macro. Use R*LP on int and pointer.
24040 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24041 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24042 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24043 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24045 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24046 [__WORDSIZE_TIME64_COMPAT32] instead of
24047 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24048 (struct utmp): Likewise.
24049 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24050 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24052 (__WORDSIZE_TIME64_COMPAT32): This.
24053 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24054 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24055 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24056 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24057 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24058 (__WORDSIZE_TIME64_COMPAT32): New macro.
24060 2012-05-21 Andreas Jaeger <aj@suse.de>
24062 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24063 only if [SHARED]. Add prototype for __wcschr_ia32.
24065 2012-05-21 Roland McGrath <roland@hack.frob.com>
24067 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24068 of %rbp unmolested in the jmp_buf while mangling the low bits.
24069 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24070 unmolested high bits of %rbp while demangling the low bits.
24071 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24073 2012-05-21 Andreas Jaeger <aj@suse.de>
24075 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24076 * sunrpc/svc_simple.c: Use it for registerrpc.
24077 * sunrpc/xcrypt.c: Use it for passwd2des.
24079 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24081 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24083 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24084 Don't define if [__SYSCALL_WORDSIZE != 32].
24085 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24088 2012-05-21 Bruno Haible <bruno@clisp.org>
24089 Andreas Jaeger <aj@suse.de>
24091 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24092 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24093 inptr and inend for must_buffer_ch.
24094 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24095 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24096 * stdio-common/Makefile (tests): Remove bug15.
24097 (bug15-ENV): Remove macro.
24098 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24101 2012-05-19 Andreas Jaeger <aj@suse.de>
24102 Roland McGrath <roland@hack.frob.com>
24104 * manual/contrib.texi: Completely rewritten. It contains now an
24105 alphabetical list of contributors and their contributions.
24107 2012-05-21 Richard Henderson <rth@twiddle.net>
24109 * misc/getauxval.c (__getauxval): Use unsigned long int.
24110 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24111 (getauxval): Use unsigned long int.
24113 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24115 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24117 2012-05-21 Roland McGrath <roland@hack.frob.com>
24119 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24120 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24121 __alignof__ (long double).
24123 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24127 2012-05-20 Richard Henderson <rth@twiddle.net>
24129 * misc/getauxval.c: New file.
24130 * misc/sys/auxv.h: New file.
24131 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24132 (routines): Add getauxval.
24133 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24134 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24135 * elf/dl-sysdep.c (_dl_auxv): Remove.
24136 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24137 * elf/dl-support.c (_dl_auxv): New variable.
24138 (_dl_aux_init): Initialize it.
24139 * manual/startup.texi (Auxiliary Vector): New node.
24140 * sysdeps/generic/bits/hwcap.h: New file.
24141 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24142 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24143 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24144 * sysdeps/sparc/sysdep.h: ... here. Include it.
24145 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24146 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24152 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24158 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24162 2012-05-19 David S. Miller <davem@davemloft.net>
24164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24166 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24169 * math/s_ccosh.c: Include <float.h>
24170 (__ccosh): Avoid internal overflow calculating sinh and cosh
24171 values before multiplying by sin and cos values.
24172 * math/s_ccoshf.c: Likewise.
24173 * math/s_ccoshl.c: Likewise.
24174 * math/s_csin.c: Likewise.
24175 * math/s_csinf.c: Likewise.
24176 * math/s_csinl.c: Likewise.
24177 * math/s_csinh.c: Likewise.
24178 * math/s_csinhf.c: Likewise.
24179 * math/s_csinhl.c: Likewise.
24180 * math/libm-test.inc (ccos_test): Add more tests.
24181 (ccosh_test): Likewise.
24182 (csin_test): Likewise.
24183 (csinh_test): Likewise.
24184 * sysdeps/i386/fpu/libm-test-ulps: Update.
24185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24187 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24189 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24190 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24192 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24194 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24196 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24197 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24198 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24199 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24200 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24201 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24202 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24203 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24204 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24205 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24206 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24207 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24208 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24209 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24210 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24211 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24212 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24213 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24214 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24215 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24216 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24217 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24218 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24219 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24220 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24221 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24222 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24223 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24224 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24225 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24226 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24228 2012-05-18 Andreas Jaeger <aj@suse.de>
24230 * csu/.gitignore: Delete.
24232 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24234 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24235 (timex): Use __syscall_slong_t.
24237 2012-05-18 Andreas Jaeger <aj@suse.de>
24238 Carlos O'Donell <carlos_odonell@mentor.com>
24240 * manual/install.texi (Configuring and compiling): Update
24241 description about files modified in the source directory.
24242 * INSTALL: Regenerated.
24244 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24246 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24247 value. Use "or" to set return value to -1.
24248 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24249 negate return value.
24251 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24253 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24254 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24255 failure if the compiler has Graphite support disabled.
24256 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24258 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24259 CFLAGS-memmove.c): Likewise.
24260 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24263 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24265 * sysdeps/x86_64/x32/_itoa.h: New file.
24267 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24268 getdents system call only if kernel and user dirents have the
24269 same d_ino and d_off.
24271 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24272 LLONG_MAX != LONG_MAX.
24273 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24274 (_fitoa_word): Likewise.
24276 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24278 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24279 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24280 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24282 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24283 include <bits/wordsize.h>. Check __x86_64__ instead of
24285 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24286 if __x86_64__ is defined. Use anonymous union on fpstate.
24288 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24291 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24293 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24294 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24295 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24296 Refer to _rtld_local_ro instead of _rtld_global_ro.
24297 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24299 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24301 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24303 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24304 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24305 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24307 * sysdeps/powerpc/powerpc32/dl-machine.c
24308 (__elf_machine_runtime_setup) [PROF]: Don't reference
24311 2012-05-18 Andreas Jaeger <aj@suse.de>
24313 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24314 function only available for GCCs before 3.4 since GCC 3.4
24315 introduced a builtin.
24317 (llrintf): Likewise.
24318 (llrint): Likewise.
24325 (nearbyint): Likewise.
24326 (nearbyintf): Likewise.
24330 (floorf): Likewise.
24332 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24334 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24335 on both fields and cast pointer to __syscall_ulong_t.
24337 * bits/types.h (__fsword_t): New type.
24338 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24339 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24340 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24341 (__FSWORD_T_TYPE): Likewise.
24342 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24343 (__FSWORD_T_TYPE): Likewise.
24344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24345 (__FSWORD_T_TYPE): Likewise.
24346 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24347 (__FSWORD_T_TYPE): Likewise.
24348 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24349 __SWORD_TYPE with __fsword_t.
24350 (statfs64): Likewise.
24352 2012-05-17 David S. Miller <davem@davemloft.net>
24354 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24356 2012-05-17 Andreas Jaeger <aj@suse.de>
24358 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24361 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24363 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24365 2012-05-17 Andreas Jaeger <aj@suse.de>
24367 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24370 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24372 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24374 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24376 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24377 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24379 2012-05-17 Andreas Jaeger <aj@suse.de>
24380 Carlos O'Donell <carlos_odonell@mentor.com>
24383 * sysdeps/x86_64/multiarch/init-arch.h
24384 (bit_YMM_Usable): Rename to...
24385 (bit_AVX_Usable): ... this.
24386 (bit_FMA4_Usable): New macro.
24387 (bit_XMM_state): New macro.
24388 (bit_YMM_state): New macro.
24389 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24390 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24391 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24392 (CPUID_OSXSAVE): New macro.
24393 (CPUID_AVX): New macro.
24394 (CPUID_FMA4): New macro.
24395 (index_YMM_Usable): Rename to...
24396 (index_AVX_Usable): ... this.
24397 (HAS_AVX): Use HAS_ARCH_FEATURE.
24398 (HAS_FMA4): Likewise.
24399 (HAS_YMM_USABLE): Remove.
24400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24401 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24403 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24404 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24405 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24406 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24407 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24409 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24411 * math/libm-test.c: Support platforms without multiple rounding modes.
24412 * math/bug-nextafter.c: Support platforms without FP exceptions.
24413 * math/bug-nexttoward.c: Likewise.
24414 * math/test-fenv.c: Likewise.
24415 * math/test-misc.c: Likewise.
24416 * stdlib/bug-getcontext.c: Likewise.
24418 2012-05-17 Andreas Jaeger <aj@suse.de>
24420 * manual/examples/search.c (critter_cmp): Change signature to
24422 * manual/string.texi (Collation Functions): Likewise.
24424 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24426 * bits/types.h: Fold copyright years.
24427 * bits/typesizes.h: Likewise.
24428 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24432 * time/time.h: Likewise.
24434 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24437 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24438 in instead of returning them. Return void.
24439 (__libc_mallinfo): Accumulate over all arenas.
24440 (__malloc_stats): Adjust for change in int_mallinfo interface.
24442 2012-05-16 Roland McGrath <roland@hack.frob.com>
24445 * configure.in (NM): Add AC_CHECK_TOOL for it.
24446 (libc_extra_cflags): New substituted variable.
24447 Check for -fstack-protector being used implicitly.
24448 * configure: Regenerated.
24449 * config.make.in (config-extra-cflags): New variable,
24450 gets @libc_extra_cflags@.
24451 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24454 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24455 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24456 * configure: Regenerated.
24457 * config.make.in (CPPUNDEFS): New substituted variable.
24458 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24459 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24460 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24462 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24464 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24465 (mq_attr): Use __syscall_slong_t.
24467 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24469 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24470 Check __x86_64__ instead of __WORDSIZE.
24471 (_STAT_VER_LINUX): Likewise.
24472 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24473 __syscall_ulong_t and __syscall_slong_t.
24474 (stat64): Likewise.
24476 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24478 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24480 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24482 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24484 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24486 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24489 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24490 include <bits/wordsize.h>. Check __x86_64__ instead of
24492 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24494 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24496 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24497 include <bits/wordsize.h>. Check __x86_64__ instead of
24499 (user_regs_struct): Use "__extension__ unsigned long long"
24500 instead of "unsigned long" if __x86_64__ is defined.
24501 (user): Likewise. Pad after pointer field if __ILP32__ is
24504 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24506 * configure.in (makeinfo): Require version 4.5 or later. Allow
24508 * configure: Regenerated.
24509 * manual/install.texi (texinfo): Increase version requirement to
24511 * INSTALL: Regenerated.
24513 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24515 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24517 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24519 * sysdeps/x86_64/x32/ffs.c: New file.
24521 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24523 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24524 defined. Use __syscall_ulong_t.
24525 (shminfo): Use __syscall_ulong_t.
24526 (shm_info): Likewise.
24528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24531 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24533 (msgqnum_t): Use __syscall_ulong_t.
24534 (msglen_t): Likewise.
24535 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24538 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24539 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24541 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24543 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24544 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24546 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24549 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24550 include <bits/wordsize.h>. Check __x86_64__ instead of
24553 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24554 "unsigned long long int" if __x86_64__ is defined.
24555 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24557 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24558 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24559 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24561 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24563 (GET_PC): Cast to uintptr_t first.
24564 (GET_FRAME): Likewise.
24565 (GET_STACK): Likewise.
24567 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24568 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24569 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24570 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24571 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24572 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24573 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24574 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24575 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24576 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24577 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24578 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24579 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24580 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24581 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24582 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24583 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24584 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24585 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24586 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24587 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24588 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24589 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24590 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24591 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24592 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24593 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24594 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24595 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24597 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24599 * Makerules (+depfiles): Also collect depfiles from .oS in
24601 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24602 .oS, $(libnldbl-routines)).
24604 * Makerules (native-compile-mkdep-flags): Define.
24605 * sunrpc/Makefile (extra-objs): Add $(addprefix
24606 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24607 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24608 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24609 calling $(make-target-directory).
24611 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24613 * bits/types.h (__snseconds_t): Removed.
24614 * time/time.h (struct timespec): Replace __snseconds_t with
24616 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24617 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24619 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24620 (__SNSECONDS_T_TYPE): Likewise.
24621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24622 (__SNSECONDS_T_TYPE): Likewise.
24623 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24624 (__SNSECONDS_T_TYPE): Likewise.
24626 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24628 * sysdeps/mach/hurd/bits/typesizes.h
24629 (__SYSCALL_SLONG_TYPE): New macro.
24630 (__SYSCALL_ULONG_TYPE): Likewise.
24632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24634 * bits/types.h (__syscall_slong_t): New type.
24635 (__syscall_ulong_t): Likewise.
24637 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24638 (__SYSCALL_ULONG_TYPE): Likewise.
24639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24640 (__SYSCALL_SLONG_TYPE): Likewise.
24641 (__SYSCALL_ULONG_TYPE): Likewise.
24642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24643 (__SYSCALL_SLONG_TYPE): Likewise.
24644 (__SYSCALL_ULONG_TYPE): Likewise.
24645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24646 (__SYSCALL_SLONG_TYPE): Likewise.
24647 (__SYSCALL_ULONG_TYPE): Likewise.
24649 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24651 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24652 Add sigaltstack-offsets.sym.
24653 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24654 <sigaltstack-offsets.h>.
24655 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24656 longjmp_msg pointer.
24657 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24658 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24660 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24662 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24664 * elf/stackguard-macros.h: Remove file.
24665 * sysdeps/generic/stackguard-macros.h: New file.
24666 * sysdeps/i386/stackguard-macros.h: Likewise.
24667 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24668 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24669 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24670 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24671 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24672 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24673 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24674 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24675 <elf/stackguard-macros.h>.
24678 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24679 __aligned__ in attribute.
24680 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24681 (gregset_t): Likewise.
24683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24685 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24686 * sysdeps/x86_64/64/Implies-after: Here. New file.
24687 * sysdeps/x86_64/x32/Implies-after: New file.
24689 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24691 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24692 and access return value for _dl_profile_fixup. Use R10_LP to
24695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24697 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24701 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24702 * sysdeps/x86_64/x32/sysdep.h: New file.
24704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24706 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24707 * sysdeps/x86_64/setjmp.S: Likewise.
24709 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24711 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24712 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24713 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24714 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24715 remove unused global constant.
24717 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24719 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24720 include of <not-cancel.h>.
24722 2012-05-15 Roland McGrath <roland@hack.frob.com>
24724 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24726 2012-05-15 Jeff Law <law@redhat.com>
24727 Andreas Jaeger <aj@suse.de>
24730 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24732 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24733 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24734 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24735 code changing __hst_map_handle.map.
24737 2012-05-15 Roland McGrath <roland@hack.frob.com>
24739 * configure.in (sysnames): Look for Implies-before and Implies-after
24741 * configure: Regenerated.
24743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24745 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24746 8-byte data alignment with LP_SIZE alignment.
24748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24750 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24753 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24755 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24759 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24760 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24761 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24763 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24767 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24768 (stackinfo_sub_sp): Likewise.
24770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24772 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24777 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24782 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24787 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24791 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24792 into R11_LP and load __x86_64_shared_cache_size_half into
24795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24797 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24800 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24808 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24809 powerpc32/power7/fpu/s_logb.c via #include.
24810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24811 powerpc32/power7/fpu/s_logbf.c via #include.
24812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24813 powerpc32/power7/fpu/s_logbl.c via #include.
24815 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24817 * README.libm: Remove file.
24819 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24821 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24822 count for x32. Use R*_LP and omit operand-size suffix.
24824 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24826 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24827 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24828 * sysdeps/x86_64/x32/shlib-versions: New file.
24830 2012-05-14 Roland McGrath <roland@hack.frob.com>
24832 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24833 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24834 Use _dl_fatal_printf instead.
24836 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24838 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24839 set if not set by the user. Do not allow for being unset.
24840 * sysdeps/unix/sysv/linux/configure: Regenerated.
24842 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24844 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24845 the `q' suffix from lea and replace .quad with ASM_ADDR.
24847 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24850 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24852 (PTR_DEMANGLE): Likewise.
24854 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24856 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24858 (ASM_ADDR): Likewise.
24859 (RAX_LP): Likewise.
24860 (RBP_LP): Likewise.
24861 (RBX_LP): Likewise.
24862 (RCX_LP): Likewise.
24863 (RDI_LP): Likewise.
24864 (RSI_LP): Likewise.
24865 (RSP_LP): Likewise.
24868 (R10_LP): Likewise.
24869 (R10_LP): Likewise.
24870 (R11_LP): Likewise.
24871 (R12_LP): Likewise.
24872 (R13_LP): Likewise.
24873 (R14_LP): Likewise.
24874 (R15_LP): Likewise.
24876 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24878 * sysdeps/x86_64/x32/dl-machine.h: New file.
24880 2012-05-14 Andreas Jaeger <aj@suse.de>
24882 * manual/Makefile (subdir): Remove export of subdir.
24883 (all): Remove target.
24884 (.PHONY): Remove all from list.
24885 (mkinstalldirs): Remove.
24886 (.PHONY): Remove installdirs from list.
24887 ($(inst_infodir)/libc.info): Use make-target-directory.
24888 (installdirs): Remove.
24889 (subdir_%): Remove.
24890 (glibc-targets): Remove.
24893 ($(objpfx)stubs ../po/manual.pot): Remove.
24894 ($(objpfx)stamp%): Remove.
24895 (make-target-directory): Remove.
24896 (subdir_install): Remove.
24897 (routines): Remove.
24904 * manual/.gitignore: Remove, it's not needed anymore.
24905 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24907 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24909 (texis): Renamed to $(objpfx)texis.
24910 (texis-path): New, contains path to generated files.
24911 (chapters.%): Use texis-path for complete path, add extra argument
24913 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24914 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24915 (summary,texi, stamp-summary): Use complete path of
24916 files. Generate files in build dir.
24917 (dir-add.texi): Build in build dir.
24918 (libm-err.texi,stamp-libm-err): Likewise.
24919 (version.texi, stamp-version): Likewise.
24920 (.%c.texi): Likewise.
24921 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24922 (mostlyclean): Remove target.
24923 (realclean): Remove target.
24924 (generated): Add new variable with contents from mostlyclean and
24925 realclean, remove entries duplicated in common-mostlyclean, add
24926 stamp-libm-err and stamp-version.
24927 (generated-dirs): Add libc directory.
24928 ($(inst_infodir)/libc.info): Install files from build dir.
24930 * manual/install.texi (Configuring and compiling): Adjust since
24931 the info files are not part of the tar ball anymore.
24933 2012-05-14 Andreas Jaeger <aj@suse.de>
24935 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24938 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24941 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24942 to 2.2.0 where earlier.
24943 * sysdeps/unix/sysv/linux/configure: Regenerated.
24944 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24945 Remove conditional code.
24946 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24947 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24948 Remove conditional code.
24949 [!__NR_lchown]: Likewise.
24950 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24951 [__NR_lchown]: Likewise.
24952 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24953 comment referencing __ASSUME_LCHOWN_SYSCALL.
24954 * sysdeps/unix/sysv/linux/i386/sigaction.c
24955 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24956 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24957 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24958 Remove conditional code.
24959 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24960 (__protocol_available): Remove #if 0 code.
24961 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24963 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24964 * sysdeps/unix/sysv/linux/kernel-features.h
24965 (__ASSUME_GETCWD_SYSCALL): Don't define.
24966 (__ASSUME_REALTIME_SIGNALS): Likewise.
24967 (__ASSUME_PREAD_SYSCALL): Likewise.
24968 (__ASSUME_PWRITE_SYSCALL): Likewise.
24969 (__ASSUME_POLL_SYSCALL): Likewise.
24970 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24971 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24973 (__ASSUME_SIOCGIFNAME): Don't define.
24974 (__ASSUME_MSG_NOSIGNAL): Likewise.
24975 (__ASSUME_SENDFILE): Define unconditionally.
24976 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24977 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24979 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24980 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24981 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24982 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24983 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24984 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24985 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24987 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24988 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24990 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24993 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24994 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24996 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24997 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24999 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25000 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25002 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25003 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25005 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25008 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25009 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25010 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25011 Remove conditional code.
25012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25013 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25014 Remove conditional code.
25015 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25016 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25017 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25018 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25019 Remove conditional code.
25020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25021 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25022 Remove conditional code.
25023 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25024 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25025 Remove conditional code.
25026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25027 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25028 Remove conditional code.
25029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25030 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25031 Remove conditional code.
25032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25033 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25034 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25036 * sysdeps/unix/sysv/linux/sigaction.c
25037 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25038 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25039 * sysdeps/unix/sysv/linux/sigpending.c
25040 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25041 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25042 * sysdeps/unix/sysv/linux/sigprocmask.c
25043 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25044 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25045 * sysdeps/unix/sysv/linux/sigsuspend.c
25046 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25047 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25048 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25049 (__libc_missing_rt_sigs): Remove.
25050 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25051 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25052 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25053 Remove conditional code.
25054 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25055 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25057 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25058 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25059 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25060 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25062 2012-05-14 Andreas Jaeger <aj@suse.de>
25064 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25065 it's not used in glibc.
25066 (__coshm1): Likewise.
25067 (__acosh1p): Likewise.
25070 * manual/string.texi (Copying and Concatenation): Add missing
25071 variable in concat example.
25072 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25074 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25077 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25078 __builtin_clzl with __builtin_clzll.
25080 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25083 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25086 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25088 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25089 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25090 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25091 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25093 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25095 * NEWS: Update ia64 info.
25097 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25099 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25102 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25104 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25105 * sysdeps/unix/syscalls.list (dup3): Likewise.
25106 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25107 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25109 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25111 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25112 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25114 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25116 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25118 (TLS_IE): Use mov/add instead of movq/addq to load thread
25120 (TLS_GD_PREFIX): New.
25123 2012-05-11 David S. Miller <davem@davemloft.net>
25125 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25126 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25127 (_FPU_SETCW): Likewise.
25129 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25131 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25132 is 32-byte aligned.
25134 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25137 * iconvdata/gb18030.c: Update tables.
25138 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25139 characters specially.
25140 (BODY for TO_LOOP): Add encoding of missing ranges.
25142 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25145 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25146 * sysdeps/mach/hurd/dup3.c: Likewise.
25147 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25148 * sysdeps/powerpc/memmove.c:: Likewise.
25150 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25152 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25153 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25155 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25157 * elf/elf.h (R_X86_64_RELATIVE64): New.
25158 (R_X86_64_NUM): Updated.
25159 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25160 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25161 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25162 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25163 tst-quad1pie tst-quad2pie
25164 (modules-names): Add tst-quadmod1 tst-quadmod2.
25165 ($(objpfx)tst-quad1): New dependency.
25166 ($(objpfx)tst-quad2): Likewise.
25167 ($(objpfx)tst-quad1pie): Likewise.
25168 ($(objpfx)tst-quad2pie): Likewise.
25169 * sysdeps/x86_64/tst-quad1.c: New file.
25170 * sysdeps/x86_64/tst-quad1pie.c: New file.
25171 * sysdeps/x86_64/tst-quad2.c: Likewise.
25172 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25173 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25174 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25175 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25176 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25178 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25180 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25181 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25182 * streams/stropts.h (t_scalar_t): Define type.
25184 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25185 (_PATH_PRESERVE): Set to "/var/lib".
25186 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25188 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25191 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25192 if __dir_mkfile succeeded.
25194 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25195 checking for _hurd_dtablesize. Unlock it right after having
25196 finished _hurd_dtable allocation.
25198 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25200 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25201 * sysdeps/mach/hurd/configure: Regenerated.
25202 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25203 special-casing to...
25204 * sysdeps/gnu/configure.in: ... this new file.
25205 * sysdeps/unix/sysv/linux/configure: Regenerated.
25206 * sysdeps/gnu/configure: New generated file.
25208 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25209 for Linux: use nsec instead of usec, as well as:
25210 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25211 members of type struct timespec.
25212 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25214 (struct stat64): Likewise.
25215 (_STATBUF_ST_NSEC): New macro.
25216 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25218 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25219 __strtoul_internal rather than strtoul.
25221 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25223 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25226 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25228 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25229 which preserves existing values.
25230 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25232 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25234 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25235 TIMEOUT values. Return EINVAL for NFDS values either negative or
25236 greater than FD_SETSIZE.
25238 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25240 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25241 allocated, call __vm_protect to finish enabling the existing space, and
25242 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25243 allocate the remainder.
25245 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25247 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25248 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25250 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25252 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25253 sysdeps/mach/hurd/readlink.c.
25255 * posix/tst-sysconf.c (posix_options): Only use
25256 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25257 _POSIX_SYNCHRONIZED_IO when they are defined
25258 * sysdeps/mach/hurd/bits/posix_opt.h:
25259 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25260 (_XOPEN_REALTIME): Undefine macro.
25261 (_XOPEN_REALTIME_THREADS): Undefine macro.
25262 (_XOPEN_SHM): Undefine macro.
25263 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25265 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25267 (_POSIX_ASYNC_IO): Undefine macro.
25268 (_POSIX_PRIORITIZED_IO): Undefine macro.
25269 (_POSIX_SPIN_LOCKS): Define macro to -1.
25271 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25272 SA_NODEFER, SA_RESETHAND.
25273 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25274 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25277 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25279 * elf/Makefile (pldd-modules): Define unconditionally.
25281 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25283 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25285 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25287 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25288 Return ENOENT when name is empty.
25289 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25293 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25295 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25297 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25299 Fix mlock in all cases except non-readable pages.
25300 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25301 instead of VM_PROT_ALL as parameter to __vm_wire function.
25303 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25304 (__mkdir): When path is `/', just fail with EEXIST.
25305 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25307 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25309 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25310 <sys/uio.h> (for writev).
25311 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25312 and <sys/param.h> (for MIN).
25314 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25316 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25317 REQUESTED_TIME. Properly set the remaining time and return EINTR
25320 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25322 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25323 Depend on against $(link-rpcuserlibs).
25325 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25327 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25328 (__libc_stack_end): Do not use attribute_relro.
25329 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25330 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25331 to libthread-provided value.
25332 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25335 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25338 * bits/libc-lock.h (__libc_once_get): New macro.
25339 * sysdeps/mach/bits/libc-lock.h: Likewise.
25340 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25341 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25342 instead of using implementation details.
25344 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25345 * libio/freopen.c: Likewise.
25346 * libio/freopen64.c: Likewise.
25347 * misc/syslog.c: Likewise.
25348 * nscd/connections.c: Likewise.
25349 * nscd/netgroupcache.c: Likewise.
25350 * sysdeps/posix/getcwd.c: Likewise.
25352 2012-05-10 Roland McGrath <roland@hack.frob.com>
25354 * math/w_ilogbf.c: Add #include <limits.h>.
25356 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25358 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25359 path instead of returning without unlocking.
25361 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25362 immediate-write ioctls.
25363 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25365 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25367 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25368 __builtin_frame_address instead of making assumptions about the
25369 location of the return address relative to DATA. Force early load of
25370 the return address.
25371 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25372 __builtin_frame_address.
25375 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25376 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25377 implement dup3 and do some further code clean-ups.
25378 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25379 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25381 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25383 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25385 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25386 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25387 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25388 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25389 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25392 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25393 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25394 when handler == SIG_ERR, not when handler != SIG_ERR.
25396 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25398 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25399 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25402 accept4 for GNU Hurd.
25403 * include/sys/socket.h (__libc_accept4): New prototype.
25404 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25405 to implement __libc_accept4.
25406 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25408 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25410 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25411 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25412 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25413 signal-defines.sym.
25415 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25417 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25419 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25421 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25422 assertion on O_CLOEXEC flag.
25423 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25424 * hurd/intern-fd.c: Likewise.
25425 * hurd/port2fd.c: Likewise.
25427 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25430 * bits/in.h (IPV6_PKTINFO): Define new macro.
25431 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25433 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25438 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25439 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25440 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25441 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25442 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25443 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25444 * math/libm-test.inc (logb_test) : Additional logb tests.
25446 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25447 Andreas Jaeger <aj@suse.de>
25449 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25450 * configure: Regenerated.
25451 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25452 * config.make.in (link-obsolete-rpc): New substituted variable.
25453 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25454 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25455 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25456 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25457 so that libc.a contains the symbols.
25458 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25459 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25460 * sunrpc/auth_none.c: Likewise.
25461 * sunrpc/auth_unix.c: Likewise.
25462 * sunrpc/authdes_prot.c: Likewise.
25463 * sunrpc/authuxprot.c: Likewise.
25464 * sunrpc/clnt_gen.c: Likewise.
25465 * sunrpc/clnt_perr.c: Likewise.
25466 * sunrpc/clnt_raw.c: Likewise.
25467 * sunrpc/clnt_simp.c: Likewise.
25468 * sunrpc/clnt_tcp.c: Likewise.
25469 * sunrpc/clnt_udp.c: Likewise.
25470 * sunrpc/clnt_unix.c: Likewise.
25471 * sunrpc/des_crypt.c: Likewise.
25472 * sunrpc/des_soft.c: Likewise.
25473 * sunrpc/get_myaddr.c: Likewise.
25474 * sunrpc/key_call.c: Likewise.
25475 * sunrpc/key_prot.c: Likewise.
25476 * sunrpc/netname.c: Likewise.
25477 * sunrpc/pm_getmaps.c: Likewise.
25478 * sunrpc/pm_getport.c: Likewise.
25479 * sunrpc/pmap_clnt.c: Likewise.
25480 * sunrpc/pmap_prot.c: Likewise.
25481 * sunrpc/pmap_prot2.c: Likewise.
25482 * sunrpc/pmap_rmt.c: Likewise.
25483 * sunrpc/publickey.c: Likewise.
25484 * sunrpc/rpc_cmsg.c: Likewise.
25485 * sunrpc/rpc_common.c: Likewise.
25486 * sunrpc/rpc_dtable.c: Likewise.
25487 * sunrpc/rpc_prot.c: Likewise.
25488 * sunrpc/rpc_thread.c: Likewise.
25489 * sunrpc/rtime.c: Likewise.
25490 * sunrpc/svc.c: Likewise.
25491 * sunrpc/svc_auth.c: Likewise.
25492 * sunrpc/svc_raw.c: Likewise.
25493 * sunrpc/svc_run.c: Likewise.
25494 * sunrpc/svc_tcp.c: Likewise.
25495 * sunrpc/svc_udp.c: Likewise.
25496 * sunrpc/svc_unix.c: Likewise.
25497 * sunrpc/svcauth_des.c: Likewise.
25498 * sunrpc/xcrypt.c: Likewise.
25499 * sunrpc/xdr.c: Likewise.
25500 * sunrpc/xdr_array.c: Likewise.
25501 * sunrpc/xdr_float.c: Likewise.
25502 * sunrpc/xdr_intXX_t.c: Likewise.
25503 * sunrpc/xdr_mem.c: Likewise.
25504 * sunrpc/xdr_rec.c: Likewise.
25505 * sunrpc/xdr_ref.c: Likewise.
25506 * sunrpc/xdr_sizeof.c: Likewise.
25507 * sunrpc/xdr_stdio.c: Likewise.
25509 2012-05-10 Roland McGrath <roland@hack.frob.com>
25511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25512 change. Update copyright years.
25514 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25516 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25518 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25519 Joseph Myers <joseph@codesourcery.com>
25520 Paul Pluzhnikov <ppluzhnikov@google.com>
25523 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25525 [cross-compiling] (extra-libs): Likewise.
25526 [cross-compiling] (extra-libs-others): Likewise.
25527 [cross-compiling] (librpcsvc-routines): Likewise.
25528 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25529 [cross-compiling] (omit-deps): Likewise.
25530 (sunrpc-CPPFLAGS): New variable.
25531 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25532 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25533 (cross-rpcgen-objs): New variable.
25534 (extra-objs): Append $(cross-rpcgen-objs).
25535 ($(cross-rpcgen-objs)): New rule.
25536 ($(objpfx)cross-rpcgen): Likewise.
25537 (rpcgen-cmd): Define to use $(built-program-file). Expand
25539 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25540 ($(objpfx)x%.stmp): Likewise.
25541 * sunrpc/proto.h [IS_IN_build] (_): Define.
25542 [IS_IN_build] (_libc_intl_domainname): Likewise.
25544 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25546 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25547 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25548 and R_X86_64_TPOFF64.
25550 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25552 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25553 sysdeps/unix/sysv/syscalls.list.
25556 * sysdeps/unix/sysv/syscalls.list: Remove file.
25558 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25561 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25562 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25563 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25564 (__LC_IDENTIFICATION): Make these macros useful in #if
25565 expressions, as required by C99.
25567 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25569 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25570 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25573 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25575 * stdlib/longlong.h: Updated from GCC.
25577 2012-05-09 Andreas Jaeger <aj@suse.de>
25579 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25580 default is first entry.
25581 (run_mode): Set type.
25582 (main): Remove informal message about syslog.
25583 (options): Fix typo.
25586 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25589 (llrintf): Likewise.
25590 (llrint): Likewise.
25593 (nearbyint): Likewise.
25594 (nearbyintf): Likewise.
25596 2012-05-09 Andreas Jaeger <aj@suse.de>
25597 Pedro Alves <palves@redhat.com>
25599 * nscd/nscd.c (run_mode): Use enum.
25600 (main): Cleanup coding style issue.
25602 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25603 Andreas Jaeger <aj@suse.de>
25605 * nscd/nscd.c (go_background): Replaced with...
25606 (run_mode): ... this.
25607 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25608 (options): Add -F --foreground.
25609 (main): Implement it.
25610 (parse_opt): Parse it.
25612 2012-05-09 Andreas Jaeger <aj@suse.de>
25615 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25616 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25617 -Wconversion warning.
25618 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25621 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25623 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25625 (LC_ALL): Use macro-int-constant.
25626 (LC_COLLATE): Likewise.
25627 (LC_CTYPE): Likewise.
25628 (LC_MESSAGES): Likewise.
25629 (LC_MONETARY): Likewise.
25630 (LC_NUMERIC): Likewise.
25631 (LC_TIME): Likewise.
25632 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25633 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25634 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25635 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25637 [C99-based standards] (float_t): Expect type.
25638 [C99-based standards] (double_t): Expect type.
25639 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25641 [C99-based standards] (HUGE_VALL): Likewise.
25642 [C99-based standards] (INFINITY): Likewise.
25643 [C99-based standards] (NAN): Likewise.
25644 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25645 [C99-based standards] (FP_NAN): Likewise.
25646 [C99-based standards] (FP_NORMAL): Likewise.
25647 [C99-based standards] (FP_SUBNORMAL): Likewise.
25648 [C99-based standards] (FP_ZERO): Likewise.
25649 [C99-based standards] (FP_FAST_FMA): Use
25650 optional-macro-int-constant. Specify type. Require == 1.
25651 [C99-based standards] (FP_FAST_FMAF): Likewise.
25652 [C99-based standards] (FP_FAST_FMAL): Likewise.
25653 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25654 [C99-based standards] (FP_ILOGBNAN): Likewise.
25655 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25657 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25658 [C99-based standards] (math_errhandling): Specify type.
25659 [ISO99 || ISO11] (signgam): Do not allow.
25660 [non-C99-based standards] (copysignf): Do not allow.
25661 [non-C99-based standards] (exp2f): Likewise.
25662 [non-C99-based standards] (log2f): Likewise.
25663 [non-C99-based standards] (modff): Allow.
25664 [non-C99-based standards] (erff): Do not allow.
25665 [non-C99-based standards] (erfcf): Likewise.
25666 [non-C99-based standards] (gammaf): Likewise.
25667 [non-C99-based standards] (hypotf): Likewise.
25668 [non-C99-based standards] (j0f): Likewise.
25669 [non-C99-based standards] (j1f): Likewise.
25670 [non-C99-based standards] (jnf): Likewise.
25671 [non-C99-based standards] (lgammaf): Likewise.
25672 [non-C99-based standards] (tgammaf): Likewise.
25673 [non-C99-based standards] (y0f): Likewise.
25674 [non-C99-based standards] (y1f): Likewise.
25675 [non-C99-based standards] (ynf): Likewise.
25676 [non-C99-based standards] (isnanf): Likewise.
25677 [non-C99-based standards] (acoshf): Likewise.
25678 [non-C99-based standards] (asinhf): Likewise.
25679 [non-C99-based standards] (atanhf): Likewise.
25680 [non-C99-based standards] (cbrtf): Likewise.
25681 [non-C99-based standards] (expm1f): Likewise.
25682 [non-C99-based standards] (ilogbf): Likewise.
25683 [non-C99-based standards] (log1pf): Likewise.
25684 [non-C99-based standards] (logbf): Likewise.
25685 [non-C99-based standards] (nextafterf): Likewise.
25686 [non-C99-based standards] (remainderf): Likewise.
25687 [non-C99-based standards] (rintf): Likewise.
25688 [non-C99-based standards] (scalbf): Likewise.
25689 [non-C99-based standards] (copysignl): Likewise.
25690 [non-C99-based standards] (exp2l): Likewise.
25691 [non-C99-based standards] (log2l): Likewise.
25692 [non-C99-based standards] (modfl): Allow.
25693 [non-C99-based standards] (erfl): Do not allow.
25694 [non-C99-based standards] (erfcl): Likewise.
25695 [non-C99-based standards] (gammal): Likewise.
25696 [non-C99-based standards] (hypotl): Likewise.
25697 [non-C99-based standards] (j0l): Likewise.
25698 [non-C99-based standards] (j1l): Likewise.
25699 [non-C99-based standards] (jnl): Likewise.
25700 [non-C99-based standards] (lgammal): Likewise.
25701 [non-C99-based standards] (tgammal): Likewise.
25702 [non-C99-based standards] (y0l): Likewise.
25703 [non-C99-based standards] (y1l): Likewise.
25704 [non-C99-based standards] (ynl): Likewise.
25705 [non-C99-based standards] (isnanl): Likewise.
25706 [non-C99-based standards] (acoshl): Likewise.
25707 [non-C99-based standards] (asinhl): Likewise.
25708 [non-C99-based standards] (atanhl): Likewise.
25709 [non-C99-based standards] (cbrtl): Likewise.
25710 [non-C99-based standards] (expm1l): Likewise.
25711 [non-C99-based standards] (ilogbl): Likewise.
25712 [non-C99-based standards] (log1pl): Likewise.
25713 [non-C99-based standards] (logbl): Likewise.
25714 [non-C99-based standards] (nextafterl): Likewise.
25715 [non-C99-based standards] (remainderl): Likewise.
25716 [non-C99-based standards] (rintl): Likewise.
25717 [non-C99-based standards] (scalbl): Likewise.
25718 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25719 [non-C99-based standards] (FP_*): Do not allow.
25720 [C99-based standards] (FP_*): Change to
25721 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25722 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25724 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25725 (SIG_ERR): Likewise.
25726 [X/Open-based standards] (SIG_HOLD): Likewise.
25727 (SIG_IGN): Likewise.
25728 (SIGABRT): Use macro-int-constant. Specify type. Require
25730 (SIGFPE): Likewise.
25731 (SIGILL): Likewise.
25732 (SIGINT): Likewise.
25733 (SIGSEGV): Likewise.
25734 (SIGTER): Likewise.
25735 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25736 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25737 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25738 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25739 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25740 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25741 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25742 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25743 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25744 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25745 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25746 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25747 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25748 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25749 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25750 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25751 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25752 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25753 [X/Open-based standards] (SIGTRAP): Likewise.
25754 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25755 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25756 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25757 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25758 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25761 2012-05-08 Ian Wienand <ianw@vmware.com>
25764 * time/tzset.c (__tzset_parse_tz): Update default rules for
25765 daylight time changes in the Energy Policy Act of 2005.
25767 2012-05-09 Andreas Jaeger <aj@suse.de>
25770 * elf/ldconfig.c (parse_conf): Change string to make clear that
25771 ldconfig only issued a warning if ld.so.conf does not exist.
25773 2012-05-08 David S. Miller <davem@davemloft.net>
25775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25776 movxtod instead of popping the value on the stack.
25778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25780 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25782 * config.h.in: Add HAVE_ARM_PCS_VFP.
25784 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25787 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25788 checking but the checks are disabled for any reason.
25790 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25792 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25793 and ELF64_R_TYPE with ELFW(R_TYPE).
25795 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25797 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25798 (ulimit): Likewise.
25800 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25801 (settimeofday): Likewise.
25803 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25805 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25806 a struct th_u2 inside the union, and move tu_block/tu_code into
25807 a new th_u3 union of tu_block/tu_code inside of that. Move
25808 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25809 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25810 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25811 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25812 (th_stuff): Change to th_u1.tu_stuff.
25814 (th_msg): Change to th_u1.th_u2.tu_data.
25816 2012-05-07 David S. Miller <davem@davemloft.net>
25818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25821 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25822 (SETUP_PIC_REG): Use it.
25823 (SETUP_PIC_REG_LEAF): Use it.
25825 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25829 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25831 (EXPL_FINITE): Likewise.
25832 (FLDLOG): Likewise.
25833 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25834 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25836 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25838 (EXPL_FINITE): Likewise.
25839 (FLDLOG): Likewise.
25840 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25841 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25843 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25844 test of -max_value argument for long double.
25845 * sysdeps/i386/fpu/libm-test-ulps: Update.
25846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25848 2012-05-06 David S. Miller <davem@davemloft.net>
25850 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25851 quad soft-float symbols whose references which are compiler
25853 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25855 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25859 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25861 (EXPL_FINITE): Likewise.
25862 (FLDLOG): Likewise.
25865 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25866 Adjust comments for base varying.
25867 (__expl_finite): Change alias to EXPL_FINITE.
25868 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25870 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25871 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25873 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25874 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25876 (EXPL_FINITE): Likewise.
25877 (FLDLOG): Likewise.
25880 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25881 Adjust comments for base varying.
25882 (__expl_finite): Change alias to EXPL_FINITE.
25883 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25888 * math/libm-test.inc (check_float_internal): Correct ulp
25889 calculation for subnormal expected results.
25891 2012-05-06 Andreas Jaeger <aj@suse.de>
25893 * Makeconfig (+math-flags): New, set to -frounding-math.
25894 (+cflags): Add +math-flags so that all of glibc gets compiled with
25897 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25899 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25901 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25907 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25908 (__ieee754_expl): Allow for and saturate large arguments.
25909 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25910 (u_threshold): Likewise.
25911 (__exp): Call __ieee754_exp before checking for overflow and
25913 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25914 (u_threshold): Likewise.
25915 (__expf): Call __ieee754_expf before checking for overflow and
25917 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25918 (u_threshold): Likewise.
25919 (__expl): Call __ieee754_expl before checking for overflow and
25921 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25922 (__ieee754_expl): Allow for and saturate large arguments.
25923 * math/libm-test.inc (exp_test): Add another test. Do not allow
25924 missing overflow exception on overflow.
25925 (expm1_test): Do not allow missing overflow exception on overflow.
25927 * sysdeps/i386/fpu/e_expl.c: Move to ...
25928 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25929 rather than using inline asm.
25930 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25931 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25932 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25934 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25937 (signal): Likewise.
25941 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25943 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25944 sysdeps/unix/common/syscalls.list.
25945 (fchmod): Likewise.
25946 (fchown): Likewise.
25947 (ftruncate): Likewise.
25948 (getrusage): Likewise.
25949 (gettimeofday): Likewise.
25950 (setpgid): Likewise.
25951 (setregid): Likewise.
25952 (setreuid): Likewise.
25953 (sigaction): Likewise.
25954 (truncate): Likewise.
25955 (vhangup): Likewise.
25956 * sysdeps/unix/common/syscalls.list: Remove file.
25957 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25958 * sysdeps/unix/sysv/linux/Implies: Likewise.
25960 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25962 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25964 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25968 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25971 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25974 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25977 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25980 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25983 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25986 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25990 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25994 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25997 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26001 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26005 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26007 * sysdeps/unix/common/bits/dirent.h: Remove file.
26008 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26010 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26011 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26012 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26013 * sysdeps/unix/bsd/isatty.c: Likewise.
26014 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26015 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26016 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26018 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26021 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26022 long double comparison inaccuracies.
26023 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26026 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26028 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26029 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26031 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26034 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26035 nonzero digits before rounding a hex value.
26036 * stdlib/tst-strtod.c (tests): Add another test.
26038 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26040 * sysdeps/s390/fpu/libm-test-ulps: Update.
26042 2012-05-03 Andreas Jaeger <aj@suse.de>
26044 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26045 does not get optimized out.
26046 (malloc_opt_barrier): New.
26048 2012-05-03 Andreas Jaeger <aj@suse.de>
26049 Roland McGrath <roland@hack.frob.com>
26051 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26052 intermediate file deletion.
26053 (generated): Add .symlist files.
26055 2012-05-03 Joseph Myers <joseph@codesourcery.com>
26058 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26059 Redirect under this condition.
26060 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26061 [__USE_GNU] (__dprintf_chk): Not under this condition.
26062 [__USE_GNU] (__vdprintf_chk): Likewise.
26063 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26064 under this condition.
26065 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26066 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26067 [__USE_XOPEN2K8] (vdprintf): Likewise.
26068 [__USE_GNU] (__dprintf_chk): Not under this condition.
26069 [__USE_GNU] (__vdprintf_chk): Likewise.
26070 [__USE_GNU] (dprintf): Likewise.
26071 [__USE_GNU] (vdprintf): Likewise.
26073 2012-05-03 Roland McGrath <roland@hack.frob.com>
26075 * elf/Makefile (common-generated): Set this instead of generated for
26076 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26077 $(all-built-dso)-derived lists.
26079 2012-05-03 Andreas Jaeger <aj@suse.de>
26081 * sysdeps/i386/fpu/libm-test-ulps: Update.
26084 * FAQ.in: Likewise.
26085 * scripts/gen-FAQ.pl: Likewise.
26086 * manual/install.texi (Installation): Point to online location of
26088 * Makefile (files-for-dist): Remove FAQ.
26091 2012-05-02 Allan McRae <allan@archlinux.org>
26093 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26094 (LDFLAGS-reldepmod5.so): Likewise.
26095 (LDFLAGS-reldep6mod1.so): Likewise.
26096 (LDFLAGS-reldep6mod4.so): Likewise.
26097 (LDFLAGS-reldep8mod3.so): Likewise.
26098 (LDFLAGS-unload4mod1.so): Likewise.
26099 (LDFLAGS-unload4mod2.so): Likewise.
26100 (LDFLAGS-tst-initorder): Likewise.
26101 (LDFLAGS-tst-initordera2.so): Likewise.
26102 (LDFLAGS-tst-initordera3.so): Likewise.
26103 (LDFLAGS-tst-initordera4.so): Likewise.
26104 (LDFLAGS-tst-initorderb2.so): Likewise.
26105 (LDFLAGS-noload): Likewise.
26106 (LDFLAGS-next): Likewise.
26107 (LDFLAGS-order2mod1.so): Likewise.
26108 (LDFLAGS-order2mod2.so): Likewise.
26109 (LDFLAGS-tst-initorder2): Likewise.
26110 (LDFLAGS-tst-initorder2a.so): Likewise.
26111 (LDFLAGS-tst-initorder2b.so): Likewise.
26112 (LDFLAGS-tst-initorder2c.so): Likewise.
26113 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26115 2012-05-02 David S. Miller <davem@davemloft.net>
26117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26119 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26122 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26124 2012-05-02 Andreas Jaeger <aj@suse.de>
26126 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26127 since we manipulate rounding mode.
26128 (CPPFLAGS-test-idouble.c): Likewise.
26129 (CPPFLAGS-test-ifloat.c): Likewise.
26130 (CFLAGS-test-ldouble.c): Likewise.
26131 (CFLAGS-test-double.c): Likewise.
26132 (CFLAGS-test-float.c): Likewise.
26133 (CFLAGS-test-misc.c): Likewise.
26134 (CFLAGS-test-test-fenv.c): Likewise.
26136 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26140 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26141 comparisons to determine direction to adjust input.
26143 2012-05-01 Roland McGrath <roland@hack.frob.com>
26145 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26146 output to the target.
26148 * scripts/localplt.awk: New file.
26149 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26150 (check-localplt-CFLAGS): Variable removed.
26151 ($(all-built-dso:=.jmprel)): New static pattern rule.
26152 (generated): Add those targets.
26153 (localplt-built-dso): New variable.
26154 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26156 * elf/check-localplt.c: File removed.
26158 * scripts/check-execstack.awk: New file.
26159 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26160 (check-execstack-CFLAGS): Variable removed.
26161 ($(objpfx)check-execstack.h): Target removed.
26162 ($(objpfx)execstack-default): New target.
26163 (generated): Add that instead of check-execstack.h.
26164 ($(all-built-dso:=.phdr)): New static pattern rule.
26165 (generated): Add those targets.
26166 * elf/check-execstack.c: File removed.
26168 * scripts/check-textrel.awk: New file.
26169 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26170 (check-textrel-CFLAGS): Variable removed.
26171 (all-built-dso): Use := to define.o
26172 ($(all-built-dso:=.dyn)): New static pattern rule.
26173 (generated): Add those targets.
26174 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26175 * config.make.in (READELF): New substituted variable.
26176 * elf/check-textrel.c: File removed.
26178 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26180 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26182 * conform/data/ctype.h-data [C99-based standards] (isblank):
26184 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26185 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26187 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26188 Specify type. Require positive value.
26189 (EILSEQ): Likewise.
26190 (ERANGE): Likewise.
26191 [ISO || POSIX] (EILSEQ): Do not expect.
26192 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26193 Specify type. Require positive value.
26194 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26195 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26196 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26197 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26198 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26199 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26200 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26201 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26202 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26203 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26204 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26205 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26206 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26207 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26208 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26209 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26210 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26211 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26212 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26213 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26214 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26215 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26216 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26217 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26218 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26219 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26220 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26221 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26222 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26223 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26224 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26225 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26226 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26227 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26228 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26229 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26230 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26231 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26232 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26233 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26234 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26235 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26236 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26237 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26238 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26239 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26240 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26241 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26242 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26243 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26244 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26245 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26246 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26247 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26248 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26249 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26250 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26251 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26252 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26253 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26254 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26255 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26256 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26257 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26258 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26259 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26260 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26261 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26262 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26263 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26264 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26265 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26266 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26267 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26268 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26269 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26270 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26272 (FLT_ROUNDS): Expect as macro, not constant.
26273 (FLT_MANT_DIG): Use macro-int-constant.
26274 (DBL_MANT_DIG): Likewise.
26275 (LDBL_MANT_DIG): Likewise.
26276 (FLT_DIG): Likewise.
26277 (DBL_DIG): Likewise.
26278 (LDBL_DIG): Likewise.
26279 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26280 (DBL_MIN_EXP): Likewise.
26281 (LDBL_MIN_EXP): Likewise.
26282 (FLT_MAX_EXP): Use macro-int-constant.
26283 (DBL_MAX_EXP): Likewise.
26284 (LDBL_MAX_EXP): Likewise.
26285 (FLT_MAX_10_EXP): Likewise.
26286 (DBL_MAX_10_EXP): Likewise.
26287 (LDBL_MAX_10_EXP): Likewise.
26288 (FLT_MAX): Use macro-constant.
26289 (DBL_MAX): Likewise.
26290 (LDBL_MAX): Likewise.
26291 (FLT_EPSILON): Use macro-constant. Give upper bound.
26292 (DBL_EPSILON): Likewise.
26293 (LDBL_EPSILON): Likewise.
26294 (FLT_MIN): Likewise.
26295 (DBL_MIN): Likewise.
26296 (LDBL_MIN): Likewise.
26297 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26298 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26299 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26300 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26301 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26302 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26303 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26304 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26305 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26306 [ISO11] (FLT_TRUE_MIN): Likewise.
26307 [ISO11] (LDBL_TRUE_MIN): Likewise.
26308 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26309 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26310 (SCHAR_MIN): Use macro-int-constant. Specify type.
26311 (SCHAR_MAX): Likewise.
26312 (UCHAR_MAX): Likewise.
26313 (CHAR_MIN): Likewise.
26314 (CHAR_MAX): Likewise.
26315 (MB_LEN_MAX): Use macro-int-constant.
26316 (SHRT_MIN): Use macro-int-constant. Specify type.
26317 (SHRT_MAX): Likewise.
26318 (USHRT_MAX): Likewise.
26319 (INT_MAX): Likewise.
26320 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26322 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26324 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26326 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26327 bound negative. Suffix upper bound with "L".
26328 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26330 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26332 [C99-based standards] (LLONG_MAX): Likewise.
26333 [C99-based standards] (ULLONG_MAX): Likewise.
26334 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26336 [ISO11] (max_align_t): Require type.
26337 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26339 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26340 from $CFLAGS, without defining away __attribute__ calls.
26341 (checknamespace): Use $CFLAGS_namespace.
26343 * conform/conformtest.pl (@keywords): Only include C99 keywords
26344 for standards based on C99 or C11.
26346 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26348 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26351 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26352 usability of symbols in #if.
26354 * conform/conformtest.pl: If macro or constant types start
26355 "promoted:", expect the symbol to be of the following type
26356 promoted by the integer promotions.
26358 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26359 in one place. Also handle "macro-constant".
26361 * conform/conformtest.pl: Only accept expected macro values with
26362 "==". Parse all "macro" lines in one place.
26363 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26365 * conform/conformtest.pl: Handle braced types on "constant" lines
26366 instead of handling "typed-constant".
26367 * conform/data/signal.h-data: Use "constant" instead of
26370 * conform/conformtest.pl: Handle "optional-" at start of lines in
26371 one place rather than duplicating several cases. Handle each
26372 format of "macro" line with initial "optional-".
26374 * conform/conformtest.pl: Only accept expected constant or
26375 optional-constant values with "==". Parse all "constant" lines in
26376 one place. Parse all "optional-constant" lines in one place.
26377 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26378 * conform/data/fmtmsg.h-data: Likewise.
26379 * conform/data/netinet/in.h-data: Likewise.
26380 * conform/data/tar.h-data: Likewise.
26381 * conform/data/limits.h-data: Use "==" form on "constant" and
26382 "optional-constant" lines.
26384 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26385 Use -std=c99 for XOPEN2K.
26386 (@knownproblems): Remove.
26387 (newtoken): Don't check %isknown.
26389 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26390 Do not expect macro.
26391 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26392 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26393 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26394 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26395 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26396 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26397 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26398 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26399 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26400 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26401 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26402 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26403 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26404 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26405 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26406 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26407 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26408 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26409 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26410 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26411 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26412 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26413 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26414 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26415 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26416 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26417 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26418 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26419 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26420 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26421 [XPG3] (acosh): Likewise.
26422 [XPG3] (asinh): Likewise.
26423 [XPG3] (atanh): Likewise.
26424 [XPG3] (cbrt): Likewise.
26425 [XPG3] (expm1): Likewise.
26426 [XPG3] (ilogb): Likewise.
26427 [XPG3] (log1p): Likewise.
26428 [XPG3] (logb): Likewise.
26429 [XPG3] (nextafter): Likewise.
26430 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26431 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26432 [XPG3] (remainder): Likewise.
26433 [XPG3] (rint): Likewise.
26434 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26435 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26436 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26437 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26438 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26439 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26440 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26441 [UNIX98 || XOPEN2K] (scalb): Expect.
26442 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26443 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26444 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26445 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26446 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26447 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26448 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26449 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26450 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26451 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26452 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26453 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26454 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26455 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26456 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26457 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26458 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26459 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26460 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26461 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26462 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26463 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26464 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26465 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26466 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26467 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26468 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26469 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26470 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26471 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26472 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26473 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26474 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26475 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26476 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26477 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26478 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26479 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26480 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26481 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26482 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26483 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26484 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26485 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26486 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26487 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26488 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26489 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26490 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26491 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26492 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26493 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26494 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26495 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26496 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26497 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26498 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26499 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26500 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26501 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26502 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26503 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26504 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26505 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26506 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26507 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26508 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26509 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26510 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26511 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26512 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26513 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26514 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26515 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26516 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26517 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26518 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26519 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26520 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26521 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26522 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26523 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26524 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26525 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26526 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26527 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26528 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26529 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26530 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26531 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26532 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26533 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26534 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26535 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26536 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26537 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26538 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26539 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26540 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26541 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26542 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26543 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26544 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26545 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26546 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26547 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26548 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26549 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26550 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26551 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26552 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26553 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26554 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26555 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26556 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26557 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26558 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26559 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26560 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26561 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26562 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26563 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26564 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26565 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26566 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26567 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26568 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26569 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26570 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26571 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26572 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26573 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26574 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26575 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26576 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26577 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26578 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26580 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26581 _XOPEN_SOURCE_EXTENDED for XPG4.
26583 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26585 * Makeconfig (localtime): Remove variable.
26586 (inst_localtime-file): Likewise.
26588 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26609 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26613 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26614 comparisons to determine direction to adjust input.
26615 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26616 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26617 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26619 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26621 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26623 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26624 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26626 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26628 * math/libm-test.inc (nexttoward_test): Add more tests.
26630 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26633 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26634 in version GLIBC_2.1, not GLIBC_2.0.
26635 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26638 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26641 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26643 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26644 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26645 * math/libm-test.inc (acos_test): Add more tests.
26646 (asin_test): Likewise.
26647 * sysdeps/i386/fpu/libm-test-ulps: Update.
26648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26651 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26653 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26654 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26655 * math/libm-test.inc (acos_test_tonearest): New function.
26656 (acos_test_towardzero): Likewise.
26657 (acos_test_downward): Likewise.
26658 (acos_test_upward): Likewise.
26659 (asin_test_tonearest): Likewise.
26660 (asin_test_towardzero): Likewise.
26661 (asin_test_downward): Likewise.
26662 (asin_test_upward): Likewise.
26663 (main): Call the new functions.
26664 * sysdeps/i386/fpu/libm-test-ulps: Update.
26665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26669 * math/e_exp10.c: Include <float.h>.
26670 (__ieee754_exp10): Handle underflow here rather than multiplying
26671 large negative argument by M_LN10.
26672 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26674 * math/e_exp10l.c: Include <float.h>.
26675 (__ieee754_exp10l): Handle underflow here rather than multiplying
26676 large negative argument by M_LN10l.
26677 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26678 spurious overflow exception on underflow.
26680 2012-04-29 Marek Polacek <polacek@redhat.com>
26682 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26683 (__fortify_function): New macro.
26684 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26685 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26686 __extern_always_inline.
26687 * libio/bits/stdio2.h: Likewise.
26688 * libio/bits/stdio.h: Likewise.
26689 * string/string.h: Likewise.
26690 * string/bits/string3.h: Likewise.
26691 * include/stdio.h: Likewise.
26692 * stdlib/bits/stdlib.h: Likewise.
26693 * stdlib/stdlib.h: Likewise.
26694 * rt/bits/mqueue2.h: Likewise.
26695 * rt/mqueue.h: Likewise.
26696 * posix/bits/unistd.h: Likewise.
26697 * posix/unistd.h: Likewise.
26698 * io/bits/poll2.h: Likewise.
26699 * io/bits/fcntl2.h: Likewise.
26700 * io/fcntl.h: Likewise.
26701 * io/sys/poll.h: Likewise.
26702 * misc/bits/syslog.h: Likewise.
26703 * misc/bits/syslog-ldbl.h: Likewise.
26704 * misc/sys/syslog.h: Likewise.
26705 * socket/bits/socket2.h: Likewise.
26706 * socket/sys/socket.h: Likewise.
26707 * debug/tst-chk1.c: Likewise.
26708 * wcsmbs/bits/wchar2.h: Likewise.
26709 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26710 * wcsmbs/wchar.h: Likewise.
26712 2012-04-29 Andreas Jaeger <aj@suse.de>
26714 * Makerules (tests): Remove enable-check-abi protection.
26715 (check-abi-warn): Remove.
26716 (check-abi-%): Remove check-abi-warn usage.
26718 * configure.in: Remove check-abi configure option.
26719 * configure: Regenerated.
26720 * config.make.in (enable-check-abi): Remove.
26722 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26725 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26726 double functions to double *_finite functions.
26729 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26730 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26732 * stdio-common/Makefile (tests): Add tst-sprintf3.
26733 * stdio-common/tst-sprintf3.c: New file.
26735 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26736 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26738 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26740 * conform/conformtest.pl: Remove duplicate typed-constant
26743 2012-04-28 David S. Miller <davem@davemloft.net>
26745 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26746 (check-abi-%): Remove AWK script prerequisite and explicit
26748 (check-abi): Rewrite to just diff the symlist with the abilist.
26749 (config-tls, config-abi-config): Delete, no longer used.
26750 (update-abi-%): Remove AWK script and explicit abilist directory.
26751 (update-abi): Rewrite to simply compare and conditionally copy the
26752 symlist and the sysdep abilist file. Remove update-abi-config
26754 * abilist/ld.abilist: Remove.
26755 * abilist/libBrokenLocale.abilist: Remove.
26756 * abilist/libanl.abilist: Remove.
26757 * abilist/libcrypt.abilist: Remove.
26758 * abilist/libdl.abilist: Remove.
26759 * abilist/librt.abilist: Remove.
26760 * abilist/libthread_db.abilist: Remove.
26761 * abilist/libutil.abilist: Remove.
26762 * scripts/extract-abilist.awk: Remove.
26763 * scripts/merge-abilist.awk: Remove.
26764 * sysdeps/generic/libcidn.abilist: New file.
26765 * sysdeps/generic/libnss_compat.abilist: New file.
26766 * sysdeps/generic/libnss_db.abilist: New file.
26767 * sysdeps/generic/libnss_dns.abilist: New file.
26768 * sysdeps/generic/libnss_files.abilist: New file.
26769 * sysdeps/generic/libnss_hesiod.abilist: New file.
26770 * sysdeps/generic/libnss_nis.abilist: New file.
26771 * sysdeps/generic/libnss_nisplus.abilist: New file.
26772 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26773 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26774 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26776 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26777 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26778 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26779 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26780 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26781 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26782 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26783 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26784 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26786 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26787 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26788 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26789 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26791 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26792 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26793 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26794 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26795 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26796 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26798 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26799 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26800 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26802 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26905 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26906 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26907 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26910 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26911 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26912 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26913 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26914 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26915 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26916 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26917 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26918 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26970 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26972 * conform/conformtest.pl: Fix typo in handling typed-constant from
26975 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26977 * README: Cut down references to pre-2.6 Linux kernels and
26978 Linuxthreads. Update lists of configurations in libc and ports
26979 and sort alphabetically. Say "or newer" with Linux kernel version
26982 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26984 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26987 * math/libm-test.inc (logb_test_downward): New test to expose
26988 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26991 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26994 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26996 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26997 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26999 2012-04-26 Joseph Myers <joseph@codesourcery.com>
27001 * sysdeps/unix/i386/brk.S: Remove file.
27002 * sysdeps/unix/i386/dl-brk.S: Likewise.
27003 * sysdeps/unix/i386/pipe.S: Likewise.
27004 * sysdeps/unix/i386/sigreturn.S: Likewise.
27005 * sysdeps/unix/i386/syscall.S: Likewise.
27006 * sysdeps/unix/i386/vfork.S: Likewise.
27007 * sysdeps/unix/i386/wait.S: Likewise.
27009 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27010 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27012 * configure.in (arm*-none*): Do not allow without
27013 --enable-hacker-mode.
27014 (netbsd*): Remove case setting base_os.
27015 (386bsd*): Likewise.
27016 (freebsd*): Likewise.
27019 (sunos*): Likewise.
27020 (ultrix*): Likewise.
27021 (newsos*): Likewise.
27022 (dynix*): Likewise.
27028 (minix*): Likewise.
27029 (irix4*): Likewise.
27030 (irix6*): Likewise.
27031 (solaris[2-9]*): Likewise.
27033 * configure: Regenerated.
27035 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27038 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27039 overflow or cancellation in calculating denominator.
27040 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27041 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27042 down expression to avoid unexpected rounding in newer GCCs.
27043 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27045 2012-04-26 David S. Miller <davem@davemloft.net>
27047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27048 long-double compat symbols.
27049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27063 2012-04-25 David S. Miller <davem@davemloft.net>
27065 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27066 HWCAP_* values only after the memory barriers have been defined.
27067 (atomic_full_barrier): Define.
27068 (atomic_read_barrier): Define.
27069 (atomic_write_barrier): Define.
27071 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27073 * shlib-versions: Add libgcc_s version information.
27074 * sysdeps/generic/libgcc_s.h: Remove.
27075 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27077 * sysdeps/gnu/unwind-resume.c: Likewise.
27078 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27080 2012-04-25 David S. Miller <davem@davemloft.net>
27082 * sysdeps/unix/sparc/brk.S: Delete.
27083 * sysdeps/unix/sparc/dl-brk.S: Delete.
27084 * sysdeps/unix/sparc/pipe.S: Delete.
27085 * sysdeps/unix/sparc/sysdep.S: Delete.
27086 * sysdeps/unix/sparc/sysdep.h: Delete.
27087 * sysdeps/unix/sparc/vfork.S: Delete.
27088 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27089 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27090 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27091 ret_ERRVAL, r0, r1, MOVE): Define.
27092 (JUMPTARGET): Remove.
27093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27094 sysdeps/unix/sparc/sysdep.h
27095 (ENTRY, END): Remove.
27096 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27098 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27100 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27101 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27104 * timezone/README: Update upstream location and email address for
27106 * timezone/zdump.c: Update from tzcode 2012b.
27107 * timezone/zic.c: Likewise.
27109 * configure.in (libc_cv_as_needed): Remove test.
27110 * configure: Regenerated.
27111 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27112 conditional definition.
27113 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27114 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27115 * config.make.in (have-as-needed): Remove variable.
27117 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27118 Paul Pluzhnikov <ppluzhnikov@google.com>
27120 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27123 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27125 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27126 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27127 * sysdeps/sh/strlen.S: Likewise.
27129 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27131 * sysdeps/unix/fork.S: Remove file.
27132 * sysdeps/unix/i386/fork.S: Likewise.
27133 * sysdeps/unix/sparc/fork.S: Likewise.
27135 * sysdeps/unix/system.c: Remove file.
27136 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27138 * sysdeps/unix/getegid.S: Remove file.
27139 * sysdeps/unix/geteuid.S: Likewise.
27141 2012-04-24 Roland McGrath <roland@hack.frob.com>
27143 * scripts/check-localplt.awk: New file.
27144 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27146 * scripts/data/localplt-generic.data: Add a comment.
27148 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27149 NODE when __dir_mkfile failed.
27150 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27151 Reported by Ludovic Courtès <ludo@gnu.org>.
27153 2012-04-24 Andreas Jaeger <aj@suse.de>
27155 * Makerules (common-clean): Also remove gen-as-const-headers
27158 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27160 * Makerules (native-compile): Do not change working directory for
27161 build. Use $(OUTPUT_OPTION) in command.
27162 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27164 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27167 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27168 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27169 * math/libm-test.inc (floor_test): Add more tests.
27170 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27172 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27174 * sysdeps/unix/getdents.c: Remove file.
27175 * sysdeps/unix/sysv/getdents.c: Likewise.
27176 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27178 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27179 sysdeps/unix/mman/syscalls.list.
27181 (mprotect): Likewise.
27183 (munmap): Likewise.
27184 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27185 * sysdeps/unix/mman/syscalls.list: Remove.
27186 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27188 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27189 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27190 * configure: Regenerated.
27191 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27192 $(libgcc_s_suffix).
27193 * config.make.in (libgcc_s_suffix): Remove variable.
27195 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27197 * sysdeps/unix/sysv/gethostname.c: Move to ...
27198 * sysdeps/posix/gethostname.c: ... here.
27200 * sysdeps/unix/execve.S: Remove file.
27202 * sysdeps/unix/_exit.S: Remove file.
27204 2012-04-23 Andreas Jaeger <aj@suse.de>
27207 * manual/Makefile: Remove make dist support, there's no
27208 need for a stand-alone documentation tar ball.
27209 (TEXI2DVI): Define always, it's not in Makeconfig.
27212 (edition): Removed.
27213 (glibc-doc-$(edition).tar): Removed
27217 (ETAGS): Remove, it's in Makeconfig.
27218 (move-if-change): Remove, it's in Makeconfig.
27220 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27223 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27224 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27225 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27226 (strtod_l, strtof_l, strtold_l): Remove __wur.
27227 It is not necessarily an error to ignore strtol's return value.
27228 One can reliably look at the stored endptr to decide whether
27229 the number had valid syntax.
27231 2012-04-21 Andreas Jaeger <aj@suse.de>
27234 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27236 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27238 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27239 * sysdeps/unix/sysv/Versions: Remove file.
27241 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27246 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27249 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27250 version from __vm86.
27252 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27254 * sysdeps/unix/common/lxstat.c: Remove file.
27255 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27257 * sysdeps/unix/sysv/Makefile: Remove file.
27259 * sysdeps/unix/sysv/direct.h: Remove file.
27261 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27262 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27263 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27264 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27265 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27266 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27267 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27269 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27271 * sysdeps/unix/xmknod.c: Remove file.
27272 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27274 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27276 * sysdeps/unix/sysv/i386/time.S: Remove file.
27278 * sysdeps/unix/fxstat.c: Remove file.
27279 * sysdeps/unix/xstat.c: Likewise.
27280 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27282 * sysdeps/unix/sysv/sigaction.c: Remove file.
27284 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27285 (sysdep_headers): Remove variable.
27286 [termio.h not in sysdep_headers] (generated): Likewise.
27287 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27288 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27289 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27290 * sysdeps/unix/sysv/tcflow.c: Likewise.
27291 * sysdeps/unix/sysv/tcflush.c: Likewise.
27292 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27293 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27294 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27295 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27296 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27298 * sysdeps/unix/siglist.c: Remove file.
27300 * sysdeps/unix/getppid.S: Remove file.
27302 * sysdeps/unix/mkdir.c: Remove file.
27303 * sysdeps/unix/rmdir.c: Likewise.
27305 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27307 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27309 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27310 errlist-compat value.
27312 2012-04-18 David S. Miller <davem@davemloft.net>
27314 * sysdeps/generic/memcopy.h (reg_char): Delete.
27315 * debug/strcat_chk.c: Use char, not reg_char.
27316 * debug/strcpy_chk.c: Likewise.
27317 * debug/strncat_chk.c: Likewise.
27318 * debug/strncpy_chk.c: Likewise.
27319 * string/memchr.c: Likewise.
27320 * string/memrchr.c: Likewise.
27321 * string/rawmemchr.c: Likewise.
27322 * string/strcat.c: Likewise.
27323 * string/strchr.c: Likewise.
27324 * string/strchrnul.c: Likewise.
27325 * string/strcmp.c: Likewise.
27326 * string/strcpy.c: Likewise.
27327 * string/strncat.c: Likewise.
27328 * string/strncmp.c: Likewise.
27329 * string/strncpy.c: Likewise.
27331 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27333 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27334 __builtin_memcopy is called when src and dest ranges are known to not
27337 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27339 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27340 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27341 fwd_align_merge macro call.
27342 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27343 bwd_align_merge macro call.
27344 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27346 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27348 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27349 bwd_align_merge macros.
27350 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27351 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27352 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27354 2012-04-18 David S. Miller <davem@davemloft.net>
27356 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27358 2012-04-18 Andreas Jaeger <aj@suse.de>
27361 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27362 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27363 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27365 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27366 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27367 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27369 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27370 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27371 Adjust for changed ldbl-128 files.
27373 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27374 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27375 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27377 2012-04-17 David S. Miller <davem@davemloft.net>
27379 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27381 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27383 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27384 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27385 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27386 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27387 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27388 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27390 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27393 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27394 * math/libm-test.inc: Add ilogb errno and exception tests.
27395 * math/w_ilogb.c: New file: ilogb wrapper.
27396 * math/w_ilogbf.c: New file: ilogbf wrapper.
27397 * math/w_ilogbl.c: New file: ilogbl wrapper.
27398 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27399 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27400 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27401 exception being thrown with 0.0 as argument.
27402 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27403 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27404 exception being thrown with 0.0 as argument.
27405 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27406 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27407 exception being thrown with 0.0 as argument.
27408 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27409 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27410 exception being thrown with 0.0 as argument.
27411 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27412 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27413 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27414 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27415 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27416 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27417 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27418 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27419 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27421 2012-04-17 Petr Baudis <pasky@ucw.cz>
27423 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27426 2012-04-16 Marek Polacek <polacek@redhat.com>
27428 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27430 2012-04-16 Marek Polacek <polacek@redhat.com>
27432 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27433 operands of fdivp instruction.
27435 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27437 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27438 * elf/tst-auditmod3b.c: Likewise.
27439 * elf/tst-auditmod4b.c: Likewise.
27440 * elf/tst-auditmod5b.c: Likewise.
27441 * elf/tst-auditmod6b.c: Likewise.
27442 * elf/tst-auditmod6c.c: Likewise.
27443 * elf/tst-auditmod7b.c: Likewise.
27444 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27445 * sysdeps/x86_64/preconfigure.in: Likewise.
27446 * sysdeps/x86_64/preconfigure: Regenerated.
27448 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27450 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27453 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27455 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27456 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27458 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27461 * locale/iso-639.def: Fix gl language name. Spotted by
27464 2012-04-12 Roland McGrath <roland@hack.frob.com>
27467 * libio/libio.h (__io_write_fn): Update comment.
27469 2012-04-12 Petr Baudis <pasky@ucw.cz>
27472 * stdio.texi (Hook Functions): The user provided writer function
27473 is not allowed to return -1.
27475 2012-04-11 David S. Miller <davem@davemloft.net>
27477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27479 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27481 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27482 Add a leading slash to rtkaio.
27484 2012-04-11 Jim Meyering <meyering@redhat.com>
27487 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27488 It is not necessarily an error to ignore fwrite's return
27489 value. One can reliably use ferror to test for errors after
27492 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27494 * bits/types.h (__snseconds_t): New type.
27495 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27497 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27498 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27499 (__SNSECONDS_T_TYPE): Likewise.
27500 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27501 (__SNSECONDS_T_TYPE): Likewise.
27502 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27503 (__SNSECONDS_T_TYPE): Likewise.
27505 2012-04-10 Andreas Jaeger <aj@suse.de>
27508 * manual/time.texi (Processor Time): Return type of times is
27509 elapsed real time since an arbitrary point in the past.
27510 (CPU Time): Move CLK_TCK from here...
27511 (Processor Time): ...to here. Correct description.
27512 * manual/conf.texi (Constants for Sysconf): Correct description of
27515 2012-04-10 David S. Miller <davem@davemloft.net>
27518 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27519 where the is a gap between DT_REL(A) and DT_JMPREL.
27521 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27523 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27524 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27525 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27527 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27529 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27530 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27531 (dl_main): Handle --inhibit-cache.
27532 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27534 * elf/dl-load.c (_dl_map_object): Use it.
27535 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27537 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27540 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27541 (__ieee754_powl): Saturate large exponents rather than testing for
27542 overflow of y*log2(x).
27543 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27544 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27548 * math/s_ctan.c: Include <float.h>.
27549 (__ctan): Avoid internal overflow or cancellation in calculating
27551 * math/s_ctanf.c: Likewise.
27552 * math/s_ctanl.c: Likewise.
27553 * math/s_ctanh.c: Likewise.
27554 * math/s_ctanhf.c: Likewise.
27555 * math/s_ctanhl.c: Likewise.
27556 * math/libm-test.inc (ctan_test): Add more tests.
27557 (ctanh_test): Likewise.
27558 * sysdeps/i386/fpu/libm-test-ulps: Update.
27559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27561 2012-04-09 Andreas Jaeger <aj@suse.de>
27564 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27565 is an optional BSD extension.
27568 * manual/stdio.texi (Opening Streams): Document additional fopen
27571 2012-04-09 Roland McGrath <roland@hack.frob.com>
27573 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27574 %eax without telling the compiler.
27576 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27579 * manual/install.texi: Use sourceware.org.
27581 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27584 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27585 (__ieee754_pow): Generate overflow and underflow using huge*huge
27586 and tiny*tiny rather than just returning constant infinity or zero
27587 for large exponents.
27588 * math/libm-test.inc (pow_test): Require overflow exceptions for
27589 applicable cases of large exponents.
27592 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27593 (__ieee754_pow): Use iterative multiplication algorithm only for
27594 integer exponents with absolute value below 1024. Check for odd
27595 integer exponents when using algorithm for real exponents.
27596 * math/libm-test.inc (pow_test): Add more tests.
27597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27599 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27602 * math/libm-test.inc (exp_test): Do not allow overflow exception
27605 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27608 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27609 instead of __kernel_standard_f.
27611 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27613 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27614 * sysdeps/x86_64/memset_chk.S: Likewise.
27616 2012-04-08 Andreas Jaeger <aj@suse.de>
27619 * manual/startup.texi (Environment Access): Describe return value
27620 for putenv and setenv.
27623 * manual/filesys.texi (Directory Entries): Add description for
27627 * manual/filesys.texi (Directory Entries): Clarify that it's file
27628 system not operating system in the description of DT_UNKNOWN.
27631 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27633 2012-04-08 Stephen Compall <s11@member.fsf.org>
27636 * manual/llio.texi (Opening and Closing Files): Add cross
27637 reference to explain mode argument.
27639 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27641 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27642 * sysdeps/x86_64/memset_chk.S: Likewise.
27644 2012-04-07 David S. Miller <davem@davemloft.net>
27646 * elf/elf.h (R_SPARC_WDISP10): Define.
27647 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27649 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27650 R_SPARC_SIZE64 and R_SPARC_H34.
27652 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27654 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27655 conditions and remove no longer applicable assertion.
27657 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27659 * bits/byteswap.h: Include <features.h>.
27660 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27661 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27663 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27665 * bits/byteswap.h (__bswap_16): Removed.
27666 Include <bits/byteswap-16.h> to get __bswap_16.
27667 * sysdeps/i386/bits/byteswap.h: Likewise.
27668 * sysdeps/s390/bits/byteswap.h: Likewise.
27669 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27670 * bits/byteswap-16.h: New file.
27671 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27672 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27673 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27674 * string/Makefile (headers): Add bits/byteswap-16.h.
27676 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27679 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27681 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27682 * nss/tst-nss-static.c: New.
27684 2012-04-06 Robert Millan <rmh@gnu.org>
27687 * manual/llio.texi (File Position Primitive): lseek
27688 refers to WHENCE when it really means OFFSET.
27690 2012-04-06 Andreas Jaeger <aj@suse.de>
27692 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27693 strncmp declarations.
27695 * abilist/libc.abilist: Add __poll and __ppoll.
27697 2012-04-05 David S. Miller <davem@davemloft.net>
27699 * scripts/check-local-headers.sh: Accept a host triplet in the
27700 path matched by the exclude regexp.
27702 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27704 * sysdeps/powerpc/powerpc32/dl-machine.h
27705 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27706 * sysdeps/s390/s390-32/dl-machine.h
27707 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27708 * sysdeps/sparc/sparc32/dl-machine.h
27709 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27710 * sysdeps/sparc/sparc64/dl-machine.h
27711 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27713 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27715 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27716 undefined symbol errors.
27718 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27721 2012-04-05 Michael Matz <matz@suse.de>
27724 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27726 2012-04-05 Andreas Jaeger <aj@suse.de>
27729 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27732 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27734 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27735 which ROUND is no valid rounding mode.
27737 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27739 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27741 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27743 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27745 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27746 an exception using FPU order intentionally.
27748 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27750 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27751 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27752 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27753 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27755 2012-04-05 Simon Josefsson <simon@josefsson.org>
27758 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27759 EINVAL when BUFLEN is too smal.
27761 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27764 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27765 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27767 2012-04-03 Andreas Jaeger <aj@suse.de>
27770 * manual/setjmp.texi (System V contexts): Fix sentence.
27773 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27774 New macro for this case.
27775 [!__GNUC__] (__bswap_64): New inline function for this case.
27776 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27777 * bits/byteswap.h: Likewise.
27778 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27779 ull, guard with __GLIBC_HAVE_LONG_LONG.
27781 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27782 __GLIBC_HAVE_LONG_LONG.
27784 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27785 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27787 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27790 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27791 inptr and inend, rather than using last_ch.
27793 2012-04-02 David S. Miller <davem@davemloft.net>
27795 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27796 * stdio-common/printf-parse.h (read_int): Change return type to
27797 'int', return -1 on INT_MAX overflow.
27798 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27799 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27800 overflows INT_MAX. Check for overflow of in-format-string precision
27801 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27802 SIZE_MAX not INT_MAX for integer overflow test.
27803 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27804 skip the construct in the format string but do not record anything.
27805 * stdio-common/bug22.c: Adjust to test both width/prevision
27806 INT_MAX overflow as well as total length INT_MAX overflow. Check
27807 explicitly for proper errno values.
27809 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27811 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27813 * string/test-strcmp.c [! WIDE]: Likewise.
27814 * time/tst-mktime2.c: Likewise for INT_MAX.
27815 * string/test-string.h: #include <sys/param.h> for MIN.
27817 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27818 * sysdeps/i386/init-first.c (init): Likewise.
27819 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27820 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27821 * sysdeps/sh/init-first.c (init): Likewise.
27823 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27825 * po/ru.po: Update from translation team.
27826 * po/vi.po: Likewise.
27828 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27830 * resolv/nss_dns/dns-host.c: Merge copyright years.
27832 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27834 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27835 Optimize memcpy with prefetch if
27836 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27837 src, dst pointers have unequal 16 byte alignments.
27839 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27842 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27843 from a CNAME entry and return the minimum ttl for the query.
27844 (gaih_getanswer_slice): Likewise.
27846 2012-03-30 Jeff Law <law@redhat.com>
27848 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27850 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27851 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27853 * resolv/nss_dns/dns-host.c: Update copyright year.
27855 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27857 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27858 requests to save a system call. Fix check that all bytes are sent.
27860 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27861 comments for sendmmsg.
27863 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27866 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27867 with only 1 character between 0x0041 and 0x01b0.
27868 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27869 * wcsmbs/tst-mbsnrtowcs.c: New file.
27871 2012-03-29 David S. Miller <davem@davemloft.net>
27873 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27874 small copies by hand.
27876 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27879 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27880 _nss_compat_initgroups_dyn): Fall back to malloc/free
27881 for large group memberships.
27883 2012-03-28 David S. Miller <davem@davemloft.net>
27885 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27886 that branches into memcpy.
27887 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27888 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27889 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27890 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27891 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27893 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27894 implementation too.
27895 * sysdeps/sparc/mempcpy.S: New file.
27897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27898 the IFUNC routine in the libc case.
27899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27901 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27902 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27903 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27904 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27905 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27906 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27907 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27908 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27910 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27911 loop to 256 bytes instead of 64 bytes and fix test signedness.
27913 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27914 * sysdeps/sparc/sparc32/Makefile: rather than here...
27915 * sysdeps/sparc/sparc64/Makefile: and here.
27917 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27919 * malloc/mallocbug.c: Avoid warnings about unused variables.
27921 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27924 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27925 in the right place. Discard and retry query if response is
27926 larger than input buffer size.
27928 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27933 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27934 x for large integer exponent.
27935 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27936 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27937 sign of result as needed afterwards.
27938 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27939 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27940 result for underflowing pow the same as for overflow.
27941 (__kernel_standard_l): Handle powl overflow and underflow here
27942 rather than calling __kernel_standard.
27943 * math/libm-test.inc (pow_test): Add more tests.
27958 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27959 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27960 (__kernel_standard_l): New function.
27961 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27963 * math/w_acosl.c (__acosl): Likewise.
27964 * math/w_asinl.c (__asinl): Likewise.
27965 * math/w_atan2l.c (__atan2l): Likewise.
27966 * math/w_atanhl.c (__atanhl): Likewise.
27967 * math/w_coshl.c (__coshl): Likewise.
27968 * math/w_exp10l.c (__exp10l): Likewise.
27969 * math/w_exp2l.c (__exp2l): Likewise.
27970 * math/w_fmodl.c (__fmodl): Likewise.
27971 * math/w_hypotl.c (__hypotl): Likewise.
27972 * math/w_j0l.c (__j0l, __y0l): Likewise.
27973 * math/w_j1l.c (__j1l, __y1l): Likewise.
27974 * math/w_jnl.c (__jnl, __ynl): Likewise.
27975 * math/w_lgammal.c (__lgammal): Likewise.
27976 * math/w_log10l.c (__log10l): Likewise.
27977 * math/w_log2l.c (__log2l): Likewise.
27978 * math/w_logl.c (__logl): Likewise.
27979 * math/w_powl.c (__powl): Likewise.
27980 * math/w_remainderl.c (__remainderl): Likewise.
27981 * math/w_scalbl.c (sysv_scalbl): Likewise.
27982 * math/w_sinhl.c (__sinhl): Likewise.
27983 * math/w_sqrtl.c (__sqrtl): Likewise.
27984 * math/w_tgammal.c (__tgammal): Likewise.
27985 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27986 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27987 * math/libm-test.inc (acos_test): Add more tests.
27988 (acosh_test): Likewise.
27989 (asin_test): Likewise.
27990 (atanh_test): Likewise.
27991 (exp_test): Likewise.
27992 (exp10_test): Likewise.
27993 (exp2_test): Likewise.
27994 (expm1_test): Likewise.
27995 (lgamma_test): Likewise.
27996 (log_test): Likewise.
27997 (log10_test): Likewise.
27998 (log1p_test): Likewise.
27999 (log2_test): Likewise.
28000 (pow_test): Do not allow some spurious overflow exceptions.
28001 (sqrt_test): Add more tests.
28002 (tgamma_test): Likewise.
28003 (y0_test): Likewise.
28004 (y1_test): Likewise.
28005 (yn_test): Likewise.
28007 2012-03-27 Anton Blanchard <anton@samba.org>
28009 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28011 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28012 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28013 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28015 2012-03-27 David S. Miller <davem@davemloft.net>
28017 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28019 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28020 have-as-vis3 check.
28022 2012-03-27 Andreas Jaeger <aj@suse.de>
28024 * sysdeps/x86_64/elf/configure.in: Moved to ...
28025 * sysdeps/x86_64/configure.in: ... here.
28026 * sysdeps/x86_64/elf/start.S: Moved to ...
28027 * sysdeps/x86_64/start.S: ... here.
28028 * sysdeps/x86_64/elf/configure: Delete.
28030 * sysdeps/x86_64/configure.in: Merge contents from
28031 sysdeps/i386/configure.in (without i686 check).
28033 * sysdeps/i386/elf/Versions: Merge into ...
28034 * sysdeps/i386/Versions: ... this.
28035 * sysdeps/i386/elf/Versions: Delete file.
28036 * sysdeps/i386/elf/start.S: Moved to ...
28037 * sysdeps/i386/start.S: ...here.
28038 * sysdeps/i386/elf/configure.in: Merge into...
28039 * sysdeps/i386/configure.in: ...here.
28040 * sysdeps/i386/elf/configure.in: Delete file.
28041 * sysdeps/i386/elf/configure: Delete file.
28043 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28044 * debug/backtracesyms.c: ... here.
28045 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28046 * debug/backtracesymsfd.c: ... here.
28047 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28048 * sysdeps/generic/ifunc-sel.h: ... here.
28050 * sysdeps/unix/i386/start.c: Delete file.
28051 * sysdeps/unix/sparc/start.c: Delete file.
28052 * sysdeps/unix/start.c: Delete file.
28054 * sysdeps/sh/elf/configure.in: Moved to ...
28055 * sysdeps/sh/configure.in: ... here.
28056 * sysdeps/sh/elf/start.S: Moved to ...
28057 * sysdeps/sh/start.S: ... here.
28058 * sysdeps/sh/elf/configure: Delete file.
28060 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28061 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28062 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28063 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28064 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28065 * sysdeps/powerpc/powerpc64/start.S: here.
28066 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28067 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28068 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28069 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28070 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28072 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28073 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28074 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28075 * sysdeps/powerpc/powerpc32/start.S: ... here.
28076 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28077 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28078 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28080 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28081 * sysdeps/powerpc/ifunc-sel.h: ... here.
28082 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28083 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28085 * sysdeps/sparc/elf/configure.in: Moved to ...
28086 * sysdeps/sparc/configure.in: ... here.
28087 * sysdeps/sparc/elf/configure: Delete file.
28088 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28089 * sysdeps/sparc/sparc32/start.S: ... here.
28090 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28091 * sysdeps/sparc/sparc64/start.S: ... here.
28092 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28093 * sysdeps/sparc/sparc32/Makefile: ... this.
28094 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28095 * sysdeps/sparc/sparc64/Makefile: ... this.
28097 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28098 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28099 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28100 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28101 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28102 * sysdeps/s390/s390-32/setjmp.S: ... here.
28103 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28104 * sysdeps/s390/s390-32/configure.in: ... here.
28105 * sysdeps/s390/s390-32/elf/configure: Delete file.
28106 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28107 * sysdeps/s390/s390-32/start.S: ... here.
28109 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28110 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28111 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28112 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28113 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28114 * sysdeps/s390/s390-64/setjmp.S: ... here.
28115 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28116 * sysdeps/s390/s390-64/configure.in: ... here
28117 * sysdeps/s390/s390-64/elf/configure: Delete file.
28118 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28119 * sysdeps/s390/s390-64/start.S: ... here.
28120 * sysdeps/s390/s390-64/elf/configure: Delete.
28122 * configure.in: Remove support for elf directories in sysdeps.
28124 * configure: Regenerated.
28125 * sysdeps/i386/configure: Regenerated.
28126 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28127 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28128 * sysdeps/s390/s390-32/configure: Regenerated.
28129 * sysdeps/s390/s390-64/configure: Regenerated.
28130 * sysdeps/sh/configure: Regenerated.
28131 * sysdeps/sparc/configure: Regenerated.
28132 * sysdeps/x86_64/configure: Regenerated.
28134 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28138 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28139 denormal result into account.
28141 2012-03-25 Roland McGrath <roland@hack.frob.com>
28143 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28144 Reported by Allan McRae <allan@archlinux.org>.
28146 2012-03-23 Jeff Law <law@redhat.com>
28148 * nss/getnssent.c (__nss_getent): Fix typo.
28150 2012-03-23 David S. Miller <davem@davemloft.net>
28152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28154 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28156 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28157 to pad to uint64_t for each field.
28158 (dl_tls_index): Replace unsigned long with uint64_t.
28160 2012-03-23 Daniel Jacobowitz <dmj@google.com>
28161 Paul Pluzhnikov <ppluzhnikov@google.com>
28164 * grp/Makefile (otherlibs): Don't set it.
28165 * inet/Makefile (otherlibs): Likewise.
28166 * login/Makefile (otherlibs): Likewise.
28167 * nscd/Makefile (otherlibs): Likewise.
28168 * posix/Makefile (otherlibs): Likewise.
28169 * pwd/Makefile (otherlibs): Likewise.
28170 * rt/Makefile (otherlibs): Likewise.
28171 * sunrpc/Makefile (otherlibs): Likewise.
28172 * nss/Makefile (otherlibs): Likewise.
28173 Add libnss_files to routines and static-only-routines.
28174 ($(objpfx)getent): Remove rule.
28175 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28176 static-only-routines.
28178 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28181 * math/s_cexp.c: Include <float.h>.
28182 (__cexp): Handle exp result overflowing not necessarily
28183 overflowing both real and imaginary parts of result.
28184 * math/s_cexpf.c: Likewise.
28185 * math/s_cexpl.c: Likewise.
28186 * math/libm-test.inc (cexp_test): Add more tests.
28187 * sysdeps/i386/fpu/libm-test-ulps: Update.
28188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28190 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28192 * include/link.h (ELFW): New macro.
28193 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28194 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28196 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28198 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28201 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28203 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28205 (struct La_x32_retval): Likewise.
28207 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28209 * sysdeps/x86_64/preconfigure.in: New file.
28210 * sysdeps/x86_64/preconfigure: New generated file.
28212 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28215 * math/e_exp2l.c: Include <float.h>.
28216 (__ieee754_exp2l): Handle overflow and underflow cases
28217 separately. Only pass fractional part of argument to
28219 * math/libm-test.inc (exp2_test): Add more tests.
28221 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28222 negating x to take absolute value.
28223 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28225 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28226 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28228 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28229 computing low part if x was negated.
28230 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28232 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28234 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28235 la_x32_gnu_pltexit.
28236 (pltexit): Cast int_retval to ptrdiff_t.
28237 * elf/tst-auditmod3b.c: Likewise.
28238 * elf/tst-auditmod4b.c: Likewise.
28239 * elf/tst-auditmod5b.c: Likewise.
28240 * elf/tst-auditmod6b.c: Likewise.
28241 * elf/tst-auditmod6c.c: Likewise.
28242 * elf/tst-auditmod7b.c: Likewise.
28244 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28245 and x32_gnu_pltexit.
28247 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28248 __ELF_NATIVE_CLASS.
28249 (La_x32_regs): New macro.
28250 (La_x32_retval): Likewise.
28251 (la_x32_gnu_pltenter): New function prototype.
28252 (la_x32_gnu_pltexit): Likewise.
28254 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28261 * configure.in (libc_cv_cc_nofma): Check for option to disable
28262 generation of FMA instructions.
28263 * configure: Regenerate.
28264 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28265 * sysdeps/ieee754/dbl-64/Makefile: New file.
28266 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28267 Remove brandred-fma4.
28268 (CFLAGS-brandred-fma4.c): Remove.
28269 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28270 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28272 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28275 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28277 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28278 LLONG_MAX != LONG_MAX.
28279 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28280 (_fitoa_word): Likewise.
28281 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28282 LLONG_MAX != LONG_MAX.
28283 * stdio-common/_itowa.h: Include <_itoa.h>.
28284 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28285 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28286 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28287 only if not defined.
28288 (_ITOA_WORD_TYPE): Likewise.
28289 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28290 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28292 2012-03-21 David S. Miller <davem@davemloft.net>
28294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28296 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28298 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28299 of x86_64 when setting libc_cv_slibdir, libdir and
28301 * sysdeps/unix/sysv/linux/configure: Regenerated.
28303 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28305 * manual/lang.texi (Old Varargs): Remove section.
28306 (How Variadic): Update menu.
28307 (va_start): Do not mention varargs.h.
28309 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28310 Joseph Myers <joseph@codesourcery.com>
28312 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28314 * configure: Regenerated.
28316 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28318 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28319 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28322 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28325 * Makefile (files-for-dist): Remove NOTES.
28326 (NOTES): Remove rule.
28327 * README: Don't refer to NOTES.
28328 * manual/creature.texi: Don't include macros.texi.
28329 * manual/intro.texi (creature.texi): Remove comment referring to
28332 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28333 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28334 * configure: Regenerated.
28335 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28336 LIBC_TRY_CC_OPTION.
28337 (libc_cv_as_i686): Likewise.
28338 (libc_cv_cc_avx): Likewise.
28339 (libc_cv_cc_sse2avx): Likewise.
28340 (libc_cv_cc_fma4): Likewise.
28341 (libc_cv_cc_novzeroupper): Likewise.
28342 * sysdeps/i386/configure: Regenerated.
28345 * sysdeps/i386/fpu/s_cexp.S: Remove.
28346 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28347 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28348 * math/libm-test.inc (cexp_test): Add more tests.
28349 * sysdeps/i386/fpu/libm-test-ulps: Update.
28350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28352 2012-03-21 Allan McRae <allan@archlinux.org>
28354 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28356 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28359 * math/w_exp2.c: Do not include <float.h>.
28360 (o_threshold, u_threshold): Remove.
28361 (__exp2): Calculate result before checking finiteness and calling
28363 * math/w_exp2f.c: Likewise.
28364 * math/w_exp2l.c: Likewise.
28365 * math/libm-test.inc (exp2_test): Require overflow exception for
28369 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28370 range of signed 64-bit integers before using fistpll. Remove
28371 checks for whether integers fit in mantissa bits.
28372 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28373 the range of signed 32-bit integers before using fistpl. Remove
28374 checks for whether integers fit in mantissa bits.
28375 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28376 (__ieee754_powl): Test for y outside the range of signed 64-bit
28377 integers before using fistpll. Reduce 64-bit values to 63-bit
28379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28380 divide-by-zero is raised for zero to large negative powers.
28381 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28382 (__ieee754_powl): Test for y outside the range of signed 64-bit
28383 integers before using fistpll. Reduce 64-bit values to 63-bit
28385 * math/libm-test.inc (pow_test): Add more tests.
28387 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28389 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28390 <stdio-common/_itoa.h>.
28391 * debug/segfault.c: Likewise.
28392 * elf/dl-cache.c: Likewise.
28393 * elf/dl-minimal.c: Likewise.
28394 * elf/dl-misc.c: Likewise.
28395 * elf/dl-sysdep.c: Likewise.
28396 * elf/dl-version.c: Likewise.
28397 * elf/rtld.c: Likewise.
28398 * hurd/hurdsock.c: Likewise.
28399 * hurd/lookup-retry.c: Likewise.
28400 * malloc/malloc.c: Likewise.
28401 * malloc/mtrace.c: Likewise.
28402 * nscd/nscd_getgr_r.c: Likewise.
28403 * nscd/nscd_getpw_r.c: Likewise.
28404 * nscd/nscd_getserv_r.c: Likewise.
28405 * posix/getopt_init.c: Likewise.
28406 * posix/wordexp.c: Likewise.
28407 * stdio-common/_itoa.c: Likewise.
28408 * stdio-common/printf_fphex.c: Likewise.
28409 * stdio-common/vfprintf.c: Likewise.
28410 * string/_strerror.c: Likewise.
28411 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28412 * sysdeps/i386/i686/hp-timing.h: Likewise.
28413 * sysdeps/mach/_strerror.c: Likewise.
28414 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28415 * sysdeps/mach/hurd/sethostid.c: Likewise.
28416 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28417 * sysdeps/mach/xpg-strerror.c: Likewise.
28418 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28419 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28420 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28421 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28422 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28423 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28424 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28425 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28426 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28427 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28428 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28429 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28430 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28431 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28432 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28433 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28434 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28435 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28436 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28437 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28438 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28440 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28442 * stdio-common/_itoa.h: Moved to ...
28443 * sysdeps/generic/_itoa.h: Here.
28445 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28447 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28448 instead of "_itoa.h" and "_itowa.h".
28449 * stdio-common/vfprintf.: Likewise.
28451 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28453 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28455 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28456 (__signbit): Likwise.
28457 (llrintf): Likwise.
28460 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28462 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28465 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28467 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28468 OVERFLOW_EXCEPTION_OK.
28469 * math/libm-test.inc ("Philosophy"): Update comment about
28471 (OVERFLOW_EXCEPTION): Define.
28472 (OVERFLOW_EXCEPTION_OK): Likewise.
28473 (INVALID_EXCEPTION_OK): Renumber.
28474 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28475 (IGNORE_ZERO_INF_SIGN): Likewise.
28476 (test_exceptions): Handle FE_OVERFLOW.
28477 (exp10_test): Expect overflow exceptions.
28478 (exp2_test): Likewise.
28479 (expm1_test): Likewise.
28480 (nextafter_test): Likewise.
28481 (pow_test): Likewise.
28482 (scalbn_test): Likewise.
28483 (scalbln_test): Likewise.
28485 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28487 * sysdeps/x86_64/bits/atomic.h
28488 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28490 (atomic_exchange_acq): Likewise.
28491 (__arch_exchange_and_add_body): Likewise.
28492 (__arch_add_body): Likewise.
28493 (atomic_add_negative): Likewise.
28494 (atomic_add_zero): Likewise.
28496 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28498 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28499 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28501 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28503 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28504 Check __x86_64__ instead of __WORDSIZE.
28506 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28508 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28510 2012-03-19 David S. Miller <davem@davemloft.net>
28512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28514 * sysdeps/sparc/fpu/fenv_private.h: New file.
28515 * sysdeps/sparc/fpu/math_private.h: Use it.
28516 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28518 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28519 (libc_feholdexcept_setroundl): Remove.
28520 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28522 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28523 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28525 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28527 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28528 int64_t instead of long int.
28529 (INSERT_WORDS64): Likwise.
28531 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28533 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28534 _Unwind_GetCFA return to _Unwind_Ptr first.
28536 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28539 * math/s_clog.c: Include <float.h>.
28540 (__clog): Scale large or subnormal inputs.
28541 * math/s_clogf.c: Likewise.
28542 * math/s_clogl.c: Likewise.
28543 * math/s_clog10.c: Include <float.h>.
28544 (M_LOG10_2): Define.
28545 (__clog10): Scale large or subnormal inputs.
28546 * math/s_clog10f.c: Likewise.
28547 * math/s_clog10l.c: Likewise.
28548 * math/libm-test.inc (clog_test): Add more tests.
28549 (clog10_test): Likewise.
28550 * sysdeps/i386/fpu/libm-test-ulps: Update.
28551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28554 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28556 * math/libm-test.inc (atan2_test): Add another test.
28558 * Makerules (common-objdir-compile): Remove.
28559 * sysdeps/unix/Makefile (config-generated): Do not add
28560 $(unix-generated) to variable.
28561 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28562 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28564 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28566 [generic bits/local_lim.h] (before-compile): Do not append to
28568 [generic bits/local_lim.h] (common-generated): Likewise.
28569 [generic sys/param.h] (before-compile): Do not append to variable.
28570 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28571 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28572 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28573 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28575 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28576 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28577 [generic sys/param.h] ($(addprefix
28578 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28579 [generic sys/param.h] (common-generated): Do not append to
28581 [generic sys/param.h] (sysdep_headers): Likewise.
28582 [generic bits/errno.h] (before-compile): Do not append to
28584 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28586 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28587 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28588 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28589 [generic bits/errno.h] (common-generated): Do not append to
28591 [generic bits/ioctls.h] (before-compile): Do not append to
28593 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28595 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28596 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28597 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28599 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28600 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28601 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28602 [generic bits/ioctls.h] (common-generated): Do not append to
28604 [generic sys/syscall.h] (syscall.h): Remove variable.
28605 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28607 [generic sys/syscall.h] (before-compile): Do not append to
28609 [generic sys/syscall.h] (common-generated): Likewise.
28610 * sysdeps/unix/errnos-tmpl.c: Remove file.
28611 * sysdeps/unix/errnos.awk: Likewise.
28612 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28613 * sysdeps/unix/ioctls.awk: Likewise.
28614 * sysdeps/unix/mk-local_lim.c: Likewise.
28615 * sysdeps/unix/snarf-ioctls: Likewise.
28617 2012-03-19 Richard Henderson <rth@twiddle.net>
28619 * sysdeps/i386/fpu/fenv_private.h: New file.
28620 * sysdeps/i386/fpu/math_private.h: Use it.
28621 (math_opt_barrier, math_force_eval): Remove.
28622 (libc_feholdexcept_setround_53bit): Remove.
28623 (libc_feupdateenv_53bit): Remove.
28624 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28625 (math_opt_barrier, math_force_eval): Remove.
28626 (libc_feholdexcept): Remove.
28627 (libc_feholdexcept_setround): Remove.
28628 (libc_fetestexcept, libc_fesetenv): Remove.
28629 (libc_feupdateenv_test): Remove.
28630 (libc_feupdateenv, libc_feholdsetround): Remove.
28631 (libc_feresetround): Remove.
28633 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28634 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28636 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28637 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28638 (libc_feupdateenv_testl): New.
28639 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28640 (libc_feupdateenv_testf): New.
28641 (libc_feupdateenv): Use libc_feupdateenv_test.
28642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28643 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28645 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28646 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28647 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28648 (libc_feresetround_noex): New.
28649 (libc_feresetround_noexf): New.
28650 (libc_feresetround_noexl): New.
28651 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28652 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28653 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28654 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28656 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28659 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28660 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28661 SET_RESTORE_ROUND_NOEX.
28662 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28663 SET_RESTORE_ROUND_NOEXF.
28664 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28665 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28666 (libc_feholdsetroundf): New.
28667 (libc_feresetround, libc_feresetroundf): New.
28669 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28670 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28671 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28673 * sysdeps/generic/math_private.h: Include <fenv.h>.
28674 (default_libc_feholdexcept): New.
28675 (default_libc_feholdexcept_setround): New.
28676 (default_libc_fesetenv, default_libc_feupdateenv): New.
28677 (libc_feholdexcept): Only define if undefined.
28678 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28679 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28680 (libc_feholdexcept_setroundl): Likewise.
28681 (libc_feholdexcept_setround_53bit): Likewise.
28682 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28683 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28684 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28685 (libc_feupdateenv_53bit): Likewise.
28686 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28687 (libc_feholdexcept): Convert from macro to inline function.
28688 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28689 (libc_fesetenv, libc_feupdateenv): Likewise.
28691 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28692 not previously defined.
28693 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28694 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28695 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28696 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28697 * sysdeps/ieee754/flt-32/math_private.h: New file.
28698 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28699 math_private.h below SET_FLOAT_WORD.
28700 (__isnan, __isinf_ns, __finite): Remove.
28701 (__isnanf, __isinf_nsf, __finitef): Remove.
28703 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28707 2012-03-17 David S. Miller <davem@davemloft.net>
28710 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28713 2012-03-16 David S. Miller <davem@davemloft.net>
28715 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28719 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28721 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28722 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28723 sysdep_routines when subdir is sysvipc.
28724 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28725 __getshmlba helper.
28727 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28729 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28731 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28734 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28736 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28737 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28738 (__lround): Renamed to ...
28739 (__llround): This. Replace long int with long long int.
28740 Define lround functions as aliases of llround functions.
28741 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28743 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28745 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28746 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28747 adresses to uintptr_t. Replace "long int" and "unsigned long
28748 int" with "greg_t" on va_arg.
28750 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28752 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28753 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28755 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28756 Move e_machine check before EI_CLASS check. Handle x32
28757 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28758 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28759 SKIP_EM_IA_64 and include
28760 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28762 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28763 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28764 (add_system_dir): New macro.
28766 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28767 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28769 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28780 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28782 * math/w_j0f.c (j0f): Likewise.
28784 * math/w_j0l.c (__j0l): Likewise.
28786 * math/w_j1.c (j1): Likewise.
28788 * math/w_j1f.c (j1f): Likewise.
28790 * math/w_j1l.c (__j1l): Likewise.
28792 * math/w_jn.c (jn): Likewise.
28794 * math/w_jnf.c (jnf): Likewise.
28796 * math/w_jnl.c (__jnl): Likewise.
28798 * math/libm-test.inc (j0_test): Add more tests.
28799 (j1_test): Likewise.
28800 (jn_test): Likewise. Add trailing semicolon to existing test.
28801 (y0_test): Likewise.
28802 (y1_test): Likewise.
28803 * sysdeps/i386/fpu/libm-test-ulps: Update.
28804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28808 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28809 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28810 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28811 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28812 (__tanl): Set errno for infinite argument.
28813 * sysdeps/i386/fpu/mptan.c: Remove.
28814 * sysdeps/i386/fpu/s_tan.S: Likewise.
28815 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28816 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28817 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28818 * math/libm-test.inc (tan_test): Add more tests and enable more
28819 tests for double and long double.
28820 * sysdeps/i386/fpu/libm-test-ulps: Update.
28821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28823 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28825 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28826 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28828 2012-03-16 Roland McGrath <roland@hack.frob.com>
28830 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28831 * configure.in: Use it for both main tree and add-ons.
28832 * configure: Regenerated.
28834 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28836 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28838 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28840 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28844 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28845 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28847 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28848 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28850 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28852 != 0 for prec == 2.
28853 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28854 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28855 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28856 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28857 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28858 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28859 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28860 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28861 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28862 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28863 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28864 * math/libm-test.inc (cos_test): Add more tests and enable more
28865 tests for long double.
28866 (sin_test): Likewise.
28867 (sincos_test): Likewise.
28868 * sysdeps/i386/fpu/libm-test-ulps: Update.
28869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28871 2012-03-16 David S. Miller <davem@davemloft.net>
28873 * sysdeps/sparc/fpu/math_private.h: New file.
28875 2012-03-15 David S. Miller <davem@davemloft.net>
28877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28891 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28892 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28894 * sysdeps/sparc/sparc-ifunc.h: New file.
28895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28922 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28940 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28942 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28946 2012-03-15 Andreas Jaeger <aj@suse.de>
28949 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28950 ieee754/flt-32 implementation for sin, cos and sincos.
28951 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28952 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28953 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28954 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28955 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28956 ieee754/flt-32 implementation for tan.
28958 * math/libm-test.inc (cos_test): Enable some large input tests for
28960 (sin_test): Likewise.
28961 (sincos_test): Likewise.
28962 (tan_test): Add tests for large input.
28964 * sysdeps/i386/fpu/libm-test-ulps: Update.
28966 2012-03-15 Andreas Jaeger <aj@suse.de>
28969 * math/libm-test.inc (cos_test): Add more test cases.
28970 (sin_test): Likewise.
28971 (sincos_test): Likewise.
28973 2012-03-15 Andreas Jaeger <aj@suse.de>
28976 * math/libm-test.inc (cos_test): Add a test case for large input
28978 (sin_test): Likewise.
28979 (sincos_test): Likewise.
28981 2012-03-15 Andreas Jaeger <aj@suse.de>,
28982 Joseph Myers <joseph@codesourcery.com>
28985 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28986 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28987 * sysdeps/i386/fpu/branred.c: Likewise.
28988 * sysdeps/i386/fpu/dosincos.c: Likewise.
28989 * sysdeps/i386/fpu/mpa.c: Likewise.
28990 * sysdeps/i386/fpu/s_cos.S: Likewise.
28991 * sysdeps/i386/fpu/s_sin.S: Likewise.
28992 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28993 * sysdeps/i386/fpu/sincos32.c: Likewise.
28995 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28997 (libc_feupdateenv_53bit): Define.
28998 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29000 (libc_feupdateenv_53bit): Define.
29002 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29003 53 bit (without extend i386 double precision).
29005 * math/libm-test.inc (sincos_test): Add tests for large input.
29009 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29011 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29015 2012-03-15 David S. Miller <davem@davemloft.net>
29017 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29018 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29019 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29020 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29044 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29045 fmin/fmax sysdep routines.
29046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29048 2012-03-14 David S. Miller <davem@davemloft.net>
29050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29054 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29055 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29057 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29070 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29071 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29075 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29078 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29122 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29127 * sysdeps/sparc/configure.in: New file.
29128 * sysdeps/sparc/configure: Generate.
29129 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29130 * configure: Regenerate.
29131 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29132 * config.make.in (have-as-vis3): New.
29133 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29134 available use -Av9d instead of -Av9a.
29135 * sysdeps/sparc/sparc64/Makefile: Likewise.
29136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29146 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29147 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29151 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29152 fzeros/fnegs to load 0x80000000 into a float register instead of
29154 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29156 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29160 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29161 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29162 ($(inst_includedir)/bits/syscall.h): Remove rule.
29163 ($(objpfx)bits/syscall.d): Include instead of
29164 $(objpfx)syscall-list.d.
29165 (generated): Change syscall-list.h and syscall-list.d to
29166 bits/syscall.h and bits/syscall.d.
29168 2012-03-14 Roland McGrath <roland@hack.frob.com>
29171 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29173 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29176 * math/s_csqrt.c: Include <float.h>.
29177 (__csqrt): Scale large or subnormal inputs.
29178 * math/s_csqrtf.c: Likewise.
29179 * math/s_csqrtl.c: Likewise.
29180 * math/libm-test.inc (csqrt_test): Add more tests.
29181 * sysdeps/i386/fpu/libm-test-ulps: Update.
29182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29185 * math/libm-test.inc (hypot_test): Add more tests.
29187 2012-03-13 David S. Miller <davem@davemloft.net>
29190 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29191 double-precision for the calculation instead of scaling.
29193 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29195 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29196 manipulate bits before adding and subtracting TWO52[sx].
29197 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29198 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29200 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29202 2012-03-13 David S. Miller <davem@davemloft.net>
29204 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29205 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29206 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29207 rtld-global-offsets.h
29208 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29210 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29213 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29215 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29216 'err' in the ifdef scope in which it is actually used.
29218 * nss/nss_db/db-init.c: Include string.h
29220 2012-03-12 David S. Miller <davem@davemloft.net>
29222 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29223 masking out of the most significant byte of random value used.
29224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29225 Fix coding style in previous change.
29227 * sysdeps/unix/sysv/linux/kernel-features.h
29228 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29229 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29231 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29234 2012-03-11 David S. Miller <davem@davemloft.net>
29236 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29237 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29238 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29239 for 'resultvar' otherwise things get truncated on 64-bit.
29241 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29242 Fix masking out of the most significant byte of random value used.
29244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29246 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29250 2012-03-09 David S. Miller <davem@davemloft.net>
29252 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29253 variables with appropriate CPP guards.
29254 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29255 frame pointer, not the stack pointer. Correct layout comments. Fix test
29256 on resulting framesize and the management of the outregs buffer for pltexit.
29257 Preserve floating point return values across _dl_call_pltexit call.
29258 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29259 framesize and the management of the outregs buffer for pltexit.
29260 Preserve floating point return values across _dl_call_pltexit
29262 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29263 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29264 (print_exit): Fix format string for return register value.
29266 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29268 * sunrpc/Makefile (others): Add rpcgen.
29269 ($(objpfx)rpcgen): Remove special build rule and dependency on
29271 * sunrpc/rpcgen.c: New file.
29273 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29276 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29277 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29278 * sysdeps/i386/crti.S: Likewise.
29279 * sysdeps/i386/crtn.S: Likewise.
29280 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29281 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29282 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29283 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29284 * sysdeps/sh/crti.S: Likewise.
29285 * sysdeps/sh/crtn.S: Likewise.
29286 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29289 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29291 * locale/programs/locfile-kw.gperf: Likewise.
29292 * locale/programs/charmap-kw.h: Regenerated.
29293 * locale/programs/locfile-kw.h: Likewise.
29296 * intl/plural.y: Replace FSF snail mail address with URL.
29297 * intl/plural.c: Regenerated.
29299 2012-03-09 Richard Henderson <rth@twiddle.net>
29301 * include/math_private.h: Remove file.
29302 * math/math_private.h: Move file ...
29303 * sysdeps/generic/math_private.h: ... here.
29305 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29306 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29307 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29309 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29310 and <math_private.h>.
29311 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29312 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29313 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29314 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29315 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29316 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29317 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29318 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29319 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29320 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29322 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29323 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29325 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29326 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29327 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29328 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29329 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29330 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29332 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29333 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29335 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29336 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29337 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29338 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29339 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29340 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29341 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29342 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29343 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29344 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29345 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29346 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29347 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29348 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29349 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29350 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29351 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29352 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29353 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29354 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29355 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29356 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29357 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29358 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29359 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29360 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29361 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29362 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29363 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29364 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29365 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29366 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29367 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29368 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29369 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29370 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29371 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29372 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29373 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29374 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29375 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29376 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29377 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29378 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29379 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29380 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29381 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29382 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29383 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29384 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29385 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29386 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29389 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29390 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29391 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29392 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29393 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29394 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29395 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29398 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29399 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29400 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29401 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29402 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29403 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29404 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29405 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29406 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29407 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29408 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29409 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29410 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29411 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29412 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29413 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29414 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29415 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29416 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29417 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29418 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29419 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29420 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29421 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29422 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29423 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29424 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29425 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29426 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29427 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29428 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29429 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29430 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29431 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29432 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29433 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29434 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29435 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29436 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29437 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29438 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29439 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29440 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29441 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29442 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29443 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29444 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29445 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29446 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29447 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29448 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29449 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29450 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29451 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29452 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29453 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29454 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29455 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29456 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29457 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29458 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29459 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29460 * sysdeps/ieee754/k_standard.c: Likewise.
29461 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29462 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29463 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29464 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29465 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29466 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29467 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29468 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29469 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29470 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29471 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29472 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29473 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29474 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29475 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29476 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29478 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29480 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29481 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29482 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29483 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29484 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29485 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29486 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29488 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29489 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29490 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29491 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29492 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29494 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29496 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29497 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29498 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29499 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29500 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29501 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29502 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29503 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29505 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29506 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29507 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29508 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29509 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29510 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29511 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29512 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29513 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29514 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29515 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29516 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29517 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29518 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29519 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29520 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29521 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29522 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29523 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29524 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29525 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29526 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29527 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29528 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29529 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29530 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29531 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29533 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29534 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29535 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29537 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29538 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29539 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29540 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29541 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29542 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29543 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29544 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29545 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29546 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29547 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29548 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29549 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29550 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29551 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29552 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29553 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29554 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29555 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29556 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29557 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29558 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29559 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29560 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29561 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29562 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29563 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29564 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29565 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29566 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29567 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29568 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29569 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29570 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29571 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29572 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29573 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29574 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29575 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29576 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29577 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29578 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29579 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29580 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29581 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29582 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29583 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29584 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29585 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29586 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29587 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29588 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29589 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29590 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29591 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29592 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29593 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29594 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29595 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29596 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29597 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29598 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29599 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29600 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29601 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29602 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29603 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29604 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29605 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29606 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29607 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29608 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29609 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29610 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29611 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29612 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29613 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29614 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29615 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29616 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29617 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29618 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29619 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29620 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29621 * sysdeps/ieee754/s_lib_version.c: Likewise.
29622 * sysdeps/ieee754/s_matherr.c: Likewise.
29623 * sysdeps/ieee754/s_signgam.c: Likewise.
29624 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29625 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29626 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29627 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29628 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29629 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29630 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29631 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29632 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29633 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29634 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29635 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29636 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29637 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29638 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29639 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29640 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29641 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29642 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29644 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29646 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29648 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29649 * sunrpc/rpc_main.c: Likewise.
29650 * sunrpc/rpc_svcout.c: Likewise.
29652 2012-03-09 David S. Miller <davem@davemloft.net>
29654 * include/math_private.h: New file.
29656 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29658 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29659 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29660 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29661 from <bits/socket_type.h>.
29662 (enum __socket_type): Don't define here.
29663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29665 bits/socket_type.h.
29668 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29669 checking __USE_GNU.
29671 * Makerules ($(inst_includedir)/%.h): New rule.
29672 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29673 (install-others): Remove variable setting.
29674 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29676 2012-03-08 Richard Henderson <rth@twiddle.net>
29678 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29679 from macro to inline function; merge with the
29680 !__LIBC_INTERNAL_MATH_INLINES version.
29681 (__ieee754_sqrtf): Likewise.
29683 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29684 to inline function.
29685 (__rintf, __floor, __floorf): Likewise.
29687 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29688 macro to inline function.
29689 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29691 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29692 not <math/math_private.h>.
29694 2012-03-08 David S. Miller <davem@davemloft.net>
29696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29698 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29700 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29702 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29704 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29705 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29707 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29709 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29710 be defined individually, they must be defined as a block. Define
29711 S for printing a string instead of hidint the different by using a
29712 macro for adding the 'l'.
29713 * stdio-common/tst-fphex-wide.c: Adjust.
29715 2012-03-07 Marek Polacek <polacek@redhat.com>
29717 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29719 2012-03-08 Marek Polacek <polacek@redhat.com>
29722 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29723 * stdio-common/tst-fphex.c: Define a few macros to make the
29724 test reusable. Use them.
29725 * stdio-common/tst-fphex-wide.c: New file.
29727 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29730 * manual/macros.texi (gnusystems): New macro.
29731 (nongnusystems): Likewise.
29732 (gnulinuxhurdsystems): Likewise.
29733 (gnuhurdsystems): Likewise..
29734 (gnulinuxsystems): Likewise.
29735 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29736 variants of the GNU system, not "GNU system".
29737 * manual/conf.texi: Likewise.
29738 * manual/errno.texi: Likewise. Update example of errno macro
29740 * manual/filesys.texi: Likewise.
29741 (getumask): Document as specific to GNU/Hurd.
29742 * manual/install.texi: Likewise. Reword some references to
29744 * manual/intro.texi: Likewise.
29745 * manual/io.texi: Likewise.
29746 (File Name Portability): Detail which constraints are inapplicable
29747 to all GNU systems and which are only inapplicable to GNU/Hurd.
29748 * manual/job.texi: Likewise.
29749 * manual/llio.texi: Likewise.
29750 (O_NOCTTY): Document as present on GNU/Linux.
29751 * manual/maint.texi: Likewise.
29752 * manual/memory.texi: Likewise.
29753 * manual/pattern.texi: Likewise.
29754 * manual/pipe.texi: Likewise.
29755 * manual/process.texi: Likewise.
29756 * manual/resource.texi: Likewise.
29757 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29759 * manual/setjmp.texi: Likewise.
29760 * manual/signal.texi: Likewise.
29761 * manual/startup.texi: Likewise.
29762 * manual/stdio.texi: Likewise.
29763 * manual/terminal.texi: Likewise.
29764 (ONLCR): Document as POSIX.
29765 (OXTABS): Document availability on GNU/Linux as XTABS.
29766 (ONOEOT): Document availability separately from other bits.
29767 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29768 * manual/time.texi: Likewise.
29769 * manual/users.texi: Likewise.
29770 * INSTALL: Regenerated.
29771 * sysdeps/gnu/errlist.c: Regenerated.
29773 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29774 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29775 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29777 * configure: Regenerated.
29779 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29781 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29782 default includes instead of AC_HEADER_CHECK.
29783 * sysdeps/i386/configure: Regenerated.
29786 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29787 * math/s_cacoshf.c (__cacoshf): Likewise.
29788 * math/s_cacoshl.c (__cacoshl): Likewise.
29789 * math/s_casinh.c (__casinh): Set signs of result from argument.
29790 * math/s_casinhf.c (__casinhf): Likewise.
29791 * math/s_casinhl.c (__casinhl): Likewise.
29792 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29793 (casinh_test): Add more tests.
29794 * sysdeps/i386/fpu/libm-test-ulps: Update.
29795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29797 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29799 * po/zh_TW.po: Update from translation team.
29801 * login/Makefile (distribute): Remove variable.
29802 * catgets/Makefile: Likewise.
29803 * mach/Makefile: Likewise.
29804 * malloc/Makefile: Likewise.
29805 * misc/Makefile: Likewise.
29806 * iconv/Makefile: Likewise.
29807 * nscd/Makefile: Likewise.
29808 * hurd/Makefile: Likewise.
29809 * manual/Makefile: Likewise.
29810 * locale/Makefile: Likewise.
29811 * intl/Makefile: Likewise.
29812 * conform/Makefile: Likewise.
29813 * nss/Makefile: Likewise.
29814 * time/Makefile: Likewise.
29815 * soft-fp/Makefile: Likewise.
29816 * dirent/Makefile: Likewise.
29817 * gmon/Makefile: Likewise.
29818 * po/Makefile: Likewise.
29819 * rt/Makefile: Likewise.
29820 * socket/Makefile: Likewise.
29821 * math/Makefile: Likewise.
29822 * signal/Makefile: Likewise.
29823 * debug/Makefile: Likewise.
29824 * elf/Makefile: Likewise.
29825 * timezone/Makefile: Likewise.
29826 * stdlib/Makefile: Likewise.
29827 * iconvdata/Makefile: Likewise.
29828 * sunrpc/Makefile: Likewise.
29829 * io/Makefile: Likewise.
29830 * argp/Makefile: Likewise.
29831 * inet/Makefile: Likewise.
29832 * hesiod/Makefile: Likewise.
29833 * grp/Makefile: Likewise.
29834 * csu/Makefile: Likewise.
29835 * wctype/Makefile: Likewise.
29836 * crypt/Makefile: Likewise.
29837 * libio/Makefile: Likewise.
29838 * string/Makefile: Likewise.
29839 * nis/Makefile: Likewise.
29840 * resolv/Makefile: Likewise.
29841 * stdio-common/Makefile: Likewise.
29842 * wcsmbs/Makefile: Likewise.
29843 * dlfcn/Makefile: Likewise.
29844 * posix/Makefile: Likewise.
29847 * timezone/Makefile: Don't install timezone files, just the programs
29850 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29852 * nss/databases.def: Add missing gshadow entry.
29854 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29856 2012-03-06 Marek Polacek <polacek@redhat.com>
29859 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29860 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29861 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29862 * stdio-common/tst-long-dbl-fphex.c: New file.
29864 2012-03-06 David S. Miller <davem@davemloft.net>
29866 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29867 (set_obp_int): New function.
29868 (get_obp_int): New function.
29869 (__get_clockfreq_via_dev_openprom): Likewise.
29870 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29871 Avoid unused variable warnings on 'val' and use builtin_expect.
29872 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29874 (INLINE_CLONE_SYSCALL): Likewise.
29876 2012-03-05 David S. Miller <davem@davemloft.net>
29878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29880 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29884 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29885 only for |x| >= 40.
29886 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29888 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29890 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29891 Replace gettimeofday with __vdso_gettimeofday.
29893 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29894 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29895 __vdso_clock_gettime and __vdso_getcpu.
29897 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29898 time with __vdso_time.
29900 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29902 * manual/lang.texi (size_t): Note types to which size_t may be
29903 equivalent with the GNU C Library, but do not describe when
29904 differences between them are significant.
29906 2012-03-05 Andreas Jaeger <aj@suse.de>
29908 * sysdeps/i386/fpu/libm-test-ulps: Update.
29910 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29913 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29914 (__ieee754_pow): Save and restore rounding mode and use
29915 round-to-nearest for main computations.
29916 * math/libm-test.inc (pow_test_tonearest): New function.
29917 (pow_test_towardzero): Likewise.
29918 (pow_test_downward): Likewise.
29919 (pow_test_upward): Likewise.
29920 (main): Call the new functions.
29921 * sysdeps/i386/fpu/libm-test-ulps: Update.
29922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29925 * math/libm-test.inc (cosh_test_tonearest): New function.
29926 (cosh_test_towardzero): Likewise.
29927 (cosh_test_downward): Likewise.
29928 (cosh_test_upward): Likewise.
29929 (sinh_test_tonearest): Likewise.
29930 (sinh_test_towardzero): Likewise.
29931 (sinh_test_downward): Likewise.
29932 (sinh_test_upward): Likewise.
29933 (main): Call the new functions.
29934 * sysdeps/i386/fpu/libm-test-ulps: Update.
29935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29937 2012-03-05 Tom de Vries <tom@codesourcery.com>
29939 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29940 default stack guard is set in last bytes.
29941 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29943 2012-03-05 Kees Cook <keescook@chromium.org>
29945 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29948 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29949 possibly allocate from heap instead of stack.
29950 * stdio-common/bug-vfprintf-nargs.c: New file.
29951 * stdio-common/Makefile (tests): Add nargs overflow test.
29953 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29957 2012-03-03 Marek Polacek <polacek@redhat.com>
29959 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29960 * math/math_private.h: Likewise.
29961 * stdlib/tst-strtod.c: Likewise.
29962 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29963 * sysdeps/x86_64/bits/atomic.h: Likewise.
29965 2012-03-02 David S. Miller <davem@davemloft.net>
29967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29971 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29972 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29973 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29974 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29976 2012-03-02 Roland McGrath <roland@hack.frob.com>
29979 * manual/examples/README: New file, says the example source files
29980 can be used under GPL>=2.
29981 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29982 line containing just "*/".
29983 * manual/examples/add.c: Add copyright header (GPL>=2).
29984 * manual/examples/argp-ex1.c: Likewise.
29985 * manual/examples/argp-ex2.c: Likewise.
29986 * manual/examples/argp-ex3.c: Likewise.
29987 * manual/examples/argp-ex4.c: Likewise.
29988 * manual/examples/atexit.c: Likewise.
29989 * manual/examples/db.c: Likewise.
29990 * manual/examples/dir.c: Likewise.
29991 * manual/examples/dir2.c: Likewise.
29992 * manual/examples/execinfo.c: Likewise.
29993 * manual/examples/filecli.c: Likewise.
29994 * manual/examples/filesrv.c: Likewise.
29995 * manual/examples/fmtmsgexpl.c: Likewise.
29996 * manual/examples/genpass.c: Likewise.
29997 * manual/examples/inetcli.c: Likewise.
29998 * manual/examples/inetsrv.c: Likewise.
29999 * manual/examples/isockad.c: Likewise.
30000 * manual/examples/longopt.c: Likewise.
30001 * manual/examples/memopen.c: Likewise.
30002 * manual/examples/memstrm.c: Likewise.
30003 * manual/examples/mkfsock.c: Likewise.
30004 * manual/examples/mkisock.c: Likewise.
30005 * manual/examples/mygetpass.c: Likewise.
30006 * manual/examples/pipe.c: Likewise.
30007 * manual/examples/popen.c: Likewise.
30008 * manual/examples/rprintf.c: Likewise.
30009 * manual/examples/search.c: Likewise.
30010 * manual/examples/select.c: Likewise.
30011 * manual/examples/setjmp.c: Likewise.
30012 * manual/examples/sigh1.c: Likewise.
30013 * manual/examples/sigusr.c: Likewise.
30014 * manual/examples/stpcpy.c: Likewise.
30015 * manual/examples/strdupa.c: Likewise.
30016 * manual/examples/strftim.c: Likewise.
30017 * manual/examples/strncat.c: Likewise.
30018 * manual/examples/subopt.c: Likewise.
30019 * manual/examples/swapcontext.c: Likewise.
30020 * manual/examples/termios.c: Likewise.
30021 * manual/examples/testopt.c: Likewise.
30022 * manual/examples/testpass.c: Likewise.
30023 * manual/examples/timeval_subtract.c: Likewise.
30026 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30028 * manual/timeval_subtract.c.texi: ... here, new file.
30030 2012-03-02 David S. Miller <davem@davemloft.net>
30032 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30034 2012-03-02 Joseph Myers <joseph@codesourcery.com>
30037 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30038 (__sin): Save and restore rounding mode and use round-to-nearest
30039 for all computations.
30040 (__cos): Save and restore rounding mode and use round-to-nearest
30041 for all computations.
30042 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30044 (tan): Save and restore rounding mode and use round-to-nearest for
30046 * math/libm-test.inc (cos_test_tonearest): New function.
30047 (cos_test_towardzero): Likewise.
30048 (cos_test_downward): Likewise.
30049 (cos_test_upward): Likewise.
30050 (sin_test_tonearest): Likewise.
30051 (sin_test_towardzero): Likewise.
30052 (sin_test_downward): Likewise.
30053 (sin_test_upward): Likewise.
30054 (tan_test_tonearest): Likewise.
30055 (tan_test_towardzero): Likewise.
30056 (tan_test_downward): Likewise.
30057 (tan_test_upward): Likewise.
30058 (main): Call the new functions.
30059 * sysdeps/i386/fpu/libm-test-ulps: Update.
30060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30063 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30064 small n, then large n, before computing and testing k+n.
30065 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30066 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30070 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30071 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30072 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30073 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30074 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30075 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30076 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30077 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30078 * math/libm-test.inc (scalbn_test): Add more tests.
30079 (scalbln_test): Likewise.
30081 * manual/filesys.texi (mode_t): Describe constraints on size and
30082 signedness, not exact equivalence to a particular type.
30084 (ino64_t): Likewise.
30086 (nlink_t): Likewise.
30087 (blkcnt_t): Likewise.
30088 (blkcnt64_t): Likewise.
30089 * manual/llio.texi (off_t): Likewise.
30092 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30093 (__ieee754_exp): Save and restore rounding mode and use
30094 round-to-nearest for all computations.
30095 * math/libm-test.inc (exp_test_tonearest): New function.
30096 (exp_test_towardzero): Likewise.
30097 (exp_test_downward): Likewise.
30098 (exp_test_upward): Likewise.
30099 (main): Call the new functions.
30100 * sysdeps/i386/fpu/libm-test-ulps: Update.
30101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30103 2012-03-01 Chris Demetriou <cgd@google.com>
30105 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30106 have predictable order.
30108 2012-03-01 David S. Miller <davem@davemloft.net>
30110 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30112 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30113 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30114 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30115 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30117 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30118 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30119 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30121 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30122 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30123 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30124 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30125 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30129 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30130 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30131 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30133 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30134 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30135 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30136 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30137 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30138 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30139 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30140 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30141 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30142 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30143 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30144 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30146 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30147 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30149 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30150 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30151 * sysdeps/sparc/elf/configure: Regenerated.
30153 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30155 * configure.in (AS, LD): Require binutils 2.20 or later.
30156 * configure: Regenerated.
30157 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30158 as required minimum version.
30159 * INSTALL: Regenerated.
30163 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30164 before squaring exponent.
30165 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30166 bottom long double and 27 bits of top long double before squaring
30168 * math/libm-test.inc (erfc_test): Add more tests.
30169 * sysdeps/i386/fpu/libm-test-ulps: Update.
30170 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30173 2012-03-01 Kai Tietz <ktietz@redhat.com>
30175 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30176 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30177 containing bit-fields.
30178 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30179 * soft-fp/single.h (_FP_UNION_S): Likewise.
30180 * soft-fp/double.h (_FP_UNION_D): Likewise.
30182 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30185 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30186 not include ../strcmp.S.
30187 [USE_AS_STRNCASECMP_L]: Likewise.
30188 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30189 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30190 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30191 (__strncasecmp_l_ia32): Define as alias to
30192 __strncasecmp_l_nonascii.
30195 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30196 * sysdeps/i386/fpu/libm-test-ulps: Update.
30197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30199 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30202 2012-02-29 Jeff Law <law@redhat.com>
30204 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30205 out of bounds read.
30207 2012-02-29 Marek Polacek <polacek@redhat.com>
30210 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30211 * elf/Makefile: Add rules to run tst-unused-dep.out.
30213 2012-02-28 David S. Miller <davem@davemloft.net>
30215 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30216 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30217 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30218 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30219 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30220 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30222 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30224 * math/libm-test.inc (llround_test): Move one test from
30225 lround_test. Use TEST_f_L in moved test.
30226 (lround_test): Move misplaced test to llround_test. Add testcase
30229 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30231 * sysdeps/x86_64/fpu/e_expf.S: New file.
30232 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30234 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30237 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30238 of remain_len that may cause incomplete multi-byte character and
30240 * posix/bug-regex33.c: New file.
30241 * posix/Makefile (tests): Add bug-regex33.
30243 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30245 * manual/macros.texi: New file.
30246 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30247 * manual/libc.texinfo: Include macros.texi.
30248 * manual/creatute.texi: Likewise.
30249 * manual/install.texi: Likewise.
30250 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30251 @glibcadj{} in references to the GNU C Library.
30252 * manual/charset.texi: Likewise.
30253 * manual/conf.texi: Likewise.
30254 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30255 when not using those macros.
30256 * manual/creature.texi: Likewise.
30257 * manual/crypt.texi: Likewise.
30258 * manual/errno.texi: Likewise.
30259 * manual/filesys.texi: Likewise.
30260 * manual/header.texi: Likewise.
30261 * manual/install.texi: Likewise.
30262 * manual/intro.texi: Likewise.
30263 * manual/io.texi: Likewise.
30264 * manual/job.texi: Likewise.
30265 * manual/lang.texi: Likewise.
30266 * manual/libc.texiinfo: Likewise.
30267 * manual/llio.texi: Likewise.
30268 * manual/locale.texi: Likewise.
30269 * manual/maint.texi: Likewise.
30270 * manual/math.texi: Likewise.
30271 * manual/memory.texi: Likewise.
30272 * manual/message.texi: Likewise.
30273 * manual/nss.texi: Likewise.
30274 * manual/pattern.texi: Likewise.
30275 * manual/process.texi: Likewise.
30276 * manual/resource.texi: Likewise.
30277 * manual/search.texi: Likewise.
30278 * manual/setjmp.texi: Likewise.
30279 * manual/signal.texi: Likewise.
30280 * manual/socket.texi: Likewise.
30281 * manual/startup.texi: Likewise.
30282 * manual/stdio.texi: Likewise.
30283 * manual/string.texi: Likewise.
30284 * manual/sysinfo.texi: Likewise.
30285 * manual/syslog.texi: Likewise.
30286 * manual/terminal.texi: Likewise.
30287 * manual/time.texi: Likewise.
30288 * manual/users.texi: Likewise.
30289 * INSTALL: Regenerated.
30290 * NOTES: Regenerated.
30291 * sysdeps/gnu/errlist.c: Regenerated.
30293 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30295 * include/dirent.h: Include <dirstream.h> before
30298 2012-02-28 David S. Miller <davem@davemloft.net>
30300 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30301 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30302 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30303 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30305 2012-02-27 David S. Miller <davem@davemloft.net>
30307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30309 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30310 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30313 frame pointer instead of stack pointer relative arg slot.
30314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30315 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30316 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30318 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30321 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30323 2012-02-27 David S. Miller <davem@davemloft.net>
30325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30329 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30330 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30331 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30332 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30334 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30336 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30337 later. Allow versions 5-9.
30338 * configure: Regenerated.
30339 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30340 required minimum version and 4.6 as recommended version. Do not
30341 mention bugs in GCC 2.7 and 2.8.
30342 * INSTALL: Regenerated.
30344 2012-02-27 David S. Miller <davem@davemloft.net>
30346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30350 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30351 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30352 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30353 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30355 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30356 manipulate bits before adding and subtracting TWO112[sx].
30357 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30359 2012-02-27 Roland McGrath <roland@hack.frob.com>
30362 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30363 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30364 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30365 being in POSIX, because they are in 1003.1-2008.
30367 * rt/tst-aio.c: Include <fcntl.h>.
30368 * rt/tst-aio7.c: Likewise.
30369 * rt/tst-aio64.c: Likewise.
30371 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30373 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30375 * manual/install.texi (--with-headers): Describe headers as
30376 interface headers, not private headers.
30377 (Specific advice for GNU/Linux systems): Describe use of headers
30378 from "make headers_install", not private headers from older
30380 * INSTALL: Regenerated.
30381 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30383 * sysdeps/unix/sysv/linux/configure: Regenerated.
30385 * manual/llio.texi (fclean): Remove documentation.
30387 * manual/Makefile (libc-texi-generated): New variable. Include
30389 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30390 $(libc-texi-generated), not duplicated list of files.
30391 (version.texi, stamp-version): New rules.
30392 (realclean): Remove $(libc-texi-generated), not individual files
30393 from that list. Do not remove dir-add.texinfo.
30394 * manual/libc.texinfo: Comment out uses of edition numbers and
30395 references to printed manual. Remove last-updated dates.
30396 (EDITION): Comment out.
30398 (VERSION, UPDATED): Remove.
30399 (version.texi): Include.
30401 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30403 * sysdeps/posix/spawni.c: Include <signal.h>.
30404 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30405 * sysdeps/pthread/aio_fsync.c: Likewise.
30407 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30409 * conform/Makefile (tests): Run only when not cross-compiling and
30410 when fast-check is not defined.
30412 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30413 * conform/data/limits.h-data: Fixes for POSIX2008.
30414 * conform/run-conformtest.sh: Run all tests.
30415 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30417 * include/bits/dlfcn.h: Likewise.
30418 * include/langinfo.h: Likewise.
30419 * include/monetary.h: Likewise.
30420 * include/sys/poll.h: Likewise.
30422 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30424 * posix/spawn.h: Define __need_sigset_t.
30425 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30426 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30427 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30428 to get sigevent_t only.
30429 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30430 only for __USE_GNU.
30431 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30432 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30433 process_vm_writev only for __USE_GNU.
30434 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30436 * conform/Makefile: For now ignore errors from run-conformtest.
30437 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30438 POSIX to avoid namespace pollution. Don't prepend headers.
30439 * conform/data/aio.h-data: Fixes for POSIX testing.
30440 * conform/data/fcntl.h-data: Likewise.
30441 * conform/data/glob.h-data: Likewise.
30442 * conform/data/grp.h-data: Likewise.
30443 * conform/data/pthread.h-data: Likewise.
30444 * conform/data/pwd.h-data: Likewise.
30445 * conform/data/signal.h-data: Likewise.
30446 * conform/data/spawn.h-data: Likewise.
30447 * conform/data/stdio.h-data: Likewise.
30448 * conform/data/stdlib.h-data: Likewise.
30449 * conform/data/stropts.h-data: Likewise.
30450 * conform/data/sys/mman.h-data: Likewise.
30451 * conform/data/sys/stat.h-data: Likewise.
30452 * conform/data/sys/types.h-data: Likewise.
30453 * conform/data/sys/wait.h-data: Likewise.
30454 * conform/data/time.h-data: Likewise.
30455 * conform/data/unistd.h-data: Likewise.
30456 * conform/data/utime.h-data: Likewise.
30458 * io/sys/stat.h: fchmod was always in POSIX.
30459 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30460 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30461 * rt/aio.h: Define __need_timespec before including <time.h>.
30462 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30463 struct. Add forward declaration of pthread_attr_t and use it in
30465 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30466 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30467 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30468 always remove CLK_TCK definition.
30470 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30472 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30474 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30476 * conform/run-conformtest.sh: New file.
30477 * conform/Makefile: Run run-conformtest for tests.
30478 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30481 * conform/data/uchar.h-data: New file.
30482 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30483 * conform/data/arpa/inet.h-data: Likewise.
30484 * conform/data/assert.h-data: Likewise.
30485 * conform/data/complex.h-data: Likewise.
30486 * conform/data/cpio.h-data: Likewise.
30487 * conform/data/ctype.h-data: Likewise.
30488 * conform/data/dirent.h-data: Likewise.
30489 * conform/data/dlfcn.h-data: Likewise.
30490 * conform/data/errno.h-data: Likewise.
30491 * conform/data/fcntl.h-data: Likewise.
30492 * conform/data/float.h-data: Likewise.
30493 * conform/data/fmtmsg.h-data: Likewise.
30494 * conform/data/fnmatch.h-data: Likewise.
30495 * conform/data/ftw.h-data: Likewise.
30496 * conform/data/glob.h-data: Likewise.
30497 * conform/data/grp.h-data: Likewise.
30498 * conform/data/iconv.h-data: Likewise.
30499 * conform/data/inttypes.h-data: Likewise.
30500 * conform/data/langinfo.h-data: Likewise.
30501 * conform/data/libgen.h-data: Likewise.
30502 * conform/data/limits.h-data: Likewise.
30503 * conform/data/locale.h-data: Likewise.
30504 * conform/data/math.h-data: Likewise.
30505 * conform/data/monetary.h-data: Likewise.
30506 * conform/data/mqueue.h-data: Likewise.
30507 * conform/data/ndbm.h-data: Likewise.
30508 * conform/data/net/if.h-data: Likewise.
30509 * conform/data/netdb.h-data: Likewise.
30510 * conform/data/netinet/in.h-data: Likewise.
30511 * conform/data/nl_types.h-data: Likewise.
30512 * conform/data/poll.h-data: Likewise.
30513 * conform/data/pthread.h-data: Likewise.
30514 * conform/data/pwd.h-data: Likewise.
30515 * conform/data/regex.h-data: Likewise.
30516 * conform/data/sched.h-data: Likewise.
30517 * conform/data/search.h-data: Likewise.
30518 * conform/data/semaphore.h-data: Likewise.
30519 * conform/data/setjmp.h-data: Likewise.
30520 * conform/data/signal.h-data: Likewise.
30521 * conform/data/spawn.h-data: Likewise.
30522 * conform/data/stdarg.h-data: Likewise.
30523 * conform/data/stdio.h-data: Likewise.
30524 * conform/data/stdlib.h-data: Likewise.
30525 * conform/data/string.h-data: Likewise.
30526 * conform/data/strings.h-data: Likewise.
30527 * conform/data/stropts.h-data: Likewise.
30528 * conform/data/sys/ipc.h-data: Likewise.
30529 * conform/data/sys/mman.h-data: Likewise.
30530 * conform/data/sys/msg.h-data: Likewise.
30531 * conform/data/sys/resource.h-data: Likewise.
30532 * conform/data/sys/select.h-data: Likewise.
30533 * conform/data/sys/sem.h-data: Likewise.
30534 * conform/data/sys/shm.h-data: Likewise.
30535 * conform/data/sys/socket.h-data: Likewise.
30536 * conform/data/sys/stat.h-data: Likewise.
30537 * conform/data/sys/statvfs.h-data: Likewise.
30538 * conform/data/sys/time.h-data: Likewise.
30539 * conform/data/sys/timeb.h-data: Likewise.
30540 * conform/data/sys/times.h-data: Likewise.
30541 * conform/data/sys/types.h-data: Likewise.
30542 * conform/data/sys/uio.h-data: Likewise.
30543 * conform/data/sys/un.h-data: Likewise.
30544 * conform/data/sys/utsname.h-data: Likewise.
30545 * conform/data/sys/wait.h-data: Likewise.
30546 * conform/data/syslog.h-data: Likewise.
30547 * conform/data/tar.h-data: Likewise.
30548 * conform/data/termios.h-data: Likewise.
30549 * conform/data/utime.h-data: Likewise.
30550 * conform/data/utmpx.h-data: Likewise.
30551 * conform/data/varargs.h-data: Likewise.
30552 * conform/data/wchar.h-data: Likewise.
30553 * conform/data/wctype.h-data: Likewise.
30554 * conform/data/wordexp.h-data: Likewise.
30556 * include/stropts.h: New file.
30557 * include/uchar.h: New file.
30558 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30559 * include/assert.h: Likewise.
30560 * include/ctype.h: Likewise.
30561 * include/dirent.h: Likewise.
30562 * include/dlfcn.h: Likewise.
30563 * include/fcntl.h: Likewise.
30564 * include/fnmatch.h: Likewise.
30565 * include/glob.h: Likewise.
30566 * include/grp.h: Likewise.
30567 * include/libio.h: Likewise.
30568 * include/locale.h: Likewise.
30569 * include/math.h: Likewise.
30570 * include/net/if.h: Likewise.
30571 * include/netdb.h: Likewise.
30572 * include/netinet/in.h: Likewise.
30573 * include/pthread.h: Likewise.
30574 * include/pwd.h: Likewise.
30575 * include/regex.h: Likewise.
30576 * include/sched.h: Likewise.
30577 * include/search.h: Likewise.
30578 * include/setjmp.h: Likewise.
30579 * include/signal.h: Likewise.
30580 * include/stdio.h: Likewise.
30581 * include/stdlib.h: Likewise.
30582 * include/string.h: Likewise.
30583 * include/sys/cdefs.h: Likewise.
30584 * include/sys/mman.h: Likewise.
30585 * include/sys/msg.h: Likewise.
30586 * include/sys/resource.h: Likewise.
30587 * include/sys/select.h: Likewise.
30588 * include/sys/socket.h: Likewise.
30589 * include/sys/stat.h: Likewise.
30590 * include/sys/statvfs.h: Likewise.
30591 * include/sys/time.h: Likewise.
30592 * include/sys/times.h: Likewise.
30593 * include/sys/uio.h: Likewise.
30594 * include/sys/utsname.h: Likewise.
30595 * include/sys/wait.h: Likewise.
30596 * include/termios.h: Likewise.
30597 * include/time.h: Likewise.
30598 * include/ulimit.h: Likewise.
30599 * include/unistd.h: Likewise.
30600 * include/utime.h: Likewise.
30601 * include/wchar.h: Likewise.
30602 * include/wctype.h: Likewise.
30603 * include/wordexp.h: Likewise.
30605 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30607 * time/time.h: TIME_UTC must be a macro.
30608 Make timespec_get available for ISO C11 only as well.
30610 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30612 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30613 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30615 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30617 * configure.in: Use -o not -a in test for unsupported multi-arch.
30619 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30621 * manual/texinfo.tex: Update to version 2012-01-19.16.
30623 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30625 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30627 2012-02-24 Roland McGrath <roland@hack.frob.com>
30630 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30631 * manual/fdl-1.3.texi: New file.
30632 * manual/fdl-1.1.texi: File removed.
30635 * manual/libc.texinfo (FDL_VERSION): New @set.
30636 Use it for mention of FDL in cover text.
30637 (Documentation License): Use it in @include file name.
30639 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30640 Roland McGrath <roland@hack.frob.com>
30643 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30644 not LONG_LONG_MAX and LONG_LONG_MIN.
30645 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30646 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30648 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30650 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30654 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30655 manipulate bits before adding and subtracting TWO23[sx].
30656 * math/libm-test.inc (nearbyint_test): Add more tests.
30658 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30661 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30662 bits before adding and subtracting TWO23[sx].
30663 * math/libm-test.inc (rint_test): Add more tests.
30664 (rint_test_tonearest): Likewise.
30665 (rint_test_towardzero): Likewise.
30666 (rint_test_downward): Likewise.
30667 (rint_test_upward: Likewise.
30669 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30672 * include/stdc-predef.h: New file. Extracted from features.h.
30673 * include/features.h: Include stdc-predef.h.
30674 * Makefile (headers): Add stdc-predef.h.
30675 * CONFORMANCE (Compiler limitations): Update.
30677 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30679 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30681 2012-02-21 David S. Miller <davem@davemloft.net>
30683 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30684 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30686 2012-02-20 David S. Miller <davem@davemloft.net>
30688 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30689 using a normal save/restore sequence, rather than allocating a
30690 dummy stack frame just to store a frame pointer and restore.
30691 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30693 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30695 * manual/install.texi: Fix stray word in line-wrapped comment.
30697 2012-02-20 David S. Miller <davem@davemloft.net>
30699 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30700 both binutils and gcc support GOTDATA.
30702 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30703 "rd %pc" in the PIC register setup sequences.
30705 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30706 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30707 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30708 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30709 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30711 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30714 (SYSCALL_ERROR_HANDLER): Likewise.
30715 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30716 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30718 (SYSCALL_ERROR_HANDLER): Likewise.
30720 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30721 (HAVE_GCC_GOTDATA): New.
30722 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30723 relocation support in both binutils and gcc.
30724 * sysdeps/sparc/elf/configure: Regenerate.
30726 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30727 * sysdeps/sparc/sparc32/elf/configure: Delete.
30728 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30729 * sysdeps/sparc/sparc64/elf/configure: Delete.
30730 * sysdeps/sparc/elf/configure.in: New file.
30731 * sysdeps/sparc/elf/configure: Generate.
30733 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30734 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30735 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30736 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30737 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30739 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30741 * manual/install.texi: Do not mention specific glibc version
30743 * manual/libc.texinfo (VERSION, UPDATED): Update.
30744 (@copying): Use @copyright{} and range of years.
30746 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30749 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30750 [crti.S not in sysdirs] (generated): Do not append.
30751 [crti.S not in sysdirs] (omit-deps): Likewise.
30752 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30753 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30754 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30755 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30756 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30758 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30759 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30760 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30761 * csu/defs.awk: Remove file.
30762 * sysdeps/generic/initfini.c: Likewise.
30763 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30765 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30768 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30770 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30771 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30772 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30773 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30775 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30777 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30778 (__EPOLL_PACKED): Define to empty if not defined by
30780 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30784 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30786 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30787 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30788 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30789 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30791 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30795 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30797 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30799 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30800 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30801 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30804 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30806 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30807 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30809 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30811 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30812 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30814 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30816 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30819 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30821 * math/w_acos.c: Use non-signaling floating-point comparisons.
30822 * math/w_acosf.c: Likewise.
30823 * math/w_acosh.c: Likewise.
30824 * math/w_acoshf.c: Likewise.
30825 * math/w_acoshl.c: Likewise.
30826 * math/w_acosl.c: Likewise.
30827 * math/w_asin.c: Likewise.
30828 * math/w_asinf.c: Likewise.
30829 * math/w_asinl.c: Likewise.
30830 * math/w_atanh.c: Likewise.
30831 * math/w_atanhf.c: Likewise.
30832 * math/w_atanhl.c: Likewise.
30833 * math/w_exp2.c: Likewise.
30834 * math/w_exp2f.c: Likewise.
30835 * math/w_exp2l.c: Likewise.
30836 * math/w_j0.c: Likewise.
30837 * math/w_j0f.c: Likewise.
30838 * math/w_j0l.c: Likewise.
30839 * math/w_j1.c: Likewise.
30840 * math/w_j1f.c: Likewise.
30841 * math/w_j1l.c: Likewise.
30842 * math/w_jn.c: Likewise.
30843 * math/w_jnf.c: Likewise.
30844 * math/w_log.c: Likewise.
30845 * math/w_log10.c: Likewise.
30846 * math/w_log10f.c: Likewise.
30847 * math/w_log10l.c: Likewise.
30848 * math/w_log2.c: Likewise.
30849 * math/w_log2f.c: Likewise.
30850 * math/w_log2l.c: Likewise.
30851 * math/w_logf.c: Likewise.
30852 * math/w_logl.c: Likewise.
30853 * math/w_sqrt.c: Likewise.
30854 * math/w_sqrtf.c: Likewise.
30855 * math/w_sqrtl.c: Likewise.
30856 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30857 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30858 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30859 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30860 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30862 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30865 * manual/string.texi (strnlen): Use correct parameter name in
30866 equivalent expression.
30868 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30871 * manual/users.texi (seteuid): Consistently use neweuid for
30874 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30877 * manual/nss.texi (Services in the NSS configuration): Correct
30878 list of services in example configuration file.
30880 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30883 * manual/arith.texi: Remove statements about negative zero
30884 behaving identically to zero.
30886 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30889 * manual/install.texi: Do not document upgrading from libc5.
30891 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30894 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30896 2012-02-18 David S. Miller <davem@davemloft.net>
30898 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30899 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30900 %o7 across the call.
30901 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30904 SETUP_PIC_REG_LEAF.
30905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30906 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30907 * sysdeps/sparc/crtn.S: Likewise.
30909 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30911 * aout/Makefile: Remove.
30913 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30916 * manual/examples/argp-ex1.c (main): Format definition in GNU
30918 * manual/examples/argp-ex2.c (main): Likewise.
30919 * manual/examples/argp-ex3.c (main): Likewise.
30920 * manual/examples/argp-ex4.c (main): Likewise.
30921 * manual/examples/longopt.c (main): Use new-style prototype
30923 * manual/examples/strncat.c (main): Specify return type and use
30924 (void) for arguments.
30925 * manual/examples/subopt.c (main): Use char **argv argument.
30927 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30930 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30933 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30936 * manual/string.texi (strchr): Change when strchrnul is
30939 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30942 * manual/locale.texi (setlocale): Document LOCPATH.
30944 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30947 * manual/process.texi (execle): Move @dots{} before last argument.
30949 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30952 * manual/charset.texi (Generic Charset Conversion): Fix typo
30953 (LC_TYPE -> LC_CTYPE).
30955 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30958 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30959 (scalbnf): Likewise.
30960 (scalbnl): Likewise.
30961 (scalbln): Likewise.
30962 (scalblnf): Likewise.
30963 (scalblnl): Likewise.
30964 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30965 (vwarnx): Likewise.
30968 * manual/filesys.texi (telldir): Use braces around return type.
30969 * manual/llio.texi (mmap): Add space after comma.
30970 (mmap64): Likewise.
30971 * manual/math.texi (jn): Use @var{} on parameter names.
30977 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30979 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30981 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30982 (sched_get_priority_max): Likewise.
30983 * manual/signal.texi (sigvec): Add space after comma.
30984 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30986 (if_indextoname): Likewise.
30987 (if_freenameindex): Likewise.
30988 (sendto): Use ',' instead of '.' in prototype.
30989 * manual/startup.texi (syscall): Use @dots{} instead of literal
30991 * manual/stdio.texi (__fpending): Separate initial words of
30992 paragraph from @deftypefun line.
30993 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30995 (vsyslog): Use @var{} on parameter names.
30996 * manual/terminal.texi (stty): Use @var{} on parameter names.
30997 * manual/users.texi (getutmp): Use @var{} on parameter names.
30998 (getutmpx): Likewise.
31000 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31003 * manual/stdio.texi (fopen): Fix typos in description of
31006 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31009 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31010 get clock_id definition.
31012 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
31015 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31016 (madvise): Cast every argument to void on its own.
31018 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31021 * manual/startup.texi (Exit Status): Fix typo.
31023 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31026 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31027 * manual/examples/argp-ex2.c: Likewise.
31028 * manual/examples/argp-ex3.c: Likewise.
31030 2012-02-16 Richard Henderson <rth@redhat.com>
31032 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31033 * sysdeps/s390/s390-32/initfini.c: Remove.
31034 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31035 * sysdeps/s390/s390-64/initfini.c: Remove.
31037 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31039 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31040 compiler output for sysdeps/generic/initfini.c.
31041 * sysdeps/sh/elf/initfini.c: Remove file.
31043 2012-02-16 David S. Miller <davem@davemloft.net>
31046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31048 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31049 * sysdeps/sparc/crti.S: New file.
31050 * sysdeps/sparc/crtn.S: New file.
31051 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31052 * sysdeps/sparc/sparc64/Makefile: Likewise.
31054 2012-02-15 Mike Frysinger <vapier@gentoo.org>
31057 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31059 2012-02-15 Roland McGrath <roland@hack.frob.com>
31062 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31064 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31065 (write, read, close): Likewise.
31066 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31068 2012-02-15 Joseph Myers <joseph@codesourcery.com>
31070 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31071 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31072 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31073 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31075 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31079 2012-02-14 Marek Polacek <polacek@redhat.com>
31081 * sysdeps/x86_64/crti.S: New file.
31082 * sysdeps/x86_64/crtn.S: New file.
31083 * sysdeps/x86_64/elf/initfini.c: Remove file.
31085 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31087 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31088 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31089 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31090 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31092 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31096 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31098 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31099 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31100 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31101 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31103 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31107 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31109 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31110 __feraiseexcept instead of feraiseexcept.
31112 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31113 nanosleep invocations.
31114 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31115 strings, and add error checking for a nanosleep invocations.
31117 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31119 Replace FSF snail mail address with URLs, as per GNU coding standards.
31120 Most of the snail mail addresses were wrong anyway, and omitting
31121 them makes the source code easier to maintain. Almost all of the
31122 changes are to license notices and to locale LC_IDENTIFICATION
31123 addresses, except for this one:
31124 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31125 not its snail mail address.
31127 2012-02-09 Richard Henderson <rth@twiddle.net>
31129 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31130 of kernel-features.h.
31132 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31134 2012-02-08 Marek Polacek <polacek@redhat.com>
31136 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31137 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31138 * sysdeps/gnu/_G_config.h: Likewise.
31139 * sysdeps/generic/_G_config.h: Likewise.
31141 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31143 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31147 * sysdeps/powerpc/powerpc32/crti.S: New file.
31148 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31149 * sysdeps/powerpc/powerpc64/crti.S: New file.
31150 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31152 * Makeconfig (have-initfini): Don't set.
31153 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31154 * configure.in (nopic_initfini): Don't substitute.
31155 * config.h.in (HAVE_INITFINI): Don't #undef.
31156 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31157 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31159 2012-02-08 Joseph Myers <joseph@codesourcery.com>
31161 Support crti.S and crtn.S provided directly by architectures.
31162 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31163 [crti.S in sysdirs] (omit-deps): Likewise.
31164 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31165 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31166 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31167 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31168 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31169 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31170 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31171 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31172 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31173 compiler output for sysdeps/generic/initfini.c.
31174 * sysdeps/i386/elf/Makefile: Remove file.
31175 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31177 2012-02-07 Marek Polacek <polacek@redhat.com>
31179 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31180 * sysdeps/gnu/_G_config.h: Likewise.
31181 * sysdeps/mach/hurd/_G_config.h: Likewise.
31183 2012-02-07 Marek Polacek <polacek@redhat.com>
31185 * math/Makefile (tests): Add tst-CMPLX2.
31186 * math/tst-CMPLX2.c: New file.
31188 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31190 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31192 * math/libm-test.inc (jn_test): Add missing L suffix.
31194 2012-02-06 Marek Polacek <polacek@redhat.com>
31196 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31197 * sysdeps/i386/fpu/e_powf.S: Likewise.
31198 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31199 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31200 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31201 * sysdeps/i386/fpu/e_pow.S: Likewise.
31202 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31203 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31204 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31205 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31206 * sysdeps/i386/fpu/e_log2.S: Likewise.
31207 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31208 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31209 * sysdeps/i386/fpu/e_powl.S: Likewise.
31210 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31211 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31212 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31213 * sysdeps/i386/fpu/e_logl.S: Likewise.
31214 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31215 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31216 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31217 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31218 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31219 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31220 * sysdeps/i386/fpu/e_log.S: Likewise.
31221 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31222 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31223 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31224 * sysdeps/i386/fpu/e_logf.S: Likewise.
31225 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31226 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31227 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31228 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31229 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31230 * sysdeps/i386/fpu/e_log10.S: Likewise.
31231 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31232 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31233 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31234 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31235 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31236 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31237 * sysdeps/i386/asm-syntax.h: Likewise.
31238 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31239 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31240 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31241 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31242 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31243 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31244 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31245 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31246 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31247 * sysdeps/powerpc/sysdep.h: Likewise.
31248 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31249 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31251 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31254 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31256 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31258 * sysdeps/i386/sysdep.h: Include <features.h>.
31259 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31262 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31264 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31266 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31269 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31271 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31272 (SETUP_PIC_REG): Use GET_PC_THUNK.
31273 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31276 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31278 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31279 for non-PIC compilation.
31280 (SETUP_PIC_REG): Add .p2align directive.
31281 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31282 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31283 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31284 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31285 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31286 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31287 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31288 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31289 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31290 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31291 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31292 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31293 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31294 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31295 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31296 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31297 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31298 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31299 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31300 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31301 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31302 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31303 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31304 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31305 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31307 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31308 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31309 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31310 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31311 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31312 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31313 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31314 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31315 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31316 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31317 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31318 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31319 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31320 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31321 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31323 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31325 * math/tst-CMPLX.c: Include <stdio.h>.
31327 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31329 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31331 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31332 * sysdeps/sparc/bits/mathdef.h: Likewise.
31334 2012-01-31 Marek Polacek <polacek@redhat.com>
31336 * libio/libio.h: Don't define _PARAMS.
31337 * locale/programs/config.h: Don't define PARAMS.
31338 * stdlib/strtol_l.c: Likewise.
31339 (__strtol_l): Remove PARAMS from the prototype.
31341 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31343 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31344 names. Just use the correct names. Remove unnecessary wrapper
31346 * malloc/arena.c: Likewise.
31347 * malloc/hooks.c: Likewise.
31349 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31350 ARENA_TEST says not to. Simplify test for creation of a new arena.
31351 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31353 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31355 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31357 (update_get_addr): New function.
31358 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31359 GET_ADDR_MODULE parameter.
31361 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31363 * crypt/cert.c: Remove __STDC__ conditionals.
31364 * crypt/crypt-entry.c: Likewise.
31365 * crypt/crypt_util.c: Likewise.
31366 * libio/filedoalloc.c: Likewise.
31367 * libio/fileops.c: Likewise.
31368 * libio/genops.c: Likewise.
31369 * libio/iofclose.c: Likewise.
31370 * libio/iofdopen.c: Likewise.
31371 * libio/iofopen.c: Likewise.
31372 * libio/iofopen64.c: Likewise.
31373 * libio/iogetdelim.c: Likewise.
31374 * libio/iopopen.c: Likewise.
31375 * libio/obprintf.c: Likewise.
31376 * libio/oldfileops.c: Likewise.
31377 * libio/oldiofclose.c: Likewise.
31378 * libio/oldiofdopen.c: Likewise.
31379 * libio/oldiofopen.c: Likewise.
31380 * libio/oldiopopen.c: Likewise.
31381 * libio/wfiledoalloc.c: Likewise.
31382 * libio/wgenops.c: Likewise.
31383 * locale/programs/xmalloc.c: Likewise.
31384 * misc/syslog.c: Likewise.
31385 * stdio-common/xbug.c: Likewise.
31386 * string/memchr.c: Likewise.
31387 * string/memcmp.c: Likewise.
31388 * string/memrchr.c: Likewise.
31389 * string/rawmemchr.c: Likewise.
31390 * sysdeps/posix/getcwd.c: Likewise.
31391 * time/strftime_l.c: Likewise.
31393 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31395 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31396 * config.make.in (config-cflags-sse2avx): Define.
31397 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31400 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31402 * scripts/config.guess: Update from upstream config git repository.
31403 * scripts/config.sub: Likewise.
31405 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31407 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31409 (R_TILEPRO_*, R_TILEGX_*): New macros.
31411 * scripts/firstversions.awk: Fix bug in version range handling.
31413 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31415 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31417 * include/sys/epoll.h: New file.
31418 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31421 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31423 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31424 Avoid unnecessary __WORDSIZE == 64 test.
31425 (fmaxf): Use VEX format if possible.
31430 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31431 * math/math_private.h: Remove libc_fegetround* and
31433 * sysdeps/i386/configure.in: Check for -msse2avx.
31434 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31435 also if SSE2AVX is defined.
31436 Remove libc_fegetround* and libc_fesetround*.
31437 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31438 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31439 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31441 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31442 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31443 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31444 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31445 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31447 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31449 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31451 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31453 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31455 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31458 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31460 * Makeconfig (libm): Define.
31461 * elf/Makefile: Add rules to build and run tst-relsort1.
31462 * elf/tst-relsort1.c: New file.
31463 * elf/tst-relsort1mod1.c: New file.
31464 * elf/tst-relsort1mod2.c: New file.
31466 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31468 * math/s_ldexp.c: Remove __STDC__ conditionals.
31469 * math/s_ldexpf.c: Likewise.
31470 * math/s_ldexpl.c: Likewise.
31471 * math/s_nextafter.c: Likewise.
31472 * math/s_nexttowardf.c: Likewise.
31473 * math/s_significand.c: Likewise.
31474 * math/s_significandf.c: Likewise.
31475 * math/s_significandl.c: Likewise.
31476 * math/w_jnl.c: Likewise.
31477 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31478 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31479 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31480 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31481 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31482 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31483 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31484 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31485 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31486 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31487 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31488 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31489 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31490 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31491 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31492 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31493 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31494 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31495 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31496 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31497 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31498 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31499 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31500 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31501 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31502 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31503 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31504 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31505 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31506 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31507 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31508 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31509 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31510 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31511 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31512 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31513 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31514 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31515 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31516 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31517 * sysdeps/ieee754/k_standard.c: Likewise.
31518 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31519 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31520 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31521 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31522 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31523 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31524 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31525 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31526 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31527 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31528 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31529 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31530 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31531 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31532 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31534 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31535 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31536 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31537 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31538 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31539 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31540 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31541 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31542 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31543 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31544 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31545 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31546 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31547 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31549 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31550 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31551 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31553 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31554 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31555 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31556 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31557 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31558 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31560 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31561 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31562 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31563 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31564 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31565 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31566 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31567 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31568 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31569 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31570 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31571 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31572 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31573 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31574 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31575 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31576 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31577 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31578 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31579 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31580 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31581 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31582 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31583 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31584 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31585 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31586 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31587 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31588 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31589 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31590 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31591 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31592 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31593 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31594 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31595 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31596 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31597 * sysdeps/ieee754/s_matherr.c: Likewise.
31598 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31599 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31600 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31601 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31603 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31605 * crypt/md5.h: Remove __STDC__ conditionals.
31606 * libio/libioP.h: Likewise.
31607 * locale/programs/config.h: Likewise.
31608 * sysdeps/generic/sysdep.h: Likewise.
31609 * sysdeps/i386/asm-syntax.h: Likewise.
31610 * sysdeps/s390/asm-syntax.h: Likewise.
31611 * sysdeps/unix/sysdep.h: Likewise.
31612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31615 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31617 * libio/libio.h: Remove __STDC__ conditionals.
31618 * malloc/obstack.h: Likewise.
31619 * math/complex.h: Likewise.
31620 * math/math.h: Likewise.
31621 * sysdeps/generic/_G_config.h: Likewise.
31622 * sysdeps/gnu/_G_config.h: Likewise.
31623 * sysdeps/mach/hurd/_G_config.h: Likewise.
31624 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31625 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31626 * sysdeps/sparc/bits/mathdef.h: Likewise.
31628 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31631 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31632 Clean up HAS_* macros.
31633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31634 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31636 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31638 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31639 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31640 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31641 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31642 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31644 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31646 * elf/tst-unique3.cc (gets): Remove declaration.
31647 * elf/tst-unique3lib.cc (gets): Likewise.
31648 * elf/tst-unique3lib2.cc (gets): Likewise.
31649 * elf/tst-unique4.cc (gets): Likewise.
31651 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31653 * include/stdio.h: Add C++ protection. Add gets declarations and
31655 * debug/tst-chk1.c: Don't declare gets here.
31656 * stdio-common/tst-gets.c: Likewise.
31658 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31660 * posix/glob: Remove directory.
31662 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31664 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31666 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31668 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31669 of the non-standard EPFNOSUPPORT.
31671 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31673 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31674 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31675 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31677 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31679 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31681 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31683 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31685 * nscd/grpcache.c (cache_addgr): Likewise.
31686 * nscd/hstcache.c (cache_addhst): Likewise.
31687 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31688 * nscd/pwdcache.c (cache_addpw): Likewise.
31689 * nscd/servicescache.c (cache_addserv): Likewise.
31691 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31693 * malloc/malloc.c: Various cleanups.
31694 * malloc/hooks.c: Likewise.
31696 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31697 * stdlib/bug-fmtmsg1.c: New file.
31699 * stdlib/fmtmsg.c (init): Add missing unlock.
31700 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31702 2012-01-12 Marek Polacek <polacek@redhat.com>
31704 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31707 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31709 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31710 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31711 macro to ensure uniqueness of label name.
31712 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31713 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31715 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31717 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31719 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31720 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31721 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31724 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31726 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31728 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31729 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31730 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31732 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31734 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31735 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31736 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31739 * math/bits/math-finite.h: Add ldexp support.
31741 2012-01-10 Marek Polacek <polacek@redhat.com>
31743 * locale/programs/localedef.h (show_archive_content): Add noreturn
31746 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31748 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31750 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31752 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31754 * io/Makefile (headers): Add bits/poll2.h.
31756 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31759 typo #include statement.
31761 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31763 * include/sys/cdefs.h: Define __attribute_alloc_size.
31764 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31765 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31766 * elf/pldd.c: Likewise.
31767 * iconv/iconv_charmap.c: Likewise.
31768 * iconv/iconvconfig.c: Likewise.
31769 * iconv/strtab.c: Likewise.
31770 * locale/programs/locale.c: Likewise.
31771 * locale/programs/localedef.h: Likewise.
31772 * locale/programs/simple-hash.c: Likewise.
31773 * nscd/nscd.h: Likewise.
31774 * nss/makedb.c: Likewise.
31775 * sysdeps/generic/ldconfig.h: Likewise.
31776 * locale/programs/localedef.c: Remove xmalloc prototype.
31777 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31779 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31781 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31784 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31786 * math/Makefile (tests): Add tst-CMPLX.
31787 * math/tst-CMPLX.c: New file.
31789 * math/complex.h (CMPLXL): Fix typo.
31791 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31792 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31794 * debug/tst-chk1.c: Add poll and ppoll tests.
31795 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31796 * include/sys/poll.h: Add hidden proto for ppoll.
31797 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31798 * sysdeps/mach/hurd/ppoll.c: Likewise.
31799 * io/ppoll.c: Likewise.
31800 * debug/poll_chk.c: New file.
31801 * debug/ppoll_chk.c: New file.
31802 * include/bits/poll2.h: New file.
31803 * io/bits/poll2.h: New file.
31806 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31808 * configure.in: static is always set to yes. Remove.
31809 * config.make.in: Don't set build-static.
31810 * Makeconfig: Remove use of build-static.
31811 * dlfcn/Makefile: Likewise.
31812 * elf/Makefile: Likewise.
31813 * math/Makefile: Likewise.
31814 * misc/Makefile: Likewise.
31815 * nptl/Makefile: Likewise.
31816 * sysdeps/mach/hurd/Makefile: Likewise.
31818 * configure.in: PWD_P is not used anymore.
31819 * config.make.in: Remove PWD_P entry.
31821 * configure.in: Remove last remnants of RANLIB.
31822 No need to check for signed size_t anymore.
31823 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31825 Remove __builtin_expect test because we require at least gcc 3.4.
31826 * aclocal.m4: Likewise.
31828 * wcsmbs/mbrtoc16.c: Implement using towc function.
31829 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31830 * wcsmbs/wcsmbsload.c: Likewise.
31831 * iconv/gconv_simple.c: Likewise.
31832 * iconv/gconv_int.h: Likewise.
31833 * iconv/gconv_builtin.h: Likewise.
31834 * iconv/iconv_prog.c: Remove CHAR16 handling.
31836 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31838 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31840 * configure.in: Remove --with-elf and --enable-bounded options.
31841 Dont set base_machine for ia64. More non-ELF conditions removed.
31842 Remove testing and setting of leading underscore information.
31843 * config.make.in (build-bounded): Set to no.
31844 * config.h.in: Remove NO_UNDERSCORES entry.
31845 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31847 * csu/start.c: Remove !NO_UNDERSCORE code.
31848 * locale/localeinfo.h: Likewise.
31849 * sysdeps/generic/machine-gmon.h: Likewise.
31850 * sysdeps/generic/sysdep.h: Likewise.
31851 * sysdeps/i386/sysdep.h: Likewise.
31852 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31853 * sysdeps/mach/sysdep.h: Likewise.
31854 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31855 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31856 * sysdeps/sh/sysdep.h: Likewise.
31857 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31858 * sysdeps/unix/i386/sysdep.S: Likewise.
31859 * sysdeps/unix/sparc/start.c: Likewise.
31860 * sysdeps/unix/sparc/sysdep.S: Likewise.
31861 * sysdeps/unix/sparc/sysdep.h: Likewise.
31862 * sysdeps/unix/start.c: Likewise.
31863 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31864 * sysdeps/x86_64/sysdep.h: Likewise.
31866 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31869 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31871 * argp/argp-fmtstream.h: Use const instead __const.
31872 * argp/argp.h: Likewise.
31873 * assert/assert.h: Likewise.
31874 * bits/fenv.h: Likewise.
31875 * bits/sched.h: Likewise.
31876 * bits/sigset.h: Likewise.
31877 * bits/sigthread.h: Likewise.
31878 * catgets/nl_types.h: Likewise.
31879 * conform/data/pthread.h-data: Likewise.
31880 * crypt/crypt-private.h: Likewise.
31881 * crypt/crypt.h: Likewise.
31882 * crypt/crypt_util.c: Likewise.
31883 * ctype/ctype.h: Likewise.
31884 * debug/execinfo.h: Likewise.
31885 * debug/mbsnrtowcs_chk.c: Likewise.
31886 * debug/mbsrtowcs_chk.c: Likewise.
31887 * debug/wcsnrtombs_chk.c: Likewise.
31888 * debug/wcsrtombs_chk.c: Likewise.
31889 * debug/wcstombs_chk.c: Likewise.
31890 * dirent/dirent.h: Likewise.
31891 * dlfcn/dlfcn.h: Likewise.
31892 * elf/neededtest4.c: Likewise.
31893 * grp/grp.h: Likewise.
31894 * gshadow/gshadow.h: Likewise.
31895 * iconv/gconv.h: Likewise.
31896 * iconv/gconv_int.h: Likewise.
31897 * iconv/gconv_simple.c: Likewise.
31898 * iconv/iconv.h: Likewise.
31899 * iconv/loop.c: Likewise.
31900 * iconv/skeleton.c: Likewise.
31901 * include/aio.h: Likewise.
31902 * include/aliases.h: Likewise.
31903 * include/argz.h: Likewise.
31904 * include/arpa/inet.h: Likewise.
31905 * include/assert.h: Likewise.
31906 * include/dirent.h: Likewise.
31907 * include/dlfcn.h: Likewise.
31908 * include/execinfo.h: Likewise.
31909 * include/fcntl.h: Likewise.
31910 * include/fenv.h: Likewise.
31911 * include/glob.h: Likewise.
31912 * include/grp.h: Likewise.
31913 * include/libintl.h: Likewise.
31914 * include/mntent.h: Likewise.
31915 * include/netdb.h: Likewise.
31916 * include/pwd.h: Likewise.
31917 * include/rpc/netdb.h: Likewise.
31918 * include/sched.h: Likewise.
31919 * include/search.h: Likewise.
31920 * include/shadow.h: Likewise.
31921 * include/signal.h: Likewise.
31922 * include/stdio.h: Likewise.
31923 * include/stdlib.h: Likewise.
31924 * include/string.h: Likewise.
31925 * include/sys/socket.h: Likewise.
31926 * include/sys/stat.h: Likewise.
31927 * include/sys/statfs.h: Likewise.
31928 * include/sys/statvfs.h: Likewise.
31929 * include/sys/syslog.h: Likewise.
31930 * include/sys/time.h: Likewise.
31931 * include/sys/uio.h: Likewise.
31932 * include/time.h: Likewise.
31933 * include/unistd.h: Likewise.
31934 * include/utmp.h: Likewise.
31935 * include/wchar.h: Likewise.
31936 * include/wctype.h: Likewise.
31937 * inet/aliases.h: Likewise.
31938 * inet/arpa/inet.h: Likewise.
31939 * inet/netinet/ether.h: Likewise.
31940 * inet/netinet/in.h: Likewise.
31941 * intl/libintl.h: Likewise.
31942 * io/bits/fcntl2.h: Likewise.
31943 * io/fcntl.h: Likewise.
31944 * io/ftw.h: Likewise.
31945 * io/sys/poll.h: Likewise.
31946 * io/sys/stat.h: Likewise.
31947 * io/sys/statfs.h: Likewise.
31948 * io/sys/statvfs.h: Likewise.
31949 * io/utime.h: Likewise.
31950 * libio/bits/stdio.h: Likewise.
31951 * libio/bits/stdio2.h: Likewise.
31952 * libio/libio.h: Likewise.
31953 * libio/libioP.h: Likewise.
31954 * libio/stdio.h: Likewise.
31955 * locale/lc-ctype.c: Likewise.
31956 * locale/locale.h: Likewise.
31957 * login/utmp.h: Likewise.
31958 * malloc/arena.c: Likewise.
31959 * malloc/malloc.c: Likewise.
31960 * malloc/malloc.h: Likewise.
31961 * malloc/mcheck.c: Likewise.
31962 * malloc/mtrace.c: Likewise.
31963 * math/bits/mathcalls.h: Likewise.
31964 * math/fenv.h: Likewise.
31965 * math/math_private.h: Likewise.
31966 * misc/bits/error.h: Likewise.
31967 * misc/bits/syslog.h: Likewise.
31968 * misc/err.h: Likewise.
31969 * misc/error.h: Likewise.
31970 * misc/fstab.h: Likewise.
31971 * misc/mntent.h: Likewise.
31972 * misc/regexp.h: Likewise.
31973 * misc/search.h: Likewise.
31974 * misc/sgtty.h: Likewise.
31975 * misc/sys/mman.h: Likewise.
31976 * misc/sys/syslog.h: Likewise.
31977 * misc/sys/uio.h: Likewise.
31978 * misc/sys/xattr.h: Likewise.
31979 * misc/ttyent.h: Likewise.
31980 * nis/rpcsvc/ypclnt.h: Likewise.
31981 * nss/nss.h: Likewise.
31982 * posix/bits/unistd.h: Likewise.
31983 * posix/fnmatch.h: Likewise.
31984 * posix/glob.h: Likewise.
31985 * posix/sched.h: Likewise.
31986 * posix/spawn.h: Likewise.
31987 * posix/sys/wait.h: Likewise.
31988 * posix/unistd.h: Likewise.
31989 * posix/wordexp.h: Likewise.
31990 * pwd/pwd.h: Likewise.
31991 * resolv/netdb.h: Likewise.
31992 * resource/sys/resource.h: Likewise.
31993 * rt/aio.h: Likewise.
31994 * rt/bits/mqueue2.h: Likewise.
31995 * rt/mqueue.h: Likewise.
31996 * shadow/shadow.h: Likewise.
31997 * signal/signal.h: Likewise.
31998 * socket/send.c: Likewise.
31999 * socket/sendto.c: Likewise.
32000 * socket/sys/socket.h: Likewise.
32001 * stdio-common/printf.h: Likewise.
32002 * stdlib/bits/stdlib.h: Likewise.
32003 * stdlib/fmtmsg.h: Likewise.
32004 * stdlib/monetary.h: Likewise.
32005 * stdlib/stdlib.h: Likewise.
32006 * stdlib/ucontext.h: Likewise.
32007 * streams/stropts.h: Likewise.
32008 * string/argz.h: Likewise.
32009 * string/bits/string2.h: Likewise.
32010 * string/string.h: Likewise.
32011 * string/strings.h: Likewise.
32012 * sunrpc/rpc/auth.h: Likewise.
32013 * sunrpc/rpc/auth_des.h: Likewise.
32014 * sunrpc/rpc/clnt.h: Likewise.
32015 * sunrpc/rpc/netdb.h: Likewise.
32016 * sunrpc/rpc/pmap_clnt.h: Likewise.
32017 * sunrpc/rpc/xdr.h: Likewise.
32018 * sysdeps/generic/inttypes.h: Likewise.
32019 * sysdeps/generic/net/if.h: Likewise.
32020 * sysdeps/generic/sys/swap.h: Likewise.
32021 * sysdeps/gnu/net/if.h: Likewise.
32022 * sysdeps/gnu/utmpx.h: Likewise.
32023 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32024 * sysdeps/i386/i486/bits/string.h: Likewise.
32025 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32026 * sysdeps/s390/bits/string.h: Likewise.
32027 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32028 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32029 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32030 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32031 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32032 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32033 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32034 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32035 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32036 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32037 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32038 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32039 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32040 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32041 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32042 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32043 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32045 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32046 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32047 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32048 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32049 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32050 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32051 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32052 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32053 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32054 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32055 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32056 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32057 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32058 * sysvipc/sys/ipc.h: Likewise.
32059 * sysvipc/sys/msg.h: Likewise.
32060 * sysvipc/sys/sem.h: Likewise.
32061 * sysvipc/sys/shm.h: Likewise.
32062 * termios/termios.h: Likewise.
32063 * time/sys/time.h: Likewise.
32064 * time/time.h: Likewise.
32065 * wcsmbs/bits/wchar2.h: Likewise.
32066 * wcsmbs/uchar.h: Likewise.
32067 * wcsmbs/wchar.h: Likewise.
32068 * wctype/wctype.h: Likewise.
32071 * Makeconfig: Remove all but ELF support including AIX support.
32072 * Makerules: Likewise.
32073 * config.h.in: Likewise.
32074 * config.make.in: Likewise.
32075 * configure: Likewise.
32076 * configure.in: Likewise.
32077 * csu/Makefile: Likewise.
32078 * csu/version.c: Likewise.
32079 * debug/Makefile: Likewise.
32080 * dlfcn/Makefile: Likewise.
32081 * elf/Makefile: Likewise.
32082 * extra-lib.mk: Likewise.
32083 * iconv/Makefile: Likewise.
32084 * include/libc-symbols.h: Likewise.
32085 * include/shlib-compat.h: Likewise.
32086 * resolv/Makefile: Likewise.
32087 * resolv/res_libc.c: Likewise.
32088 * rt/Makefile: Likewise.
32089 * sysdeps/i386/asm-syntax.h: Likewise.
32090 * sysdeps/i386/sysdep.h: Likewise.
32091 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32092 * sysdeps/mach/sysdep.h: Likewise.
32093 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32094 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32095 * sysdeps/s390/asm-syntax.h: Likewise.
32096 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32097 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32098 * sysdeps/sh/sysdep.h: Likewise.
32099 * sysdeps/unix/sparc/sysdep.h: Likewise.
32100 * sysdeps/wordsize-32/divdi3.c: Likewise.
32101 * sysdeps/x86_64/sysdep.h: Likewise.
32103 * argp/Versions: Remove _argp_unlock_xxx.
32106 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32107 * abilist/libBrokenLocale.abilist: Likewise.
32108 * abilist/libanl.abilist: Likewise.
32109 * abilist/libc.abilist: Likewise.
32110 * abilist/libcrypt.abilist: Likewise.
32111 * abilist/libdl.abilist: Likewise.
32112 * abilist/libm.abilist: Likewise.
32113 * abilist/libnsl.abilist: Likewise.
32114 * abilist/libpthread.abilist: Likewise.
32115 * abilist/libresolv.abilist: Likewise.
32116 * abilist/librt.abilist: Likewise.
32117 * abilist/libthread_db.abilist: Likewise.
32118 * abilist/libutil.abilist: Likewise.
32119 * abilist/libnss_db.abilist: New file.
32121 * scripts/abilist.awk: Add support for indirect functions.
32123 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32125 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32127 * shlib-versions: Remove entries for ports architectures.
32129 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32131 * elf/stackguard-macros.h: Remove support for IA-64.
32132 * elf/tst-auditmod1.c: Likewise.
32133 * sysdeps/generic/ldsodefs.h: Likewise.
32135 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32136 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32140 * configure.in: Remove --enable-omitfp support.
32142 * config.make.in: Likewise.
32143 * Makeconfig: Likewise.
32144 * manual/install.texi: Likewise.
32146 In case anyone cares, the IA-64 architecture could move to ports.
32147 * sysdeps/ia64/*: Removed.
32148 * sysdeps/unix/sysv/linux/ia64/*: Removed.
32149 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32152 * configure.in: Remove entries for unsupported architectures.
32155 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32156 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32158 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32159 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32160 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32161 fall back to using wcrtomb.
32162 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32163 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32165 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32166 * wcsmbs/tst-c16c32-1.c: New file.
32168 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32171 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32173 * elf/tst-unique3.cc: Add explicit declaration of gets.
32174 * elf/tst-unique3lib.cc: Likewise.
32175 * elf/tst-unique3lib2.cc: Likewise.
32176 * elf/tst-unique4.cc: Likewise.
32178 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32180 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32183 * assert/assert.h (static_assert): Don't define for C++.
32184 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32185 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32187 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32189 * iconv/loop.c (single loop): Fix assertion in storing of
32192 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32194 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32196 * posix/getconf.c: Update copyright year.
32197 * nss/getent.c: Likewise.
32198 * nss/makedb.c: Likewise.
32199 * iconv/iconvconfig.c: Likewise.
32200 * iconv/iconv_prog.c: Likewise.
32201 * elf/ldconfig.c: Likewise.
32202 * elf/pldd.c: Likewise.
32203 * elf/sotruss.ksh: Likewise.
32204 * catgets/gencat.c: Likewise.
32205 * csu/version.c: Likewise.
32206 * elf/ldd.bash.in: Likewise.
32207 * elf/sprof.c (print_version): Likewise.
32208 * locale/programs/locale.c: Likewise.
32209 * locale/programs/localedef.c: Likewise.
32210 * login/programs/pt_chown.c: Likewise.
32211 * nscd/nscd.c (print_version): Likewise.
32212 * debug/xtrace.sh: Likewise.
32213 * malloc/memusage.sh: Likewise.
32214 * malloc/mtrace.pl: Likewise.
32215 * debug/catchsegv.sh: Likewise.
32217 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32219 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32222 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32225 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32226 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32228 * iconv/gconv_int.h: Likewise.
32229 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32230 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32231 from libc for GLIBC_2.16.
32232 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32233 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32234 * wcsmbs/uchar.h: Really define mbstate_t.
32235 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32236 * wcsmbs/c16rtomb.c: New file.
32237 * wcsmbs/mbrtoc16.c: New file.
32238 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32239 for C/POSIX locale.
32240 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32241 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32243 * wcsmbs/wchar.h: Add missing __restrict.
32245 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32248 * time/Makefile (routines): Add timespec_get.
32249 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32250 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32251 timespec for ISO C11.
32252 * time/timespec_get.c: New file.
32253 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32254 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32257 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32258 * stdlib/stdlib.h: Declare aligned_alloc.
32259 * Versions.def: Add GLIBC_2.16 for libc.
32260 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32263 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32266 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32270 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32273 * assert/assert.h (static_assert): Define.
32275 * version.h: Update for 2.16 development version.
32278 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32281 * version.h (RELEASE): Bump for 2.15 release.
32282 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32284 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32285 Patch by Marek Polacek <mpolacek@redhat.com>.
32287 * bits/byteswap.h: Protect long long constants with __extension__.
32288 * sysdeps/i386/bits/byteswap.h: Likewise.
32289 * sysdeps/ia64/bits/byteswap.h: Likewise.
32290 * sysdeps/s390/bits/byteswap.h: Likewise.
32291 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32293 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32296 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32297 destination buffer.
32298 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32300 2011-12-23 Marek Polacek <polacek@redhat.com>
32302 * elf/dl-addr.c (determine_info): Add inline keyword.
32303 * elf/tst-auditmod4b.c (check_avx): Likewise.
32304 * elf/tst-auditmod6b.c (check_avx): Likewise.
32305 * elf/tst-auditmod6c.c (check_avx): Likewise.
32306 * elf/tst-auditmod7b.c (check_avx): Likewise.
32308 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32310 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32313 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32316 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32317 processing for last bytes.
32319 2011-08-06 Bruno Haible <bruno@clisp.org>
32322 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32323 U+0385, not to U+1FEE.
32326 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32327 entry for U+00A5 U+0301.
32329 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32332 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32333 buffer for the output is too small.
32335 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32339 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32340 SSE flags if possible.
32342 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32345 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32346 processing for last bytes.
32348 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32350 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32351 (syscall-list-default-options, syscall-list-default-condition)
32352 (syscall-list-includes): Define.
32353 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32354 list of ABIs and options and #if conditions for each ABI. Do not
32355 handle common syscalls between ABIs specially.
32356 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32358 (syscall-list-variants, syscall-list-32bit-options)
32359 (syscall-list-32bit-condition, syscall-list-64bit-options)
32360 (syscall-list-64bit-condition): Define.
32361 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32362 (syscall-list-variants, syscall-list-32bit-options)
32363 (syscall-list-32bit-condition, syscall-list-64bit-options)
32364 (syscall-list-64bit-condition): Define.
32365 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32367 (syscall-list-variants, syscall-list-32bit-options)
32368 (syscall-list-32bit-condition, syscall-list-64bit-options)
32369 (syscall-list-64bit-condition): Define.
32370 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32372 (syscall-list-variants, syscall-list-32bit-options)
32373 (syscall-list-32bit-condition, syscall-list-64bit-options)
32374 (syscall-list-64bit-condition): Define.
32376 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32378 * locale/iso-639.def: Add brx entry.
32381 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32382 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32384 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32385 __feraiseexcept_renamed.
32387 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32390 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32391 EPOLLET with unsigned values.
32392 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32393 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32395 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32396 to large cancellation.
32397 * math/s_cacoshf.c: Likewise.
32398 * math/s_cacoshl.c: Likewise.
32400 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32404 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32405 * math/s_cacoshf.c: Likewise.
32406 * math/s_cacoshl.c: Likewise.
32408 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32411 * iconv/gconv.h: Define __GCONV_SWAP.
32412 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32413 * iconvdata/utf-16.c: Likewise.
32414 * iconvdata/utf-32.c: Likewise.
32416 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32419 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32420 numerator after shifting it by one limb.
32422 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32424 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32425 under [__USE_EXTERN_INLINES].
32427 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32430 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32432 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32434 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32435 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32437 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32438 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32439 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32440 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32441 for strncasecmp/strncasecmp_l compilation.
32442 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32443 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32445 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32448 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32451 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32454 * time/tzfile.c (__tzfile_read): Check values from file header.
32456 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32458 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32459 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32460 * powerpc/powerpc32/dl-start.S: Likewise.
32461 * powerpc/powerpc32/elf/start.S: Likewise.
32462 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32463 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32464 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32465 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32466 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32467 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32468 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32469 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32470 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32471 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32472 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32473 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32474 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32475 * powerpc/powerpc32/memset.S: Likewise.
32476 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32477 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32478 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32479 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32480 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32481 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32482 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32483 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32484 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32485 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32486 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32487 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32488 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32490 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32492 * math/libm-test.inc: Added more nearbyint tests.
32493 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32494 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32495 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32496 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32498 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32500 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32503 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32505 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32506 Add wcscpy-ssse3 wcscpy-c.
32507 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32508 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32509 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32510 * sysdeps/x86_64/wcschr.S: New file.
32511 * sysdeps/x86_64/wcsrchr.S: New file.
32512 * string/test-strcmp.c: Remove checking of wcscmp function for
32514 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32515 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32516 wcsrchr-sse2 wcsrchr-c.
32517 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32518 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32519 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32520 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32521 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32522 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32523 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32524 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32525 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32526 * wcsmbc/wcschr.c (WCSCHR): New macro.
32528 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32530 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32531 * wcsmbs/test-wcsrchr.c: New file.
32532 * string/test-strrchr.c: Add wcsrchr support.
32534 * wcsmbs/test-wcscpy.c: New file.
32535 * string/test-strcpy.c: Add wcscpy support.
32538 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32540 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32543 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32546 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32548 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32550 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32551 Minor optimizations.
32553 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32554 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32555 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32557 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32559 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32560 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32561 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32562 for gcc to avoid warnings.
32563 * inet/Makefile (tests): Add tst-checks.
32564 * inet/tst-checks.c: New file.
32566 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32569 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32572 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32573 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32575 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32577 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32579 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32582 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32584 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32586 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32587 conditional on GCC version.
32588 (__arch_compare_and_exchange_val_8_acq)
32589 (__arch_compare_and_exchange_val_16_acq)
32590 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32591 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32592 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32594 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32596 * sysdeps/sh/backtrace.c: New file.
32598 2011-12-02 Andreas Schwab <schwab@redhat.com>
32600 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32603 2011-12-01 Andreas Schwab <schwab@redhat.com>
32605 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32606 falling back to utime.
32608 2011-11-30 Andreas Schwab <schwab@redhat.com>
32610 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32611 expectations for float.
32613 2011-11-29 Andreas Schwab <schwab@redhat.com>
32615 * locale/weight.h (findidx): Add parameter len.
32616 * locale/weightwc.h (findidx): Likewise.
32617 * posix/fnmatch_loop.c (FCT): Adjust caller.
32618 * posix/regcomp.c (build_equiv_class): Likewise.
32619 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32620 * posix/regexec.c (check_node_accept_bytes): Likewise.
32621 * string/strcoll_l.c (STRCOLL): Likewise.
32622 * string/strxfrm_l.c (STRXFRM): Likewise.
32624 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32626 * Makefile.in: Remove CVSOPT handling.
32627 * configure.in: Remove use of AC_REVISION.
32628 * iconvdata/Makefile (distribute): No need to filter out CVS.
32629 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32632 2011-11-16 Andreas Schwab <schwab@redhat.com>
32634 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32635 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32636 [USE_AS_STRNCASECMP_L]: Likewise.
32637 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32638 NO_TLS_DIRECT_SEG_REFS.
32639 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32640 Fix argument offsets for non-PIC.
32641 [USE_AS_STRNCASECMP_L]: Likewise.
32642 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32643 NO_TLS_DIRECT_SEG_REFS.
32645 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32647 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32649 * locale/loadlocale.c (_nl_load_locale): Likewise.
32651 2011-11-15 Andreas Schwab <schwab@redhat.com>
32653 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32654 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32655 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32656 (SYSCALL_GETTIME): Set errno on error.
32658 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32659 count references to noai6ai_cached.
32661 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32663 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32665 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32666 FD_CLOEXEC for /proc/self/maps.
32668 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32669 FD_CLOEXEC for /proc/meminfo.
32671 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32674 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32675 FD_CLOEXEC for given file.
32677 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32679 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32680 FD_CLOEXEC for /etc/hosts.
32681 (_gethtent): Likewise.
32683 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32685 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32686 cancellation and set FD_CLOEXEC for /etc/netgroup.
32688 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32689 reading /etc/publickey.
32691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32692 allow cancellation when reading /etc/group.
32694 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32696 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32698 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32699 when using data file.
32701 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32703 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32704 (write_nis_obj): Use "c" and "e" in fopen.
32706 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32708 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32710 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32712 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32714 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32717 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32719 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32721 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32723 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32724 file parsing and set FD_CLOEXEC.
32726 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32728 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32730 2011-11-14 Andreas Schwab <schwab@redhat.com>
32732 * malloc/arena.c (arena_get2): Don't call reused_arena when
32733 _int_new_arena failed.
32735 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32737 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32738 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32739 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32740 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32741 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32742 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32743 to compile strcasecmp and strncasecmp.
32744 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32745 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32747 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32749 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32751 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32752 locale-defines.sym to gen-as-const-headers.
32753 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32754 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32755 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32756 to compile strcasecmp and strncasecmp.
32757 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32758 strcasecmp_l and strncasecmp_l.
32759 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32760 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32761 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32762 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32763 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32764 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32765 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32766 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32767 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32768 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32769 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32771 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32773 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32774 result of SYSDEP_GETTIME_CPU to retval.
32775 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32776 parameter list to macro. Remove trailing semicolon. Adjust users.
32778 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32781 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32783 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32785 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32786 from unused variable.
32788 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32790 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32793 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32796 * sunrpc/rpc_prot.c (rejected): Fix case value.
32798 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32799 unsigned long long int to avoid warnings in shift.
32801 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32803 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32806 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32807 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32808 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32810 * nis/nis_table.c (nis_list): Use variable of correct type for
32811 result of __follow_path call.
32813 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32815 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32816 of math functions ceil, trunc, floor, round, and sqrt, when
32817 avaliable on the platform.
32818 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32820 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32821 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32822 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32824 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32826 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32827 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32829 2011-11-11 Roland McGrath <roland@hack.frob.com>
32831 * include/unistd.h: Fix __readlink return type.
32832 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32834 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32836 * stdlib/ucontext.h: Undo last change for makecontext.
32838 2011-11-11 Andreas Schwab <schwab@redhat.com>
32840 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32842 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32843 * setjmp/setjmp.h: Mark functions as non-leaf.
32844 * setjmp/bits/setjmp2.h: Likewise.
32845 * stdlib/ucontext.h: Likewise.
32847 2011-11-10 Andreas Schwab <schwab@redhat.com>
32849 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32850 (reused_arena): Don't check arena limit.
32851 (arena_get2): Atomically check arena limit.
32853 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32855 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32856 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32861 2011-11-07 Andreas Schwab <schwab@redhat.com>
32863 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32864 handler when locking.
32866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32867 Fix size of allocated buffer.
32869 2011-11-04 Andreas Schwab <schwab@redhat.com>
32872 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32873 declarations for long double functions.
32874 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32876 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32878 2011-11-03 Andreas Schwab <schwab@redhat.com>
32880 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32883 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32886 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32888 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32890 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32892 * include/alloca.h (stackinfo_alloca_round): Define.
32893 (extend_alloca): Use it.
32894 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32895 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32898 * scripts/check-local-headers.sh: Ignore libaudit.h.
32900 * nscd/Makefile (extra-objs): Make recursively expanded.
32902 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32904 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32905 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32907 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32908 * posix/tst-rfc3484-2.c: Likewise.
32909 * posix/tst-rfc3484-3.c: Likewise.
32911 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32913 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32915 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32916 process_vm_writev from libc using GLIBC_2.15 version.
32918 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32920 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32922 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32925 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32928 * nss/getent.c (initgroups_keys): Show error message in case no group
32931 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32932 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32933 __bump_nl_timestamp.
32934 * nscd/connections (nscd_init): When host database is served open
32935 netlink socket and request notification about configuration changes.
32936 (main_loop_poll): Track netlink file descriptor and bump timestamp
32937 in case data becomes available.
32938 (main_loop_epoll): Likewise.
32939 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32940 (database_pers_head): Add extra_data fileds.
32941 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32942 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32943 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32945 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32946 in6ai data, call __free_in6ai.
32947 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32948 Add -DHAVE_NETLINK.
32949 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32950 interface information. Reuse previous data if netlink timestamp
32952 (__bump_nl_timestamp): New function.
32953 (__free_in6ai): New function.
32955 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32957 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32958 close_not_cancel_no_status here.
32959 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32961 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32964 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32967 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32968 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32969 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32971 2011-07-03 Andreas Jaeger <aj@suse.de>
32974 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32975 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32976 * math/libm-test.inc (sin_test): Add test case.
32978 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32981 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32982 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32984 * elf/chroot_canon.c (chroot_canon): Cleanups.
32986 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32989 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32990 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32992 * string/test-strchr.c: Make usable for strchrnul testing.
32993 * string/test-strchrnul.c: New file.
32994 * string/Makefile (strop-tests): Add strchrnul.
32996 * po/it.po: Update from translation team.
32997 * po/es.po: Likewise.
32999 2011-10-28 Ulrich Drepper <drepper@gmail.com>
33001 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33002 the three constants needed as parameters. Drop the others.
33003 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33004 __m128i_strloadu_tolower.
33005 Create and initialize variable zero and use it in all the places
33006 where _mm_setzero_si128 was used.
33008 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33009 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33010 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33011 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33013 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33014 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33015 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33016 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33017 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33018 __mpranred, __mptan.
33019 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33020 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33021 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33022 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33023 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33024 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33025 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33026 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33027 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33029 2011-10-28 Andreas Schwab <schwab@redhat.com>
33031 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33032 redefine if SHARED.
33033 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33036 wide char related routines to wcsmbs subdir.
33038 2011-10-27 Andreas Schwab <schwab@redhat.com>
33041 * misc/sys/cdefs.h (__THROWNL): Define.
33042 * posix/unistd.h: Use __THREADNL instead of __THREAD
33043 for memory synchronization functions.
33045 2011-10-26 Roland McGrath <roland@hack.frob.com>
33048 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33050 * manual/stdio.texi (Obstack Streams): Node removed.
33052 2011-10-26 Andreas Schwab <schwab@redhat.com>
33054 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33055 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33056 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33058 * math/math_private.h (math_force_eval): Allow non-addressable
33060 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33062 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33064 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33065 file is not needed.
33067 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33068 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33069 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33070 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33071 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33072 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33073 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33074 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33076 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33077 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33078 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33079 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33080 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33081 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33082 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33083 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33084 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33085 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33086 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33087 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33088 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33089 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33090 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33091 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33092 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33093 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33094 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33096 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33097 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33099 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33100 place. Use VEX encoding when compiling for AVX.
33102 2011-10-25 Andreas Schwab <schwab@redhat.com>
33104 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33105 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33107 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33109 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33111 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33112 useless if() expression.
33113 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33114 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33115 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33116 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33117 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33118 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33119 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33120 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33121 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33122 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33123 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33124 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33125 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33126 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33127 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33128 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33129 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33130 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33131 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33133 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33135 2011-10-25 Andreas Schwab <schwab@redhat.com>
33137 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33139 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33141 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33143 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33144 .text section. Avoid duplicate constants.
33145 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33153 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33154 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33155 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33156 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33157 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33158 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33159 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33160 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33161 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33162 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33163 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33164 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33165 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33166 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33167 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33168 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33169 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33170 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33171 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33172 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33173 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33174 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33175 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33176 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33177 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33178 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33179 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33180 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33181 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33182 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33183 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33184 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33185 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33186 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33187 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33188 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33189 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33191 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33193 * sysdeps/x86_64/dla.h: Move to ...
33194 * sysdeps/x86_64/fpu/dla.h: ...here.
33195 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33196 situations. Use __builtin_fma only for gcc 4.6 and up.
33198 * config.make.in: Add have-mfma4 entry.
33199 * configure.in: Substitute libc_cv_cc_fma4.
33200 * math/Makefile (dbl-only-routines): Add sincostab.
33201 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33202 Use __sincostab not sincos.
33203 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33208 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33210 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33211 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33212 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33213 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33215 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33216 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33218 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33219 define aliases when function name is a macro.
33220 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33221 sysdeps/ieee754/dbl-64/sincos.tbl.
33222 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33223 fma4-enabled routines.
33224 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33225 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33226 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33227 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33228 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33229 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33230 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33231 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33232 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33233 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33234 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33235 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33236 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33237 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33238 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33239 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33240 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33241 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33242 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33243 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33244 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33245 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33246 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33247 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33248 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33249 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33250 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33251 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33252 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33253 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33255 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33257 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33262 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33263 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33264 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33266 2011-10-24 Andreas Schwab <schwab@redhat.com>
33268 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33270 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33272 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33274 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33276 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33278 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33279 Remove unused variable magic_bits.
33280 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33282 * string/strnlen.c: Define and use STRNLEN macro.
33283 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33284 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33285 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33286 * wcsmbs/wcslen.c: Define and use WCSLEN.
33287 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33288 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33289 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33290 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33291 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33292 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33293 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33295 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33298 strnlen-sse2-no-bsf.
33299 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33300 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33301 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33302 Add strnlen support.
33303 (USE_AS_STRNLEN): New macro.
33304 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33305 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33306 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33307 * sysdeps/x86_64/wcslen.S: New file.
33309 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33311 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33312 XMM-moves are used for copying on small sizes.
33314 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33316 * wcsmbs/Makefile (strop-tests): Add wcschr.
33317 * wcsmbs/test-wcschr.c: New file.
33318 * string/test-strchr.c: Update.
33319 Add wcschr support.
33322 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33324 * wcsmbs/Makefile (strop-tests): Add wcslen.
33325 * wcsmbs/test-wcslen.c: New file.
33326 * string/test-strlen.c: Update.
33327 Add wcslen support.
33330 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33332 * po/it.po: Update from translation team.
33334 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33336 * sysdeps/x86_64/wcscmp.S: Update.
33337 Fix wrong comparison semantics.
33338 wcscmp shall use signed comparison not unsigned.
33339 Don't use substraction to avoid overflow bug.
33340 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33341 * wcsmbc/wcscmp.c: Likewise.
33342 * string/test-strcmp.c: Likewise.
33343 Add new tests to check cases with negative values.
33345 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33347 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33348 * sysdeps/x86_64/dla.h: ...here. New file.
33349 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33350 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33355 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33356 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33359 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33361 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33362 __ynl_finite aliases.
33364 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33368 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33370 [DLA_FMA] (EMULV): Use DLA_FMA.
33371 [DLA_FMA] (MUL12): Use EMULV.
33372 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33373 that are not needed.
33374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33379 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33380 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33382 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33384 * math/s_nan.c: Undef __nan.
33385 * math/s_nanf.c: Undef __nanf.
33386 * math/s_nanl.c: Undef __nanl.
33387 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33390 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33392 * math/s_catan.c: Add branch predictions.
33393 * math/s_catanf.c: Likewise.
33394 * math/s_catanh.c: Likewise.
33395 * math/s_catanhf.c: Likewise.
33396 * math/s_catanhl.c: Likewise.
33397 * math/s_catanl.c: Likewise.
33398 * math/s_cexp.c: Likewise.
33399 * math/s_cexpf.c: Likewise.
33400 * math/s_cexpl.c: Likewise.
33401 * math/s_clog.c: Likewise.
33402 * math/s_clog10.c: Likewise.
33403 * math/s_clog10f.c: Likewise.
33404 * math/s_clog10l.c: Likewise.
33405 * math/s_clogf.c: Likewise.
33406 * math/s_clogl.c: Likewise.
33407 * math/s_csqrt.c: Likewise.
33408 * math/s_csqrtf.c: Likewise.
33409 * math/s_csqrtl.c: Likewise.
33410 * math/s_ctanf.c: Likewise.
33411 * math/s_ctanh.c: Likewise.
33412 * math/s_ctanhf.c: Likewise.
33413 * math/s_ctanhl.c: Likewise.
33414 * math/s_ctanl.c: Likewise.
33416 * math/math_private.h: Define __nan, __nanf, __nanl.
33417 * math/s_cacosh.c: Include <math_private.h>.
33418 * math/s_cacoshl.c: Likewise.
33419 * math/s_casinh.c: Likewise.
33420 * math/s_casinhf.c: Likewise.
33421 * math/s_casinhl.c: Likewise.
33422 * math/s_ccos.c: Rely entire on ccosh.
33423 * math/s_ccosf.c: Rely entire on ccoshf.
33424 * math/s_ccosl.c: Rely entirely on ccoshl.
33425 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33426 Remove tests for FE_INVALID.
33427 * math/s_ccoshf.c: Likewise.
33428 * math/s_ccoshl.c: Likewise.
33429 * math/s_csin.c: Likewise.
33430 * math/s_csinf.c: Likewise.
33431 * math/s_csinh.c Likewise.
33432 * math/s_csinhf.c: Likewise.
33433 * math/s_csinhl.c: Likewise.
33434 * math/s_csinl.c: Likewise.
33435 * math/s_ctan.c: Likewise.
33436 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33437 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33438 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33440 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33443 compilation problems.
33445 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33448 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33450 * sysdeps/i386/configure.in: Test for -mfma4 option.
33451 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33452 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33453 COMMON_CPUID_INDEX_80000001.
33454 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33455 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33456 use it if FMA3 is not supported.
33457 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33459 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33460 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33462 2011-10-20 Andreas Schwab <schwab@redhat.com>
33465 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33466 it would create a cycle with a link time dependency.
33468 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33470 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33472 * string/Makefile (strop-tests): Add rawmemchr.
33473 * string/test-rawmemchr.c: New file.
33475 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33476 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33477 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33478 when compiling str{,n}casecmp and when AVX is available. Hook up
33479 new optimized code in initializers.
33481 2011-10-19 Andreas Schwab <schwab@redhat.com>
33483 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33484 __feraiseexcept instead of feraiseexcept.
33486 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33488 * math/math_private.h: Define defaults for libc_fetestexcept and
33490 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33491 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33492 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33493 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33494 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33495 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33496 libc_fetestexcept and libc_feupdateenv.
33498 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33499 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33500 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33501 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33502 libc_feholdexcept_setround.
33504 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33505 Add s_nearbyint-c and s_nearbyintf-c.
33506 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33507 nearbyintf inlines.
33508 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33509 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33510 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33511 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33513 * math/math_private.h: Define defaults for libc_fegetround,
33514 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33515 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33516 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33517 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33518 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33519 standard functions.
33520 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33521 Remove comments and hacks for old compiler versions.
33522 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33523 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33524 libc_feholdexceptl.
33526 2011-10-18 Andreas Schwab <schwab@redhat.com>
33528 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33529 (__feraiseexcept_renamed): Add __NTH.
33530 (feraiseexcept): Add __NTH. Rename local variables to fix
33531 namespace violations.
33533 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33535 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33537 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33539 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33540 recently added interfaces.
33541 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33543 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33544 about macro parameter expansion.
33546 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33547 __NO_MATH_INLINES is defined. Cleanups.
33549 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33550 and __floorf is target has SSE4.1.
33551 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33552 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33553 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33554 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33556 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33558 (floorf): Likewise.
33560 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33562 2011-10-17 Andreas Schwab <schwab@redhat.com>
33564 * misc/sys/cdefs.h: Fix last change.
33566 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33569 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33571 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33573 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33574 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33579 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33580 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33581 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33582 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33583 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33584 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33585 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33586 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33587 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33588 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33589 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33590 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33591 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33592 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33593 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33594 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33596 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33597 ceil, ceilf, floor, floorf.
33599 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33600 Perform IRELATIVE relocations last.
33602 * elf/do-rel.h: Add another parameter nrelative, replacing the
33603 local variable with the same name. Change name of the function
33604 to end in Rel or Rela (uppercase).
33605 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33606 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33607 elf_dynamic_do_##reloc function.
33609 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33611 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33612 is sufficient, at least on modern CPUs.
33614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33616 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33617 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33619 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33621 * math/bits/math-finite.h: Add entries for exp.
33622 * math/e_expl.c: Add __*_finite alias.
33623 * sysdeps/i386/fpu/e_exp.S: Likewise.
33624 * sysdeps/i386/fpu/e_expf.S: Likewise.
33625 * sysdeps/i386/fpu/e_expl.c: Likewise.
33626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33627 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33628 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33629 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33631 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33632 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33634 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33635 is sufficient, at least on modern CPUs.
33637 * ctype/ctype-info.c (__ctype_init): Define.
33638 * include/ctype.h (__ctype_init): Declare.
33639 (__ctype_b_loc): The variable is always initialized.
33640 (__ctype_toupper_loc): Likewise.
33641 (__ctype_tolower_loc): Likewise.
33642 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33643 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33645 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33647 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33649 * configure.in: Also look in $cxxmachine/include for C++ system
33652 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33654 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33655 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33656 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33657 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33658 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33659 (USE_AS_WMEMCMP): New macro.
33661 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33662 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33663 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33664 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33666 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33667 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33668 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33669 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33670 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33671 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33672 (USE_AS_WMEMCMP): New macro.
33673 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33674 * sysdeps/string/test-memcmp.c: Update.
33675 Fix simple_wmemcmp.
33677 * wcsmbs/wmemcmp.c: Update.
33678 (WMEMCMP): New macro.
33681 2011-10-12 Andreas Jaeger <aj@suse.de>
33684 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33686 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33688 * libio/iofwide.c (do_length): Avoid warning.
33690 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33692 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33694 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33696 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33697 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33698 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33699 * sysdeps/i386/i686/fpu/e_log.S: New file.
33700 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33701 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33703 * ctype/ctype.h: Add support for inlined isXXX functions when
33704 compiling C++ code.
33706 2011-10-14 Andreas Schwab <schwab@redhat.com>
33708 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33710 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33712 2011-10-13 Roland McGrath <roland@hack.frob.com>
33715 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33717 2011-10-13 Andreas Schwab <schwab@redhat.com>
33719 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33720 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33723 * sysdeps/x86_64/memrchr.S: Check for zero size.
33725 * string/stratcliff.c: Add memrchr tests.
33727 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33730 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33731 rawmemchr-sse2 rawmemchr-sse2-bsf.
33732 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33733 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33734 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33735 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33736 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33737 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33738 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33739 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33740 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33741 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33742 * string/memrchr.c (MEMRCHR): New macro.
33744 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33746 Add integration with gcc's -ffinite-math-only and optimize wrapper
33748 * Versions.def: Define GLIBC_2.15 version for libm.
33749 * math/Makefile (headers): Add bits/math-finite.h.
33750 * math/bits/math-finite.h: New file.
33751 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33752 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33753 * math/e_acoshl.c: Add __*_finite alias.
33754 * math/e_acosl.c: Likewise.
33755 * math/e_asinl.c: Likewise.
33756 * math/e_atan2l.c: Likewise.
33757 * math/e_atanhl.c: Likewise.
33758 * math/e_coshl.c: Likewise.
33759 * math/e_exp10.c: Likewise.
33760 * math/e_exp10f.c: Likewise.
33761 * math/e_exp10l.c: Likewise.
33762 * math/e_exp2l.c: Likewise.
33763 * math/e_fmodl.c: Likewise.
33764 * math/e_gammal_r.c: Likewise.
33765 * math/e_hypotl.c: Likewise.
33766 * math/e_j0l.c: Likewise.
33767 * math/e_j1l.c: Likewise.
33768 * math/e_jnl.c: Likewise.
33769 * math/e_lgammal_r.c: Likewise.
33770 * math/e_log10l.c: Likewise.
33771 * math/e_log2l.c: Likewise.
33772 * math/e_logl.c: Likewise.
33773 * math/e_powl.c: Likewise.
33774 * math/e_sinhl.c: Likewise.
33775 * math/e_sqrtl.c: Likewise.
33776 * math/e_scalb.c: Completely rewritten and optimized.
33777 * math/e_scalbf.c: Likewise.
33778 * math/e_scalbl.c: Likewise.
33779 * math/w_acos.c: Likewise.
33780 * math/w_acosf.c: Likewise.
33781 * math/w_acosl.c: Likewise.
33782 * math/w_acosh.c: Likewise.
33783 * math/w_acoshf.c: Likewise.
33784 * math/w_acoshl.c: Likewise.
33785 * math/w_asin.c: Likewise.
33786 * math/w_asinf.c: Likewise.
33787 * math/w_asinl.c: Likewise.
33788 * math/w_atan2.c: Likewise.
33789 * math/w_atan2f.c: Likewise.
33790 * math/w_atan2l.c: Likewise.
33791 * math/w_atanh.c: Likewise.
33792 * math/w_atanhf.c: Likewise.
33793 * math/w_atanhl.c: Likewise.
33794 * math/w_exp10.c: Likewise.
33795 * math/w_exp10f.c: Likewise.
33796 * math/w_exp10l.c: Likewise.
33797 * math/w_fmod.c: Likewise.
33798 * math/w_fmodf.c: Likewise.
33799 * math/w_fmodl.c: Likewise.
33800 * math/w_j0.c: Likewise.
33801 * math/w_j0f.c: Likewise.
33802 * math/w_j0l.c: Likewise.
33803 * math/w_j1.c: Likewise.
33804 * math/w_j1f.c: Likewise.
33805 * math/w_j1l.c: Likewise.
33806 * math/w_jn.c: Likewise.
33807 * math/w_jnf.c: Likewise.
33808 * math/w_log.c: Likewise.
33809 * math/w_logf.c: Likewise.
33810 * math/w_logl.c: Likewise.
33811 * math/w_log10.c: Likewise.
33812 * math/w_log10f.c: Likewise.
33813 * math/w_log10l.c: Likewise.
33814 * math/w_log2.c: Likewise.
33815 * math/w_log2f.c: Likewise.
33816 * math/w_log2l.c: Likewise.
33817 * math/w_pow.c: Likewise.
33818 * math/w_powf.c: Likewise.
33819 * math/w_powl.c: Likewise.
33820 * math/w_remainder.c: Likewise.
33821 * math/w_remainderf.c: Likewise.
33822 * math/w_remainderl.c: Likewise.
33823 * math/w_scalb.c: Likewise.
33824 * math/w_scalbf.c: Likewise.
33825 * math/w_scalbl.c: Likewise.
33826 * math/w_sqrt.c: Likewise.
33827 * math/w_sqrtf.c: Likewise.
33828 * math/w_sqrtl.c: Likewise.
33829 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33830 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33832 * math/math_private.h: Declare __kernel_standard_f.
33833 * math/w_cosh.c: Remove cruft and optimize a bit.
33834 * math/w_coshf.c: Likewise.
33835 * math/w_coshl.c: Likewise.
33836 * math/w_exp2.c: Likewise.
33837 * math/w_exp2f.c: Likewise.
33838 * math/w_exp2l.c: Likewise.
33839 * math/w_hypot.c: Likewise.
33840 * math/w_hypotf.c: Likewise.
33841 * math/w_hypotl.c: Likewise.
33842 * math/w_lgamma.c: Likewise.
33843 * math/w_lgamma_r.c: Likewise.
33844 * math/w_lgammaf.c: Likewise.
33845 * math/w_lgammaf_r.c: Likewise.
33846 * math/w_lgammal.c: Likewise.
33847 * math/w_lgammal_r.c: Likewise.
33848 * math/w_sinh.c: Likewise.
33849 * math/w_sinhf.c: Likewise.
33850 * math/w_sinhl.c: Likewise.
33851 * math/w_tgamma.c: Likewise.
33852 * math/w_tgammaf.c: Likewise.
33853 * math/w_tgammal.c: Likewise.
33854 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33855 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33856 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33857 Minor optimizations. Pretty printing. Remove cruft.
33858 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33859 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33860 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33861 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33862 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33863 * sysdeps/i386/fpu/e_asin.S: Likewise.
33864 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33865 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33866 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33867 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33868 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33869 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33870 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33871 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33872 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33873 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33874 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33875 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33876 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33877 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33878 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33879 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33880 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33881 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33882 * sysdeps/i386/fpu/e_log.S: Likewise.
33883 * sysdeps/i386/fpu/e_log10.S: Likewise.
33884 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33885 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33886 * sysdeps/i386/fpu/e_log2.S: Likewise.
33887 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33888 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33889 * sysdeps/i386/fpu/e_logf.S: Likewise.
33890 * sysdeps/i386/fpu/e_logl.S: Likewise.
33891 * sysdeps/i386/fpu/e_pow.S: Likewise.
33892 * sysdeps/i386/fpu/e_powf.S: Likewise.
33893 * sysdeps/i386/fpu/e_powl.S: Likewise.
33894 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33895 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33896 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33897 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33898 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33899 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33900 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33901 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33902 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33903 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33904 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33906 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33907 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33908 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33909 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33910 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33911 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33912 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33913 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33914 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33916 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33917 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33919 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33920 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33921 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33922 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33923 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33924 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33925 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33926 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33927 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33928 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33929 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33930 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33931 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33932 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33933 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33934 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33935 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33936 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33937 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33938 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33939 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33940 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33941 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33942 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33943 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33944 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33951 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33953 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33955 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33956 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33958 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33959 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33960 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33965 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33967 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33968 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33969 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33972 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33974 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33975 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33981 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33983 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33986 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33987 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33988 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33989 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33990 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33991 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33992 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33993 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33994 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33995 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33996 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33997 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33998 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33999 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34000 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34001 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34002 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34003 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34004 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34005 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34006 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34007 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34008 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34009 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34010 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34011 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34012 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34013 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34014 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34015 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34016 (__isnanf): Likewise.
34017 (__isinf_ns): Likewise.
34018 (__isinf_nsf): Likewise.
34019 (__finite): Likewise.
34020 (__finitef): Likewise.
34021 (__ieee754_sqrt): Define as macro.
34022 (__ieee754_sqrtf): Define as macro.
34023 (__ieee754_sqrtl): Define as macro.
34024 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34026 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34027 __FINITE_MATH_ONLY__ consistent.
34028 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34030 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34032 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34035 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34037 2011-10-09 Ulrich Drepper <drepper@gmail.com>
34039 * po/ja.po: Update from translation team.
34041 2011-10-08 Roland McGrath <roland@hack.frob.com>
34043 * locale/programs/locarchive.c (prepare_address_space): New function.
34044 (create_archive, enlarge_archive, open_archive): Use it.
34046 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34047 inside [SHARED], where it is used.
34049 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34051 * nss/getent.c (netgroup_keys): Remove unused variable.
34052 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34054 2011-10-08 Ulrich Drepper <drepper@gmail.com>
34056 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34057 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34059 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34060 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34061 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34062 * math/Makefile (libm-calls): Add s_isinf_ns.
34063 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34064 * math/multc3.c: Likewise.
34065 * math/s_casin.c: Likewise.
34066 * math/s_casinf.c: Likewise.
34067 * math/s_casinl.c: Likewise.
34068 * math/s_ccos.c: Likewise.
34069 * math/s_ccosf.c: Likewise.
34070 * math/s_ccosl.c: Likewise.
34071 * math/s_ctan.c: Likewise.
34072 * math/s_ctanf.c: Likewise.
34073 * math/s_ctanh.c: Likewise.
34074 * math/s_ctanhf.c: Likewise.
34075 * math/s_ctanhl.c: Likewise.
34076 * math/s_ctanl.c: Likewise.
34077 * math/w_fmod.c: Likewise.
34078 * math/w_fmodf.c: Likewise.
34079 * math/w_fmodl.c: Likewise.
34080 * math/w_remainder.c: Likewise.
34081 * math/w_remainderf.c: Likewise.
34082 * math/w_remainderl.c: Likewise.
34083 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34084 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34085 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34086 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34087 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34088 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34089 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34090 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34092 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34094 * stdio-common/printf_fphex.c: Likewise.
34095 * stdio-common/printf_size.c: Likewise.
34097 * math/e_exp10.c: Include math_private.h using <...> not "...".
34098 * math/e_exp10f.c: Likewise.
34099 * math/e_exp10l.c: Likewise.
34100 * math/e_exp2l.c: Likewise.
34101 * math/e_j0l.c: Likewise.
34102 * math/e_j1l.c: Likewise.
34103 * math/e_jnl.c: Likewise.
34104 * math/e_lgammal_r.c: Likewise.
34105 * math/e_rem_pio2l.c: Likewise.
34106 * math/e_scalb.c: Likewise.
34107 * math/e_scalbf.c: Likewise.
34108 * math/e_scalbl.c: Likewise.
34109 * math/k_cosl.c: Likewise.
34110 * math/k_sinl.c: Likewise.
34111 * math/k_tanl.c: Likewise.
34112 * math/s_cacoshf.c: Likewise.
34113 * math/s_catan.c: Likewise.
34114 * math/s_catanf.c: Likewise.
34115 * math/s_catanh.c: Likewise.
34116 * math/s_catanhf.c: Likewise.
34117 * math/s_catanhl.c: Likewise.
34118 * math/s_catanl.c: Likewise.
34119 * math/s_ccosh.c: Likewise.
34120 * math/s_ccoshf.c: Likewise.
34121 * math/s_ccoshl.c: Likewise.
34122 * math/s_cexp.c: Likewise.
34123 * math/s_cexpf.c: Likewise.
34124 * math/s_cexpl.c: Likewise.
34125 * math/s_clog.c: Likewise.
34126 * math/s_clog10.c: Likewise.
34127 * math/s_clog10f.c: Likewise.
34128 * math/s_clog10l.c: Likewise.
34129 * math/s_clogf.c: Likewise.
34130 * math/s_clogl.c: Likewise.
34131 * math/s_csin.c: Likewise.
34132 * math/s_csinf.c: Likewise.
34133 * math/s_csinh.c: Likewise.
34134 * math/s_csinhf.c: Likewise.
34135 * math/s_csinhl.c: Likewise.
34136 * math/s_csinl.c: Likewise.
34137 * math/s_csqrt.c: Likewise.
34138 * math/s_csqrtf.c: Likewise.
34139 * math/s_csqrtl.c: Likewise.
34140 * math/s_ctan.c: Likewise.
34141 * math/s_ctanf.c: Likewise.
34142 * math/s_ctanh.c: Likewise.
34143 * math/s_ctanhf.c: Likewise.
34144 * math/s_ctanhl.c: Likewise.
34145 * math/s_ctanl.c: Likewise.
34146 * math/s_ldexp.c: Likewise.
34147 * math/s_ldexpf.c: Likewise.
34148 * math/s_ldexpl.c: Likewise.
34149 * math/s_significand.c: Likewise.
34150 * math/s_significandf.c: Likewise.
34151 * math/s_significandl.c: Likewise.
34152 * math/w_acos.c: Likewise.
34153 * math/w_acosf.c: Likewise.
34154 * math/w_acosh.c: Likewise.
34155 * math/w_acoshf.c: Likewise.
34156 * math/w_acoshl.c: Likewise.
34157 * math/w_acosl.c: Likewise.
34158 * math/w_asin.c: Likewise.
34159 * math/w_asinf.c: Likewise.
34160 * math/w_asinl.c: Likewise.
34161 * math/w_atan2.c: Likewise.
34162 * math/w_atan2f.c: Likewise.
34163 * math/w_atan2l.c: Likewise.
34164 * math/w_atanh.c: Likewise.
34165 * math/w_atanhf.c: Likewise.
34166 * math/w_atanhl.c: Likewise.
34167 * math/w_cosh.c: Likewise.
34168 * math/w_coshf.c: Likewise.
34169 * math/w_coshl.c: Likewise.
34170 * math/w_dremf.c: Likewise.
34171 * math/w_exp10.c: Likewise.
34172 * math/w_exp10f.c: Likewise.
34173 * math/w_exp10l.c: Likewise.
34174 * math/w_exp2.c: Likewise.
34175 * math/w_exp2f.c: Likewise.
34176 * math/w_fmod.c: Likewise.
34177 * math/w_fmodf.c: Likewise.
34178 * math/w_fmodl.c: Likewise.
34179 * math/w_hypot.c: Likewise.
34180 * math/w_hypotf.c: Likewise.
34181 * math/w_hypotl.c: Likewise.
34182 * math/w_j0.c: Likewise.
34183 * math/w_j0f.c: Likewise.
34184 * math/w_j0l.c: Likewise.
34185 * math/w_j1.c: Likewise.
34186 * math/w_j1f.c: Likewise.
34187 * math/w_j1l.c: Likewise.
34188 * math/w_jn.c: Likewise.
34189 * math/w_jnf.c: Likewise.
34190 * math/w_jnl.c: Likewise.
34191 * math/w_lgamma.c: Likewise.
34192 * math/w_lgamma_r.c: Likewise.
34193 * math/w_lgammaf.c: Likewise.
34194 * math/w_lgammaf_r.c: Likewise.
34195 * math/w_lgammal.c: Likewise.
34196 * math/w_lgammal_r.c: Likewise.
34197 * math/w_log.c: Likewise.
34198 * math/w_log10.c: Likewise.
34199 * math/w_log10f.c: Likewise.
34200 * math/w_log10l.c: Likewise.
34201 * math/w_log2.c: Likewise.
34202 * math/w_log2f.c: Likewise.
34203 * math/w_log2l.c: Likewise.
34204 * math/w_logf.c: Likewise.
34205 * math/w_logl.c: Likewise.
34206 * math/w_pow.c: Likewise.
34207 * math/w_powf.c: Likewise.
34208 * math/w_powl.c: Likewise.
34209 * math/w_remainder.c: Likewise.
34210 * math/w_remainderf.c: Likewise.
34211 * math/w_remainderl.c: Likewise.
34212 * math/w_scalb.c: Likewise.
34213 * math/w_scalbf.c: Likewise.
34214 * math/w_scalbl.c: Likewise.
34215 * math/w_sinh.c: Likewise.
34216 * math/w_sinhf.c: Likewise.
34217 * math/w_sinhl.c: Likewise.
34218 * math/w_sqrt.c: Likewise.
34219 * math/w_sqrtf.c: Likewise.
34220 * math/w_sqrtl.c: Likewise.
34221 * math/w_tgamma.c: Likewise.
34222 * math/w_tgammaf.c: Likewise.
34223 * math/w_tgammal.c: Likewise.
34225 * po/ja.po: Update from translation team.
34227 2011-09-29 Andreas Jaeger <aj@suse.de>
34230 * sunrpc/netname.c (netname2host): Fix logic.
34234 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34236 * math/w_remainder.c (__remainder): Likewise.
34237 * math/w_remainderf.c (__remainderf): Likewise.
34238 * math/libm-test.inc (remainder_test): Add test cases.
34240 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34242 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34245 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34247 * string/test-memcmp.c: Avoid unncessary #defines.
34248 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34250 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34252 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34253 Use new sse2 version for core i3 - i7 as it's faster
34254 than sse42 version.
34255 (bit_Prefer_PMINUB_for_stringop): New.
34256 * sysdeps/x86_64/rawmemchr.S: Update.
34257 Replace with faster SSE2 version.
34258 * sysdeps/x86_64/memrchr.S: New file.
34259 * sysdeps/x86_64/memchr.S: Update.
34260 Replace with faster SSE2 version.
34262 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34264 * elf/dl-load.c (lose): Add cast to avoid warning.
34266 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34268 * po/ca.po: Update from translation team.
34270 * inet/getnetgrent_r.c: Hook up nscd.
34271 * nscd/Makefile (routines): Add nscd_netgroup.
34272 (nscd-modules): Add netgroupcache.
34273 (CFLAGS-netgroupcache.c): Define.
34274 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34275 (cache_search): Add const to second parameter.
34276 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34278 (dbs): Add netgrdb entry.
34279 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34280 (verify_persistent_db): Handle netgrdb.
34281 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34282 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34284 (netgroup_response_header): Define.
34285 (innetgroup_response_header): Define.
34286 (datahead): Add netgroup_response_header and innetgroup_response_header
34288 * nscd/nscd.conf: Add entries for netgroup cache.
34289 * nscd/nscd.h (dbtype): Add netgrdb.
34290 (_PATH_NSCD_NETGROUP_DB): Define.
34291 (netgroup_iov_disabled): Declare.
34292 (xmalloc, xcalloc, xrealloc): Move declarations here.
34293 (cache_search): Adjust prototype.
34294 Add netgroup-related prototypes.
34295 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34296 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34297 (__nscd_innetgr): Declare.
34298 * nscd/selinux.c (perms): Use access_vector_t as element type and
34299 add netgroup-related initializers.
34300 * nscd/netgroupcache.c: New file.
34301 * nscd/nscd_netgroup.c: New file.
34302 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34303 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34304 For four parameters use innetgr.
34305 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34306 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34307 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34308 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34310 * nscd/connections.c (register_traced_file): Don't register file
34311 for disabled databases.
34313 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34315 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34317 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34318 from tree and freeing node.
34320 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34322 * nss/nsswitch.c (__nss_database_lookup): Handle
34323 nss_parse_service_list out of memory case.
34325 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34327 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34328 out of memory case.
34330 2011-10-04 Andreas Schwab <schwab@redhat.com>
34332 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34333 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34335 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34336 elf_machine_rela, elf_machine_lazy_rel.
34337 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34338 (ELF_DYNAMIC_DO_REL): Likewise.
34339 (ELF_DYNAMIC_DO_RELA): Likewise.
34340 (ELF_DYNAMIC_RELOCATE): Likewise.
34341 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34342 to ELF_DYNAMIC_DO_REL.
34343 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34344 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34345 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34347 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34348 skip_ifunc, don't call ifunc function if non-zero.
34349 (elf_machine_rela): Likewise.
34350 (elf_machine_lazy_rel): Likewise.
34351 (elf_machine_lazy_rela): Likewise.
34352 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34353 (elf_machine_lazy_rel): Likewise.
34354 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34356 (elf_machine_lazy_rel): Likewise.
34357 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34359 (elf_machine_lazy_rel): Likewise.
34360 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34361 (elf_machine_lazy_rel): Likewise.
34362 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34363 (elf_machine_lazy_rel): Likewise.
34364 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34365 (elf_machine_lazy_rel): Likewise.
34366 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34367 (elf_machine_lazy_rel): Likewise.
34368 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34369 (elf_machine_lazy_rel): Likewise.
34370 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34371 (elf_machine_lazy_rel): Likewise.
34373 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34375 * nss/nss_files/files-init.c (_nss_files_init): Use static
34376 initialization for all the *_traced_file variables.
34378 2011-09-28 Andreas Schwab <schwab@redhat.com>
34380 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34382 2011-09-27 Roland McGrath <roland@hack.frob.com>
34385 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34387 2011-09-27 Andreas Schwab <schwab@redhat.com>
34389 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34390 Reread the line before reparsing it.
34392 2011-09-26 Andreas Schwab <schwab@redhat.com>
34394 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34396 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34397 Maxim Kuvyrkov <maxim@codesourcery.com>
34398 Joseph Myers <joseph@codesourcery.com>
34400 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34401 if needed for __stack_chk_guard.
34403 2011-09-19 Roland McGrath <roland@hack.frob.com>
34405 * sysdeps/posix/spawni.c (script_execute): Always define it.
34406 It will be optimized away if unused.
34407 (maybe_script_execute): New function.
34408 (__spawni): Call it.
34410 * Makerules: Don't include tls.make.
34411 (config-tls): Always set to thread.
34412 * tls.make.c: File removed.
34414 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34416 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34417 * config.make.in (CPPFLAGS-config): New substituted variable.
34419 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34421 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34424 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34425 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34427 2011-09-15 Roland McGrath <roland@hack.frob.com>
34429 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34430 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34431 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34432 (CALL_FAIL): Likewise.
34433 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34434 (CALL_FAIL): Macro removed.
34435 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34437 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34439 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34440 for __FINITE_MATH_ONLY__ == 1.
34442 2011-09-15 Andreas Schwab <schwab@redhat.com>
34444 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34445 __ieee754_sqrt instead of sqrt.
34446 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34447 __ieee754_sqrtf instead of sqrtf.
34448 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34449 __floorf instead of floorf.
34450 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34451 __floorf, __truncf instead of floorf, truncf.
34453 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34455 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34457 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34458 __extern_always_inline.
34459 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34462 2011-09-14 Andreas Schwab <schwab@redhat.com>
34464 * elf/rtld.c (dl_main): Also relocate in dependency order when
34465 doing symbol dependency testing.
34467 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34469 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34470 Always define `refsym'.
34472 2011-09-13 Andreas Schwab <schwab@redhat.com>
34474 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34475 (__FD_ELT): Renamed from __FDELT.
34476 * misc/bits/select2.h (__FD_ELT): Likewise.
34477 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34478 __FD_MASK instead of __FDELT, __FDMASK.
34479 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34481 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34484 * elf/Makefile (gen-ldd): Fix pattern.
34486 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34487 (init_tls): Likewise.
34489 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34491 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34493 2011-09-12 Andreas Schwab <schwab@redhat.com>
34495 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34496 `struct cmsghdr *' instead of `void *'.
34497 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34500 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34502 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34504 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34505 ldd_rewrite_script.
34507 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34509 * configure.in: Remove --with-tls option.
34510 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34511 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34512 out in case it is missing.
34513 * sysdeps/ia64/elf/configure.in: Likewise.
34514 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34515 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34516 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34517 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34518 * sysdeps/sh/elf/configure.in: Likewise.
34519 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34520 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34521 * sysdeps/x86_64/elf/configure.in: Likewise.
34522 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34523 * sysdeps/mach/hurd/tls.h: Likewise.
34526 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34529 * configure.in: Fix use of AC_INIT.
34531 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34533 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34535 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34537 * malloc/hooks.c: Likewise.
34540 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34541 variables statically.
34542 (narenas): Initialize.
34543 (list_lock): Initialize.
34544 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34545 initializtion of main_arena and list_lock. Small cleanups.
34546 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34547 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34548 Add initializers to main_arena and mp_.
34549 (malloc_state): Remove pagesize member. Change all users to use
34552 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34553 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34554 is always initialized.
34556 * malloc/malloc.c: Removed unused configurations and dead code.
34557 * malloc/arena.c: Likewise.
34558 * malloc/hooks.c: Likewise.
34559 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34561 * include/tls.h: Removed. USE___THREAD must always be defined.
34562 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34563 * elf/dl-libc.c: Likewise.
34564 * elf/dl-tsd.c: Likewise.
34565 * include/errno.h: Likewise.
34566 * include/netdb.h: Likewise.
34567 * include/resolv.h: Likewise.
34568 * inet/herrno-loc.c: Likewise.
34569 * inet/herrno.c: Likewise.
34570 * malloc/arena.c: Likewise.
34571 * malloc/hooks.c: Likewise.
34572 * malloc/malloc.c: Likewise.
34573 * resolv/res-state.c: Likewise.
34574 * resolv/res_libc.c: Likewise.
34575 * sysdeps/i386/dl-machine.h: Likewise.
34576 * sysdeps/ia64/dl-machine.h: Likewise.
34577 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34578 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34579 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34580 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34581 * sysdeps/sh/dl-machine.h: Likewise.
34582 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34583 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34584 * sysdeps/unix/i386/sysdep.S: Likewise.
34585 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34586 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34587 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34590 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34591 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34595 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34596 * sysdeps/x86_64/dl-machine.h: Likewise.
34597 * tls.make.c: Likewise.
34599 * configure.in: Remove --with-__thread option. Make tests for
34600 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34601 tls_model attribute fail if no support is available. Remove
34603 * Makeconfig: Adjust for dropped configure option. All features are
34605 * Makerules: Likewise.
34606 * Versions.def: Likewise.
34607 * argp/argp-fmtstream.c: Likewise.
34608 * argp/argp-fmtstream.h: Likewise.
34609 * argp/argp-help.c: Likewise.
34610 * assert/assert.c: Likewise.
34611 * config.h.in: Likewise.
34612 * config.make.in: Likewise.
34613 * configure: Likewise.
34614 * configure.in: Likewise.
34615 * csu/Versions: Likewise.
34616 * csu/init.c: Likewise.
34617 * elf/tst-audit2.c: Likewise.
34618 * elf/tst-tls10.c: Likewise.
34619 * elf/tst-tls10.h: Likewise.
34620 * elf/tst-tls11.c: Likewise.
34621 * elf/tst-tls12.c: Likewise.
34622 * elf/tst-tls14.c: Likewise.
34623 * elf/tst-tlsmod11.c: Likewise.
34624 * elf/tst-tlsmod12.c: Likewise.
34625 * elf/tst-tlsmod13.c: Likewise.
34626 * elf/tst-tlsmod13a.c: Likewise.
34627 * elf/tst-tlsmod14a.c: Likewise.
34628 * elf/tst-tlsmod15b.c: Likewise.
34629 * elf/tst-tlsmod16a.c: Likewise.
34630 * elf/tst-tlsmod16b.c: Likewise.
34631 * elf/tst-tlsmod7.c: Likewise.
34632 * elf/tst-tlsmod8.c: Likewise.
34633 * elf/tst-tlsmod9.c: Likewise.
34634 * gmon/gmon.c: Likewise.
34635 * grp/fgetgrent_r.c: Likewise.
34636 * grp/putgrent.c: Likewise.
34637 * hurd/fopenport.c: Likewise.
34638 * include/libc-symbols.h: Likewise.
34639 * include/tls.h: Likewise.
34640 * intl/gettextP.h: Likewise.
34641 * intl/loadinfo.h: Likewise.
34642 * locale/global-locale.c: Likewise.
34643 * locale/localeinfo.h: Likewise.
34644 * mach/devstream.c: Likewise.
34645 * malloc/arena.c: Likewise.
34646 * malloc/set-freeres.c: Likewise.
34647 * misc/err.c: Likewise.
34648 * misc/getttyent.c: Likewise.
34649 * misc/mntent_r.c: Likewise.
34650 * posix/getopt.c: Likewise.
34651 * posix/wordexp.c: Likewise.
34652 * pwd/fgetpwent_r.c: Likewise.
34653 * resolv/Versions: Likewise.
34654 * resolv/res_hconf.c: Likewise.
34655 * shadow/fgetspent_r.c: Likewise.
34656 * shadow/putspent.c: Likewise.
34657 * stdio-common/printf_fphex.c: Likewise.
34658 * stdio-common/tmpfile.c: Likewise.
34659 * stdlib/abort.c: Likewise.
34660 * stdlib/fmtmsg.c: Likewise.
34661 * sunrpc/auth_unix.c: Likewise.
34662 * sunrpc/clnt_perr.c: Likewise.
34663 * sunrpc/clnt_tcp.c: Likewise.
34664 * sunrpc/clnt_udp.c: Likewise.
34665 * sunrpc/clnt_unix.c: Likewise.
34666 * sunrpc/openchild.c: Likewise.
34667 * sunrpc/svc_simple.c: Likewise.
34668 * sunrpc/svc_tcp.c: Likewise.
34669 * sunrpc/svc_udp.c: Likewise.
34670 * sunrpc/svc_unix.c: Likewise.
34671 * sunrpc/xdr.c: Likewise.
34672 * sunrpc/xdr_array.c: Likewise.
34673 * sunrpc/xdr_rec.c: Likewise.
34674 * sunrpc/xdr_ref.c: Likewise.
34675 * sunrpc/xdr_stdio.c: Likewise.
34677 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34679 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34681 2011-07-03 Andreas Jaeger <aj@suse.de>
34683 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34684 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34685 regenerate with gen-libm-tests.pl.
34687 2010-05-12 Petr Baudis <pasky@suse.cz>
34690 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34691 around j0() zero points by switching to j1().
34692 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34693 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34694 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34695 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34697 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34699 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34701 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34704 Patch in part by Pavel Roskin <proski@gnu.org>.
34707 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34709 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34710 Free memory block if necessary.
34713 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34714 be NULL. Don't lock in this case.
34716 2011-09-09 Roland McGrath <roland@hack.frob.com>
34718 * elf/elf.h (ELFOSABI_GNU): New macro.
34719 (ELFOSABI_LINUX): Define to that.
34721 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34723 * string/strncat.c (strncat): Undef the symbol in case it has been
34724 defined in bits/string.h.
34726 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34728 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34730 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34733 2011-08-17 Andreas Jaeger <aj@suse.de>
34735 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34737 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34738 Ian Lance Taylor <iant@google.com>
34740 * math/libm-test.inc (lround_test): New testcase.
34741 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34743 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34745 * Makefile: Remove support for automatic cvs check-ins.
34746 * Makerules: Likewise.
34747 * config.make.in: Likewise.
34748 * configure.in: Likewise.
34749 * intl/Makefile: Likewise.
34750 * locale/Makefile: Likewise.
34751 * po/Makefile: Likewise.
34752 * posix/Makefile: Likewise.
34753 * sysdeps/gnu/Makefile: Likewise.
34754 * sysdeps/mach/hurd/Makefile: Likewise.
34755 * sysdeps/sparc/sparc32/Makefile: Likewise.
34758 * posix/Makefile (bug-regex32-ENV): Define.
34759 Patch by John Stanley <jpsinthemix@verizon.net>.
34761 * misc/Makefile (headers): Add bits/select2.h.
34762 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34763 * misc/bits/select2.h: New file.
34764 * include/bits/select2.h: New file.
34765 * debug/Makefile (routines): Add fdelt_chk.
34766 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34767 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34769 * debug/fdelt_chk.c: New file.
34771 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34772 * wcsmbs/test-wmemcmp.c: Likewise.
34773 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34774 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34776 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34778 * string/Makefile (strop-tests): Add memcmp.
34779 * string/test-wmemcmp.c: New file.
34780 * string/test-memcmp.c: Add wmemcmp support.
34782 2011-09-08 Roland McGrath <roland@hack.frob.com>
34785 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34788 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34789 garbage value in a __mach_port_mod_refs call in the cases of the
34790 task-self and thread-self ports.
34792 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34794 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34796 2011-09-08 Andreas Schwab <schwab@redhat.com>
34798 * elf/dl-load.c (lose): Check for non-null L.
34800 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34802 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34804 * elf/dl-libc.c (dlerror_run): Pass back error code from
34808 * elf/dl-load.c (lose): Free l_origin if it is valid.
34810 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34812 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34813 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34814 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34815 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34816 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34817 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34819 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34821 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34822 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34823 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34824 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34825 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34826 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34827 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34828 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34829 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34830 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34832 2011-08-15 Alan Modra <amodra@gmail.com>
34835 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34836 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34837 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34838 ppc_mcount to static-only-routines.
34839 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34841 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34842 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34844 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34846 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34847 for finite and infinity parameters.
34849 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34851 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34852 and add nop instructions for throughput optimization.
34853 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34855 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34857 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34858 aligned copy for power7 with vector-scalar instructions.
34859 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34861 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34863 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34866 2011-09-07 Andreas Schwab <schwab@redhat.com>
34869 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34872 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34874 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34875 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34876 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34877 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34880 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34882 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34883 Forgot to demangle the pointer.
34885 * sysdeps/i386/sysdep.h: Define atom_text_section.
34886 * sysdeps/x86_64/sysdep.h: Likewise.
34887 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34888 section with atom_text_section.
34889 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34890 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34891 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34892 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34893 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34895 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34896 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34897 already be defined. Change to take two parameters and don't assign
34898 result to variable. Adjust all users.
34899 Define INTERNAL_GETTIME if not already defined.
34900 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34903 HAVE_CLOCK_GETTIME_VSYSCALL.
34904 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34906 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34907 gettimeofday vsyscall, just use time.
34909 2011-09-06 Andreas Schwab <schwab@redhat.com>
34911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34914 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34916 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34920 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34921 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34922 syscall if possible.
34924 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34926 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34927 e_ident. Don't pass to find_mapsXX.
34928 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34930 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34933 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34934 * sysdeps/x86_64/multiarch/strchr.S: Update.
34935 Check bit_slow_BSF bit.
34936 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34937 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34938 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34940 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34943 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34945 (tryshell): Define.
34946 (__spawni): Change last parameter to be flag. Test
34947 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34948 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34949 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34950 * posix/spawni.c: Likewise.
34951 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34952 * posix/spawnp.c: Likewise. Change normal version to use
34953 SPAWN_XFLAGS_USE_PATH.
34954 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34955 SPAWN_XFLAGS_TRY_SHELL.
34958 * posix/glob.h: Remove gcc 1.x support.
34961 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34963 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34965 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34966 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34968 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34969 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34970 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34971 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34972 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34973 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34975 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34977 * sysdeps/x86_64/wcscmp.S: New file.
34979 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34980 wcscmp-c wcscmp-sse2
34981 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34982 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34983 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34984 * wcsmbs/wcscmp.c: Allow renaming.
34986 2011-09-05 David S. Miller <davem@davemloft.net>
34988 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34989 stack slot, rather than the struct return pointer slot.
34990 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34991 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34993 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34995 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34997 * po/ja.po: Update from translation team.
35000 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35001 kernel in 64-bit binaries.
35003 2011-09-01 David S. Miller <davem@davemloft.net>
35005 * elf/elf.h (HWCAP_SPARC_*): Move to..
35006 * sysdeps/sparc/sysdep.h: this new file and add new values.
35007 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35008 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35009 _DL_HWCAP_COUNT to 24.
35010 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35012 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35013 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35014 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35015 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35016 instead of magic constants.
35017 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35019 2011-08-31 David S. Miller <davem@davemloft.net>
35021 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35022 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35023 Reimplement to do errno handling inline.
35024 (SYSCALL_ERROR_HANDLER): New macro.
35025 (__SYSCALL_STRING): Do not do errno handling in asm.
35026 (__CLONE_SYSCALL_STRING): Delete.
35027 (__INTERNAL_SYSCALL_STRING): Delete.
35028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35029 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35030 (PSEUDO): Reimplement to do errno handling inline.
35031 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35032 (SYSCALL_ERROR_HANDLER): New macro.
35033 (__SYSCALL_STRING): Do not do errno handling in asm.
35034 (__CLONE_SYSCALL_STRING): Delete.
35035 (__INTERNAL_SYSCALL_STRING): Delete.
35036 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35037 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35039 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35040 (inline_syscall*): Add 'err' argument.
35041 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35042 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35043 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35044 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35046 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35047 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35049 2011-08-30 Andreas Schwab <schwab@redhat.com>
35051 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35053 2011-08-29 Jiri Olsa <jolsa@redhat.com>
35055 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35058 2011-08-24 David S. Miller <davem@davemloft.net>
35060 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35062 2011-08-24 Andreas Schwab <schwab@redhat.com>
35064 * elf/Makefile: Add rules to build and run unload8 test.
35065 * elf/unload8.c: New file.
35066 * elf/unload8mod1.c: New file.
35067 * elf/unload8mod1x.c: New file.
35068 * elf/unload8mod2.c: New file.
35069 * elf/unload8mod3.c: New file.
35071 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35074 2011-08-23 David S. Miller <davem@davemloft.net>
35076 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35077 subtract stack bias.
35078 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35079 %sp not %fp in calculations.
35080 (_JMPBUF_UNWINDS_ADJ): Likewise.
35082 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35083 (aio_suspend): Call it to force an exception region around the
35084 AIO_MISC_WAIT() invocation.
35086 2011-08-23 Andreas Schwab <schwab@redhat.com>
35088 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35091 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35093 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35095 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35096 and <dl-machine.h>.
35097 (Elf64_FuncDesc): Remove.
35099 2011-08-22 David S. Miller <davem@davemloft.net>
35101 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35102 sigaltstack check, add missing cfi directives.
35103 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35104 missing cfi directives, and sigaltstack handling.
35106 2011-08-16 Andreas Schwab <schwab@redhat.com>
35109 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35110 object is seen twice.
35111 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35113 * elf/Makefile (distribute): Add tst-initorder2.c.
35114 (tests): Add tst-initorder2.
35115 (modules-names): Add tst-initorder2a tst-initorder2b
35116 tst-initorder2c tst-initorder2d. Add rules to build them.
35117 ($(objpfx)tst-initorder2.out): New rule.
35118 * elf/tst-initorder2.c: New file.
35119 * elf/tst-initorder2.exp: New file.
35121 2011-08-22 Andreas Schwab <schwab@redhat.com>
35123 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35125 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35126 dependencies back to end of function.
35128 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35129 $(elfobjdir)/ld.so.
35131 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35134 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35136 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35137 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35138 of __vdso_gettimeofday.
35139 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35140 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35142 (_libc_vdso_platform_setup): Remove initialization of
35143 __vdso_gettimeofday and __vdso_time.
35145 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35147 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35148 and fgetc_unlocked.
35149 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35152 * elf/dl-open.c (add_to_global): Report additions to the global scope
35153 for LD_DEBUG=scopes.
35154 (dl_open_worker): Also print scope of newly loaded dependencies.
35155 (_dl_show_scope): Indicate if there is no scope.
35158 * stdio-common/Makefile (tests): Add bug24.
35159 * stdio-common/bug24.c: New file.
35161 2011-08-19 Andreas Jaeger <aj@suse.de>
35164 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35165 non-existant file when using close-on-exec mode.
35167 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35170 the very first instruction.
35172 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35173 the CFI state in the end.
35174 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35175 inclusion of dl-trampoline.h.
35176 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35178 2011-08-19 Andreas Schwab <schwab@redhat.com>
35180 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35181 expectations for long double.
35183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35184 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35186 2011-08-14 David S. Miller <davem@davemloft.net>
35188 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35189 artificual limit depends upon the system page size.
35191 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35193 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35194 * resolv/Makefile: Define CFLAGS-libresolv.
35196 2011-08-17 Andreas Schwab <schwab@redhat.com>
35198 * nss/makedb.c (compute_tables): Make variables used in nested
35201 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35203 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35204 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35205 if buffer was too small.
35207 * elf/pldd.c (main): Attach to all threads in the process.
35208 Rewrite /proc handling to use *at functions.
35210 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35212 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35213 specifies first scope to show.
35214 (dl_open_worker): Update callers. Move printing scope of new
35215 object to before the relocation.
35216 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35217 * sysdeps/generic/ldsodefs.h: Update declaration.
35219 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35220 string for the scope number.
35222 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35224 * nscd/servicescache.c (cache_addserv): Make sure written is always
35227 2011-08-14 Roland McGrath <roland@hack.frob.com>
35229 * sysdeps/i386/i486/bits/atomic.h
35230 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35231 statement expression, so as to suppress "set but not used" warning.
35232 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35234 * string/strncat.c (STRNCAT): Use prototype definition.
35236 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35237 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35239 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35240 (localedef-modules): Add localedef.
35241 (locale-modules): Add locale.
35243 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35244 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35245 to avoid a warning.
35247 2011-08-14 David S. Miller <davem@davemloft.net>
35249 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35250 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35252 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35254 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35255 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35256 * elf/rtld.c (dl_main): Set l_name of vDSO.
35257 Call _dl_show_scope when DL_DEBUG_SCOPES.
35258 (process_dl_debug): Recognize scopes flag and also set it for all.
35259 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35260 Declare _dl_show_scope.
35262 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35263 (do_dlopen): Pass caller_dlopen to dl_open.
35264 (__libc_dlopen_mode): Initialize caller_dlopen.
35266 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35267 of libc. Make tolower call locale-independent. Optimize a bit by
35268 using isdigit instead of isalnum.
35269 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35271 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35273 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35274 was a dependency or dynamically loaded.
35276 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35278 * intl/l10nflist.c: Allow architecture-specific pop function.
35279 * sysdeps/x86_64/l10nflist.c: New file.
35281 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35284 2011-08-10 Andreas Schwab <schwab@redhat.com>
35286 * include/dirent.h: Add libc_hidden_proto for scandirat and
35287 scandirat64. Don't declare __scandirat64.
35288 * dirent/scandirat.c: Add libc_hidden_def.
35289 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35290 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35292 2011-08-10 David S. Miller <davem@davemloft.net>
35294 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35296 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35297 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35298 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35300 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35302 * Versions.def [libc]: Add GLIBC_2.15.
35303 * dirent/Makefile (routines): Add scandirat and scandirat64.
35304 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35306 * dirent/dirent.h: Declare scandirat and scandirat64.
35307 * dirent/scandirat.c: New file.
35308 * dirent/scandirat64.c: New file.
35309 * sysdeps/wordsize-64/scandirat.c: New file.
35310 * sysdeps/wordsize-64/scandirat64.c: New file.
35311 * dirent/opendir.c: Define opendirat.
35312 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35314 * dirent/scandir64.c: Adjust for scandir.c change.
35315 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35316 __scandirat64, and __scandir_cancel_handler.
35317 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35318 additional parameter and use openat instead of open (outside of ld.so).
35319 Add new __opendir as wrapper around __opendirat.
35320 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35321 here without requiring old scandirat implementation.
35323 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35325 * dirent/scandir.c (cancel_handler): Renamed to
35326 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35327 defined. Adjust users.
35328 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35329 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35331 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35333 * string/test-string.h (IMPL): Use __STRING to expand name and then
35336 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35339 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35341 * string/Makefile: Update.
35342 (strop-tests): Append strncat.
35343 * string/test-wcscmp.c: New file.
35344 New comprehensive test for wcscmp.
35345 * string/test-strcmp.c: Update.
35346 (WIDE): New define.
35348 2011-07-22 Andreas Schwab <schwab@redhat.com>
35350 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35353 2011-07-26 Andreas Schwab <schwab@redhat.com>
35355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35356 encoding to ACE if AI_IDN.
35358 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35361 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35363 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35365 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35366 Fix overflow bug in strncat.
35367 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35369 * string/test-strncat.c: Update.
35370 Add new tests for checking overflow bugs.
35372 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35375 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35376 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35377 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35378 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35379 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35380 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35381 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35382 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35384 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35385 (USE_AS_STRCAT): Define.
35386 Add strcat and strncat support.
35387 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35389 2011-07-25 Andreas Schwab <schwab@redhat.com>
35391 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35392 __n bigger than INT_MAX+1.
35393 (__strncmp_g): Likewise.
35395 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35397 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35398 * libio/stido.h: Likewise.
35400 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35405 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35406 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35407 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35408 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35409 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35412 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35415 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35417 (_dl_x86_64_save_sse): Likewise.
35419 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35421 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35423 (_dl_x86_64_save_sse): Likewise.
35425 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35427 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35429 2011-07-21 Andreas Schwab <schwab@redhat.com>
35431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35433 (_dl_x86_64_save_sse): Use correct AVX check.
35435 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35437 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35438 bug in strncpy/strncat.
35439 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35441 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35443 * string/tester.c (test_strcat): Add tests for different alignments
35444 of source and destination.
35445 (test_strncat): Likewise.
35447 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35450 * posix/glob.c (glob): Check passed in values before using them in
35451 expressions to avoid some overflows.
35452 (glob_in_dir): Likewise.
35455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35456 check for AVX enablement so that we don't crash with old kernels and
35458 * elf/tst-audit4.c: Add same checks here.
35459 * elf/tst-audit6.c: Likewise.
35461 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35463 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35465 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35467 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35469 * po/cs.po: Update from translation team.
35470 * po/bg.po: Likewise.
35472 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35474 * misc/sys/cdefs.h: Add support for const attribute.
35475 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35476 to gnu_dev_{major,minor,makedev} functions.
35478 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35480 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35482 2011-07-20 Andreas Schwab <schwab@redhat.com>
35484 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35487 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35489 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35490 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35491 register in order to avoid conflicts with the soft frame pointer
35492 being held in r11 when necessary.
35493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35494 (INTERNAL_VSYSCALL_NCS): Likewise.
35496 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35498 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35499 * elf/dl-fini.c (_dl_fini): Adjust caller.
35500 * elf/dl-close.c (_dl_close_worker): Likewise.
35501 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35503 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35505 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35506 "aux_cache->nlibs < 0".
35508 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35509 in the reload-count case.
35511 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35514 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35515 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35516 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35517 * sysdeps/x86_64/multiarch/strcat.S: New file.
35518 * sysdeps/x86_64/multiarch/strncat.S: New file.
35519 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35520 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35521 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35522 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35523 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35524 (USE_AS_STRCAT): Define.
35525 Add strcat and strncat support.
35526 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35527 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35528 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35529 * string/strncat.c: Update.
35530 (USE_AS_STRNCAT): Define.
35531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35532 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35534 * sysdeps/x86_64/multiarch/init-arch.h
35535 (bit_Prefer_PMINUB_for_stringop): New.
35536 (index_Prefer_PMINUB_for_stringop): Likewise.
35537 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35538 bit_Prefer_PMINUB_for_stringop.
35540 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35542 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35544 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35545 of casting of buffer.
35546 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35547 buffer32 and buffer64.
35548 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35549 writes instead of casting of buffer.
35550 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35552 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35555 2011-07-19 Andreas Schwab <schwab@redhat.com>
35557 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35559 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35561 * nscd/nscd.c (termination_handler): Don't do anything for a database
35562 if it has not yet been initialized.
35564 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35566 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35568 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35570 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35572 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35574 * po/nl.po: Update from translation team.
35575 * po/sv.po: Likewise.
35577 2011-07-16 Roland McGrath <roland@hack.frob.com>
35579 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35580 now disallowed by GCC.
35582 * configure.in (use-default-link): Default to yes if a test -shared
35583 link meets our qualifications.
35584 * configure: Regenerated.
35586 * config.make.in (output-format): New variable.
35587 * configure.in: Check for ld --print-output-format support.
35588 * configure: Regenerated.
35589 * Makerules ($(common-objpfx)format.lds)
35590 [$(output-format) != unknown]: Just use $(output-format),
35591 instead of the linker-script munging.
35593 2011-07-14 Roland McGrath <roland@hack.frob.com>
35595 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35596 of $(common-objpfx)shlib.lds.
35597 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35599 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35600 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35602 * configure.in (-z relro check): Adjust test code to add a large
35603 writable data section after it.
35604 * configure: Regenerated.
35606 2011-07-11 Roland McGrath <roland@hack.frob.com>
35608 * configure.in (-z relro check): Fix test code to make the variable
35610 * configure: Regenerated.
35612 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35614 * nscd/nscd.h (struct traced_file): Define.
35615 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35616 elements. Add traced_files.
35617 (inotify_fd): Declare.
35618 (register_traced_file): Declare.
35619 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35620 (inotify_fd): Export.
35621 (resolv_conf_descr): Remove.
35622 (nscd_init): Move inotify descriptor creation to main.
35623 Don't register files for notification here.
35624 (register_traced_file): New function.
35625 (invalidate_cache): Don't use reset_res to determine whether to call
35626 res_init, go through the list of registered files.
35627 (main_loop_poll): The inotify descriptors are now stored in the
35628 structures for the traced files.
35629 (main_loop_epoll): Likewise
35630 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35631 to __nss_disable_nscd.
35632 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35633 for a database anymore. Check the records for all the registered
35635 * nss/Makefile (libnss_files-routines): Add files-init.
35636 (libnss_db-routines): Add db-init.
35637 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35638 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35639 * nss/nss_db/db-init.c: New file.
35640 * nss/nss_files/files-init.c: New file.
35641 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35642 __nss_lookup_function.
35643 (__nss_lookup_function): Call nss_load_library.
35644 (nss_load_all_libraries): New function.
35645 (__nss_disable_nscd): Take parameter with callback function for files
35646 to register. Set is_nscd. Load all the DSOs for the NSS modules
35647 used for the cached services.
35648 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35649 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35650 options for features to all the files in nscd.
35652 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35654 2011-07-10 Roland McGrath <roland@hack.frob.com>
35656 * csu/elf-init.c (__libc_csu_init): Comment typo.
35658 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35660 * po/pl.po: Update from translation team.
35661 * po/ja.po: Likewise.
35662 * po/ru.po: Likewise.
35663 * po/ko.po: Likewise.
35664 * po/fr.po: Likewise.
35666 2011-07-09 Roland McGrath <roland@hack.frob.com>
35668 * configure.in (.ctors/.dtors header and trailer check):
35669 Use an empirical test on a built program.
35670 * configure: Regenerated.
35672 * configure.in (-z relro check): Use an empirical test on a built DSO.
35673 Detect, but do not require, on ia64.
35674 * configure: Regenerated.
35676 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35677 Update tests that use readelf to use $READELF instead.
35678 * configure: Regenerated.
35680 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35682 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35683 if the result is not used.
35685 2011-07-05 Andreas Jaeger <aj@suse.de>
35688 * stdlib/tst-strtod.c: Add testcase.
35690 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35692 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35693 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35694 The latter has a higher limit. Take additional parameter to pass to
35696 (__pathconf): Pass file to __statfs_link_max.
35697 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35699 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35703 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35704 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35706 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35707 (__statfs_filesize_max): Likewise.
35708 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35710 2011-07-05 Andreas Jaeger <aj@suse.de>
35712 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35714 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35716 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35718 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35721 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35723 * Makefile (strop-tests): Add strncat.
35724 * string/test-strncat.c: New file.
35726 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35728 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35730 2011-06-21 Andreas Jaeger <aj@suse.de>
35732 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35733 Copy rule from iconvdata/Makefile.
35735 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35738 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35739 but no long options are defined, just return 'W'.
35741 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35744 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35746 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35748 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35750 (innetgr): Likewise.
35752 2011-07-05 Roland McGrath <roland@hack.frob.com>
35754 * config.make.in (install_root): Default to $(DESTDIR).
35756 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35758 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35760 2011-07-02 Roland McGrath <roland@hack.frob.com>
35762 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35764 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35765 containing directory rather than embedding absolute directory names.
35767 * scripts/check-local-headers.sh: Rewritten using awk.
35768 Match by word, not by line. Print error messages for matches.
35769 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35771 * Makerules [shlib-lds-flags empty]:
35772 ($(common-objpfx)libc_pic.opts): New target.
35773 ($(common-objpfx)libc_pic.os.clean): New target.
35774 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35776 * config.make.in (OBJCOPY): New variable.
35777 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35778 * configure: Regenerated.
35780 * config.make.in (use-default-link): New variable.
35781 * configure.in (use_default_link): Grok --with-default-link to set it.
35782 * configure: Regenerated.
35783 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35784 (shlib-lds, shlib-lds-flags): Define to empty.
35786 * Makerules (shlib-lds): New variable.
35787 (shlib-lds-flags): New variable.
35788 (build-shlib, build-moduile, build-module-asneeded): Use it.
35789 ($(common-objpfx)libc.so): Use $(shlib-lds).
35790 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35791 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35793 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35794 DT_FLAGS/DT_FLAGS_1 with zero flags.
35796 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35797 linker script munging.
35799 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35801 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35803 * crypt/sha512.c (sha512_process_block): Perform total addition using
35804 128-bit if possible.
35805 (__sha512_finish_ctx): Likewise.
35806 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35808 * crypt/sha256.c (SWAP64): Define.
35809 (sha256_process_block): Perform total addition using 64-bit if
35811 (__sha256_finish_ctx): Likewise.
35813 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35815 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35817 * nscd/hstcache.c (cache_addhst): Likewise.
35818 * nscd/grpcache.c (cache_addgr): Likewise.
35819 * nscd/aicache.c (addhstaiX): Likewise
35820 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35822 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35824 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35825 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35826 * nscd/hstcache.c (cache_addhst): Likewise.
35827 * nscd/grpcache.c (cache_addgr): Likewise.
35828 * nscd/aicache.c (addhstaiX): Likewise
35830 2011-07-01 Andreas Schwab <schwab@redhat.com>
35832 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35833 domain only when needed.
35835 2011-06-30 Andreas Schwab <schwab@redhat.com>
35837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35838 is always restored.
35840 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35842 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35843 are re-adding the entry.
35844 * nscd/servicescache.c (cache_addserv): Likewise.
35846 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35848 * sysdeps/generic/dl-irel.h: fix protection against multiple
35850 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35852 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35855 * malloc/memusage.sh: Fix quoting in message.
35856 * debug/xtrace.sh: Likewise.
35858 * configure.in: Remove support for --experimental-malloc option, make
35860 * config.make.in: Likewise.
35861 * malloc/Makefile: Likewise.
35863 2011-06-27 Andreas Schwab <schwab@redhat.com>
35865 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35866 two-byte characters.
35868 2011-06-27 Roland McGrath <roland@hack.frob.com>
35870 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35871 AC_CACHE_CHECK invocation.
35872 * configure: Regenerated.
35874 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35876 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35879 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35880 bit from old_res_options.
35882 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35884 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35885 value type for setfct.
35887 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35889 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35890 __gettimeofday instead of gettimeofday.
35892 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35894 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35896 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35898 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35903 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35906 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35907 strcpy-sse2-unaligned strncpy-sse2-unaligned
35908 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35909 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35910 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35911 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35912 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35913 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35914 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35915 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35916 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35917 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35918 (STRCPY): Support SSE2 and SSSE3 versions.
35920 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35923 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35924 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35925 kernels which artificially limit size of requests.
35927 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35930 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35931 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35932 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35933 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35934 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35935 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35936 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35937 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35938 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35939 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35940 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35941 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35942 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35943 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35945 Enable unaligned load optimization for Intel Core i3, i5 and i7
35947 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35949 (index_Fast_Unaligned_Load): Define.
35950 (HAS_FAST_UNALIGNED_LOAD): Define.
35952 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35954 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35956 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35959 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35960 until it is clear that the information is realy needed.
35961 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35963 2011-06-22 Andreas Schwab <schwab@redhat.com>
35965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35967 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35969 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35970 /sys/devices/system/cpu/online if it is usable.
35972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35973 reading the information from the /proc filesystem to once a second.
35975 2011-06-21 Andreas Jaeger <aj@suse.de>
35977 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35978 NULL after inclusion of kernel headers.
35980 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35982 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35983 calls to internal_setent.
35986 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35987 addresses using gethostbyname4_r ignore IPv4 addresses.
35989 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35990 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35992 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35994 2011-06-20 David S. Miller <davem@davemloft.net>
35996 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35998 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36000 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36001 (elf_irel): Use it.
36002 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36003 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36004 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36005 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36006 * sysdeps/x86_64/dl-irel.h: Likewise.
36008 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36009 * elf/dl-sym.c: Likewise.
36011 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36013 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36014 need to dereference resplen2.
36016 2011-06-14 Andreas Schwab <schwab@redhat.com>
36018 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36020 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36022 * Makeconfig: Define vardbdir and inst_vardbdir.
36023 * nss/Makefile: Add rules to install db-Makefile.
36025 * nss/nss_db/db-XXX.c: Cleanup.
36027 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36028 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36030 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36031 * nss/makedb.c: Implement -g option to specify that value strings
36032 are generated and should not be added to table iterated over for
36034 * nss/nss_db/db-initgroups.c: New file.
36036 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36039 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36040 (internal_getgrouplist): Adjust to name change.
36041 Update use_initgroups_entry if this is not the first call.
36042 * nss/databases.def: Add initgroups entry.
36044 * nss/makedb.c (compute_tables): Check result of multiple hash table
36045 sizes to minimize maximum chain length.
36047 2011-06-14 Ulrich Drepper <drepper@gmail.com>
36049 * Versions.def: Add entry for libnss_db.
36050 * shlib-versions: Likewise.
36051 * nss/Makefile: Add rules to build libnss_db.
36052 * nss/Versions: Add libnss_db information. Organize libnss_files
36054 * nss/db-Makefile: Add gshadow support. Change rules for the new
36055 makedb progra. Some minor improvements to generate smaller files.
36056 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36058 * nss/makedb.c: ...here.
36059 Improve database format to be smaller and require less memory at
36061 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36063 * nss/nss_db/db-netgrp.c: Likewise.
36064 * nss/nss_db/db-open.c: Likewise.
36065 * nss/nss_files/flies-XXX.x: Adjust comments.
36066 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36067 * nss/nss_files/files-grp.c: Likewise.
36068 * nss/nss_files/files-hosts.c: Likewise.
36069 * nss/nss_files/files-network.c: Likewise.
36070 * nss/nss_files/files-proto.c: Likewise.
36071 * nss/nss_files/files-pwd.c: Likewise.
36072 * nss/nss_files/files-rpc.c: Likewise.
36073 * nss/nss_files/files-service.c: Likewise.
36074 * nss/nss_files/files-sgrp.c: Likewise.
36075 * nss/nss_files/files-spwd.c: Likewise.
36076 * nss/nss_db/db-alias.c: Removed.
36077 * nss/nss_db/dummy-db.h: Removed.
36079 2011-06-02 Ulrich Drepper <drepper@gmail.com>
36081 * nss/makedb.c: Rewritten to not use database library.
36082 * nss/Makefile: Update to build new makedb program.
36084 2011-06-14 Andreas Jaeger <aj@suse.de>
36086 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36087 memset declaration.
36089 2011-06-10 Andreas Schwab <schwab@redhat.com>
36091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36094 2011-06-10 Roland McGrath <roland@hack.frob.com>
36096 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36097 * elf/Makefile ($(objpfx)ld.so): Likewise.
36099 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36100 Don't list ld.so twice in dependencies.
36102 * posix/bug-regex31.c: Include <stdlib.h>.
36104 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36106 * nis/nss_compat/compat-spwd.c
36107 (getspent_next_nss_netgr): Remove unused variable.
36108 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36110 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36111 nonmembers" output to use the right array.
36113 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36115 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36117 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36118 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36119 * catgets/gencat.c (read_input_file): Likewise.
36120 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36122 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36123 variable definition inside #if's controlling its use.
36125 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36127 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36129 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36131 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36134 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36136 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36137 * configure: Regenerated.
36139 * Makerules: Revert last change.
36140 * elf/Makefile: Likewise.
36142 2011-06-09 Roland McGrath <roland@hack.frob.com>
36144 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36145 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36146 (reloc-link): Likewise.
36148 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36150 * elf/Makefile: Add rules to build pldd.
36151 * elf/pldd.c: New file.
36152 * elf/pldd-xx.c: New file.
36154 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36156 * version.h: Update for 2.15 development version.
36158 2011-06-07 David S. Miller <davem@davemloft.net>
36160 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36162 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36163 elf_machine_lazy_rel): Likewise.
36164 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36165 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36166 elf_machine_lazy_rel): Likewise.
36167 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36168 dl_hwcap via passed in argument.
36169 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36172 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36174 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36176 2011-06-06 Roland McGrath <roland@hack.frob.com>
36179 * manual/fdl-1.1.texi: New file, verbatim from:
36180 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36181 * manual/lgpl-2.1.texi: New file, verbatim from:
36182 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36183 * manual/Makefile (licenses): New variable, list those new file names.
36185 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36187 * manual/fdl.texi: File removed.
36188 * manual/lesser.texi: File removed.
36189 * manual/libc.texinfo (Copying, Documentation License):
36190 Use new @include file names, put @appendix directive before @include.
36192 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36195 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36196 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36197 (mq_open): Add __NTH.
36199 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36202 Assume Intel Core i3/i5/i7 processor if AVX is available.
36204 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36209 2011-05-31 Andreas Schwab <schwab@redhat.com>
36211 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36212 memory. Use alloca_account. Fix memory leak when retrying.
36214 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36216 * version.h (RELEASE): Bump for 2.14 release.
36217 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36219 * config.make.in (RANLIB): Remove entry.
36221 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36223 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36224 (libc.pot): Work around missing support for .ksh extension in xgettext.
36227 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36228 if both request failed.
36229 (send_dg): In case of server errors clear resplen or *resplen2.
36232 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36233 when there are multiple maps.
36234 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36235 (_dl_fini): Remove test here.
36237 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36239 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36242 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36243 bit from old_res_options.
36244 (gaih_inet): Likewise.
36247 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36250 * resolv/res_init.c (res_setoptions): Make the code more compact.
36253 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36257 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36259 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36262 * malloc/malloc.h: Declare malloc hook variables as volatile.
36264 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36268 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36269 raise in the comment.
36270 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36271 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36272 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36274 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36277 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36278 grow the buffers more if it already has to be sufficient.
36279 (build_wcs_upper_buffer): Likewise.
36280 * posix/regexec.c (check_matching): Likewise.
36281 (clean_state_log_if_needed): Likewise.
36282 (extend_buffers): Don't enlarge buffers beyond size of the input
36284 Patches mostly by Emil Wojak <emil@wojak.eu>.
36285 * posix/bug-regex32.c: New file.
36286 * posix/Makefile (tests): Add bug-regex32.
36288 * locale/findlocale.c (_nl_find_locale): Return right away if
36289 _nl_explode_name failed.
36290 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36292 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36294 * debug/xtrace.sh: Unify messages.
36295 * malloc/memusage.sh: Likewise.
36298 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36299 time symbol from vDSO. Substitute with vsyscall if not available.
36300 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36303 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36304 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36305 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36306 Add sendmmsg and internal_sendmmsg.
36307 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36308 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36309 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36311 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36312 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36313 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36315 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36318 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36319 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36321 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36325 * iconvdata/Makefile (tests): Add bug-iconv9.
36326 * iconvdata/bug-iconv9.c: New file.
36328 2011-05-27 Andreas Schwab <schwab@redhat.com>
36331 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36333 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36336 (struct user_regs_struct): Change intcs field back to cs.
36338 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36340 * po/ja.po: Update from translation team.
36342 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36345 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36346 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36348 2011-05-20 Andreas Schwab <schwab@redhat.com>
36350 * stdlib/longlong.h: Update from GCC.
36352 2011-05-23 Andreas Schwab <schwab@redhat.com>
36354 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36356 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36357 Add parameter name.
36358 (__sysconf): Pass it down.
36360 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36363 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36365 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36366 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36367 add in in __libc_use_alloca calls. Adjust callers.
36368 (glob): Use malloc in some situations.
36370 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36371 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36374 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36376 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36377 and CLOCK_BOOTTIME_ALARM.
36380 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36383 * string/_strerror.c (__strerror_r): Print negative errors as signed
36387 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36388 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36389 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36391 * configure.in: Fix typo in redirection and correct removal of test
36392 files in two cases.
36395 * locale/setlocale.c (new_composite_name): Fix test to check for
36396 identical name of all categories.
36399 * libio/filedoalloc.c (local_isatty): New function.
36400 (_IO_file_doallocate): Use local_isatty.
36401 * stdio-common/perror.c (perror): In case a new stream is used
36402 forward the stream error.
36403 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36406 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36411 * include/alloca.h (extend_alloca_account): Define.
36414 * posix/regex.h: Fix comments with documentation of user-accessible
36415 fields after compilation and describe correct free'ing of pattern
36416 after re_compile_pattern.
36417 Patch by Reuben Thomas <rrt@sc3d.org>.
36419 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36421 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36422 and -mno-altivec to prevent the compiler from using Altivec and/or
36423 VSX instructions when the corresponding registers are not available.
36425 2011-05-19 Andreas Schwab <schwab@redhat.com>
36427 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36429 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36431 * libio/freopen.c (freopen): Use __dup2, not dup2.
36432 * libio/freopen64.c (freopen64): Likewise.
36434 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36437 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36438 * math/Makefile (tests): Add test-powl.
36439 (CFLAGS-test-powl.c): Define.
36440 * math/test-powl.c: New file.
36442 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36444 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36446 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36449 * iconvdata/gb18030.c: Update to GB18020-2005.
36451 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36453 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36454 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36455 Patch by Aharon Robbins <arnold@skeeve.com>.
36458 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36462 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36463 through underflows.
36466 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36467 point to strings before performing equality test for error_one_per_line
36471 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36474 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36475 (struct user_fpregs_struct): Avoid __uint*_t types.
36478 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36479 symbol info. Use it instead of calling _dl_addr locally.
36480 (lock_and_info): New function.
36481 (tr_freehook): Call lock_and_info and pass symbol info as additional
36482 parameter to tr_where.
36483 (tr_mallochook): Likewise.
36484 (tr_reallochook): Likewise.
36485 (tr_memalignhook): Likewise.
36487 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36488 used and couldn't be at all thread-safe.
36490 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36492 * libio/freopen.c (freopen): Don't close old file descriptor
36493 before the new one is opened. Instead dup the new file descriptor
36494 to the old one after the new stream is created.
36495 * libio/freopen64.c (freopen64): Likewise.
36496 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36497 * libio/fileops.c (_IO_new_file_close_it): Handle new
36498 _IO_FLAGS2_NOCLOSE flag.
36499 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36500 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36501 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36502 _IO_FLAGS2_NOCLOSE flag.
36503 * include/unistd.h: Add hidden_proto for dup3.
36504 Define __have_dup3.
36505 * io/dup3.c: Define hidden symbol.
36506 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36509 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36510 when an incomplete long option is used.
36511 * posix/tst-getopt_long1.c: New file.
36512 * posix/Makefile (tests): Add tst-getopt_long1.
36515 * scripts/config.guess: Update from autoconf-2.68.
36516 * scripts/config.sub: Likewise.
36519 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36521 (has_cpuclock): ...this. New function.
36522 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36523 macro here based on has_cpuclock code.
36526 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36527 First byte (not low byte) is now always NUL.
36528 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36531 Use non-cancelable interfaces.
36534 * locale/iso-639.def: Add entry for Sorani.
36537 * include/stdlib.h: Move include protection to the right place.
36538 Define abort_msg_s. Declare __abort_msg with it.
36539 * stdlib/abort.c (__abort_msg): Adjust type.
36540 * assert/assert.c (__assert_fail_base): New function. Majority
36541 of code from __assert_fail. Allocate memory for __abort_msg with
36543 (__assert_fail): Now call __assert_fail_base.
36544 * assert/assert-perr.c: Remove bulk of implementation. Use
36545 __assert_fail_base.
36546 * include/assert.hL Declare __assert_fail_base.
36547 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36549 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36551 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36555 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36556 until all modules are registered in the DTV.
36557 * elf/Makefile: Add rules to build and run tst-tls19.
36558 * elf/tst-tls19.c: New file.
36559 * elf/tst-tls19mod1.c: New file.
36560 * elf/tst-tls19mod2.c: New file.
36561 * elf/tst-tls19mod3.c: New file.
36562 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36565 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36569 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36570 two-byte sequence errors.
36571 * iconvdata/Makefile (tests): Add bug-iconv8.
36572 * iconvdata/bug-iconv8.c: New file.
36575 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36578 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36581 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36582 (dummy_getcfa): New function.
36583 (init): Get _Unwind_GetCFA address, use dummy if not found.
36584 (backtrace_helper): In recursion check, also check whether CFA changes.
36585 (__backtrace): Completely initialize arg.
36587 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36588 storing incomplete byte sequence in state object. Avoid testing for
36589 guaranteed too small input if we know there is enough data available.
36591 2011-05-11 Andreas Schwab <schwab@redhat.com>
36593 * Makeconfig (+link-pie): Indent.
36594 * Rules (binaries-pie): Define if $(have-fpie) and
36596 (binaries-shared): Also filter out $(binaries-pie).
36597 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36598 * nscd/Makefile (others-pie): Add nscd.
36599 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36600 ($(objpfx)nscd): Remove command override.
36601 * login/Makefile (others-pie): Add pt_chown.
36602 ($(objpfx)pt_chown): Remove command override.
36603 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36604 remove command overrides.
36606 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36608 * libio/tst_putwc.c: Fix error messages.
36611 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36612 currently writing and seek to current position when not.
36613 * libio/Makefile (tests): Add bug-fclose1.
36614 * libio/bug-fclose1.c: New file.
36616 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36619 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36620 don't set DF_1_NODELETE here.
36621 (do_lookup_x): When entering new entry test for copy relocation
36622 and if necessary set DF_1_NODELETE flag.
36623 * elf/tst-unique4.cc: New file.
36624 * elf/tst-unique4.h: New file.
36625 * elf/tst-unique4lib.cc: New file.
36626 * elf/Makefile: Add rules to build and run tst-unique4.
36627 Patch by Piotr Bury <pbury@goahead.com>.
36629 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36632 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36635 * misc/mntent_r.c (addmntent): Flush the stream after the output
36638 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36639 (is_trusted_path_normalize): Skip initial colon. Append slash
36640 to empty buffer. Duplicate is_trusted_path code but allow
36641 constructed patch to be prefix.
36642 (is_dst): Allow $ORIGIN followed by /.
36643 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36644 Correct testing of result of is_trusted_path_normalize
36645 (decompose_rpath): Fix warning.
36647 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36650 * grp/initgroups.c (internal_getgrouplist): When we found the service
36651 list through the initgroups entry in nsswitch.conf do not always
36652 continue on a successful lookup. Don't always use the
36653 __nss_group_database value if it is set.
36654 * nss/nsswitch.conf (initgroups): Change action for successful db
36655 lookup to continue for compatibility.
36657 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36660 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36662 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36664 * iconvdata/tst-tables.sh: Likewise.
36665 * iconvdata/cp770.c: New file.
36666 * iconvdata/cp771.c: New file.
36667 * iconvdata/cp772.c: New file.
36668 * iconvdata/cp773.c: New file.
36669 * iconvdata/cp774.c: New file.
36670 * iconvdata/testdata/CP770: New file.
36671 * iconvdata/testdata/CP770..UTF8: New file.
36672 * iconvdata/testdata/CP771: New file.
36673 * iconvdata/testdata/CP771..UTF8: New file.
36674 * iconvdata/testdata/CP772: New file.
36675 * iconvdata/testdata/CP772..UTF8: New file.
36676 * iconvdata/testdata/CP773: New file.
36677 * iconvdata/testdata/CP773..UTF8: New file.
36678 * iconvdata/testdata/CP774: New file.
36679 * iconvdata/testdata/CP774..UTF8: New file.
36681 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36683 * iconvdata/gen-8bit-gap.sh: Likewise.
36684 * iconvdata/gen-8bit.sh: Likewise.
36686 * locale/iso-639.def: Add ary entry.
36689 * locale/C-translit.h.in: Add U20A1 transliteration.
36692 * locale/iso-639.def: Add wae entry.
36693 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36696 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36700 * locale/C-translit.h.in: Add entry for U20B9.
36701 Patch by pravin.d.s@gmail.com.
36703 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36706 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36707 ENAMETOOLONG use generic getcwd.
36708 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36709 in rtld. Use *stat64.
36710 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36711 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36712 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36713 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36714 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36715 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36716 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36717 __fstatat64 macros.
36718 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36719 * dirent/rewinddir.c: Add libc_hidden_def.
36720 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36721 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36723 * include/dirent.h (__alloc_dir): Add flags parameter.
36724 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36725 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36727 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36728 from fdopendir if O_CLOEXEC is already set.
36730 2011-03-15 Alan Modra <amodra@gmail.com>
36732 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36733 l_tls_firstbyte_offset non-zero. Save padding offset in
36734 l_tls_firstbyte_offset for later use.
36735 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36736 freeing static tls block.
36738 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36740 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36741 where #ifdef was intended. The intent is to prevent ARG_MAX from
36742 being defined by the kernel headers.
36744 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36747 * resolv/resolv.h: Define RES_NOTLDQUERY.
36748 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36749 no-tld-query and set RES_NOTLDQUERY.
36750 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36751 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36752 modern BIND to search name as TLD unless forbidden.
36754 2011-05-07 Petr Baudis <pasky@suse.cz>
36755 Ulrich Drepper <drepper@gmail.com>
36758 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36759 (is_trusted_path): ...to here.
36760 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36761 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36762 using is_trusted_path_normalize() in setuid scripts.
36764 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36766 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36767 __BEGIN/__END_DECLS.
36769 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36771 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36772 NSS_STATUS_NOTFOUND if no record was found.
36774 2011-05-05 Andreas Schwab <schwab@redhat.com>
36776 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36777 (headers-not-in-tirpc): Remove rpc/netdb.h
36778 * resolv/netdb.h: Revert last change.
36780 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36782 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36783 circular dependency between libgcc.a and libc.a.
36785 2011-05-05 Andreas Schwab <schwab@redhat.com>
36787 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36788 * nis/Makefile: Don't install rpcsvc/*.
36789 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36790 instead of <rpc/types.h>.
36791 (MAXHOSTNAMELEN): Define.
36793 2011-05-03 Andreas Schwab <schwab@redhat.com>
36795 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36797 2011-04-28 Maciej Babinski <mbabinski@google.com>
36800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36801 gethostbyname4_r when IPv6 results are possible.
36803 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36806 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36807 _PC_PIPE_BUF handling.
36809 2011-04-30 Bruno Haible <bruno@clisp.org>
36812 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36813 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36815 * inet/getnameinfo.c (getnameinfo): Likewise.
36817 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36819 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36820 to groups setting in database lookup.
36821 * nss/nsswitch.conf: Add initgroups entry.
36823 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36826 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36828 Patch by Eric Blake <eblake@redhat.com>.
36830 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36832 * sunrpc/Makefile (need-export-routines): Add svc_run.
36833 (routines): Remove svc_run.
36834 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36835 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36836 * sunrpc/svc_run.c (svc_run): Likewise.
36837 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36839 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36841 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36842 problem in reallocation in last patch.
36844 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36846 * sunrpc/Makefile: Move inclusion of Rules.
36848 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36850 * nss/nss_files/files-initgroups.c: New file.
36851 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36852 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36853 _nss_files_initgroups_dyn.
36855 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36857 * elf/elf.h (R_ARM_IRELATIVE): Define.
36859 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36861 * po/ru.po: Update from translation team.
36863 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36865 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36868 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36871 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36872 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36873 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36874 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36875 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36877 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36879 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36881 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36882 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36883 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36885 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36888 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36890 * stdlib/bug-getcontext.c: New file.
36891 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36893 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36895 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36896 instructions into .machine "z9-109".
36897 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36898 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36900 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36902 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36903 between environment variables and auxiliary vector.
36905 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36907 * Makefile: Add rules to build linkobj/libc.so.
36908 * include/libc-symbols.h: Define libc_hidden_nolink.
36909 * include/rpc/auth.h: Mark functions which are to be hidden.
36910 * include/rpc/auth_des.h: Likewise.
36911 * include/rpc/auth_unix.h: Likewise.
36912 * include/rpc/clnt.h: Likewise.
36913 * include/rpc/des_crypt.h: Likewise.
36914 * include/rpc/key_prot.h: Likewise.
36915 * include/rpc/pmap_clnt.h: Likewise.
36916 * include/rpc/pmap_prot.h: Likewise.
36917 * include/rpc/pmap_rmt.h: Likewise.
36918 * include/rpc/rpc_msg.h: Likewise.
36919 * include/rpc/svc.h: Likewise.
36920 * include/rpc/svc_auth.h: Likewise.
36921 * include/rpc/xdr.h: Likewise.
36922 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36923 * nss/Makefile: Likewise.
36924 * sunrpc/Makefile: Don't install headers. Build library with normal
36925 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36926 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36927 for the compat linking library. Remove use of INTDEF/INTUSE.
36928 * sunrpc/auth_none.c: Likewise.
36929 * sunrpc/auth_unix.c: Likewise.
36930 * sunrpc/authdes_prot.c: Likewise.
36931 * sunrpc/authuxprot.c: Likewise.
36932 * sunrpc/clnt_gen.c: Likewise.
36933 * sunrpc/clnt_perr.c: Likewise.
36934 * sunrpc/clnt_raw.c: Likewise.
36935 * sunrpc/clnt_simp.c: Likewise.
36936 * sunrpc/clnt_tcp.c: Likewise.
36937 * sunrpc/clnt_udp.c: Likewise.
36938 * sunrpc/clnt_unix.c: Likewise.
36939 * sunrpc/des_crypt.c: Likewise.
36940 * sunrpc/des_soft.c: Likewise.
36941 * sunrpc/get_myaddr.c: Likewise.
36942 * sunrpc/key_call.c: Likewise.
36943 * sunrpc/key_prot.c: Likewise.
36944 * sunrpc/netname.c: Likewise.
36945 * sunrpc/pm_getmaps.c: Likewise.
36946 * sunrpc/pm_getport.c: Likewise.
36947 * sunrpc/pmap_clnt.c: Likewise.
36948 * sunrpc/pmap_prot.c: Likewise.
36949 * sunrpc/pmap_prot2.c: Likewise.
36950 * sunrpc/pmap_rmt.c: Likewise.
36951 * sunrpc/publickey.c: Likewise.
36952 * sunrpc/rpc_cmsg.c: Likewise.
36953 * sunrpc/rpc_common.c: Likewise.
36954 * sunrpc/rpc_dtable.c: Likewise.
36955 * sunrpc/rpc_prot.c: Likewise.
36956 * sunrpc/rpc_thread.c: Likewise.
36957 * sunrpc/rtime.c: Likewise.
36958 * sunrpc/svc.c: Likewise.
36959 * sunrpc/svc_auth.c: Likewise.
36960 * sunrpc/svc_authux.c: Likewise.
36961 * sunrpc/svc_raw.c: Likewise.
36962 * sunrpc/svc_run.c: Likewise.
36963 * sunrpc/svc_simple.c: Likewise.
36964 * sunrpc/svc_tcp.c: Likewise.
36965 * sunrpc/svc_udp.c: Likewise.
36966 * sunrpc/svc_unix.c: Likewise.
36967 * sunrpc/svcauth_des.c: Likewise.
36968 * sunrpc/xcrypt.c: Likewise.
36969 * sunrpc/xdr.c: Likewise.
36970 * sunrpc/xdr_array.c: Likewise.
36971 * sunrpc/xdr_float.c: Likewise.
36972 * sunrpc/xdr_intXX_t.c: Likewise.
36973 * sunrpc/xdr_mem.c: Likewise.
36974 * sunrpc/xdr_rec.c: Likewise.
36975 * sunrpc/xdr_ref.c: Likewise.
36976 * sunrpc/xdr_sizeof.c: Likewise.
36977 * sunrpc/xdr_stdio.c: Likewise.
36979 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36982 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36983 * sysdeps/ia64/dl-tls.h: Likewise.
36984 * sysdeps/powerpc/dl-tls.h: Likewise.
36985 * sysdeps/s390/dl-tls.h: Likewise.
36986 * sysdeps/sh/dl-tls.h: Likewise.
36987 * sysdeps/sparc/dl-tls.h: Likewise.
36988 * sysdeps/x86_64/dl-tls.h: Likewise.
36989 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36991 2011-03-14 Andreas Schwab <schwab@redhat.com>
36993 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36994 rpath element also skip the following colon.
36995 (expand_dynamic_string_token): Add is_path parameter and pass
36996 down to DL_DST_REQUIRED and _dl_dst_substitute.
36997 (decompose_rpath): Call expand_dynamic_string_token with
36998 non-zero is_path. Ignore empty rpaths.
36999 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37002 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37007 2011-04-09 Ulrich Drepper <drepper@gmail.com>
37010 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37011 Patch by Filipe David Manana <fdmanana@apache.org>.
37013 2011-04-07 Andreas Schwab <schwab@redhat.com>
37015 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37016 Maintain aligned stack.
37017 (CHECK_RSP): Remove unused macro.
37019 2011-04-03 Ulrich Drepper <drepper@gmail.com>
37021 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37022 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37024 2011-04-02 Ulrich Drepper <drepper@gmail.com>
37026 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37028 * include/features.h: Mention __USE_XOPEN2K8 in comment.
37030 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37033 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37034 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37035 * sysdeps/x86_64/memmove.c: New file.
37036 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37037 (memcpy): Renamed to ...
37038 (__new_memcpy): This.
37039 (memcpy): Provide GLIBC_2_14 memcpy.
37040 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37041 (memcpy): Provide GLIBC_2_2_5 memcpy.
37043 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37046 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37048 2011-03-30 Andreas Schwab <schwab@redhat.com>
37050 * misc/syncfs.c: New file.
37051 * misc/Makefile (routines): Add syncfs.
37052 * posix/unistd.h: Declare syncfs.
37053 * sysdeps/unix/syscalls.list: Add syncfs.
37055 2011-04-01 Andreas Schwab <schwab@redhat.com>
37057 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37059 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37060 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37061 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37062 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37064 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37065 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37067 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37069 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37070 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37071 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37073 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37075 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37077 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37078 sync_file_range.c with -fexceptions.
37079 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37080 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37081 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37082 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37083 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37084 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37086 sync_file_range as cancellation point
37087 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37088 now a wrapper around __call_sync_file_range with cancellation handling.
37089 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37090 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37091 function name to __call_sync_file_range.
37092 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37093 Add call_sync_file_range.
37095 2011-04-01 Andreas Schwab <schwab@redhat.com>
37097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37100 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37102 * iconv/iconv.h: Fix typo in comment.
37103 * io/fcntl.h: Likewise.
37104 * libio/stdio.h: Likewise.
37105 * posix/spawn.h: Likewise.
37106 * posix/unistd.h: Likewise.
37107 * stdlib/stdlib.h: Likewise.
37108 * time/time.h: Likewise.
37109 * wcsmbs/wchar.h: Likewise.
37111 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37112 open_by_handle): Add.
37113 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37114 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37115 Augment a few comments.
37116 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37118 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37121 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37124 * io/fcntl.h (AT_EMPTY_PATH): Define.
37126 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37128 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37129 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37130 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37132 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37133 * Versions.def: Add GLIBC_2.14.
37134 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37137 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37139 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37141 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37143 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37146 * string/test-strncmp.c (do_page_test): New function.
37147 (check2): Likewise.
37148 (test_main): Call check2.
37149 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37151 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37154 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37155 Handle cache information in CPU leaf 4.
37156 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37158 2011-03-18 Ulrich Drepper <drepper@gmail.com>
37161 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37162 character representation.
37163 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37165 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37167 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37168 END(__isnan) to END(__isnanf) to match function entry point/label
37169 EALIGN(__isnanf,...).
37171 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37173 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37175 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37178 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37179 copy from the symbol referenced in the relocation to initialize the
37181 Patch by Piotr Bury <pbury@goahead.com>.
37182 * elf/Makefile: Add rules to build and tst-unique3.
37183 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37184 * elf/tst-unique3.cc: New file.
37185 * elf/tst-unique3.h: New file.
37186 * elf/tst-unique3lib.cc: New file.
37187 * elf/tst-unique3lib2.cc: New file.
37189 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37191 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37193 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37194 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37197 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37199 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37200 to-be-loaded object along a path to loader is ld.so.
37202 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37203 Ulrich Drepper <drepper@gmail.com>
37205 * sysdeps/x86_64/memset.S: After aligning destination, code
37206 branches to different locations depending on the value of
37207 misalignment, when multiarch is enabled. Fix this.
37209 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37211 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37212 Set _x86_64_preferred_memory_instruction for AMD processsors.
37213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37214 Set bit_Prefer_SSE_for_memop for AMD processors.
37216 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37218 * libio/fmemopen.c (fmemopen): Optimize a bit.
37220 2011-03-03 Andreas Schwab <schwab@redhat.com>
37222 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37224 2011-03-03 Roland McGrath <roland@redhat.com>
37226 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37228 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37230 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37231 __bzero_ultra1 instead of __memset_ultra1.
37233 2011-02-23 Andreas Schwab <schwab@redhat.com>
37234 Ulrich Drepper <drepper@gmail.com>
37237 * include/link.h (struct link_map): Add l_orig_initfini.
37238 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37239 returning unsuccessfully.
37240 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37241 close of a file loaded at startup, restore the original l_initfini
37243 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37244 list, store the pointer.
37245 * elf/Makefile ($(objpfx)noload-mem): New rule.
37246 (noload-ENV): Define.
37247 (tests): Add $(objpfx)noload-mem.
37248 * elf/noload.c: Include <memcheck.h>.
37249 (main): Call mtrace. Close all opened handles.
37251 2011-02-17 Andreas Schwab <schwab@redhat.com>
37254 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37255 dependencies are missing.
37257 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37259 Fix __if_freereq crash: Unlike the generic version which uses free,
37261 * sysdeps/mach/hurd/ifreq.h: New file.
37263 2011-01-27 Petr Baudis <pasky@suse.cz>
37264 Ulrich Drepper <drepper@gmail.com>
37267 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37268 to extend_alloca().
37269 * stdio-common/bug23.c: New file.
37270 * stdio-common/Makefile (tests): Add bug23.
37272 2010-09-28 Andreas Schwab <schwab@redhat.com>
37273 Ulrich Drepper <drepper@gmail.com>
37276 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37277 before performing relro protection. At old place add assertion
37278 to make sure nothing changed.
37280 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37281 Glauber de Oliveira Costa <glommer@gmail.com>
37283 * elf/elf.h: Add new ARM TLS relocs.
37285 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37288 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37290 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37292 * sysdeps/wordsize-64/tst-writev.c: New file.
37294 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37296 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37297 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37298 insns in _dl_start to prevent a TOC reference before relocs are
37301 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37304 * Makeconfig: Remove RANLIB definition.
37305 * Makerules: Don't use RANLIB.
37306 * aclocal.m4: Remove ranlib test.
37307 * configure.in: No need to check for ranlib.
37308 * elf/rtld-Rules: Don't use RANLIB.
37310 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37312 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37314 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37315 inclusion protection macro.
37317 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37318 SIGRTMIN and SIGRTMAX and print information in that case only when
37319 SIGRTMIN is defined.
37321 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37323 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37324 arginfo fn returning -1.
37326 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37327 and thousands string is zero terminated.
37329 2011-02-03 Andreas Schwab <schwab@redhat.com>
37331 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37332 sysdeps/unix/sysv/linux/bits/socket.h.
37334 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37336 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37337 (__CPU_COUNT): Remove old macros.
37338 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37339 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37340 (__CPU_ALLOC, __CPU_FREE): Add macros.
37341 (__sched_cpualloc, __sched_cpufree): Add declarations.
37343 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37345 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37346 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37347 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37348 (readdhstai): Return value of addhstaiX call.
37349 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37350 (addgrbyX): Return value returned by cache_addgr.
37351 (readdgrbyname): Return value returned by addgrbyX.
37352 (readdgrbygid): Likewise.
37353 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37354 (addpwbyX): Return value returned by cache_addpw.
37355 (readdpwbyname): Return value returned by addhstbyX.
37356 (readdpwbyuid): Likewise.
37357 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37358 (addservbyX): Return value returned by cache_addserv.
37359 (readdservbyname): Return value returned by addservbyX:
37360 (readdservbyport): Likewise.
37361 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37362 (addhstbyX): Return value returned by cache_addhst.
37363 (readdhstbyname): Return value returned by addhstbyX.
37364 (readdhstbyaddr): Likewise.
37365 (readdhstbynamev6): Likewise.
37366 (readdhstbyaddrv6): Likewise.
37367 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37368 (readdinitgroups): Return value returned by addinitgroupsX.
37369 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37370 (prune_cache): Keep track of timeout value of re-added entries.
37371 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37372 * nscd/nscd.h: Adjust prototypes of readd* functions.
37374 2011-02-04 Roland McGrath <roland@redhat.com>
37376 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37377 (nis_stats): Likewise.
37378 * nis/nis_modify.c (nis_modify): Likewise.
37379 * nis/nis_remove.c (nis_remove): Likewise.
37380 * nis/nis_add.c (nis_add): Likewise.
37382 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37384 * posix/fnmatch_loop.c: Add some consts.
37386 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37388 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37391 * config.make.in (config-cflags-novzeroupper): Define.
37392 * configure.in: Substitute libc_cv_cc_novzeroupper.
37393 * elf/Makefile (AVX-CFLAGS): Define.
37394 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37395 (CFLAGS-tst-auditmod4a.c): Likewise.
37396 (CFLAGS-tst-auditmod4b.c): Likewise.
37397 (CFLAGS-tst-auditmod6b.c): Likewise.
37398 (CFLAGS-tst-auditmod6c.c): Likewise.
37399 (CFLAGS-tst-auditmod7b.c): Likewise.
37400 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37402 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37404 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37405 function to the callback.
37406 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37408 2011-02-02 Andreas Schwab <schwab@redhat.com>
37410 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37413 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37416 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37418 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37420 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37423 * elf/Makefile: Add rules to build and run new test.
37424 * elf/tst-initorder.c: New file.
37425 * elf/tst-initorder.exp: New file.
37426 * elf/tst-initordera1.c: New file.
37427 * elf/tst-initordera2.c: New file.
37428 * elf/tst-initordera3.c: New file.
37429 * elf/tst-initordera4.c: New file.
37430 * elf/tst-initorderb1.c: New file.
37431 * elf/tst-initorderb2.c: New file.
37432 * elf/tst-order-a1.c: New file.
37433 * elf/tst-order-a2.c: New file.
37434 * elf/tst-order-a3.c: New file.
37435 * elf/tst-order-a4.c: New file.
37436 * elf/tst-order-b1.c: New file.
37437 * elf/tst-order-b2.c: New file.
37438 * elf/tst-order-main.c: New file.
37439 New test case by George Gensure <werkt0@gmail.com>.
37441 2010-10-01 Andreas Schwab <schwab@redhat.com>
37443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37444 decoding ACE if AI_CANONIDN.
37446 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37448 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37450 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37452 * version.h (RELEASE): Bump for 2.13 release.
37453 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37455 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37457 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37459 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37460 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37461 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37462 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37463 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37464 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37466 * posix/getconf.c: Update copyright year.
37467 * catgets/gencat.c: Likewise.
37468 * csu/version.c: Likewise.
37469 * debug/catchsegv.sh: Likewise.
37470 * debug/xtrace.sh: Likewise.
37471 * elf/ldconfig.c: Likewise.
37472 * elf/ldd.bash.in: Likewise.
37473 * elf/sprof.c (print_version): Likewise.
37474 * iconv/iconv_prog.c: Likewise.
37475 * iconv/iconvconfig.c: Likewise.
37476 * locale/programs/locale.c: Likewise.
37477 * locale/programs/localedef.c: Likewise.
37478 * malloc/memusage.sh: Likewise.
37479 * malloc/mtrace.pl: Likewise.
37480 * nscd/nscd.c (print_version): Likewise.
37481 * nss/getent.c: Likewise.
37483 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37484 PF_CAIF, and PF_ALG.
37485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37487 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37489 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37490 (modules-names): Use them.
37491 (ifunc-test-modules, ifunc-pie-tests): Define.
37492 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37493 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37494 (test-extras): Likewise.
37495 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37496 $(compile-command.c).
37497 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37498 (all-built-dso): Define.
37499 (check-textrel.out, check-execstack.out): Depend on it.
37501 * configure.in: Don't override --enable-multi-arch.
37503 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37506 * nscd/hstcache.c (tryagain): Define.
37507 (cache_addhst): Return tryagain not notfound for temporary errors.
37508 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37511 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37514 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37515 to make the syscall.
37516 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37519 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37520 and fall back to matching as normal character if the string ends before
37521 the matching ']' is found. This is what POSIX requires.
37522 * posix/testfnm.c: Adjust test result.
37523 * posix/globtest.sh: Adjust test result. Add new test.
37524 * posix/tst-fnmatch.input: Likewise.
37525 * posix/tst-fnmatch2.c: Add new test.
37527 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37529 * elf/Makefile (check-execstack): Revert last change. Depend on
37531 (check-execstack.h): New target.
37532 (generated): Add check-execstack.h.
37533 * elf/check-execstack.c: Include "check-execstack.h".
37534 (main): Revert last change.
37535 (handle_file): Return zero if GNU_STACK is absent and
37536 DEFAULT_STACK_PERMS doesn't include PF_X.
37538 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37540 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37541 in child fails because the descriptor is already closed.
37542 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37543 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37544 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37547 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37551 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37552 temporary buffer used to handle multi lookups locally.
37553 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37555 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37557 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37560 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37562 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37563 alignment for SSE2.
37565 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37568 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37569 characters. When rounding increased number of integer digits recompute
37571 * stdio-common/tst-grouping.c: New file.
37572 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37574 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37576 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37577 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37579 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37581 * bits/select.h: Likewise.
37583 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37585 * po/ja.po: Update from translation team.
37587 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37590 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37591 implementation just like for lxstat, fxstatat, et al.
37593 2010-12-27 Jim Meyering <meyering@redhat.com>
37596 * posix/regexec.c (build_trtable): Return failure indication upon
37597 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37599 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37602 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37603 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37604 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37605 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37608 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37611 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37612 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37614 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37616 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37617 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37618 script has SORT_BY_INIT_PRIORITY.
37619 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37620 NO_CTORS_DTORS_SECTIONS is defined.
37621 * elf/soinit.c: Likewise.
37622 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37623 NO_CTORS_DTORS_SECTIONS is defined.
37624 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37625 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37626 * sysdeps/sh/init-first.c: Likewise.
37627 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37629 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37631 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37632 always use the slow path.
37634 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37636 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37637 similar rule which adds the sysdep directories to the header search in
37638 order to pick up the correct platform stackinfo.h.
37639 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37640 perform test if it is, otherwise return successfully without testing.
37641 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37642 DEFAULT_STACK_PERMS define in stackinfo.h.
37643 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37644 defined in stackinfo.h.
37645 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37646 DEFAULT_STACK_PERMS defined in stackinfo.h.
37647 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37648 * sysdeps/ia64/stackinfo.h: Likewise.
37649 * sysdeps/s390/stackinfo.h: Likewise.
37650 * sysdeps/sh/stackinfo.h: Likewise.
37651 * sysdeps/sparc/stackinfo.h: Likewise.
37652 * sysdeps/x86_64/stackinfo.h: Likewise.
37653 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37654 PF_X for powerpc64. Retain PF_X for powerpc32.
37656 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37658 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37660 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37661 GETDENTS_64BIT_ALIGNED.
37663 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37665 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37667 2010-12-10 Andreas Schwab <schwab@redhat.com>
37669 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37672 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37673 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37675 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37676 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37678 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37681 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37684 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37686 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37688 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37690 * po/it.po: Update from translation team.
37692 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37697 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37699 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37701 2010-11-24 Andreas Schwab <schwab@redhat.com>
37703 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37705 (gaih_getanswer_slice): Likewise.
37707 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37711 2010-05-31 Petr Baudis <pasky@suse.cz>
37714 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37715 silently even in the chroot mode.
37717 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37719 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37720 last patch a bit. Pretty printing
37722 2010-05-31 Petr Baudis <pasky@suse.cz>
37725 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37726 initialization of skip_initgroups_dyn.
37728 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37730 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37731 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37733 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37735 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37737 2010-11-11 Andreas Schwab <schwab@redhat.com>
37739 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37740 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37741 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37742 ($(objpfx)tst-fnmatch-mem): New rule.
37743 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37744 * posix/tst-fnmatch.c (main): Call mtrace.
37746 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37749 Support Intel processor model 6 and model 0x2c.
37751 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37753 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37756 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37759 * string/test-strncasecmp.c (check_result): New function.
37760 (do_one_test): Use it.
37761 (check1): New function.
37762 (test_main): Use it.
37763 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37764 Support strcasecmp and strncasecmp.
37766 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37769 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37770 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37772 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37774 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37778 * sysdeps/x86_64/multiarch/bzero.S: New file.
37779 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37780 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37781 * sysdeps/x86_64/multiarch/memset.S: New file.
37782 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37784 Set bit_Prefer_SSE_for_memop for Intel processors.
37785 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37787 (index_Prefer_SSE_for_memop): Define.
37788 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37790 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37792 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37793 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37795 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37798 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37799 (__x86_64_raw_data_cache_size_half): Likewise.
37800 (__x86_64_raw_shared_cache_size): Likewise.
37801 (__x86_64_raw_shared_cache_size_half): Likewise.
37803 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37804 (__x86_64_raw_data_cache_size_half): Likewise.
37805 (__x86_64_raw_shared_cache_size): Likewise.
37806 (__x86_64_raw_shared_cache_size_half): Likewise.
37807 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37808 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37809 and __x86_64_raw_shared_cache_size_half. Round
37810 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37811 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37812 to multiple of 256 bytes.
37814 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37817 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37818 of inacessible symlinks. Verify result of symlink before returning it.
37819 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37820 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37822 2010-10-28 Erich Ritz <erichritz@gmail.com>
37824 * math/math.h (isinf): Fix typo in comment.
37826 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37828 * po/da.po: Update from translation team.
37830 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37832 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37833 is added to the list.
37835 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37836 Ulrich Drepper <drepper@gmail.com>
37838 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37839 the global list here. Move code to...
37840 (_dl_add_to_namespace_list): ...here. New function.
37841 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37842 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37843 * elf/dl-load.c (lose): Don't remove the element from the list.
37844 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37845 (_dl_map_object): Likewise.
37847 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37850 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37851 into all bytes of SSE register.
37852 Patch by Richard Li <richardpku@gmail.com>.
37854 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37857 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37860 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37862 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37863 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37864 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37865 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37870 2010-10-22 Andreas Schwab <schwab@redhat.com>
37872 * include/dlfcn.h (__RTLD_SECURE): Define.
37873 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37874 mode & __RTLD_SECURE instead.
37875 (open_path): Rename preloaded parameter to secure.
37876 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37877 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37878 * elf/dl-deps.c (openaux): Likewise.
37879 * elf/rtld.c (struct map_args): Remove is_preloaded.
37880 (map_doit): Don't use it.
37881 (dl_main): Likewise.
37882 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37883 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37885 2010-09-09 Andreas Schwab <schwab@redhat.com>
37887 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37888 (sysd-rules-targets): Remove duplicates.
37889 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37890 rtld-%.$o dependency.
37892 2010-10-18 Andreas Schwab <schwab@redhat.com>
37894 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37895 _dl_map_object do it.
37897 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37899 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37900 fast fma builtins, define the macros in the C99 standard.
37901 (FP_FAST_FMAF): Likewise.
37902 (FP_FAST_FMAL): Likewise.
37903 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37905 * bits/mathdef.h: Update copyright year.
37906 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37908 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37910 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37911 builtins, define the macros in the C99 standard.
37912 (FP_FAST_FMAF): Likewise.
37913 (FP_FAST_FMAL): Likewise.
37914 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37916 (FP_FAST_FMAF): Likewise.
37918 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37921 * math/libm-test.inc (fma_test): Some new testcases.
37922 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37923 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37924 y and infinite z. Do multiplication by C already in long double.
37925 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37927 y and infinite z. Do bitwise or of inexact bit into u.d.
37928 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37929 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37930 * sysdeps/i386/fpu/s_fma.S: Removed.
37931 * sysdeps/i386/fpu/s_fmal.S: Removed.
37933 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37936 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37938 computation is not scheduled after fetestexcept. Fix value
37939 of minimum denormal long double.
37941 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37944 * math/libm-test.inc (fma_test): Add some more tests.
37945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37948 2010-10-15 Andreas Schwab <schwab@redhat.com>
37950 * scripts/data/localplt-s390-linux-gnu.data: New file.
37951 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37953 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37956 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37957 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37959 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37961 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37963 if one of x and y is very large and the other is subnormal.
37964 * sysdeps/s390/fpu/s_fmaf.c: New file.
37965 * sysdeps/s390/fpu/s_fma.c: New file.
37966 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37967 * sysdeps/powerpc/fpu/s_fma.S: New file.
37968 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37969 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37970 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37972 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37975 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37977 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37978 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37979 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37980 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37981 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37982 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37983 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37985 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37988 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37989 * posix/bug-regex31.input: Add test case.
37991 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37993 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37994 * posix/bug-regex31.input: New file.
37997 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37998 (parse_sub_exp): Fix last change, use postorder.
38000 * posix/bug-regex31.c: New file.
38001 * posix/Makefile: Add rules to build and run bug-regex31.
38003 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38006 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38009 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38010 to have entries in sys_siglist.
38013 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38016 2010-10-07 Jakub Jelinek <jakub@redhat.com>
38019 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38020 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38021 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38022 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38023 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38024 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38025 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38026 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38027 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38028 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38029 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38030 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38031 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38032 * math/ftestexcept.c (fetestexcept): Likewise.
38033 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38034 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38035 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38036 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38037 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38038 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38039 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38041 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38044 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38047 2010-10-06 Ulrich Drepper <drepper@gmail.com>
38049 * string/bug-strstr1.c: New file.
38050 * string/Makefile: Add rules to build and run bug-strstr1.
38052 2010-10-05 Eric Blake <eblake@redhat.com>
38055 * string/str-two-way.h (two_way_long_needle): Always clear memory
38056 when skipping input due to the shift table.
38058 2010-10-03 Ulrich Drepper <drepper@gmail.com>
38061 * malloc/mcheck.c: Handle large requests.
38064 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38065 for strncmp and strncasecmp.
38066 * string/stratcliff.c: Add tests for strcmp and strncmp.
38067 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38069 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38071 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38074 2010-09-30 Andreas Jaeger <aj@suse.de>
38076 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38077 (CGROUP_SUPER_MAGIC): Define.
38078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38079 Handle btrfs and cgroup file systems.
38080 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38083 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
38085 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38086 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38088 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38091 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38092 trying to locate the ELF header.
38094 2010-09-27 Andreas Schwab <schwab@redhat.com>
38097 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38098 Mask out sign-bit copies when constructing f_fsid.
38100 2010-09-24 Petr Baudis <pasky@suse.cz>
38102 * debug/stack_chk_fail_local.c: Add missing licence exception.
38103 * debug/warning-nop.c: Likewise.
38105 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38107 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38108 implementing getdents64 using getdents syscall, set d_type if
38109 __ASSUME_GETDENTS32_D_TYPE.
38111 2010-09-16 Andreas Schwab <schwab@redhat.com>
38113 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38114 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38116 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38119 * posix/unistd.h: Undo change of feature selection for ftruncate from
38122 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38124 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38127 2010-09-20 Andreas Schwab <schwab@redhat.com>
38129 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38131 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38133 2010-09-14 Andreas Schwab <schwab@redhat.com>
38135 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38136 variables after CHECK_SP call.
38137 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38139 2010-09-13 Andreas Schwab <schwab@redhat.com>
38140 Ulrich Drepper <drepper@redhat.com>
38142 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38143 re-relocationg ld.so.
38144 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38145 _dl_init_paths call.
38146 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38149 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38151 * resolv/res_init.c (__res_vinit): Count the default server we added.
38153 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38154 Ulrich Drepper <drepper@redhat.com>
38157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38158 (____longjmp_chk): Use %ebx for saving value across system call.
38161 2010-09-06 Andreas Schwab <schwab@redhat.com>
38163 * manual/Makefile: Don't mix pattern rules with normal rules.
38165 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38167 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38169 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38170 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38171 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38172 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38176 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38179 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38180 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38182 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38184 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38185 * sysdeps/x86_64/addmul_1.S: Likewise.
38186 * sysdeps/x86_64/lshift.S: Likewise.
38187 * sysdeps/x86_64/mul_1.S: Likewise.
38188 * sysdeps/x86_64/rshift.S: Likewise.
38189 * sysdeps/x86_64/sub_n.S: Likewise.
38190 * sysdeps/x86_64/submul_1.S: Likewise.
38192 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38194 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38195 Define __sched_param instead of SCHED_* and sched_param when
38196 <bits/sched.h> is included with __need_schedparam defined.
38197 * bits/sched.h [__need_schedparam]
38198 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38199 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38200 (__defined_schedparam): Define to 1.
38201 (__sched_param): New structure, identical to sched_param.
38202 (__need_schedparam): Undefine.
38204 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38206 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38207 (epoll_create1): Declare.
38209 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38211 2010-08-31 Andreas Schwab <schwab@redhat.com>
38214 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38215 shifting retval into place.
38217 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38219 * nis/rpcsvc/nis.h: Update copyright notice.
38220 * nis/rpcsvc/nis.x: Likewise.
38221 * nis/rpcsvc/nis_callback.h: Likewise.
38222 * nis/rpcsvc/nis_callback.x: Likewise.
38223 * nis/rpcsvc/nis_object.x: Likewise.
38224 * nis/rpcsvc/nis_tags.h: Likewise.
38225 * nis/rpcsvc/yp.h: Likewise.
38226 * nis/rpcsvc/yp.x: Likewise.
38227 * nis/rpcsvc/ypupd.h: Likewise.
38228 * nis/yp_xdr.c: Likewise.
38229 * nis/ypupdate_xdr.c: Likewise.
38231 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38232 mainly the body of pmap_getport. Add parameters to specify timeouts.
38233 (pmap_getport): Use __libc_rpc_getport.
38234 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38235 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38236 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38238 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38243 2010-08-27 Roland McGrath <roland@redhat.com>
38245 * sysdeps/i386/i686/multiarch/Makefile
38246 (CFLAGS-varshift.c): New variable.
38248 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38250 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38251 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38253 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38255 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38257 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38259 * sysdeps/x86_64/strlen.S: Unroll the loop.
38260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38261 strlen-sse2 strlen-sse2-bsf.
38262 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38263 __strlen_no_bsf if bit_Slow_BSF is set.
38264 (__strlen_sse42): Removed.
38265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38266 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38268 2010-08-25 Roland McGrath <roland@redhat.com>
38270 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38271 * sysdeps/x86_64/multiarch/varshift.c: New file.
38272 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38273 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38274 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38275 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38277 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38280 strlen-sse2 strlen-sse2-bsf.
38281 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38282 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38283 (__strlen_sse2): Removed.
38284 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38285 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38287 bit_Slow_BSF for Atom.
38288 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38289 (index_Slow_BSF): Define.
38290 (HAS_SLOW_BSF): Define.
38292 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38295 * resolv/res_init.c (__res_vinit): When no server address at all
38296 is given default to loopback.
38298 2010-08-24 Roland McGrath <roland@redhat.com>
38300 * configure.in: Remove config-name.h generation.
38301 * configure: Regenerated.
38302 * config-name.in: File removed.
38303 * scripts/config-uname.sh: New file.
38304 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38305 ($(objdir)config-name.h): New target.
38307 * sunrpc/rpc_parse.h: Avoid nested comment.
38309 2010-08-24 Richard Henderson <rth@redhat.com>
38310 Ulrich Drepper <drepper@redhat.com>
38311 H.J. Lu <hongjiu.lu@intel.com>
38313 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38315 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38316 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38317 _mm_alignr_epi8 with _mm_loadu_si128.
38318 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38319 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38320 (__m128i_shift_right): Removed.
38321 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38322 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38323 * sysdeps/x86_64/multiarch/varshift.h: New file.
38324 * sysdeps/x86_64/multiarch/varshift.S: New file.
38326 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38328 * configure.in: Move assembler checks to before sysdep dir checking.
38330 2010-08-20 Petr Baudis <pasky@suse.cz>
38332 * LICENSES: Sync the sunrpc license.
38334 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38336 * sunrpc/auth_des.c: Update copyright notice once again.
38337 * sunrpc/auth_none.c: Likewise.
38338 * sunrpc/auth_unix.c: Likewise.
38339 * sunrpc/authdes_prot.c: Likewise.
38340 * sunrpc/authuxprot.c: Likewise.
38341 * sunrpc/bindrsvprt.c: Likewise.
38342 * sunrpc/clnt_gen.c: Likewise.
38343 * sunrpc/clnt_perr.c: Likewise.
38344 * sunrpc/clnt_raw.c: Likewise.
38345 * sunrpc/clnt_simp.c: Likewise.
38346 * sunrpc/clnt_tcp.c: Likewise.
38347 * sunrpc/clnt_udp.c: Likewise.
38348 * sunrpc/clnt_unix.c: Likewise.
38349 * sunrpc/des_crypt.c: Likewise.
38350 * sunrpc/des_soft.c: Likewise.
38351 * sunrpc/get_myaddr.c: Likewise.
38352 * sunrpc/getrpcport.c: Likewise.
38353 * sunrpc/key_call.c: Likewise.
38354 * sunrpc/key_prot.c: Likewise.
38355 * sunrpc/openchild.c: Likewise.
38356 * sunrpc/pm_getmaps.c: Likewise.
38357 * sunrpc/pm_getport.c: Likewise.
38358 * sunrpc/pmap_clnt.c: Likewise.
38359 * sunrpc/pmap_prot.c: Likewise.
38360 * sunrpc/pmap_prot2.c: Likewise.
38361 * sunrpc/pmap_rmt.c: Likewise.
38362 * sunrpc/rpc/auth.h: Likewise.
38363 * sunrpc/rpc/auth_unix.h: Likewise.
38364 * sunrpc/rpc/clnt.h: Likewise.
38365 * sunrpc/rpc/des_crypt.h: Likewise.
38366 * sunrpc/rpc/key_prot.h: Likewise.
38367 * sunrpc/rpc/netdb.h: Likewise.
38368 * sunrpc/rpc/pmap_clnt.h: Likewise.
38369 * sunrpc/rpc/pmap_prot.h: Likewise.
38370 * sunrpc/rpc/pmap_rmt.h: Likewise.
38371 * sunrpc/rpc/rpc.h: Likewise.
38372 * sunrpc/rpc/rpc_des.h: Likewise.
38373 * sunrpc/rpc/rpc_msg.h: Likewise.
38374 * sunrpc/rpc/svc.h: Likewise.
38375 * sunrpc/rpc/svc_auth.h: Likewise.
38376 * sunrpc/rpc/types.h: Likewise.
38377 * sunrpc/rpc/xdr.h: Likewise.
38378 * sunrpc/rpc_clntout.c: Likewise.
38379 * sunrpc/rpc_cmsg.c: Likewise.
38380 * sunrpc/rpc_common.c: Likewise.
38381 * sunrpc/rpc_cout.c: Likewise.
38382 * sunrpc/rpc_dtable.c: Likewise.
38383 * sunrpc/rpc_hout.c: Likewise.
38384 * sunrpc/rpc_main.c: Likewise.
38385 * sunrpc/rpc_parse.c: Likewise.
38386 * sunrpc/rpc_parse.h: Likewise.
38387 * sunrpc/rpc_prot.c: Likewise.
38388 * sunrpc/rpc_sample.c: Likewise.
38389 * sunrpc/rpc_scan.c: Likewise.
38390 * sunrpc/rpc_scan.h: Likewise.
38391 * sunrpc/rpc_svcout.c: Likewise.
38392 * sunrpc/rpc_tblout.c: Likewise.
38393 * sunrpc/rpc_util.c: Likewise.
38394 * sunrpc/rpc_util.h: Likewise.
38395 * sunrpc/rpcinfo.c: Likewise.
38396 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38397 * sunrpc/rpcsvc/key_prot.x: Likewise.
38398 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38399 * sunrpc/rpcsvc/mount.x: Likewise.
38400 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38401 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38402 * sunrpc/rpcsvc/rex.x: Likewise.
38403 * sunrpc/rpcsvc/rstat.x: Likewise.
38404 * sunrpc/rpcsvc/rusers.x: Likewise.
38405 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38406 * sunrpc/rpcsvc/spray.x: Likewise.
38407 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38408 * sunrpc/rtime.c: Likewise.
38409 * sunrpc/svc.c: Likewise.
38410 * sunrpc/svc_auth.c: Likewise.
38411 * sunrpc/svc_authux.c: Likewise.
38412 * sunrpc/svc_raw.c: Likewise.
38413 * sunrpc/svc_run.c: Likewise.
38414 * sunrpc/svc_simple.c: Likewise.
38415 * sunrpc/svc_tcp.c: Likewise.
38416 * sunrpc/svc_udp.c: Likewise.
38417 * sunrpc/svc_unix.c: Likewise.
38418 * sunrpc/svcauth_des.c: Likewise.
38419 * sunrpc/xcrypt.c: Likewise.
38420 * sunrpc/xdr.c: Likewise.
38421 * sunrpc/xdr_array.c: Likewise.
38422 * sunrpc/xdr_float.c: Likewise.
38423 * sunrpc/xdr_mem.c: Likewise.
38424 * sunrpc/xdr_rec.c: Likewise.
38425 * sunrpc/xdr_ref.c: Likewise.
38426 * sunrpc/xdr_sizeof.c: Likewise.
38427 * sunrpc/xdr_stdio.c: Likewise.
38429 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38432 2010-08-19 Andreas Schwab <schwab@redhat.com>
38434 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38436 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38438 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38439 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38440 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38441 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38442 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38443 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38444 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38445 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38446 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38447 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38448 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38449 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38450 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38451 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38453 2010-07-26 Anton Blanchard <anton@samba.org>
38455 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38456 * malloc/arena.c (heap_trim): Likewise.
38458 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38460 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38463 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38465 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38467 * sysdeps/i386/elf/Makefile: New file.
38469 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38471 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38472 from fanotify_init.
38473 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38476 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38478 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38480 * sysdeps/multiarch/strcmp.S: Likewise.
38482 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38484 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38485 strncase_l-nonascii.
38486 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38487 Add strncase_l-ssse3.
38488 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38489 * sysdeps/x86_64/strcmp.S: Likewise.
38490 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38491 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38492 * sysdeps/x86_64/strncase.S: New file.
38493 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38494 * sysdeps/x86_64/strncase_l.S: New file.
38495 * string/Makefile (strop-tests): Add strncasecmp.
38496 * string/test-strncasecmp.c: New file.
38498 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38501 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38502 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38504 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38506 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38508 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38510 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38511 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38512 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38514 2010-05-01 Alan Modra <amodra@gmail.com>
38516 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38517 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38518 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38519 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38520 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38521 tidying. Don't tail-call __sigjmp_save for static lib.
38522 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38524 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38525 (CALL_MCOUNT): Add eh info, and nop after bl.
38526 (TAIL_CALL_SYSCALL_ERROR): New macro.
38527 (PSEUDO_RET): Use it.
38528 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38529 Correct save location of integer regs and cr.
38530 (_dl_profile_resolve): Correct cr save location. Delete nops
38531 after bl when SHARED. Reduce cfi size a little by better
38532 placement of cfi directives.
38533 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38534 make a stack frame. Instead use parm save area as a temp.
38535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38536 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38538 Don't make a stack frame for parent, use parm save area.
38539 Increase child stack frame to 112 bytes. Don't save unused reg,
38540 and adjust reg usage. Set up cfi on error recovery and
38541 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38543 (__makecontext): Add dummy nop after jump to exit.
38544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38545 Use correct parm save area and cr save, reduce stack frame.
38546 Correct cfi for possible PSEUDO_RET frame setup.
38547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38548 Branch to local label emitted by PSEUDO_RET rather than
38551 2010-08-12 Andreas Schwab <schwab@redhat.com>
38554 * locale/programs/locale.c (print_assignment): New function.
38555 (show_locale_vars): Use it.
38557 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38559 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38561 (struct statfs64): Likewise.
38562 (_STATFS_F_FLAGS): Define.
38563 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38564 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38565 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38566 (ST_VALID): Define locally.
38567 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38568 __statvfs_getflags, use the provided value.
38569 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38570 __ASSUME_STATFS_F_FLAGS.
38572 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38574 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38575 Add sys/fanotify.h.
38576 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38577 fanotify_mask for GLIBC_2.13.
38578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38579 fanotify_init and fanotify_mark.
38580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38581 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38583 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38585 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38586 prlimit64 for GLIBC_2.13.
38587 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38592 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38593 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38594 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38595 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38597 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38600 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38601 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38603 * nss/Makefile: Add rules to build and run tst-nss-test1.
38604 * shlib-versions: Add entry for libnss_test1.
38605 * nss/nss_test1.c: New file.
38606 * nss/tst-nss-test1.c: New file.
38608 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38609 (__nss_configure_lookup): Set appropriate entry in
38610 __nss_configure_lookup to true.
38611 * nss/nsswitch.h: Define enum with indeces of databases in
38612 databases and __nss_database_custom arrays. Declare
38613 __nss_database_custom.
38614 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38615 to avoid using nscd when custom rules are installed.
38616 * nss/getXXbyYY_r.c: Likewise.
38617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38619 * nss/nss_files/files-parse.c: Whitespace fixes.
38621 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38624 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38625 * posix/fnmatch_loop.c: Likewise.
38627 2010-07-17 Andi Kleen <ak@linux.intel.com>
38629 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38630 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38631 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38632 * Versions.def [GLIBC_2.13]: Add.
38634 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38636 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38637 Also fail if tpwd after pwuid call is NULL.
38639 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38641 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38642 when converting to ms.
38644 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38646 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38647 EOPNOTSUPP errors with ENOTTY.
38648 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38649 EOPNOTSUPP errors with ENOTTY.
38651 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38653 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38654 Add strcasecmp_l-ssse3.
38655 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38657 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38658 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38659 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38661 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38663 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38665 * string/Makefile (strop-tests): Add strcasecmp.
38666 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38667 strcasecmp_l-nonascii.
38668 (gen-as-const-headers): Add locale-defines.sym.
38669 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38670 * sysdeps/x86_64/strcasecmp.S: New file.
38671 * sysdeps/x86_64/strcasecmp_l.S: New file.
38672 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38673 * sysdeps/x86_64/locale-defines.sym: New file.
38674 * string/test-strcasecmp.c: New file.
38676 * string/test-strcasestr.c: Test both ends of the range of characters.
38677 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38679 2010-07-29 Roland McGrath <roland@redhat.com>
38682 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38684 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38686 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38689 2010-07-27 Andreas Schwab <schwab@redhat.com>
38691 * manual/memory.texi (Malloc Tunable Parameters): Document
38694 2010-07-26 Roland McGrath <roland@redhat.com>
38697 * configure.in (-fgnu89-inline check): Set and substitute
38698 gnu89_inline, not libc_cv_gnu89_inline.
38699 * configure: Regenerated.
38700 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38702 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38704 * string/test-strnlen.c: New file.
38705 * string/Makefile (strop-tests): Add strnlen.
38706 * string/tester.c (test_strnlen): Add a few more test cases.
38707 * string/tst-strlen.c: Better error reporting.
38709 * sysdeps/x86_64/strnlen.S: New file.
38711 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38713 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38714 lower-latency instructions.
38716 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38718 * string/test-strcasestr.c: New file.
38719 * string/test-strstr.c: New file.
38720 * string/Makefile (strop-tests): Add strstr and strcasestr.
38721 * string/str-two-way.h: Don't undefine MAX.
38722 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38724 2010-07-21 Andreas Schwab <schwab@redhat.com>
38726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38727 strcasestr-nonascii.
38728 (CFLAGS-strcasestr-nonascii.c): Define.
38729 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38730 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38731 Remove unused attribute.
38733 2010-07-20 Roland McGrath <roland@redhat.com>
38735 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38736 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38737 ld.so.cache was broken. With it, there is no way to disable dsocaps
38738 like LD_HWCAP_MASK can disable hwcaps.
38740 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38742 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38744 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38746 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38747 call in strcasestr.
38748 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38749 __strcasestr_sse42_nonascii.
38750 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38751 strcasestr-nonascii.c.
38752 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38754 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38756 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38757 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38758 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38759 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38761 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38763 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38766 2010-07-06 Andreas Schwab <schwab@redhat.com>
38769 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38772 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38774 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38775 _PC_PIPE_BUF using F_GETPIPE_SZ.
38777 2010-07-05 Roland McGrath <roland@redhat.com>
38779 * manual/arith.texi (Rounding Functions): Fix rint description
38780 implicit in round description.
38782 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38784 * elf/Makefile: Fix linking for a few tests to make recent linker
38787 2010-06-30 Andreas Schwab <schwab@redhat.com>
38789 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38790 $(common-objpfx)libc_nonshared.a.
38792 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38794 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38795 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38796 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38797 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38798 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38799 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38800 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38801 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38816 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38817 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38818 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38819 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38820 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38821 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38822 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38823 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38824 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38825 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38826 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38827 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38843 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38845 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38846 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38847 * string/memmove.c (memmove): Renamed to ...
38848 (MEMMOVE): ...this. Default to memmove.
38849 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38850 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38853 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38854 mempcpy-ssse3-back memmove-ssse3-back.
38855 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38856 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38857 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38858 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38859 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38860 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38861 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38862 * sysdeps/x86_64/multiarch/memmove.c: New file.
38863 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38864 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38865 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38866 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38867 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38868 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38870 (index_Fast_Copy_Backward): Define.
38871 (HAS_ARCH_FEATURE): Define.
38872 (HAS_FAST_REP_STRING): Define.
38873 (HAS_FAST_COPY_BACKWARD): Define.
38875 2010-06-21 Andreas Schwab <schwab@redhat.com>
38877 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38878 Restore proper fallback handling.
38880 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38883 * posix/group_member.c (__group_member): Correct checking loop.
38885 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38886 OOM in getpwuid_r correctly. Return error number when the caller
38887 should return, otherwise -1.
38888 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38889 call returning > 0 value.
38890 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38892 2010-06-07 Andreas Schwab <schwab@redhat.com>
38894 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38895 libc_nonshared.a from targets in modules-names.
38897 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38899 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38902 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38904 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38905 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38906 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38907 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38909 2010-06-02 Andreas Schwab <schwab@redhat.com>
38911 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38913 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38915 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38917 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38918 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38919 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38921 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38922 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38924 2010-06-14 Roland McGrath <roland@redhat.com>
38926 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38928 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38930 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38931 __REDIRECT followed by __THROW.
38932 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38933 * posix/getopt.h (getopt): Likewise.
38935 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38937 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38938 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38939 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38941 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38942 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38944 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38946 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38948 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38952 Properly check family and model.
38954 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38956 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38958 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38960 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38962 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38964 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38967 2010-05-19 Andreas Schwab <schwab@redhat.com>
38969 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38972 2010-05-21 Andreas Schwab <schwab@redhat.com>
38974 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38975 and internal_recvmmsg.
38976 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38977 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38978 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38979 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38981 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38982 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38983 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38985 2010-05-20 Andreas Schwab <schwab@redhat.com>
38987 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38989 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38991 POWER7 optimizations.
38992 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38993 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38995 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38997 * version.h: Update for 2.13 development version.
38999 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
39001 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39002 exceptions. Return 0.
39004 2010-05-07 Roland McGrath <roland@redhat.com>
39006 * elf/ldconfig.c (main): Add a const.
39008 2010-05-06 Ulrich Drepper <drepper@redhat.com>
39010 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39011 (args_options): Add no-idn option.
39012 (ahosts_keys_int): Add idn_flags to ai_flags.
39013 (parse_option): Handle 'i' option to clear idn_flags.
39015 * malloc/malloc.c (_int_free): Possible race in the most recently
39016 added check. Only act on the data if no current modification
39019 See ChangeLog.17 for earlier changes.