1 2014-07-23 Allan McRae <allan@archlinux.org>
3 * po/es.po: Update Spanish translation from translation project.
5 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12 * sysdeps/arm/dl-machine.h (elf_machine_rela)
13 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16 2014-07-17 Joseph Myers <joseph@codesourcery.com>
19 * math/fesetenv.c (__fesetenv)
20 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21 * math/feupdateenv.c (__feupdateenv)
22 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
25 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26 (__ASSUME_SOCKETCALL): Do not define.
28 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30 (__ASSUME_SOCKETCALL): Do not define.
31 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
32 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
37 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
42 (__ASSUME_SOCKETCALL): Do not define.
43 (__ASSUME_IPC64): Define unconditionally.
44 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
49 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
50 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
53 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
54 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
55 (__ASSUME_SOCKETCALL): Do not define.
56 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
57 (__ASSUME_FUTEX_LOCK_PI): Likewise.
58 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
59 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
60 (__ASSUME_REQUEUE_PI): Define unconditionally.
61 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
62 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
63 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
64 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
65 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
66 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
68 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
69 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
70 (__ASSUME_SOCKETCALL): Do not define.
71 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
72 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
73 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
74 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
75 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
76 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
78 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
79 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
80 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
81 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
82 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
83 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
84 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
85 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
86 (__ASSUME_GETCPU_SYSCALL): Likewise.
88 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
89 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
90 cases for individual architectures.
91 * sysdeps/gnu/configure: Regenerated.
92 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
94 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
95 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
97 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
98 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
102 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
103 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
105 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
106 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
108 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
109 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
110 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
111 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
113 * sysdeps/aarch64/shlib-versions: Move to ...
114 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
115 * sysdeps/alpha/shlib-versions: Move to ...
116 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
117 * sysdeps/arm/shlib-versions: Move to ...
118 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
119 * sysdeps/hppa/shlib-versions: Move all contents except for
120 libgcc_s entry to ...
121 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
123 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
124 * sysdeps/ia64/shlib-versions: Move to ...
125 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
127 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
128 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
129 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
130 * sysdeps/microblaze/shlib-versions: Move to ...
131 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
132 * sysdeps/mips/shlib-versions: Move to ...
133 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
135 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
136 * sysdeps/tile/shlib-versions: Move to ...
137 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
138 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
140 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
141 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
143 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
145 2014-07-17 Will Newton <will.newton@linaro.org>
147 * sysdeps/arm/bits/atomic.h
148 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
149 (__arch_compare_and_exchange_bool_16_int): Likewise.
150 (__arch_compare_and_exchange_bool_64_int): Likewise.
152 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
155 2014-07-16 Roland McGrath <roland@hack.frob.com>
157 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
158 just Linux configurations. Test empirically that the compiler sets
159 __ARM_EABI__, rather than using the tuple to decide.
160 * sysdeps/arm/preconfigure: Regenerated.
161 * sysdeps/unix/sysv/linux/arm/configure: File removed.
162 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
163 contents appended ...
164 * sysdeps/arm/configure.ac: ... here.
165 * sysdeps/arm/configure: Regenerated.
167 2014-07-15 Roland McGrath <roland@hack.frob.com>
169 * nptl/pthread_kill.c: New file.
170 * nptl/pthread_sigmask.c: New file.
171 * nptl/pthread_sigqueue.c: New file.
173 * sysdeps/nptl/lowlevellock.h: New file.
174 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
175 * sysdeps/nptl/lowlevellock-futex.h: New file.
177 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
178 Remove dead declarations.
180 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
182 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
183 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
185 * sysdeps/x86_64/configure.ac: Likewise.
186 * sysdeps/i386/configure: Regenerated.
187 * sysdeps/x86_64/configure: Likewise.
188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
189 memset-avx2 only if config-cflags-avx2 is yes.
190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
191 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
193 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
194 only if HAVE_AVX2_SUPPORT is defined.
195 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
197 2014-07-14 Alan Modra <amodra@gmail.com>
200 * elf/elf.h (DT_PPC64_NUM): Correct value.
201 * NEWS: Add to fixed bug list.
203 2014-07-13 Jim Meyering <meyering@fb.com>
206 regex: don't deref NULL upon heap allocation failure
207 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
208 failure in one more place.
209 To trigger the segfault, configure grep -with-included-regex,
210 build it, and run these commands:
211 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
213 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
215 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
217 2014-07-11 Richard Henderson <rth@redhat.com>
219 * sysdeps/aarch64/libm-test-ulps: Update.
221 2014-07-10 Florian Weimer <fweimer@redhat.com>
224 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
225 * nptl/allocatestack.c (__nptl_setxid_error): New function.
226 (__nptl_setxid): Initialize error member. Call
228 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
229 * nptl/descr.h (struct xid_command): Add error member.
230 * nptl/tst-setuid3.c: New file.
231 * nptl/Makefile (tests): Add it.
233 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
235 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
237 (__lll_trylock): Use __lll_base_trylock.
238 (__lll_cond_trylock): Likewise.
240 2014-07-10 Roland McGrath <roland@hack.frob.com>
242 * nptl/pthread_create.c (start_thread): Use atomic_or and
243 lll_futex_wake directly rather than lll_robust_dead.
244 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
245 (lll_robust_dead): Macro removed.
246 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
247 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
248 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
249 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
250 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
251 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
252 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
253 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
254 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
255 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
256 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
257 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
258 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
259 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
260 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
262 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
263 Use atomic_compare_and_exchange_val_acq directly rather than
265 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
266 (__lll_robust_trylock, lll_robust_trylock): Removed.
267 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
268 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
269 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
270 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
271 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
272 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
273 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
274 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
275 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
276 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
277 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
278 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
279 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
280 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
282 2014-07-02 Florian Weimer <fweimer@redhat.com>
284 * manual/locale.texi (Locale Names): New section documenting
285 locale name syntax. Adjust menu and node chaining accordingly.
286 (Choosing Locale): Reference Locale Names, Locale Categories.
287 Mention setting LC_ALL=C. Reflect that name syntax is now
289 (Locale Categories): New section title. Reference Locale Names.
290 LC_ALL is an environment variable, but not a category.
291 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
292 description, now in Locale Name. Reference that section. Locale
293 name syntax is now documented.
295 2014-07-02 Florian Weimer <fweimer@redhat.com>
298 * locale/findlocale.c (name_present, valid_locale_name): New
300 (_nl_find_locale): Use the loc_name variable to store name
301 candidates. Call name_present and valid_locale_name to check and
302 validate locale names. Return an error if the locale is invalid.
304 2014-07-02 Florian Weimer <fweimer@redhat.com>
306 * locale/setlocale.c (setlocale): Use strdup for allocating
309 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
312 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
313 [!_LIBC && ENABLE_NLS]: Include gettext.h.
314 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
316 [USE_UNLOCKED_IO]: Include unlocked-io.h.
317 [!_LIBC]: Include code for Windows and Cygwin.
318 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
319 Include prototype for int strerror_r.
320 [!_LIBC] (is_open): New function.
321 (flush_stdout): New function.
322 (print_errno_message): Use it.
324 (error_at_line): Likewise.
325 (error_tail) Add function attribute macros. Use
328 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
330 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
332 * io/ftw.c: Include sys/param.h unconditionally.
334 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
337 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
339 (freecache): New function to free CACHE on exit.
341 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
344 2014-07-09 David S. Miller <davem@davemloft.net>
346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
348 * sysdeps/sparc/nptl/internaltypes.h: Delete.
349 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
350 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
351 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
352 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
353 * sysdeps/sparc/nptl/sem_init.c: Likewise.
354 * sysdeps/sparc/nptl/sem_post.c: Likewise.
355 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
356 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
357 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
358 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
359 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
360 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
362 2014-07-09 Andreas Schwab <schwab@suse.de>
364 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
366 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
369 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
371 2014-07-09 Will Newton <will.newton@linaro.org>
373 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
374 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
375 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
376 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
377 * sysdeps/hppa/start.S (_start): Likewise.
379 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
381 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
383 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
386 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
388 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
389 after checking that it is non-NULL.
391 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
393 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
395 * sysdeps/powerpc/memmove.c: Remove file.
396 * sysdeps/powerpc/powerpc32/power4/memcopy.h
397 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
398 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
399 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
400 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
401 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
402 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
403 string memmove instead of removed powerpc one.
405 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
406 [weak_alias]: Fix compiler warning due trailing data.
407 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
408 [weak_alias]: Likewise.
409 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
410 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
413 (__libc_ifunc_impl_list): Add memmove functions.
415 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
417 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
419 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
421 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
423 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
425 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
427 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
429 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
431 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
433 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
435 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
437 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
439 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
441 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
443 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
445 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
447 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
449 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
452 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
454 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
455 to avoid alignment traps in non-cacheable memory.
456 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
460 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
461 file: multiarch power7 memmove.
462 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
463 multiarch default memmove.
464 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
465 multiarch memove for powerpc32/power4.
467 * string/bcopy.c: Use full path to include memmove.c.
468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
470 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
472 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
475 and memmove implementations.
476 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
477 optimized multiarch memmove for POWER7/powerpc64.
478 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
479 default multiarch memmove for powerpc64.
480 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
481 multiarch for powerpc64.
482 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
483 for POWER7/powerpc64.
484 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
485 memmove for POWER7/powerpc64.
487 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
490 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
491 __ELF_NATIVE_CLASS equal to 64.
493 2014-07-07 Roland McGrath <roland@hack.frob.com>
495 * sysdeps/nptl/lowlevellock.h: File removed.
497 * NEWS: NPTL is no longer an add-on!
498 * nptl/internaltypes.h: Moved ...
499 * sysdeps/nptl/internaltypes.h: ... here.
500 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
501 * sysdeps/nptl/fork.c: Likewise.
502 * sysdeps/nptl/gai_misc.h: Likewise.
503 * sysdeps/nptl/librt-cancellation.c: Likewise.
504 * sysdeps/nptl/jmp-unwind.c: Likewise.
505 * sysdeps/nptl/setxid.h: Likewise.
506 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
507 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
508 * sysdeps/unix/sysv/linux/arm/Implies: New file.
509 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
510 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
511 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
512 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
513 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
514 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
515 * sysdeps/unix/sysv/linux/mips/Implies: New file.
516 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
517 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
518 * sysdeps/unix/sysv/linux/sh/Implies: New file.
519 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
520 * sysdeps/unix/sysv/linux/tile/Implies: New file.
521 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
522 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
523 * nptl/Makeconfig: Moved ...
524 * sysdeps/nptl/Makeconfig: ... here.
525 * nptl/configure: File removed.
526 * nptl/ANNOUNCE: File removed.
527 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
528 * sysdeps/unix/sysv/linux/configure: Regenerated.
530 * nptl/Makefile (routines): Add libc_pthread_init,
531 libc_multiple_threads, register-atfork and unregister-atfork.
532 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
533 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
534 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
535 pthread-pi-defines.sym, structsem.sym.
536 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
537 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
538 [$(subdir) = nptl] (tests): Add tst-setgetname.
539 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
540 * sysdeps/unix/sysv/linux/sigaction.c: Just include
541 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
542 [!LIBC_SIGACTION]: Remove aliases.
543 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
544 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
545 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
546 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
547 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
548 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
549 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
551 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
552 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
553 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
554 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
555 __libc_allocate_rtsig_private.
556 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
557 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
558 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
559 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
560 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
561 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
562 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
563 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
564 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
565 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
566 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
567 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
568 * nptl/internaltypes.h: ... here.
569 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
570 * sysdeps/nptl/jmp-unwind.c: ... here.
571 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
572 * nptl/libc-lowlevellock.c: ... here.
573 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
574 * nptl/libc_multiple_threads.c: ... here.
575 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
576 * nptl/libc_pthread_init.c: ... here.
577 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
578 * nptl/lowlevelbarrier.sym: ... here.
579 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
580 * nptl/lowlevelcond.sym: ... here.
581 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
582 * nptl/lowlevellock.c: ... here.
583 * nptl/lowlevellock.h: Moved ...
584 * sysdeps/nptl/lowlevellock.h: ... here.
585 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
586 * nptl/lowlevelrobustlock.c: ... here.
587 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
588 * nptl/lowlevelrobustlock.sym: ... here.
589 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
590 * nptl/lowlevelrwlock.sym: ... here.
591 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
592 * nptl/pt-fork.c: ... here.
593 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
594 * nptl/pthread-pi-defines.sym: ... here.
595 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
596 * nptl/pthread_attr_getaffinity.c: ... here.
597 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
598 * nptl/pthread_attr_setaffinity.c: ... here.
599 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
600 * nptl/pthread_mutex_cond_lock.c: ... here.
601 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
603 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
604 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
605 * nptl/pthread_once.c: ... here, replacing old file.
606 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
607 * nptl/pthread_yield.c: ... here.
608 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
609 * nptl/register-atfork.c: ... here.
610 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
611 * nptl/sem_post.c: ... here.
612 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
613 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
614 * nptl/sem_timedwait.c: ... here.
615 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
616 * nptl/sem_trywait.c: ... here.
617 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
618 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
619 * nptl/sem_wait.c: ... here.
620 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
621 * nptl/structsem.sym: ... here.
622 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
623 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
624 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
625 * nptl/unregister-atfork.c: ... here.
626 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
627 * nptl/unwindbuf.sym: ... here.
628 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
629 * sysdeps/nptl/fork.c: ... here.
630 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
631 * sysdeps/nptl/fork.h: ... here.
632 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
633 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
634 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
635 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
636 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
637 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
638 * sysdeps/unix/sysv/linux/getpid.c: ... here.
639 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
640 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
641 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
642 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
643 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
644 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
645 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
646 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
647 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
648 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
649 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
650 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
651 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
652 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
653 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
654 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
655 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
656 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
657 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
658 * sysdeps/unix/sysv/linux/raise.c: ... here.
659 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
660 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
661 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
662 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
663 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
664 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
665 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
666 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
667 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
668 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
669 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
670 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
671 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
672 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
673 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
675 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
677 * sysdeps/generic/memcopy.h: Add comment for
678 MEMCPY_OK_FOR_FWD_MEMMOVE.
680 2014-07-04 Will Newton <will.newton@linaro.org>
682 * string/memchr.c: Merge from gnulib.
683 [_LIBC]: Remove conditionals.
684 (__ptr_t): Remove define.
685 (LONG_MAX_32_BITS): Likewise.
686 (LONG_MAX): Likewise.
687 (MEMCHR): Use ANSI prototype and optimize algorithm.
689 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
691 2014-07-03 Roland McGrath <roland@hack.frob.com>
693 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
694 (lll_futex_timed_wait_bitset): Fix syscall argument count.
696 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
697 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
698 in a bare environment with no <stdlib.h> installed.
699 * sysdeps/nptl/configure: Regenerated.
701 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
703 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
704 AC_EGREP_CPP for kernel header checks, so they only succeed if
705 including <linux/version.h> actually works right.
706 * sysdeps/unix/sysv/linux/configure: Regenerated.
708 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
709 value so it's not diagnosed as unused.
711 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
712 thing) with "ifeq ($(subdir),rt)".
714 2014-07-03 Richard Henderson <rth@redhat.com>
716 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
717 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
718 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
720 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
721 (math_force_eval): New.
723 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
724 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
726 * sysdeps/alpha/fpu/s_round.c: Remove file.
727 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
729 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
730 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
731 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
732 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
733 (_dl_start, print_statistics): Likewise.
734 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
735 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
737 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
738 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
739 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
740 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
741 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
742 (HP_SMALL_TIMING_AVAIL): Define.
743 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
744 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
745 (HP_SMALL_TIMING_AVAIL): Define.
746 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
747 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
749 * sysdeps/aarch64/hp-timing.h: New file.
751 * sysdeps/generic/hp-timing.h: Remove dead comment.
752 * sysdeps/generic/hp-timing-common.h: New file.
753 * sysdeps/alpha/hp-timing.h: Include it.
754 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
755 * sysdeps/i386/i686/hp-timing.h: Likewise.
756 * sysdeps/ia64/hp-timing.h: Likewise.
757 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
758 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
759 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
760 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
761 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
762 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
765 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
766 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
767 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
768 * elf/rtld.c (_dl_start_final): Likewise.
769 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
770 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
771 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
772 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
773 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
774 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
775 (HP_TIMING_DIFF_INIT): Remove.
776 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
777 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
778 (HP_TIMING_DIFF_INIT): Remove.
779 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
780 * sysdeps/i386/i686/hp-timing.c: Remove file.
781 * sysdeps/x86_64/hp-timing.c: Remove file.
782 * sysdeps/ia64/hp-timing.c: Remove file.
783 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
784 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
785 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
786 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
788 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
789 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
790 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
791 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
792 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
793 (HP_TIMING_ACCUM): Remove.
794 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
795 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
796 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
798 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
799 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
800 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
801 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
802 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
803 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
804 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
805 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
807 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
809 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
811 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
813 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
815 Sync up with gettext.
816 * intl/loadmsgcat.c: Define O_BINARY if not defined.
817 [_MSC_VER]: Include malloc.h
818 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
819 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
820 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
821 TEMP_FAILURE_RETRY. Cast return of alloca.
822 [!_LIBC] Call gl_rwlock_init.
823 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
825 2014-07-02 Roland McGrath <roland@hack.frob.com>
827 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
828 before checking its value.
830 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
832 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
834 * debug/memcpy_chk.c: Don't include pagecopy.h.
835 * debug/mempcpy_chk.c: Likewise.
836 * string/memcpy.c: Likewise.
837 * string/memmove.c: Likewise.
838 * sysdeps/powerpc/memmove.c: Likewise.
839 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
840 definition of PAGE_COPY_FWD_MAYBE here...
841 * sysdeps/generic/pagecopy.h: ... from here.
842 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
844 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
845 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
851 (__libc_ifunc_impl_list): Likewise.
852 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
853 multiarch strcat for PPC64.
854 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
855 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
857 2014-07-02 Roland McGrath <roland@hack.frob.com>
859 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
861 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
863 * intl/loadmsgcat.c: Remove declaration of
864 get_sysdep_segment_value.
865 (get_sysdep_segment_value): Use ISO C style.
866 (_nl_load_domain): Use ISO C style. Get rid of redundant
867 semicolon. Fix typo and formatting in comment.
868 (_nl_unload_domain): Use ISO C style.
870 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
872 2014-07-02 Will Newton <will.newton@linaro.org>
874 * malloc/obstack.c: Merge from gnulib master.
875 [HAVE_CONFIG_H]: Remove conditional code.
876 [!_LIBC]: Include config.h.
877 [!ELIDE_CODE]: Don't include inttypes.h, include
878 stdint.h unconditionally.
879 (print_and_abort): Mark as _Noreturn.
880 (_obstack_allocated_p): Mark as __attribute_pure__.
881 (obstack_free): Rename to __obstack_free.
882 [!__attribute__]: Remove conditional code.
883 * malloc/obstack.h: Merge from gnulib master.
884 [__cplusplus]: Move conditional down.
885 [!__attribute_pure__]: Define __attribute_pure__ here
886 if it is not already defined.
887 (_obstack_memory_used): Mark as __attribute_pure__.
888 [!__obstack_free]: Define as obstack_free.
889 [__GNUC__]: Remove check for ancient NeXT gcc.
891 2014-07-02 Will Newton <will.newton@linaro.org>
892 Paul Eggert <eggert@cs.ucla.edu>
894 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
896 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
898 * resolv/gethnamaddr.c: Add comment warning that the file is
901 2014-07-01 Carlos O'Donell <carlos@redhat.com>
903 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
906 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
907 entry for aio_cancel and aio_cancel64.
908 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
909 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
910 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
911 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
912 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
913 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
914 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
915 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
916 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
917 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
918 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
919 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
920 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
922 2014-07-01 Roland McGrath <roland@hack.frob.com>
924 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
925 * nptl/pthread_mutex_lock.c: Likewise.
926 * nptl/pthread_mutex_timedlock.c: Likewise.
927 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
929 2014-07-01 Richard henderson <rth@redhat.com>
931 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
932 (__isnan, __isnanl): Remove.
933 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
935 * sysdeps/alpha/fpu/libm-test-ulps: Update.
937 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
939 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
941 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
943 * resolv/nss_dns/dns-host.c (getanswer_r)
944 [MULTI_PTRS_ARE_ALIASES]: Remove code.
946 2014-07-01 Joseph Myers <joseph@codesourcery.com>
948 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
949 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
951 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
952 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
954 2014-07-01 Roland McGrath <roland@hack.frob.com>
956 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
957 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
959 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
960 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
962 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
963 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
965 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
966 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
968 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
969 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
970 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
971 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
973 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
974 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
975 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
976 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
977 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
979 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
981 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
982 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
983 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
984 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
985 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
986 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
987 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
989 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
991 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
992 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
993 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
994 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
995 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
996 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
997 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
998 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
999 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1000 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1002 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1003 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1004 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1005 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1006 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1007 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1008 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1009 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1011 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1013 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1014 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1015 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1018 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1022 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1024 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1025 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1027 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1029 * sysdeps/arm/libm-test-ulps: Regenerated.
1031 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1032 Roland McGrath <roland@hack.frob.com>
1034 * test-skeleton.c (signal_handler): Kill the whole process group
1035 before killing the child individually.
1036 (main): Report any failure on `setpgid'.
1038 2014-06-30 Roland McGrath <roland@hack.frob.com>
1040 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1041 from _TLS_H to _ARM_NPTL_TLS_H.
1042 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1043 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1045 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1048 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1049 (__expm1l): Return argument unchanged when small but not
1052 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1054 (_FP_UNPACK_RAW_1_P): Likewise.
1055 (_FP_PACK_RAW_1): Likewise.
1056 (_FP_PACK_RAW_1_P): Likewise.
1057 (_FP_MUL_MEAT_1_wide): Likewise.
1058 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1059 (_FP_MUL_MEAT_1_hard): Likewise.
1060 (_FP_DIV_MEAT_1_imm): Likewise.
1061 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1062 (_FP_DIV_MEAT_1_udiv): Likewise.
1063 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1064 (_FP_UNPACK_RAW_2): Likewise.
1065 (_FP_UNPACK_RAW_2_P): Likewise.
1066 (_FP_PACK_RAW_2): Likewise.
1067 (_FP_PACK_RAW_2_P): Likewise.
1068 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1069 (_FP_MUL_MEAT_2_wide): Likewise.
1070 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1071 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1072 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1073 (_FP_MUL_MEAT_2_gmp): Likewise.
1074 (_FP_DIV_MEAT_2_udiv): Likewise.
1075 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1076 (_FP_FRAC_SRL_4): Likewise.
1077 (_FP_FRAC_SRST_4): Likewise.
1078 (_FP_FRAC_SRS_4): Likewise.
1079 (_FP_UNPACK_RAW_4): Likewise.
1080 (_FP_UNPACK_RAW_4_P): Likewise.
1081 (_FP_PACK_RAW_4): Likewise.
1082 (_FP_PACK_RAW_4_P): Likewise.
1083 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1084 (_FP_MUL_MEAT_4_wide): Likewise.
1085 (_FP_MUL_MEAT_4_gmp): Likewise.
1086 (umul_ppppmnnn): Likewise.
1087 (_FP_DIV_MEAT_4_udiv): Likewise.
1088 (__FP_FRAC_ADD_4): Likewise.
1089 (__FP_FRAC_SUB_3): Likewise.
1090 (__FP_FRAC_SUB_4): Likewise.
1091 (__FP_FRAC_DEC_3): Likewise.
1092 (__FP_FRAC_DEC_4): Likewise.
1093 (__FP_FRAC_ADDI_4): Likewise.
1094 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1095 (_FP_FRAC_SRL_8): Likewise.
1096 (_FP_FRAC_SRS_8): Likewise.
1098 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1100 (FP_UNPACK_RAW_EP): Likewise.
1101 (FP_PACK_RAW_E): Likewise.
1102 (FP_PACK_RAW_EP): Likewise.
1103 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1104 (_FP_ISSIGNAN): Likewise.
1105 (_FP_ADD_INTERNAL): Likewise.
1106 (_FP_FMA): Likewise.
1107 (_FP_CMP): Likewise.
1108 (_FP_SQRT): Likewise.
1109 (_FP_TO_INT): Likewise.
1110 (_FP_FROM_INT): Likewise.
1111 (FP_EXTEND): Likewise.
1112 (_FP_DIV_MEAT_N_loop): Likewise.
1114 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1116 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1119 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1122 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1123 result with correct sign in case of exponents that produce
1124 overflow except for X very close to 1.
1126 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1128 mktime: merge #if/#ifdef usage from glibc
1129 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1130 as that works with both Glibc's and Gnulib's style.
1131 See thread starting at Siddhesh Poyarekar's bug report at:
1132 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1134 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1136 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1137 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1138 * sysdeps/tile/tilegx/memmove.c: Remove file.
1140 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1142 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1143 abi-name definition.
1144 * scripts/soversions.awk: Do not handle or generate ABI lines.
1145 * shlib-versions: Remove ABI entries.
1146 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1147 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1149 2014-06-27 Roland McGrath <roland@hack.frob.com>
1151 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1152 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1153 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1154 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1155 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1156 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1157 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1159 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1161 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1162 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1163 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1166 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1167 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1168 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1169 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1170 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1171 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1172 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1173 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1175 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1182 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1183 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1185 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1187 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1188 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1190 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1192 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1193 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1194 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1196 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1199 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1200 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1201 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1202 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1204 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1207 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1208 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1209 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1210 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1212 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1214 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1215 Identical file removed.
1216 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1218 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1220 Identical file removed.
1221 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1222 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1223 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1225 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1226 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1227 Identical file removed.
1228 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1229 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1230 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1231 Identical file removed.
1232 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1233 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1234 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1235 Identical file removed.
1236 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1237 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1238 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1239 Identical file removed.
1240 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1242 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1243 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1244 Identical file removed.
1245 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1247 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1248 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1249 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1250 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1251 Identical file removed.
1252 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1254 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1256 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1257 Identical file removed.
1258 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1260 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1261 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1262 Identical file removed.
1263 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1265 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1266 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1267 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1268 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1269 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1270 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1272 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1273 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1274 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1276 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1277 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1278 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1279 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1280 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1282 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1285 * nscd/nscd.c (monitor_child): Return exit status of child
1286 instead of return value from wait syscall.
1288 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1290 * configure.ac (libc_commonpagesize): Remove variable.
1291 (libc_relro_required): Likewise.
1292 (libc_cv_z_relro): Remove configure test.
1293 * configure: Regenerated.
1294 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1296 (libc_relro_required): Likewise.
1297 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1298 (libc_relro_required): Likewise.
1299 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1300 (libc_relro_required): Likewise.
1301 * sysdeps/arm/preconfigure: Regenerated.
1302 * sysdeps/ia64/preconfigure: Remove file.
1303 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1305 (libc_relro_required): Likewise.
1309 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1310 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1311 recompute overflowing results in original rounding mode.
1312 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1313 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1314 recompute overflowing results in original rounding mode.
1315 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1316 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1317 recompute overflowing results in original rounding mode.
1318 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1319 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1320 recompute overflowing results in original rounding mode.
1321 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1322 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1323 recompute overflowing results in original rounding mode.
1324 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1325 (libc_feholdsetround_ctx): New macro.
1326 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1327 * sysdeps/i386/fpu/libm-test-ulps: Update.
1328 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1330 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1332 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1333 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1334 corresponding .cpsetup call.
1336 2014-06-26 Roland McGrath <roland@hack.frob.com>
1338 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1339 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1340 * sysdeps/arm/Makefile [$(subdir) = csu]
1341 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1342 (static-only-routines): Add aeabi_read_tp here.
1343 (shared-only-routines): Add libc-aeabi_read_tp here.
1344 (CFLAGS-libc-start.c): Add -fexceptions here.
1345 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1346 (sysdep_routines, static-only-routines, shared-only-routines):
1347 Don't add to these here.
1348 (CFLAGS-libc-start.c): Likewise.
1350 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1351 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1352 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1353 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1354 * sysdeps/arm/Makefile [$(subdir) = rt]
1355 (librt-sysdep_routines, librt-shared-only-routines):
1356 Append rt-aeabi_unwind_cpp_pr1 here.
1357 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1358 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1359 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1360 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1361 Append nptl-aeabi_unwind_cpp_pr1 here.
1362 (tests): Filter out tst-cleanupx4 here.
1363 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1364 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1365 Don't do those here.
1367 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1369 * scripts/list-sources.sh: Do not handle ports specially.
1371 2014-06-26 Roland McGrath <roland@hack.frob.com>
1373 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1374 * sysdeps/arm/feupdateenv.c: Likewise.
1376 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1378 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1380 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1381 trailing whitespace removed.
1382 * scripts/config.guess: Update to version 2014-03-23.
1383 * scripts/config.sub: Update to version 2014-05-01
1384 * scripts/install-sh: Update to version 2013-12-25.23.
1385 * scripts/move-if-change: Update from gnulib.
1387 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1389 * debug/memmove_chk.c: Remove pagecopy.h include.
1391 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1393 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1394 identical to gnulib mktime.
1396 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1398 * configure.ac: Do not test for machine being rs6000. Do not test
1400 * configure: Regenerated.
1402 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1404 * configure: Regenerated.
1405 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1406 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1407 Remove configure test.
1408 * sysdeps/arm/configure: Regenerated.
1409 * sysdeps/nptl/configure.ac: Do not check
1410 libc_cv_asm_cfi_directives.
1411 * sysdeps/nptl/configure: Regenerated.
1412 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1413 * sysdeps/x86_64/nptl/configure: Remove generated file.
1414 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1416 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1418 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1420 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1421 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1422 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1425 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1426 instead of whether it is defined.
1427 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1428 * sysdeps/hppa/dl-machine.h: Likewise.
1429 * sysdeps/ia64/dl-machine.h: Likewise.
1430 * sysdeps/m68k/dl-machine.h: Likewise.
1431 * sysdeps/microblaze/dl-machine.h: Likewise.
1432 * sysdeps/mips/dl-machine.: Likewise.
1433 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1434 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1435 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1436 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1437 * sysdeps/sh/dl-machine.h: Likewise.
1438 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1439 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1440 * sysdeps/tile/dl-machine.h: Likewise.
1441 * sysdeps/x86_64/dl-machine.h: Likewise.
1443 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1445 (verify_persistent_db): Likewise.
1447 2014-06-26 Roland McGrath <roland@hack.frob.com>
1449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1450 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1455 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1458 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1460 Identical file removed.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1462 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1464 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1466 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1468 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1470 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1473 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1475 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1480 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1482 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1484 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1486 Identical file removed.
1487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1488 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1490 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1493 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1496 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1498 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1500 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1502 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1504 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1507 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1510 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1512 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1515 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1517 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1519 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1521 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1522 * sysdeps/unix/sysv/linux/s390/Versions
1523 (libpthread: GLIBC_2.19): New version set.
1524 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1525 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1526 (librt: GLIBC_2.3.3): New version set.
1527 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1528 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1529 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1530 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1531 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1532 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1533 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1534 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1535 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1536 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1537 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1538 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1539 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1540 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1541 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1542 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1543 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1544 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1545 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1546 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1547 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1548 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1549 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1550 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1551 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1552 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1553 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1554 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1555 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1556 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1557 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1558 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1559 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1560 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1561 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1562 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1563 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1564 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1565 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1566 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1567 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1568 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1569 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1570 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1571 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1573 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1574 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1575 (__libc_vfork): Define the function under this name.
1576 [!NOT_IN_libc] (__vfork): Make this an alias.
1577 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1578 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1579 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1580 (__libc_vfork): Define the function under this name.
1581 [!NOT_IN_libc] (__vfork): Make this an alias.
1582 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1583 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1584 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1585 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1586 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1587 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1589 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1590 code that was previously under [RESET_PID].
1591 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1592 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1593 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1595 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1596 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1597 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1598 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1599 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1600 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1601 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1602 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1603 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1604 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1605 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1607 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1609 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1610 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1611 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1612 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1613 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1615 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1617 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1618 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1619 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1620 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1621 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1622 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1623 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1625 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1626 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1627 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1628 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1629 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1630 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1631 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1632 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1633 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1634 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1635 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1637 2014-06-25 Roland McGrath <roland@hack.frob.com>
1639 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1640 that was previously under [RESET_PID].
1641 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1643 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1645 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1646 not undefine and redefine.
1647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1648 [O_CLOEXEC]: Make code unconditional.
1649 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1650 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1651 <kernel-features.h>.
1652 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1653 conditional variable definition.
1654 (shm_open) [O_CLOEXEC]: Make code unconditional.
1655 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1658 * configure.ac (USE_REGPARMS): Don't define here.
1659 * configure: Regenerated.
1660 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1661 * sysdeps/i386/configure: Regenerated.
1663 * nptl/createthread.c: Don't include kernel-features.h.
1664 * nptl/pthread_cancel.c: Likewise.
1665 * nptl/pthread_condattr_setclock.c: Likewise.
1666 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1667 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1668 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1669 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1670 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1671 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1672 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1673 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1674 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1675 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1676 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1677 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1678 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1679 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1680 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1681 * nscd/gai.c: Likewise.
1682 * nss/nss_db/db-open.c: Likewise.
1683 * sysdeps/generic/ldsodefs.h: Likewise.
1684 * sysdeps/sh/nptl/tls.h: Likewise.
1685 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1686 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1687 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1688 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1689 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1690 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1691 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1692 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1694 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1695 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1696 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1697 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1698 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1699 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1700 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1701 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1702 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1703 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1704 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1705 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1706 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1707 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1708 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1709 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1710 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1711 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1712 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1713 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1714 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1715 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1716 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1717 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1718 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1719 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1720 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1721 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1722 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1723 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1724 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1725 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1726 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1727 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1728 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1729 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1730 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1731 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1732 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1733 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1734 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1735 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1736 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1737 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1738 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1739 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1740 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1741 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1742 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1765 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1766 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1767 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1768 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1769 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1770 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1771 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1772 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1773 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1774 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1775 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1776 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1777 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1778 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1779 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1780 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1781 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1782 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1783 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1784 * sysdeps/unix/sysv/linux/system.c: Likewise.
1785 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1786 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1787 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1788 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1789 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1790 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1791 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1793 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1794 * configure: Regenerated.
1795 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1797 * configure.ac (base_machine): Do not set specially for particular
1799 * configure: Regenerated.
1800 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1801 settings from configure.ac.
1802 * sysdeps/i386/preconfigure: New file.
1803 * sysdeps/s390/preconfigure: Likewise.
1804 * sysdeps/sh/preconfigure: Likewise.
1805 * sysdeps/sparc/preconfigure: Likewise.
1807 2014-06-25 Roland McGrath <roland@hack.frob.com>
1809 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1810 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1811 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1812 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1813 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1814 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1815 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1816 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1817 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1818 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1819 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1820 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1821 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1822 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1823 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1824 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1825 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1826 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1827 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1829 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1830 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1831 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1832 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1833 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1834 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1835 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1836 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1837 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1838 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1839 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1840 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1841 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1842 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1843 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1844 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1845 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1846 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1847 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1848 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1849 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1850 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1851 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1852 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1853 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1854 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1855 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1856 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1857 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1858 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1859 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1860 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1861 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1862 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1863 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1864 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1865 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1866 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1869 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1871 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1874 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1877 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1879 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1882 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1884 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1886 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1888 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1891 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1894 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1896 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1899 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1901 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1903 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1905 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1907 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1910 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1913 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1915 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1918 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1920 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1922 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1924 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1927 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1930 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1932 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1935 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1939 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1941 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1943 * timezone/checktab.awk: Update from tzcode 2014e.
1944 * timezone/private.h: Likewise.
1945 * timezone/tzfile.h: Likewise.
1946 * timezone/zdump.c: Likewise.
1947 * timezone/zic.c: Likewise.
1949 * sysdeps/unix/sysv/linux/kernel-features.h
1950 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1951 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1952 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1953 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1954 Remove conditional code.
1956 2014-06-25 Will Newton <will.newton@linaro.org>
1958 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1959 (_dl_arm_cap_flags): Add HWCAP2 values.
1960 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1961 (_DL_HWCAP_COUNT): Increase to 37.
1962 (_DL_HWCAP_LAST): New define.
1963 (_DL_HWCAP2_LAST): New define.
1964 (_dl_procinfo): Add support for printing
1966 (_dl_string_hwcap): Use _dl_hwcap_string.
1968 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1972 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1974 * README: Do not mention ports directory.
1976 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1978 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1979 <kernel-features.h>.
1980 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1981 conditional variable definition.
1982 (__futimes): Update comment.
1983 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1984 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1987 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1988 arguments close to 0.
1989 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1991 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1993 * math/auto-libm-test-in: Add more tests of exp10.
1994 * math/auto-libm-test-out: Regenerated.
1995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1997 * sysdeps/unix/sysv/linux/kernel-features.h
1998 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1999 * sysdeps/unix/sysv/linux/readv.c: Do not include
2000 <kernel-features.h>.
2001 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2002 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2003 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2005 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2007 * sysdeps/unix/sysv/linux/writev.c: Do not include
2008 <kernel-features.h>.
2009 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2010 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2011 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2013 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2016 2014-06-25 Will Newton <will.newton@linaro.org>
2018 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2019 comment changes throughout the file. Remove checks
2020 for HAVE_*_H definitions that are not required.
2021 (__gen_tempname): Call abort if an unknown kind value is
2024 2014-06-25 Andreas Schwab <schwab@suse.de>
2027 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2028 scalbln, scalblnf, scalblnl in libc.
2030 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2033 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2034 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2035 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2037 2014-06-24 Roland McGrath <roland@hack.frob.com>
2039 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2040 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2041 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2042 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2044 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2045 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2047 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2048 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2049 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2050 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2051 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2052 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2053 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2054 * sysdeps/x86/bits/semaphore.h: ... here.
2055 * sysdeps/x86/nptl/elide.h: Moved ...
2056 * sysdeps/x86/elide.h: ... here.
2057 * sysdeps/x86_64/nptl/Implies: File removed.
2058 * sysdeps/i386/nptl/Implies: File removed.
2060 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2063 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2064 return the argument for normal arguments with exponent below -64.
2065 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2067 * math/auto-libm-test-in: Add another test of expm1.
2068 * math/auto-libm-test-out: Regenerated.
2071 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2072 calling __erfcl for arguments at least 16.
2073 * math/auto-libm-test-in: Add more tests of erf.
2074 * math/auto-libm-test-out: Regenerated.
2076 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2077 individual architectures.
2078 * sysdeps/unix/sysv/linux/configure: Regenerated.
2079 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2080 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2081 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2082 (ldd_rewrite_script): Define variable.
2083 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2088 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2089 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2090 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2091 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2092 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2093 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2094 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2095 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2097 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2100 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2101 Rename member __data.d to __data.__elision_data.
2103 2014-06-24 Wilco <wdijkstr@arm.com>
2105 * NEWS: Add 16918 to fixed bug list.
2107 2014-06-24 Wilco <wdijkstr@arm.com>
2109 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2111 2014-06-24 Wilco <wdijkstr@arm.com>
2113 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2114 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2115 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2116 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2117 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2118 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2119 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2122 2014-06-24 Wilco <wdijkstr@arm.com>
2124 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2126 2014-06-24 Wilco <wdijkstr@arm.com>
2128 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2129 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2130 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2131 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2133 2014-06-24 Wilco <wdijkstr@arm.com>
2136 * sysdeps/arm/feupdateenv.c (feupdateenv):
2137 Rewrite to reduce FPSCR accesses and fix return value.
2139 2014-06-24 Wilco <wdijkstr@arm.com>
2141 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2142 Optimize to avoid unnecessary FPSCR writes.
2143 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2144 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2145 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2146 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2148 2014-06-24 Wilco <wdijkstr@arm.com>
2150 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2151 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2152 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2153 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2154 Call libc_fetestexcept_vfp.
2155 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2156 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2157 __SOFTFP__ ifdef so that they can be built for softfp.
2159 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2161 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2162 argument type signed char.
2164 * Makerules (check-abi): Dump diff of symlist if the test
2167 2014-06-23 Roland McGrath <roland@hack.frob.com>
2169 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2172 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2173 Remove unused variable ST.
2175 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2179 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2180 small arguments before calling __expm1.
2181 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2182 small arguments before calling __expm1f.
2183 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2184 small arguments before calling __expm1l.
2185 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2187 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2188 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2189 spurious underflow for some cosh tests.
2190 * math/auto-libm-test-out: Regenerated.
2191 * sysdeps/i386/fpu/libm-test-ulps: Update.
2194 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2195 (__ieee754_y1): Set errno if return value overflows.
2196 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2197 (__ieee754_y1f): Set errno if return value overflows.
2198 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2199 (__ieee754_y1l): Set errno if return value overflows.
2200 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2201 (__ieee754_y1l): Set errno if return value overflows.
2202 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2203 * math/auto-libm-test-out: Regenerated.
2205 * math/gen-auto-libm-tests.c: Document use of
2206 ignore-zero-inf-sign.
2207 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2208 (input_flags): Add ignore-zero-inf-sign.
2209 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2210 * math/gen-libm-test.pl (generate_testfile): Handle
2211 ignore-zero-inf-sign.
2212 * math/auto-libm-test-in: Mark some cpow tests with
2213 ignore-zero-inf-sign and some with xfail-rounding.
2214 * math/auto-libm-test-out: Regenerated.
2215 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2216 * sysdeps/i386/fpu/libm-test-ulps: Update.
2217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2220 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2221 overflowing or underflowing operations take place with sign of
2223 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2224 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2225 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2226 (__ieee754_pow): Recompute overflowing and underflowing results in
2227 original rounding mode.
2228 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2229 (__powl_helper): Allow negative argument X and scale negated value
2230 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2231 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2232 overflowing or underflowing operations take place with sign of
2234 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2236 * math/auto-libm-test-in: Add more tests of pow.
2237 * math/auto-libm-test-out: Regenerated.
2238 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2239 (pow_tonearest_test_data): Remove.
2240 (pow_test_tonearest): Likewise.
2241 (pow_towardzero_test_data): Likewise.
2242 (pow_test_towardzero): Likewise.
2243 (pow_downward_test_data): Likewise.
2244 (pow_test_downward): Likewise.
2245 (pow_upward_test_data): Likewise.
2246 (pow_test_upward): Likewise.
2247 (main): Don't call removed functions.
2248 * sysdeps/i386/fpu/libm-test-ulps: Update.
2249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2251 2014-06-23 Roland McGrath <roland@hack.frob.com>
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2427 2014-06-23 Will Newton <will.newton@linaro.org>
2428 Wilco <wdijkstr@arm.com>
2430 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2431 implementation. Include get-rounding-mode.h.
2432 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2433 [!libc_feholdsetround_noex_ctx]: Define
2434 libc_feholdsetround_noex_ctx.
2435 [!libc_feholdsetround_noexf_ctx]: Define
2436 libc_feholdsetround_noexf_ctx.
2437 [!libc_feholdsetround_noexl_ctx]: Define
2438 libc_feholdsetround_noexl_ctx.
2439 (libc_feholdsetround_ctx): New function.
2440 (libc_feresetround_ctx): New function.
2441 (libc_feholdsetround_noex_ctx): New function.
2442 (libc_feresetround_noex_ctx): New function.
2444 2014-06-23 Roland McGrath <roland@hack.frob.com>
2446 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2447 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2448 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2449 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2450 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2451 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2453 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2454 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2455 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2456 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2457 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2458 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2459 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2460 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2461 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2462 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2463 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2465 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2467 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2468 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2469 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2470 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2471 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2473 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2475 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2476 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2477 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2478 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2479 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2480 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2482 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2483 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2485 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2486 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2487 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2488 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2490 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2491 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2492 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2493 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2494 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2495 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2496 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2497 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2498 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2499 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2501 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2503 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2504 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2505 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2506 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2507 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2508 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2510 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2512 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2513 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2514 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2515 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2517 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2518 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2519 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2520 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2521 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2522 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2524 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2525 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2526 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2527 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2528 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2530 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2531 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2532 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2533 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2534 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2535 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2536 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2537 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2539 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2540 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2541 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2542 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2543 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2544 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2545 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2546 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2547 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2548 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2549 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2550 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2551 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2552 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2553 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2554 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2555 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2556 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2557 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2559 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2561 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2562 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2563 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2564 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2565 (IPV6_PMTUDISC_INTERFACE): Likewise.
2566 (IPV6_PMTUDISC_OMIT): Likewise.
2568 2014-06-23 Andreas Schwab <schwab@suse.de>
2570 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2571 Remove unused errout label.
2573 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2575 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2576 macro: hardware supports Vector Crypto instructions.
2578 2014-06-23 Will Newton <will.newton@linaro.org>
2580 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2581 rather than __builtin_expect.
2583 * elf/dl-lookup.c (undefined_msg): Remove variable.
2584 (_dl_lookup_symbol_x): Replace undefined_msg with string
2587 * elf/dl-lookup.c (do_lookup_unique): New function.
2588 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2589 to a separate function.
2591 2014-06-23 Andreas Schwab <schwab@suse.de>
2594 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2595 before reading the next line.
2597 2014-06-23 Will Newton <will.newton@linaro.org>
2599 * test-skeleton.c (signal_handler): Use printf and %m
2600 rather than perror. Use printf rather than fprintf to
2601 stderr. Use puts rather than fputs to stderr.
2604 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2606 * nscd/nscd.c (thread_info_t): Remove typedef.
2607 (thread_info): Remove variable.
2609 2014-06-21 Allan McRae <allan@archlinux.org>
2611 * NEWS: Mention CVE-2014-4043.
2613 2014-06-20 Roland McGrath <roland@hack.frob.com>
2615 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2616 * nptl/smp.h: ... here.
2618 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2620 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2621 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2622 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2623 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2625 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2626 * nptl/stack-aliasing.h: New file.
2627 * sysdeps/i386/i686/stack-aliasing.h: New file.
2628 * sysdeps/i386/i686/nptl/Makefile: File removed.
2629 * sysdeps/x86_64/stack-aliasing.h: New file.
2630 * sysdeps/x86_64/nptl/Makefile
2631 (CFLAGS-pthread_create.c): Variable removed.
2633 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2634 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2636 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2637 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2640 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2642 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2643 (__ASSUME_SIGFRAME_V2): Remove macro.
2644 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2645 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2646 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2647 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2648 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2649 Declare as function. Remove conditional macro definitions.
2650 (__default_rt_sa_restorer): Likewise.
2651 (__default_sa_restorer_v1): Remove declaration.
2652 (__default_sa_restorer_v2): Likewise.
2653 (__default_rt_sa_restorer_v1): Likewise.
2654 (__default_rt_sa_restorer_v2): Likewise.
2655 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2656 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2657 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2659 2014-06-20 Roland McGrath <roland@hack.frob.com>
2661 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2662 (libpthread-routines): Add sysdep.
2663 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2664 * sysdeps/unix/sysv/linux/sparc/Versions
2665 (libpthread: GLIBC_2.3.3): New version set.
2666 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2667 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2668 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2669 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2670 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2671 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2673 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2674 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2675 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2676 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2677 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2678 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2679 * sysdeps/sparc/nptl/sem_init.c: ... here.
2680 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2681 * sysdeps/sparc/nptl/sem_post.c: ... here.
2682 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2683 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2684 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2685 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2686 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2687 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2688 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2689 (libpthread-routines): Add cpu_relax.
2690 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2692 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2693 (librt: GLIBC_2.3.3): New version set.
2694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2695 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2696 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2697 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2700 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2701 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2703 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2705 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2707 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2709 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2711 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2714 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2718 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2722 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2726 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2730 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2734 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2737 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2743 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2745 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2748 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2750 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2751 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2752 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2754 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2756 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2757 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2758 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2759 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2760 * nscd/nscd.c: Likewise.
2761 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2762 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2763 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2764 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2766 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2767 <kernel-features.h>.
2768 (init_mq_netlink): Remove conditional have_sock_cloexec
2769 definitions. Remove code conditional on have_sock_cloexec < 0.
2770 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2771 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2772 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2773 <kernel-features.h>.
2774 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2775 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2777 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2780 Add tests for memset_chk and memset.
2782 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2785 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2788 * elf/tst-dl-iter-static.c: New file.
2789 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2791 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2794 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2796 * sysdeps/unix/sysv/linux/kernel-features.h
2797 (__ASSUME_F_GETOWN_EX): Remove macro.
2798 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2799 <kernel-features.h>.
2800 (miss_F_GETOWN_EX): Remove variable or macro.
2801 (do_fcntl): Do not check miss_F_GETOWN_EX.
2802 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2804 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2806 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2807 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2808 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2810 * sysdeps/unix/sysv/linux/kernel-features.h
2811 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2812 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2813 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2814 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2816 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2819 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2820 Fix calculation of the symbol's value.
2821 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2822 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2823 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2824 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2825 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2826 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2827 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2828 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2829 (modules-names): Add `tst-armtlsdescmod',
2830 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2831 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2832 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2833 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2834 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2835 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2836 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2837 ($(objpfx)tst-armtlsdescloc): New dependency.
2838 ($(objpfx)tst-armtlsdescextnow): Likewise.
2839 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2840 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2842 * sysdeps/arm/configure: Regenerate.
2844 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2846 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2847 (__atfct_seterrno_2): Likewise.
2848 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2849 <kernel-features.h>.
2850 (__ASSUME_ATFCTS): Do not undefine and redefine.
2851 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2852 (__have_atfcts): Remove conditional definition.
2853 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2854 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2855 unreachable if [__ASSUME_ATFCTS].
2856 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2857 not undefine and redefine.
2858 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2859 <kernel-features.h>.
2860 (faccessat) [__NR_faccessat]: Make code unconditional.
2861 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2862 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2863 <kernel-features.h>.
2864 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2865 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2866 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2867 <kernel-features.h>.
2868 (fchownat) [__NR_fchownat]: Make code unconditional.
2869 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2870 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2871 <kernel-features.h>.
2872 (futimesat) [__NR_futimesat]: Make code unconditional.
2873 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2874 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2875 <kernel-features.h>.
2876 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2877 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2878 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2879 <kernel-features.h>.
2880 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2881 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2882 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2883 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2884 <kernel-features.h>.
2885 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2886 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2887 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2888 <kernel-features.h>.
2889 (linkat) [__NR_linkat]: Make code unconditional.
2890 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2891 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2892 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2893 <kernel-features.h>.
2894 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2895 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2896 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2897 <kernel-features.h>.
2898 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2899 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2900 * sysdeps/unix/sysv/linux/openat.c: Do not include
2901 <kernel-features.h>.
2902 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2903 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2904 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2905 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2906 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2907 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2908 <kernel-features.h>.
2909 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2910 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2911 result of INLINE_SYSCALL directly, not via int variable.
2912 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2913 <kernel-features.h>.
2914 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2915 (renameat) [__NR_renameat]: Make code unconditional.
2916 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2917 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2918 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2919 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2920 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2921 (__ASSUME_ATFCTS): Do not undefine and redefine.
2922 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2923 <kernel-features.h>.
2924 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2925 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2926 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2927 <kernel-features.h>.
2928 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2929 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2930 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2931 (__ASSUME_ATFCTS): Do not undefine and redefine.
2932 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2933 <kernel-features.h>.
2934 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2935 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2936 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2937 <kernel-features.h>.
2938 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2939 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2941 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2943 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2945 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2948 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2949 constructed tree before returning error.
2950 * posix/bug-regexp36.c: Expand test case.
2952 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2955 * math/libm-test.inc (scalbln_test_date):
2956 Add errno expectations.
2957 * math/w_scalblnf.c: New File.
2958 Add wrapper which checks for setting errno to ERANGE.
2959 Add weak_alias for corresponding scalbln function.
2960 * math/w_scalbln.c: Likewise.
2961 * math/w_scalblnl.c: Likewise.
2962 * math/Makefile (libm-calls): Add w_scalbln.
2963 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2964 Remove weak_alias for corresponding scalbln function.
2965 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2967 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2968 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2969 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2970 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2971 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2972 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2973 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2974 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2975 Remove long_double_symbol for scalblnl function in libm, libc.
2976 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2977 Add wrapper which checks for setting errno to ERANGE.
2978 Add long_double_symbol for scalblnl function in libm, libc.
2979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2980 Remove long_double_symbol for scalblnl in libm.
2981 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2982 Add wrapper which checks for setting errno to ERANGE.
2983 Add long_double_symbol for scalblnl function in libm.
2984 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2985 Do not use wrapper because of own implementation.
2987 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2989 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2990 3 bytes for __pad1 for x32.
2991 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2993 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2994 H.J. Lu <hongjiu.lu@intel.com>
2996 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2997 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2998 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2999 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3000 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3002 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3005 * posix/regcomp.c (parse_expression): Deallocate partially
3006 constructed tree before returning error.
3007 * posix/Makefile.c (tests): Add bug-regex36.
3008 (generated): Add bug-regex36.mtrace.
3009 (tests-special): Add $(objpfx)bug-regex36-mem.out
3010 (bug-regex36-ENV): New variable.
3011 ($(objpfx)bug-regex36-mem.out): New rule.
3012 * posix/bug-regex36.c: New file.
3014 2014-06-19 Will Newton <will.newton@linaro.org>
3016 * malloc/malloc.c (systrim): If extra is zero then return
3019 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3021 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3023 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3025 * sysdeps/aarch64/strchr.S: New file.
3027 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3030 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3031 from arguments -2 or below.
3032 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3033 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3035 2014-06-18 Andreas Schwab <schwab@suse.de>
3038 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3039 of a bracket expr not to run off the end of the string.
3040 * posix/Makefile (tests): Add tst-fnmatch3.
3041 * posix/tst-fnmatch3.c: New file.
3043 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3045 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3046 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3047 [$(cross-compiling) = no]: Likewise.
3048 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3049 [$(cross-compiling) = no]: Likewise.
3051 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3054 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3055 double, adjusted for any remainder from the high double.
3056 * math/libm-test.inc (nearbyint): Add tests.
3059 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3061 * nptl/sysdeps/powerpc/Makefile: Moved ...
3062 * sysdeps/powerpc/nptl/Makefile: ... here.
3063 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3064 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3065 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3066 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3067 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3068 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3069 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3070 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3071 * nptl/sysdeps/powerpc/tls.h: Moved ...
3072 * sysdeps/powerpc/nptl/tls.h: ... here.
3074 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3077 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3078 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3079 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3080 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3081 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3082 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3083 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3084 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3085 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3087 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3089 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3091 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3093 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3096 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3099 2014-06-16 Florian Weimer <fweimer@redhat.com>
3102 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3103 non-executed part of the test.
3105 2014-06-16 Andreas Schwab <schwab@suse.de>
3107 * string/bits/string2.h (strdup, strndup): Update feature guard.
3109 2014-06-14 David S. Miller <davem@davemloft.net>
3111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3113 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3115 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3116 that was previously under [RESET_PID].
3117 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3119 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3120 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3121 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3122 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3123 (__libc_vfork): New strong alias.
3124 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3126 2014-06-14 Andi Kleen <ak@linux.intel.com>
3128 * sysdeps/generic/elide.h: New file.
3130 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3132 * Makefile (installed-headers): Adjust path of pthread.h header.
3134 2014-06-13 Roland McGrath <roland@hack.frob.com>
3136 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3137 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3138 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3139 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3141 * nptl/sysdeps/s390/Makefile: Moved ...
3142 * sysdeps/s390/nptl/Makefile: ... here.
3143 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3144 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3145 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3146 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3147 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3148 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3149 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3150 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3151 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3152 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3153 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3154 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3155 * nptl/sysdeps/s390/tls.h: Moved ...
3156 * sysdeps/s390/nptl/tls.h: ... here.
3158 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3159 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3161 2014-06-13 David S. Miller <davem@davemloft.net>
3163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3166 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3170 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3171 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3172 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3173 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3174 Remove RESET_PID cpp guards.
3175 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3176 Remove RESET_PID cpp guards.
3177 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3179 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3181 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3184 2014-06-13 Andi Kleen <ak@linux.intel.com>
3186 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3187 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3188 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3189 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3190 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3191 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3192 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3193 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3194 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3195 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3196 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3197 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3198 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3199 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3200 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3201 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3202 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3203 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3204 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3205 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3207 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3208 (pthread_rwlock_rdlock): Add elision.
3209 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3210 (pthread_rwlock_wrlock): Add elision.
3211 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3212 (pthread_rwlock_trywrlock): Add elision.
3213 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3214 (pthread_rwlock_tryrdlock): Add elision.
3215 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3216 (pthread_rwlock_tryrdlock): Add elision unlock.
3217 * nptl/sysdeps/pthread/pthread.h:
3218 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3219 (PTHREAD_RWLOCK_INITIALIZER,
3220 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3221 Handle new elision field.
3222 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3223 * sysdeps/arm/nptl/bits/pthreadtypes.h
3224 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3225 * sysdeps/sh/nptl/bits/pthreadtypes.h
3226 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3227 * sysdeps/tile/nptl/bits/pthreadtypes.h
3228 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3229 * sysdeps/a/nptl/bits/pthreadtypes.h
3230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3231 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3232 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3233 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3234 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3235 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3237 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3238 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3239 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3240 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3241 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3242 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3243 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3244 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3245 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3246 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3247 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3248 (elision_init): Set try_xbegin to zero when no RTM.
3249 * sysdeps/x86/nptl/bits/pthreadtypes.h
3250 (pthread_rwlock_t): Change __pad1 to __rwelision.
3251 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3253 2014-06-13 Andi Kleen <ak@linux.intel.com>
3255 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3256 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3257 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3258 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3260 2014-06-13 Meador Inge <meadori@codesourcery.com>
3263 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3264 that the cached result has been set before returning it.
3266 2014-06-12 Roland McGrath <roland@hack.frob.com>
3268 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3269 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3270 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3271 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3272 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3273 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3275 * nptl/sysdeps/sparc/Makefile: Moved ...
3276 * sysdeps/sparc/nptl/Makefile: ... here.
3277 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3278 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3279 * nptl/sysdeps/sparc/tls.h: Moved ...
3280 * sysdeps/sparc/nptl/tls.h: ... here.
3281 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3282 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3283 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3284 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3285 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3286 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3287 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3288 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3289 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3290 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3291 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3292 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3293 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3294 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3295 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3296 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3297 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3298 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3300 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3301 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3303 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3304 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3306 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3307 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3310 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3312 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3313 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3315 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3316 (struct list_links): Type removed.
3317 (struct thread_node, struct timer_node): Replace struct list_links
3318 with struct list_head.
3319 (list_unlink_ip): Likewise.
3320 * sysdeps/pthread/timer_routines.c
3321 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3322 (list_append, list_insbefore): Likewise.
3323 (list_init): Function removed.
3324 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3325 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3326 * sysdeps/pthread/Makefile: ... here, new file.
3328 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3329 * sysdeps/nptl/Implies: ... here.
3330 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3331 * nptl/sysdeps/pthread/list.h: Moved ...
3332 * include/list.h: ... here.
3333 * nptl/sysdeps/pthread/createthread.c: Moved ...
3334 * nptl/createthread.c: ... here.
3335 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3336 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3337 * nptl/pt-longjmp.c: ... here.
3338 * nptl/sysdeps/pthread/Makefile: Moved ...
3339 * sysdeps/nptl/Makefile: ... here.
3340 * nptl/sysdeps/pthread/Subdirs: Moved ...
3341 * sysdeps/nptl/Subdirs: ... here.
3342 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3343 * sysdeps/nptl/aio_misc.h: ... here.
3344 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3345 * sysdeps/nptl/bits/libc-lock.h: ... here.
3346 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3347 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3348 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3349 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3350 * nptl/sysdeps/pthread/configure: Moved ...
3351 * sysdeps/nptl/configure: ... here.
3352 * nptl/sysdeps/pthread/configure.ac: Moved ...
3353 * sysdeps/nptl/configure.ac: ... here.
3354 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3355 * sysdeps/nptl/gai_misc.h: ... here.
3356 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3357 * sysdeps/nptl/librt-cancellation.c: ... here.
3358 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3359 * sysdeps/nptl/malloc-machine.h: ... here.
3360 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3361 * sysdeps/nptl/pthread-functions.h: ... here.
3362 * nptl/sysdeps/pthread/pthread.h: Moved ...
3363 * sysdeps/nptl/pthread.h: ... here.
3364 * nptl/sysdeps/pthread/setxid.h: Moved ...
3365 * sysdeps/nptl/setxid.h: ... here.
3366 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3367 * sysdeps/nptl/sigfillset.c: ... here.
3368 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3369 * sysdeps/nptl/tcb-offsets.h: ... here.
3370 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3371 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3372 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3373 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3374 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3375 * sysdeps/pthread/allocalim.h: ... here.
3376 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3377 * sysdeps/pthread/bits/sigthread.h: ... here.
3378 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3379 * sysdeps/pthread/flockfile.c: ... here.
3380 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3381 * sysdeps/pthread/ftrylockfile.c: ... here.
3382 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3383 * sysdeps/pthread/funlockfile.c: ... here.
3384 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3385 * sysdeps/pthread/posix-timer.h: ... here.
3386 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3387 * sysdeps/pthread/timer_create.c: ... here.
3388 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3389 * sysdeps/pthread/timer_delete.c: ... here.
3390 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3391 * sysdeps/pthread/timer_getoverr.c: ... here.
3392 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3393 * sysdeps/pthread/timer_gettime.c: ... here.
3394 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3395 * sysdeps/pthread/timer_routines.c: ... here.
3396 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3397 * sysdeps/pthread/timer_settime.c: ... here.
3398 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3399 * sysdeps/pthread/tst-timer.c: ... here.
3400 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3401 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3403 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3404 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3406 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3407 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3408 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3409 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3410 Update #include target.
3411 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3412 * sysdeps/i386/i686/nptl/Makefile: ... here.
3413 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3414 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3415 Update #include target.
3416 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3417 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3418 * nptl/sysdeps/i386/Makefile: Moved ...
3419 * sysdeps/i386/nptl/Makefile: ... here.
3420 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3421 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3422 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3423 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3424 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3425 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3426 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3427 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3428 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3429 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3430 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3431 * nptl/sysdeps/i386/tls.h: Moved ...
3432 * sysdeps/i386/nptl/tls.h: ... here.
3434 * sysdeps/sh/Makefile [$(subdir) = csu]
3435 (gen-as-const-headers): Add tcb-offsets.sym.
3436 * nptl/sysdeps/sh/Makefile: File removed.
3437 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3438 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3439 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3440 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3441 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3442 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3443 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3444 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3445 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3446 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3447 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3448 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3449 * nptl/sysdeps/sh/tls.h: Moved ...
3450 * sysdeps/sh/nptl/tls.h: ... here.
3451 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3452 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3453 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3454 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3455 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3456 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3457 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3458 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3459 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3460 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3461 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3462 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3463 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3464 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3465 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3466 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3467 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3468 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3469 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3470 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3471 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3472 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3473 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3474 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3475 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3477 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3478 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3480 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3481 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3482 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3483 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3484 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3486 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3488 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3489 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3490 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3491 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3492 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3493 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3494 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3495 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3496 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3497 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3498 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3500 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3502 * posix/spawn_faction_addopen.c: Include string.h.
3504 2014-06-11 Roland McGrath <roland@hack.frob.com>
3506 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3507 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3508 * nptl/sysdeps/x86_64/Makefile: Moved ...
3509 * sysdeps/x86_64/nptl/Makefile: ... here.
3510 * nptl/sysdeps/x86_64/configure: Moved ...
3511 * sysdeps/x86_64/nptl/configure: ... here.
3512 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3513 * sysdeps/x86_64/nptl/configure.ac: ... here.
3514 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3515 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3516 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3517 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3518 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3519 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3520 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3521 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3522 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3523 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3524 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3525 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3526 * nptl/sysdeps/x86_64/tls.h: Moved ...
3527 * sysdeps/x86_64/nptl/tls.h: ... here.
3528 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3529 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3530 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3531 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3533 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3535 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3539 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3541 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3543 [POSIX] (off_t): Likewise.
3544 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3545 [POSIX] (S_ISBLK): Require macro.
3546 [POSIX] (S_ISCHR): Likewise.
3547 [POSIX] (S_ISDIR): Likewise.
3548 [POSIX] (S_ISFIFO): Likewise.
3549 [POSIX] (S_ISREG): Likewise.
3550 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3552 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3554 [POSIX] (time_t): Likewise.
3555 [POSIX] (timer_t): Likewise.
3557 2014-06-11 Florian Weimer <fweimer@redhat.com>
3560 * posix/spawn_int.h (struct __spawn_action): Make the path string
3561 non-const to support deallocation.
3562 * posix/spawn_faction_addopen.c
3563 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3564 * posix/spawn_faction_destroy.c
3565 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3566 path in all spawn_do_open actions.
3567 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3568 posix_spawn_file_actions_addopen.
3570 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3572 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3573 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3574 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3575 conditional code always true.
3576 (__libc_vfork): New alias.
3578 2014-06-11 Roland McGrath <roland@hack.frob.com>
3580 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3581 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3583 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3585 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3586 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3588 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3589 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3591 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3592 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3594 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3596 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3597 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3598 multiarch strcmp for PPC64.
3599 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3600 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3602 multiarch optimizations.
3603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3604 (__libc_ifunc_impl_list): Likewise.
3606 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3608 * benchtests/scripts/validate_benchout.py: New script.
3609 * benchtests/Makefile (bench-func): Call it.
3610 * benchtests/scripts/benchout.schema.json: New file.
3612 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3614 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3615 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3616 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3617 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3618 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3619 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3620 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3621 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3622 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3623 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3624 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3625 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3626 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3627 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3628 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3629 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3733 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3734 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3735 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3736 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3737 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3739 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3741 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3742 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3743 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3744 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3745 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3746 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3747 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3748 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3749 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3750 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3751 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3752 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3753 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3755 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3756 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3758 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3759 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3760 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3761 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3763 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3764 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3765 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3766 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3767 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3768 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3769 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3771 2014-06-10 Wilco <wdijkstr@arm.com>
3773 * math/test-fenv-return.c: New file.
3774 * math/Makefile: Add new test test-fenv-return.
3776 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3779 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3781 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3782 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3783 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3784 0.0L for an argument of 1.0L.
3785 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3787 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3788 value when x - 1 is zero.
3789 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3790 * sysdeps/i386/fpu/libm-test-ulps: Update.
3791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3793 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3796 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3798 2014-06-09 Roland McGrath <roland@hack.frob.com>
3800 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3801 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3803 2014-06-09 Roland McGrath <roland@hack.frob.com>
3805 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3806 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3808 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3809 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3811 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3812 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3814 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3815 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3817 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3818 if not already defined.
3819 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3820 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3821 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3822 (TLS_INIT_TP): Use it.
3823 (TLS_DEFINE_INIT_TP): New macro.
3824 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3826 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3828 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3830 [POSIX] (IXANY): Likewise.
3831 [POSIX] (OLCUC): Likewise.
3832 [POSIX || POSIX2008] (CBAUD): Do not allow.
3833 [POSIX || POSIX2008] (DEFECHO): Likewise.
3834 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3835 [POSIX || POSIX2008] (ECHOKE): Likewise.
3836 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3837 [POSIX || POSIX2008] (EXTA): Likewise.
3838 [POSIX || POSIX2008] (EXTB): Likewise.
3839 [POSIX || POSIX2008] (FLUSHO): Likewise.
3840 [POSIX || POSIX2008] (LOBLK): Likewise.
3841 [POSIX || POSIX2008] (PENDIN): Likewise.
3842 [POSIX || POSIX2008] (SWTCH): Likewise.
3843 [POSIX || POSIX2008] (VDISCARD): Likewise.
3844 [POSIX || POSIX2008] (VDSUSP): Likewise.
3845 [POSIX || POSIX2008] (VLNEXT): Likewise.
3846 [POSIX || POSIX2008] (VREPRINT): Likewise.
3847 [POSIX || POSIX2008] (VSTATUS): Likewise.
3848 [POSIX || POSIX2008] (VWERASE): Likewise.
3849 (B*): Change to B[0123456789]*.
3850 * conform/data/time.h-data [POSIX || UNIX98]
3851 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3852 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3853 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3854 [POSIX] (tm_*): Do not allow.
3856 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3858 * Makefile (install): Don't set LANGUAGE.
3859 * Makefile.in (install): Likewise.
3860 * assert/Makefile (test-assert-ENV): Remove variable.
3861 (test-assert-perr-ENV): Likewise.
3862 * elf/Makefile (neededtest4-ENV): Likewise.
3863 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3864 [$(cross-compiling) = no]: Don't set LANGUAGE.
3865 * io/ftwtest-sh (LANG): Remove variable.
3866 * libio/Makefile (tst-widetext-ENV): Likewise.
3867 * manual/install.texi (Running make install): Don't refer to
3868 environment settings for make install.
3869 * INSTALL: Regenerated.
3870 * nptl/tst-tls6.sh: Don't set LANG.
3871 * posix/globtest.sh (LANG): Remove variable.
3872 * string/Makefile (tester-ENV): Likewise.
3873 (inl-tester-ENV): Likewise.
3874 (noinl-tester-ENV): Likewise.
3875 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3876 [$(cross-compiling) = no]: Don't set LANGUAGE.
3877 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3878 without explicit environment settings.
3880 2014-06-06 Roland McGrath <roland@hack.frob.com>
3882 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3883 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3884 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3885 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3887 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3889 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3890 other files in the crypt directory.
3891 * crypt/crypt.c: Remove duplicate includes.
3892 * crypt/crypt-entry.c: Likewise.
3893 * crypt/crypt_util.c: Likewise.
3895 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3897 * Makeconfig (run-program-env): New variable.
3898 (run-program-prefix-before-env): Likewise.
3899 (run-program-prefix-after-env): Likewise.
3900 (run-program-prefix): Define in terms of new variables.
3901 (built-program-cmd-before-env): New variable.
3902 (built-program-cmd-after-env): Likewise.
3903 (built-program-cmd): Define in terms of new variables.
3904 (test-program-prefix-before-env): New variable.
3905 (test-program-prefix-after-env): Likewise.
3906 (test-program-prefix): Define in terms of new variables.
3907 (test-program-cmd-before-env): New variable.
3908 (test-program-cmd-after-env): Likewise.
3909 (test-program-cmd): Define in terms of new variables.
3910 * Rules (make-test-out): Use $(run-program-env).
3911 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3912 (help): Do not mention environment variables. Mention
3913 --timeoutfactor option.
3914 (timeoutfactor): New variable.
3915 (blacklist_exports): Remove function.
3916 (exports): Remove variable.
3917 (command): Do not include ${exports}.
3918 * manual/install.texi (Configuring and compiling): Do not mention
3919 test wrappers preserving environment variables. Mention that last
3920 assignment to a variable must take precedence.
3921 * INSTALL: Regenerated.
3922 * benchtests/Makefile (run-bench): Use $(run-program-env).
3923 * catgets/Makefile ($(objpfx)test1.cat): Use
3924 $(built-program-cmd-before-env), $(run-program-env) and
3925 $(built-program-cmd-after-env).
3926 ($(objpfx)test2.cat): Do not specify environment variables
3928 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3929 $(run-program-env) and $(built-program-cmd-after-env).
3930 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3931 $(run-program-env) and $(test-program-cmd-after-env).
3932 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3934 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3935 run_program_env and test_program_cmd_after_env arguments.
3936 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3937 * elf/tst-pathopt.sh: Use run_program_env argument.
3938 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3939 $(test-wrapper-env) and $(run-program-env).
3940 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3941 run_program_env arguments.
3942 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3943 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3944 $(test-program-prefix-before-env), $(run-program-env) and
3945 $(test-program-prefix-after-env).
3946 ($(objpfx)tst-gettext2.out): Likewise.
3947 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3948 run_program_env and test_program_prefix_after_env arguments.
3949 * intl/tst-gettext2.sh: Likewise.
3950 * intl/tst-gettext4.sh: Do not set environment variables
3952 * intl/tst-gettext6.sh: Likewise.
3953 * intl/tst-translit.sh: Likewise.
3954 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3955 $(test-program-prefix-before-env), $(run-program-env) and
3956 $(test-program-prefix-after-env).
3957 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3958 run_program_env and test_program_prefix_after_env arguments.
3959 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3960 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3961 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3962 explicitly with each use of ${test_wrapper_env}.
3963 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3964 $(test-program-prefix-before-env), $(run-program-env) and
3965 $(test-program-prefix-after-env).
3966 * posix/tst-getconf.sh: Do not set environment variables
3968 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3969 run_program_env and test_program_prefix_after_env arguments.
3970 * stdio-common/tst-printf.sh: Do not set environment variables
3972 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3973 $(test-program-prefix-before-env), $(run-program-env) and
3974 $(test-program-prefix-after-env).
3975 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3976 run_program_env and test_program_prefix_after_env arguments.
3977 Split $test calls into $test_pre and $test.
3978 * timezone/Makefile (build-testdata): Use
3979 $(built-program-cmd-before-env), $(run-program-env) and
3980 $(built-program-cmd-after-env).
3982 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3984 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3985 strlen for non SHARED builds.
3987 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3989 * nptl/allocatestack.c (check_list): Inlined function...
3990 (__reclaim_stacks): ... here.
3992 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3995 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3998 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4000 * Rules (make-test-out): Include
4001 LOCPATH=$(common-objpfx)localedata in default environment.
4002 * debug/Makefile (tst-chk1-ENV): Remove variable.
4003 (tst-chk2-ENV): Likewise.
4004 (tst-chk3-ENV): Likewise.
4005 (tst-chk4-ENV): Likewise.
4006 (tst-chk5-ENV): Likewise.
4007 (tst-chk6-ENV): Likewise.
4008 (tst-lfschk1-ENV): Likewise.
4009 (tst-lfschk2-ENV): Likewise.
4010 (tst-lfschk3-ENV): Likewise.
4011 (tst-lfschk4-ENV): Likewise.
4012 (tst-lfschk5-ENV): Likewise.
4013 (tst-lfschk6-ENV): Likewise.
4014 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4015 (tst-iconv7-ENV): Likewise.
4016 * intl/Makefile (LOCPATH-ENV): Likewise.
4017 (tst-codeset-ENV): Likewise.
4018 (tst-gettext3-ENV): Likewise.
4019 (tst-gettext5-ENV): Likewise.
4020 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4021 (tst-fopenloc-ENV): Likewise.
4022 (tst-fgetws-ENV): Remove variable.
4023 (tst-ungetwc1-ENV): Likewise.
4024 (tst-ungetwc2-ENV): Likewise.
4025 (bug-ungetwc2-ENV): Likewise.
4026 (tst-swscanf-ENV): Likewise.
4027 (bug-ftell-ENV): Likewise.
4028 (tst-fgetwc-ENV): Likewise.
4029 (tst-fseek-ENV): Likewise.
4030 (tst-ftell-partial-wide-ENV): Likewise.
4031 (tst-ftell-active-handler-ENV): Likewise.
4032 (tst-ftell-append-ENV): Likewise.
4033 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4034 (tst-regexloc-ENV): Likewise.
4035 (bug-regex1-ENV): Likewise.
4036 (tst-regex-ENV): Likewise.
4037 (tst-regex2-ENV): Likewise.
4038 (bug-regex5-ENV): Likewise.
4039 (bug-regex6-ENV): Likewise.
4040 (bug-regex17-ENV): Likewise.
4041 (bug-regex18-ENV): Likewise.
4042 (bug-regex19-ENV): Likewise.
4043 (bug-regex20-ENV): Likewise.
4044 (bug-regex22-ENV): Likewise.
4045 (bug-regex23-ENV): Likewise.
4046 (bug-regex25-ENV): Likewise.
4047 (bug-regex26-ENV): Likewise.
4048 (bug-regex30-ENV): Likewise.
4049 (bug-regex32-ENV): Likewise.
4050 (bug-regex33-ENV): Likewise.
4051 (bug-regex34-ENV): Likewise.
4052 (bug-regex35-ENV): Likewise.
4053 (tst-rxspencer-ENV): Likewise.
4054 (tst-rxspencer-no-utf8-ENV): Likewise.
4055 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4056 (tst-sscanf-ENV): Likewise.
4057 (tst-swprintf-ENV): Likewise.
4058 (tst-swscanf-ENV): Likewise.
4059 (test-vfprintf-ENV): Likewise.
4060 (scanf13-ENV): Likewise.
4061 (bug14-ENV): Likewise.
4062 (tst-grouping-ENV): Likewise.
4063 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4064 (tst-strtod3-ENV): Likewise.
4065 (tst-strtod4-ENV): Likewise.
4066 (tst-strtod5-ENV): Likewise.
4067 (testmb2-ENV): Likewise./
4068 * string/Makefile (tst-strxfrm-ENV): Likewise.
4069 (tst-strxfrm2-ENV): Likewise.
4070 (bug-strcoll1-ENV): Likewise.
4071 (test-strcasecmp-ENV): Likewise.
4072 (test-strncasecmp-ENV): Likewise.
4073 * time/Makefile (tst-strptime-ENV): Likewise.
4074 (tst-ftime_l-ENV): Likewise.
4075 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4076 (tst-mbrtowc-ENV): Likewise.
4077 (tst-wcrtomb-ENV): Likewise.
4078 (tst-mbrtowc2-ENV): Likewise.
4079 (tst-c16c32-1-ENV): Likewise.
4080 (tst-mbsnrtowcs-ENV): Likewise.
4082 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4084 * manual/resource.texi (How to get information about the memory
4085 subsystem?): Fix typo.
4086 Reported by Peon de la Parra Ivan <peon@keba.com>
4088 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4091 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4092 (pthread_spin_lock): Branch out of spin loop to proper location.
4093 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4094 (pthread_spin_lock): Likewise.
4096 * nptl/tst-spin4.c: New test.
4097 * nptl/Makefile (tests): Add tst-spin4.
4099 2014-06-03 Andreas Schwab <schwab@suse.de>
4102 * resolv/res_send.c (send_dg): Reload file descriptor after
4105 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4107 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4109 2014-06-03 Richard Henderson <rth@redhat.com>
4111 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4112 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4113 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4114 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4115 in the SAVE_PID block.
4116 (__libc_vfork): New alias.
4117 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4119 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4120 child in registers, not on the stack. Remove RESET_PID conditionals.
4121 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4123 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4125 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4127 2014-06-03 Wilco <wdijkstr@arm.com>
4129 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4130 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4131 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4132 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4133 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4136 2014-06-03 Wilco <wdijkstr@arm.com>
4138 * sysdeps/aarch64/fpu/math_private.h
4139 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4140 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4141 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4142 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4145 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4147 * crypt/crypt-private.h: Include ufc-crypt.h.
4148 (__b64_from_24bit): Declare extern.
4149 * crypt/crypt_util.c(__b64_from_24bit): New function.
4150 (b64t): New static const variable.
4151 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4152 (b64t): Remove variable.
4153 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4154 * crypt/sha256-crypt.c: Include crypt-private.h.
4155 (b64t): Remove variable.
4156 (__sha256_crypt_r): Remove b64_from_24bit and replace
4157 with __b64_from_24bit.
4158 * crypt/sha512-crypt.c: Likewise.
4160 2014-06-02 Roland McGrath <roland@hack.frob.com>
4162 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4163 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4164 Label the code __libc_vfork rather than __vfork.
4165 [!NOT_IN_libc] (vfork): Define as weak alias.
4166 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4167 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4168 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4170 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4172 * malloc/malloc.c (malloc_info): Fix format specifier for
4175 2014-06-02 Wilco <wdijkstr@arm.com>
4177 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4180 2014-06-02 Wilco <wdijkstr@arm.com>
4183 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4184 Rewrite to reduce FPCR/FPSR accesses.
4186 2014-06-01 David S. Miller <davem@davemloft.net>
4188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4190 2014-05-31 David S. Miller <davem@davemloft.net>
4192 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4193 to occur in round to nearest mode when |x| >= 2.0
4195 2014-05-30 Richard Henderson <rth@twiddle.net>
4197 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4198 (PSEUDO_RET_NOERRNO): Remove.
4199 (ret): Don't redefine.
4200 (ret_NOERRNO): Define in terms of ret.
4201 (ret_ERRVAL): Likewise.
4203 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4204 use of PSEUDO_RET; perform the error check directly.
4206 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4208 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4211 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4213 * malloc/malloc (malloc_info): Fix formatting.
4215 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4216 Roland McGrath <roland@hack.frob.com>
4218 * malloc/malloc (malloc_info): Also print mmapped statistics.
4220 2014-05-30 Roland McGrath <roland@hack.frob.com>
4222 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4223 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4225 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4227 * malloc/malloc.c (malloc_info): Inline mi_arena.
4229 2014-05-29 Richard Henderson <rth@twiddle.net>
4231 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4232 Remove comma before expanding ASM_ARGS_##nr.
4233 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4234 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4236 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4237 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4238 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4239 (ASM_ARGS_1): Add leading comma.
4241 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4242 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4243 to __errno_location.
4244 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4245 Remove the expected plt for __errno_location.
4247 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4248 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4251 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4252 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4253 it and break it down.
4254 (DOCARGS_0, DOCARGS_1): Do nothing.
4255 (DOCARGS_2): Update to store into the new stack frame.
4256 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4257 (UNDOCARGS_1): Update to restore from the new stack frame.
4258 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4259 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4261 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4262 (SINGLE_THREAD_P): New parameter for result regno.
4263 (PSEUDO): Update to match; use cbz instead of beq.
4265 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4266 Use ENTRY to define the _nocancel entry point. Share the syscall
4267 and syscall error check paths with the cancel path.
4270 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4271 whitespace; tabs before and after asm mnemonics.
4273 2014-05-29 Eric Wong <normalperson@yhbt.net>
4276 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4277 Call fstat64 or stat64 internally, depending on arguments passed.
4278 Replace stat buffer argument with file descriptor argument.
4279 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4280 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4281 Pass fd to __internal_statvfs instead of calling fstat64.
4282 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4283 Pass fd to __internal_statvfs64 instead of calling fstat64.
4284 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4285 Pass -1 to __internal_statvfs instead of calling stat64.
4286 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4287 Pass -1 to __internal_statvfs64 instead of calling stat64.
4289 2014-05-28 Roland McGrath <roland@hack.frob.com>
4291 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4292 that was previously under [RESET_PID].
4293 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4295 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4296 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4298 2014-05-27 Roland McGrath <roland@hack.frob.com>
4300 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4302 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4303 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4305 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4307 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4309 2014-05-27 Andreas Schwab <schwab@suse.de>
4311 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4313 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4314 * elf/rtld.c (init_tls, dl_main): Likewise.
4315 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4316 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4317 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4318 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4319 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4320 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4321 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4322 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4323 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4324 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4325 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4326 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4327 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4328 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4329 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4330 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4331 * sysdeps/generic/tls.h: Update description.
4333 2014-05-27 Will Newton <will.newton@linaro.org>
4336 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4337 and restore r2 rather than just restoring.
4339 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4342 * libio/tst-ftell-append.c: New test case.
4343 * libio/Makefile (tests): Add test case.
4344 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4346 * libio/wfileops.c (do_ftell_wide): Likewise.
4348 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4352 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4356 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4357 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4358 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4359 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4360 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4361 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4365 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4368 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4369 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4370 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4371 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4372 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4374 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4375 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4377 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4379 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4381 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4382 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4383 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4385 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4386 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4387 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4388 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4390 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4393 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4396 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4399 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4403 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4406 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4411 conditional [RESET_PID].
4412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4413 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4415 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4420 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4421 (__libc_vfork): New strong alias.
4422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4424 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4429 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4430 (__libc_vfork): New strong alias.
4431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4436 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4438 * malloc/malloc.c (mi_arena): New function.
4439 (malloc_info): Remove nested function mi_arena. Call non-nosted
4442 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4444 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4446 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4447 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4448 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4449 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4450 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4451 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4452 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4454 2014-05-26 Andreas Schwab <schwab@suse.de>
4457 * locale/programs/repertoire.c (repertoire_read): Add slash
4458 between I18NPATH element and file name.
4459 * locale/programs/locfile.c (locfile_read): Likewise.
4461 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4463 * nptl/pthread_mutexattr_settype.c
4464 (__pthread_mutexattr_settype):
4465 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4467 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4469 * nptl/tst-mutex5 (do_test):
4470 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4472 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4474 * benchtests/README: Document 'init' directive.
4475 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4477 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4478 (parse_file): Recognize 'init' directive.
4480 2014-05-26 Kyle McMartin <kyle@redhat.com>
4483 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4484 alignment of struct pthread.
4486 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4489 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4490 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4491 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4492 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4494 2014-05-25 Richard Henderson <rth@twiddle.net>
4496 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4497 (SINGLE_THREAD_P_PIC): Remove.
4498 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4499 (SINGLE_THREAD_P_PIC): Remove.
4501 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4502 branch to syscall error ...
4504 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4505 from __local_syscall_error to .Lsyscall_error.
4506 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4507 (SYSCALL_ERROR): Update label name.
4509 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4510 Do not use DOARGS/UNDOARGS.
4511 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4512 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4513 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4514 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4515 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4517 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4520 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4521 define if !NOT_IN_libc.
4522 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4523 define with non-default symbol versions.
4525 2014-05-23 Richard Henderson <rth@twiddle.net>
4527 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4528 (vfork, __vfork): Define via compat_symbol.
4530 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4531 [!HAVE_IFUNC] (vfork_compat): Remove.
4532 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4534 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4537 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4538 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4541 2014-05-23 Richard Henderson <rth@twiddle.net>
4543 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4544 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4545 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4546 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4548 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4549 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4550 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4551 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4552 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4553 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4554 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4555 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4556 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4557 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4558 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4559 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4560 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4561 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4562 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4563 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4564 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4565 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4566 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4567 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4568 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4569 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4571 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4572 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4573 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4574 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4575 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4576 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4577 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4578 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4579 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4580 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4581 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4582 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4583 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4584 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4585 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4586 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4587 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4588 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4589 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4590 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4591 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4592 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4593 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4594 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4595 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4596 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4597 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4598 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4599 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4600 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4601 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4602 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4603 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4605 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4606 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4607 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4608 before exiting on error.
4609 (__libc_vfork): New strong alias.
4610 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4611 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4613 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4614 that was previously under [RESET_PID].
4615 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4617 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4619 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4622 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4623 value when x - 1 is zero.
4624 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4625 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4626 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4627 0.0L for an argument of 1.0L.
4628 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4630 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4631 value when x - 1 is zero.
4632 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4633 * sysdeps/i386/fpu/libm-test-ulps: Update.
4634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4636 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4638 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4639 alphasort and versionsort.
4641 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4643 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4645 [copysignf]: Likewise.
4647 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4649 * crypt/md5-crypt.c: Fix formatting.
4651 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4653 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4654 (b64_from_24bit): New function.
4656 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4658 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4659 libc_hidden_builtin_def to ifunc.
4660 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4661 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4663 2014-05-21 Roland McGrath <roland@hack.frob.com>
4665 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4666 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4668 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4670 * nscd/Depend (linuxthreads): Remove.
4672 * resolv/Depend (linuxthreads): Remove.
4673 * rt/Depend (linuxthreads): Remove.
4675 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4676 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4677 $(common-objpfx)elf/.
4678 (link-libc-before-gnulib): Likewise.
4679 (elfobjdir): Remove variable.
4680 * Makefile (install): Use $(elf-objpfx) instead of
4681 $(common-objpfx)elf/.
4682 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4684 (link-libc-deps): Likewise.
4685 ($(common-objpfx)libc.so): Likewise.
4686 ($(common-objpfx)linkobj/libc.so): Likewise.
4687 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4688 instead of $(common-objpfx)elf/.
4689 (symbolic-link-list): Likewise.
4690 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4691 [$(cross-compiling) = no]: Likewise.
4692 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4694 (static-gnulib-arch): Likewise.
4695 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4696 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4697 $(common-objpfx)elf/.
4699 2014-05-21 Richard Henderson <rth@redhat.com>
4701 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4702 (SINGLE_THREAD_P): Use the correct width load. Fold
4703 into the ldr offset.
4705 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4706 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4708 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4710 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4711 (libgcc_s_resume): Use __attribute_used__.
4712 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4715 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4717 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4718 optimization when used with float constants.
4720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4722 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4725 * locale/nl_langinfo_l.c: Make direct reference to every
4726 _nl_current_CATEGORY symbol.
4727 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4728 (tests-static): Add tst-langinfo-static.
4729 (tests-special): Add tst-langinfo-static.out.
4730 ($(objpfx)tst-langinfo.out): Redirect output.
4731 ($(objpfx)tst-langinfo-static.out): New.
4732 * localedata/tst-langinfo.sh: Send output to stdout.
4733 * localedata/tst-langinfo-static.c: New file.
4736 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4737 when the shift amount is modulo the limb size.
4739 2014-05-20 Richard Henderson <rth@redhat.com>
4742 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4743 Change type of sa_flags from unsigned int to int.
4746 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4748 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4750 2014-05-20 Will Newton <will.newton@linaro.org>
4752 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4753 Test the return value of the system call in the nocancel case.
4755 2014-05-20 Will Newton <will.newton@linaro.org>
4756 Yvan Roux <yvan.roux@linaro.org>
4758 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4759 #include of asm/ptrace.h.
4760 (PTRACE_GET_THREAD_AREA): Remove #undef.
4761 (PTRACE_GETHBPREGS): Likewise.
4762 (PTRACE_SETHBPREGS): Likewise.
4763 (struct user_regs_struct): New structure.
4764 (struct user_fpsimd_struct): New structure.
4765 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4766 #include of asm/ptrace.h and second #include of sys/user.h.
4767 (PTRACE_GET_THREAD_AREA): Remove #undef.
4768 (PTRACE_GETHBPREGS): Likewise.
4769 (PTRACE_SETHBPREGS): Likewise.
4770 (ELF_NGREG): Use new struct user_regs_struct.
4771 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4773 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4775 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4776 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4778 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4781 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4782 membar to avoid block loads/stores to overlap previous stores.
4784 2014-05-17 Richard Henderson <rth@redhat.com>
4786 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4787 Create the __##syscall_name##_nocancel entry point.
4788 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4789 Remove; let the sysdep-cancel.h code create it.
4791 2014-05-17 David S. Miller <davem@davemloft.net>
4793 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4794 Protect with __USE_GNU.
4795 (TIOCSET_TEMPT): Likewise.
4796 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4797 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4798 these are already provided in bits/ioctl-types.h
4800 2014-05-16 Roland McGrath <roland@hack.frob.com>
4802 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4803 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4805 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4806 Use wait4 regardless of [__NR_waitpid].
4808 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4811 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4812 (_FP_NANSIGN_Q): Set the quiet bit.
4814 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4816 * benchtests/Makefile
4817 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4818 not $(common-objpfx)math/libm.so.
4819 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4820 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4821 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4822 $(common-objpfx)dlfcn/libdl.so.
4823 ($(objpfx)tst-audit8): Depend on $(libm), not
4824 $(common-objpfx)math/libm.so.
4825 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4826 not $(common-objpfx)dlfcn/libdl.so.
4828 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4829 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4830 [$(build-shared) = yes].
4831 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4832 $(common-objpfx)nptl/libpthread.so.
4833 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4834 $(common-objpfx)math/libm.so$(libm.so-version) or
4835 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4836 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4837 $(common-objpfx)dlfcn/libdl.so.
4838 * setjmp/Makefile (link-libm): Remove variable.
4839 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4840 * stdio-common/Makefile (link-libm): Remove variable.
4841 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4842 * stdlib/Makefile (link-libm): Remove variable.
4843 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4844 ($(objpfx)tst-strtod-round): Likewise.
4845 ($(objpfx)tst-tininess): Likewise.
4846 ($(objpfx)tst-strtod-underflow): Likewise.
4847 ($(objpfx)tst-strtod6): Likewise.
4848 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4849 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4850 $(common-objpfx)dlfcn/libdl.so.
4852 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4854 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4855 BSD terminal modes definitions.
4857 2014-05-16 Roland McGrath <roland@hack.frob.com>
4859 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4860 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4862 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4863 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4864 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4865 Don't do #include_next.
4866 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4867 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4868 Don't do #include_next.
4869 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4870 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4871 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4872 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4874 2014-05-16 Allan McRae <allan@archlinux.org>
4876 * po/sv.po: Update Swedish translation from translation project.
4878 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4881 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4884 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4885 errno if the TIOCGPTN ioctl fails with an error different than
4887 * login/tst-ptsname.c: New file.
4888 * login/Makefile (tests): Add tst-ptsname.
4891 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4894 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4898 herrno to return EAI_AGAIN.
4900 2014-05-14 Roland McGrath <roland@hack.frob.com>
4902 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4903 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4904 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4905 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4906 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4907 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4908 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4909 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4910 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4911 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4912 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4913 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4914 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4915 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4916 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4917 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4918 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4919 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4920 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4921 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4922 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4923 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4924 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4925 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4926 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4927 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4928 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4929 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4930 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4931 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4933 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4935 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4938 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4940 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4942 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4944 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4946 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4948 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4950 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4952 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4954 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4956 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4958 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4960 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4962 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4964 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4967 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4969 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4971 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4973 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4975 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4977 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4979 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4981 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4983 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4985 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4988 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4990 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4992 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4993 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4994 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4995 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4996 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4997 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4998 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4999 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5000 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5001 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5002 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5003 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5004 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5005 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5006 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5007 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5008 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5009 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5010 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5011 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5012 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5013 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5014 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5015 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5016 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5017 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5018 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5019 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5020 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5021 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5022 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5024 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5025 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5027 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5028 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5029 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5030 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5031 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5032 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5034 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5035 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5037 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5038 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5040 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5041 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5043 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5044 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5045 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5046 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5048 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5049 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5050 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5051 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5052 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5053 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5054 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5055 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5057 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5058 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5060 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5062 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5063 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5064 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5065 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5066 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5068 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5070 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5072 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5073 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5074 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5075 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5076 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5077 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5079 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5080 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5082 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5083 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5085 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5086 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5088 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5089 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5090 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5091 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5093 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5094 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5095 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5096 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5097 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5098 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5099 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5100 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5102 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5103 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5105 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5107 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5108 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5109 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5110 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5111 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5113 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5115 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5117 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5118 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5119 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5120 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5121 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5122 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5123 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5124 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5125 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5126 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5128 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5129 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5131 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5132 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5134 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5135 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5137 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5138 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5139 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5140 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5141 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5142 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5144 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5145 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5146 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5147 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5148 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5149 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5150 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5151 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5153 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5154 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5156 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5158 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5159 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5160 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5161 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5162 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5164 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5166 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5168 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5169 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5170 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5171 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5172 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5173 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5174 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5175 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5176 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5177 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5178 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5180 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5181 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5183 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5184 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5186 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5187 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5188 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5189 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5190 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5191 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5192 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5193 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5194 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5195 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5196 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5197 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5198 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5199 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5200 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5201 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5202 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5203 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5205 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5206 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5207 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5208 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5210 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5211 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5212 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5213 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5214 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5216 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5219 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5220 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5222 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5223 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5224 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5225 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5226 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5227 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5228 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5229 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5230 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5231 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5232 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5233 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5234 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5235 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5236 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5237 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5238 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5240 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5241 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5242 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5243 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5244 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5246 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5247 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5248 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5249 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5250 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5251 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5252 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5253 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5254 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5255 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5257 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5258 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5260 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5261 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5262 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5263 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5264 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5265 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5266 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5267 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5268 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5269 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5270 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5271 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5272 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5273 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5280 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5282 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5284 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5286 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5288 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5294 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5295 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5296 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5297 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5298 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5299 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5300 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5301 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5302 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5303 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5304 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5305 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5306 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5307 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5308 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5310 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5311 that was previously under [RESET_PID].
5312 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5313 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5314 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5316 * sysdeps/i386/nptl/Implies: New file.
5317 * sysdeps/x86_64/nptl/Implies: New file.
5318 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5319 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5320 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5321 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5323 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5324 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5325 (__libc_vfork): New strong alias.
5326 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5327 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5329 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5330 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5331 (__libc_vfork): New strong alias.
5332 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5333 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5335 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5336 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5337 (__libc_vfork): New strong alias.
5338 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5339 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5340 * nptl/pt-vfork.c: New file.
5341 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5342 (libpthread: GLIBC_2.20): New version set (empty).
5344 2014-05-14 Will Newton <will.newton@linaro.org>
5346 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5349 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5352 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5353 arguments with exponent 65 or above.
5354 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5355 arguments 0x1p113L or above.
5356 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5357 to arguments 0x1p107L or above.
5358 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5359 positive arguments with exponent 65 or above.
5360 * math/auto-libm-test-in: Add more tests of log1p.
5361 * math/auto-libm-test-out: Regenerated.
5364 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5365 non-finite arguments is +0.
5366 * math/s_cacosf.c (__cacosf): Likewise.
5367 * math/s_cacosl.c (__cacosl): Likewise.
5368 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5369 * sysdeps/i386/fpu/libm-test-ulps: Update.
5370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5373 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5375 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5376 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5377 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5378 for explicit high bit of mantissa when testing for argument equal
5380 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5381 * sysdeps/i386/fpu/libm-test-ulps: Update.
5382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5385 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5386 (__erf): Scale by 16 instead of 8 in potentially underflowing
5387 case. Ensure exception if result actually underflows.
5388 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5389 (__erff): Scale by 16 instead of 8 in potentially underflowing
5390 case. Ensure exception if result actually underflows.
5391 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5392 (efx8): Remove variable.
5393 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5394 case. Ensure exception if result actually underflows.
5395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5396 (efx8): Remove variable.
5397 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5398 case. Ensure exception if result actually underflows.
5399 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5400 (efx8): Remove variable.
5401 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5402 case. Ensure exception if result actually underflows.
5403 * math/auto-libm-test-in: Add more tests of erf.
5404 * math/auto-libm-test-out: Regenerated.
5406 2014-05-14 Andreas Schwab <schwab@suse.de>
5408 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5409 Remove code conditionalized on USE___THREAD.
5411 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5412 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5415 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5417 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5418 Define unconditionally.
5419 (__ASSUME_O_CLOEXEC): Likewise.
5420 (__ASSUME_SOCK_CLOEXEC): Likewise.
5421 (__ASSUME_IN_NONBLOCK): Likewise.
5422 (__ASSUME_PIPE2): Likewise.
5423 (__ASSUME_EVENTFD2): Likewise.
5424 (__ASSUME_SIGNALFD4): Likewise.
5425 (__ASSUME_DUP3): Likewise.
5426 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5427 (__ASSUME_DUP3): Do not define.
5428 (__ASSUME_EVENTFD2): Likewise.
5429 (__ASSUME_IN_NONBLOCK): Likewise.
5430 (__ASSUME_O_CLOEXEC): Likewise.
5431 (__ASSUME_PIPE2): Likewise.
5432 (__ASSUME_SIGNALFD4): Likewise.
5433 (__ASSUME_SOCK_CLOEXEC): Likewise.
5434 (__ASSUME_UTIMES): Undefine.
5435 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5436 (__ASSUME_UTIMES): Do not define.
5437 (__ASSUME_O_CLOEXEC): Likewise.
5438 (__ASSUME_SOCK_CLOEXEC): Likewise.
5439 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5440 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5442 (__ASSUME_PIPE2): Likewise.
5443 (__ASSUME_EVENTFD2): Likewise.
5444 (__ASSUME_SIGNALFD4): Likewise.
5445 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5446 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5448 (__ASSUME_EVENTFD2): Likewise.
5449 (__ASSUME_SIGNALFD4): Likewise.
5450 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5451 (__ASSUME_32BITUIDS): Likewise.
5452 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5453 (__ASSUME_IPC64): Likewise.
5454 (__ASSUME_ST_INO_64_BIT): Likewise.
5455 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5456 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5457 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5458 (__ASSUME_UTIMES): Do not define.
5459 (__ASSUME_PSELECT): Likewise.
5460 (__ASSUME_PPOLL): Likewise.
5461 (__ASSUME_O_CLOEXEC): Likewise.
5462 (__ASSUME_SOCK_CLOEXEC): Likewise.
5463 (__ASSUME_IN_NONBLOCK): Likewise.
5464 (__ASSUME_PIPE2): Likewise.
5465 (__ASSUME_EVENTFD2): Likewise.
5466 (__ASSUME_SIGNALFD4): Likewise.
5467 (__ASSUME_DUP3): Likewise.
5468 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5469 (__ASSUME_UTIMES): Likewise.
5470 (__ASSUME_O_CLOEXEC): Likewise.
5471 (__ASSUME_SOCK_CLOEXEC): Likewise.
5472 (__ASSUME_IN_NONBLOCK): Likewise.
5473 (__ASSUME_PIPE2): Likewise.
5474 (__ASSUME_EVENTFD2): Likewise.
5475 (__ASSUME_SIGNALFD4): Likewise.
5476 (__ASSUME_DUP3): Likewise.
5477 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5478 (__ASSUME_UTIMES): Likewise.
5479 (__ASSUME_O_CLOEXEC): Likewise.
5480 (__ASSUME_SOCK_CLOEXEC): Likewise.
5481 (__ASSUME_IN_NONBLOCK): Likewise.
5482 (__ASSUME_PIPE2): Likewise.
5483 (__ASSUME_EVENTFD2): Likewise.
5484 (__ASSUME_SIGNALFD4): Likewise.
5485 (__ASSUME_DUP3): Likewise.
5486 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5488 (__ASSUME_UTIMES): Likewise.
5489 (__ASSUME_EVENTFD2): Likewise.
5490 (__ASSUME_SIGNALFD4): Likewise.
5491 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5492 (__ASSUME_O_CLOEXEC): Likewise.
5493 (__ASSUME_SOCK_CLOEXEC): Likewise.
5494 (__ASSUME_IN_NONBLOCK): Likewise.
5495 (__ASSUME_PIPE2): Likewise.
5496 (__ASSUME_EVENTFD2): Likewise.
5497 (__ASSUME_SIGNALFD4): Likewise.
5498 (__ASSUME_DUP3): Likewise.
5499 (__ASSUME_UTIMES): Undefine.
5501 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5502 feclearexcept. Remove symbol versioning code.
5503 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5504 symbol versioning code.
5505 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5506 symbol versioning code.
5507 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5508 feupdateenv. Remove symbol versioning code.
5509 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5510 fegetexceptflag. Remove symbol versioning code.
5511 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5512 fesetexceptflag. Remove symbol versioning code.
5513 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5514 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5515 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5516 (__posix_fadvise64_l32): Remove prototype.
5517 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5520 2014-05-13 Roland McGrath <roland@hack.frob.com>
5522 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5523 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5524 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5525 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5527 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5529 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5530 current working directory
5532 2014-05-13 Roland McGrath <roland@hack.frob.com>
5534 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5535 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5536 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5537 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5538 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5539 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5540 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5541 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5542 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5543 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5544 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5545 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5546 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5547 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5548 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5549 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5550 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5551 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5552 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5553 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5554 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5555 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5556 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5557 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5558 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5559 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5560 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5561 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5562 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5563 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5564 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5565 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5566 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5567 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5568 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5569 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5570 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5571 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5572 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5573 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5574 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5575 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5577 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5578 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5580 * sysdeps/unix/sysv/linux/arm/Makefile
5581 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5582 Add rt-aeabi_unwind_cpp_pr1.
5583 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5584 Add nptl-aeabi_unwind_cpp_pr1.
5585 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5586 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5587 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5588 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5589 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5590 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5592 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5593 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5594 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5595 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5597 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5598 Deconditionalize the code that was previously under [RESET_PID].
5599 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5601 * sysdeps/generic/exit-thread.h: New file.
5602 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5603 * include/unistd.h (__exit_thread): Remove declaration.
5604 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5605 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5606 * csu/libc-start.c: Include <exit-thread.h>.
5607 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5608 * nptl/pthread_create.c: Include <exit-thread.h>.
5609 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5610 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5611 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5612 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5613 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5614 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5615 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5616 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5617 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5618 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5619 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5620 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5621 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5622 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5623 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5624 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5625 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5627 2014-05-13 Andreas Schwab <schwab@suse.de>
5629 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5631 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5633 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5634 (__ASSUME_UTIMES): Do not condition on kernel version.
5635 (__ASSUME_PSELECT): Define unconditionally.
5636 (__ASSUME_PPOLL): Likewise.
5637 (__ASSUME_ATFCTS): Likewise.
5638 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5639 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5640 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5641 (__ASSUME_UTIMENSAT): Define unconditionally.
5642 (__ASSUME_PRIVATE_FUTEX): Likewise.
5643 (__ASSUME_FALLOCATE): Likewise.
5644 (__ASSUME_O_CLOEXEC): Likewise.
5645 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5646 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5647 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5648 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5649 (__ASSUME_IN_NONBLOCK): Likewise.
5650 (__ASSUME_PIPE2): Likewise.
5651 (__ASSUME_EVENTFD2): Likewise.
5652 (__ASSUME_SIGNALFD4): Likewise.
5653 (__ASSUME_DUP3): Likewise.
5654 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5655 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5656 (__ASSUME_AT_RANDOM): Likewise.
5657 (__ASSUME_PREADV): Likewise.
5658 (__ASSUME_PWRITEV): Likewise.
5659 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5660 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5661 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5662 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5663 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5664 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5665 (__ASSUME_O_CLOEXEC): Define unconditionally.
5666 (__ASSUME_PSELECT): Do not undefine conditionally.
5667 (__ASSUME_PPOLL): Likewise.
5668 (__ASSUME_ATFCTS): Likewise.
5669 (__ASSUME_SET_ROBUST_LIST): Likewise.
5670 (__ASSUME_UTIMENSAT): Likewise.
5671 (__ASSUME_FDATASYNC): Define unconditionally.
5672 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5673 (__ASSUME_SIGFRAME_V2): Likewise.
5674 )__ASSUME_EVENTFD2): Likewise.
5675 (__ASSUME_SIGNALFD4): Likewise.
5676 (__ASSUME_PSELECT): Do not undefine conditionally.
5677 (__ASSUME_PPOLL): Likewise.
5678 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5679 (__ASSUME_PSELECT): Define unconditionally.
5680 (__ASSUME_PPOLL): Likewise.
5681 (__ASSUME_O_CLOEXEC): Likewise.
5682 (__ASSUME_SOCK_CLOEXEC): Likewise.
5683 (__ASSUME_IN_NONBLOCK): Likewise.
5684 (__ASSUME_PIPE2): Likewise.
5685 (__ASSUME_EVENTFD2): Likewise.
5686 (__ASSUME_SIGNALFD4): Likewise.
5687 (__ASSUME_DUP3): Likewise.
5688 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5689 (__ASSUME_O_CLOEXEC): Likewise.
5690 (__ASSUME_SOCK_CLOEXEC): Likewise.
5691 (__ASSUME_IN_NONBLOCK): Likewise.
5692 (__ASSUME_PIPE2): Likewise.
5693 (__ASSUME_EVENTFD2): Likewise.
5694 (__ASSUME_SIGNALFD4): Likewise.
5695 (__ASSUME_DUP3): Likewise.
5696 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5697 (__ASSUME_EVENTFD2): Likewise.
5698 (__ASSUME_SIGNALFD4): Likewise.
5699 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5701 2014-05-12 Andreas Schwab <schwab@suse.de>
5704 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5705 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5706 than maximum RPC packet size.
5707 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5708 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5709 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5710 (_nss_nis_getservbyport_r): Likewise.
5712 2014-05-12 Will Newton <will.newton@linaro.org>
5714 * malloc/Makefile (tests): Add tst-mallopt.
5715 * malloc/tst-mallopt.c: New file.
5717 2014-05-09 Roland McGrath <roland@hack.frob.com>
5719 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5720 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5722 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5724 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5725 (tst-tlsmod6.so): Likewise.
5727 2014-05-09 Roland McGrath <roland@hack.frob.com>
5729 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5731 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5734 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5735 and <dl-procinfo.h>.
5736 (__fegetenv): Save SSE state in envp->__eip if supported.
5737 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5738 envp->__eip if supported.
5739 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5740 and <dl-procinfo.h>.
5741 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5742 __data_offset and __data_selector in environment to 0. Set SSE
5744 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5746 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5748 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5750 2014-05-09 Will Newton <will.newton@linaro.org>
5752 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5753 and libc_relro_required for ARM.
5754 * sysdeps/arm/preconfigure: Regenerate.
5756 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5757 Stefan Liebler <stli@linux.vnet.ibm.com>
5759 * config.make.in (enable-lock-elision): New Makefile variable.
5760 * configure.ac: Likewise.
5761 * configure: Regenerate.
5762 * sysdeps/s390/configure.ac:
5763 Add check for gcc transactions support.
5764 * sysdeps/s390/configure: Regenerate.
5765 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5766 Build elision files if enabled.
5767 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5768 Add lock elision support for s390.
5769 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5770 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5771 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5772 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5773 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5774 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5775 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5777 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5779 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5781 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5783 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5784 (__lll_timedlock_elision, __lll_lock_elision)
5785 (__lll_unlock_elision, __lll_trylock_elision)
5786 (lll_timedlock_elision, lll_lock_elision)
5787 (lll_unlock_elision, lll_trylock_elision): Add.
5788 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5789 (pthread_mutex_t): Add lock elision support for s390.
5791 2014-05-14 Wilco <wdijkstr@arm.com>
5793 * sysdeps/arm/fclrexcpt.c: Cleanup.
5794 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5795 * sysdeps/arm/feenablxcpt.c: Cleanup.
5796 * sysdeps/arm/fegetenv.c: Cleanup.
5797 * sysdeps/arm/fegetexcept.c: Cleanup.
5798 * sysdeps/arm/fegetround.c: Cleanup.
5799 * sysdeps/arm/feholdexcpt.c: Cleanup.
5800 * sysdeps/arm/fesetenv.c: Cleanup.
5801 * sysdeps/arm/fesetround.c: Cleanup.
5802 * sysdeps/arm/feupdateenv.c: Cleanup.
5803 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5804 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5805 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5806 * sysdeps/arm/ftestexcept.c: Cleanup.
5807 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5808 * sysdeps/arm/setfpucw.c: Cleanup.
5810 2014-05-09 Will Newton <will.newton@linaro.org>
5812 * sysdeps/arm/armv7/strcmp.S: New file.
5813 * NEWS: Mention addition of ARMv7 optimized strcmp.
5815 2014-05-08 Roland McGrath <roland@hack.frob.com>
5817 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5818 look for %.ac rather than %.in.
5820 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5821 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5822 * sysdeps/mach/hurd/configure: Regenerated.
5823 * sysdeps/unix/sysv/linux/configure: Regenerated.
5825 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5827 2014-05-07 Steve Ellcey <sellcey@mips.com>
5830 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5834 2014-05-07 Andreas Schwab <schwab@suse.de>
5836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5837 when skipping over non-matching result from nscd.
5839 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5842 * nptl/sockperf.c (client): Check socket return value.
5845 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5846 nscd security class.
5848 2014-05-06 Roland McGrath <roland@hack.frob.com>
5850 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5851 * sysdeps/arm/unwind.h: ... here.
5853 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5856 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5859 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5861 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5862 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5863 multiarch strncpy for PPC64.
5864 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5865 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5867 multiarch optimizations.
5868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5869 (__libc_ifunc_impl_list): Likewise.
5870 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5871 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5872 multiarch stpncpy for PPC64.
5873 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5874 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5876 2014-05-06 Andreas Schwab <schwab@suse.de>
5879 * gmon/mcount.c (_MCOUNT_DECL): Use
5880 atomic_compare_and_exchange_bool_acq instead of
5881 catomic_compare_and_exchange_bool_acq.
5883 2014-05-05 Roland McGrath <roland@hack.frob.com>
5885 * elf/Makefile (others, install-bin): Remove pldd.
5886 (pldd-modules): Variable removed.
5887 ($(objpfx)pldd): Target removed.
5888 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5889 (others, install-bin): Append pldd here.
5890 ($(objpfx)pldd): New target.
5892 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5893 to 0, so the first #if test emitted later doesn't see it undefined.
5894 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5895 * sysdeps/gnu/errlist.c: Regenerated.
5897 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5899 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5900 [libc_hidden_builtin_def]: Define to empty value.
5901 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5902 [libc_hidden_builtin_def]: Likewise.
5903 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5904 [libc_hidden_builtin_def]: Likewise.
5905 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5906 [libc_hidden_builtin_def]: Likewise.
5907 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5908 __redirect_memcpy and define ifunc as default hidden symbol.
5909 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5910 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5912 2014-05-04 Adam Conrad <adconrad@0c3.net>
5914 * locale/iso-4217.def: Reintroduce XDR currency.
5916 2014-05-04 Allan McRae <allan@archlinux.org>
5918 * po/eo.po: Update Esperanto translation from translation project.
5920 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5922 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5923 and FEATURE_INDEX_MAX to 1.
5924 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5926 2014-05-01 Steve Ellcey <sellcey@mips.com>
5928 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5929 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5930 * iconvdata/big5.c (ONE_DIRECTION): Define.
5931 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5932 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5933 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5934 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5935 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5936 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5937 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5938 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5939 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5940 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5941 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5942 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5943 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5944 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5945 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5946 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5947 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5948 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5949 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5950 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5951 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5952 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5953 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5954 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5955 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5956 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5957 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5958 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5959 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5960 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5961 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5962 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5963 * iconvdata/johab.c (ONE_DIRECTION): Define.
5964 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5965 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5966 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5967 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5968 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5969 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5970 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5971 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5972 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5973 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5975 2014-05-01 Roland McGrath <roland@hack.frob.com>
5977 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5978 (_IO_JUMPS_OFFSET): Define to 0.
5980 * nptl/sysdeps/pthread/bits/libc-lock.h
5981 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5982 (__libc_lock_define_initialized_recursive): Always define using
5983 initializer. Modern compilers treat uninitialized (implicit zero) and
5984 explicit zero initializers the same (i.e. put the datum in bss).
5986 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5988 * nscd/nscd-client.h: Include <string.h>.
5990 2014-05-01 David S. Miller <davem@davemloft.net>
5993 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5994 multiple zero bytes exist at the end of a string.
5995 Reported by Aurelien Jarno <aurelien@aurel32.net>
5997 * string/test-strcmp.c (check): Add explicit test for situations where
5998 there are multiple zero bytes after the first.
6000 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6003 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6004 when compiling wprintf.
6005 * stdio-common/tstdiomisc.c (t3): New function.
6008 2014-05-01 Steve Ellcey <sellcey@mips.com>
6010 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6011 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6012 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6013 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6015 2014-05-01 Steve Ellcey <sellcey@mips.com>
6017 * stdlib/longlong.h: Updated from GCC.
6019 2014-05-01 Will Newton <will.newton@linaro.org>
6020 Bernard Ogden <bernie.ogden@linaro.org>
6022 * NEWS: Update fixed bug list.
6025 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6027 2014-04-30 David S. Miller <davem@davemloft.net>
6029 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6030 (libc_feholdexcept_setround_sparc_ctx): New function.
6031 (libc_fesetenv_sparc_ctx): Likewise.
6032 (libc_feupdateenv_sparc_ctx): Likewise.
6033 (libc_feholdsetround_sparc_ctx): Likewise.
6034 (libc_feholdexcept_setround_ctx): Define.
6035 (libc_feholdexcept_setroundf_ctx): Likewise.
6036 (libc_feholdexcept_setroundl_ctx): Likewise.
6037 (libc_fesetenv_ctx): Likewise.
6038 (libc_fesetenvf_ctx): Likewise.
6039 (libc_fesetenvl_ctx): Likewise.
6040 (libc_feupdateenv_ctx): Likewise.
6041 (libc_feupdateenvf_ctx): Likewise.
6042 (libc_feupdateenvl_ctx): Likewise.
6043 (libc_feresetround_ctx): Likewise.
6044 (libc_feresetroundf_ctx): Likewise.
6045 (libc_feresetroundl_ctx): Likewise.
6046 (libc_feholdsetround_ctx): Likewise.
6047 (libc_feholdsetroundf_ctx): Likewise.
6048 (libc_feholdsetroundl_ctx): Likewise.
6050 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6051 with __USE_GNU instead of XOPEN cpp guards.
6053 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6056 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6057 with XOPEN cpp guards.
6059 2014-04-30 Julian Brown <julian@codesourcery.com>
6062 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6065 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6068 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6070 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6071 * sysdeps/unix/sysv/linux/configure: Regenerated.
6072 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6073 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6074 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6075 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6076 * README: Update reference to required Linux kernel version.
6077 * manual/install.texi (Linux): Update reference to required Linux
6078 kernel headers version.
6079 * INSTALL: Regenerated.
6081 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6083 [POSIX] (limits.h): Likewise.
6084 [POSIX] (math.h): Likewise.
6085 [POSIX] (sys/wait.h): Likewise.
6086 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6088 [POSIX] (stddef.h): Do not allow header inclusion.
6090 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6092 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6094 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6096 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6097 Return immediately after lll_futex_wake.
6099 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6102 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6104 (datahead_init_pos): Call datahead_init_common early.
6105 (datahead_init_neg): Likewise.
6107 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6108 datahead_init_neg): New functions.
6109 * nscd/aicache.c (addhstaiX): Use them.
6110 * nscd/grpcache.c (cache_addgr): Likewise.
6111 * nscd/hstcache.c (cache_addhst): Likewise.
6112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6113 * nscd/netgroupcache.c (do_notfound): Likewise.
6114 (addgetnetgrentX): Likewise.
6115 (addinnetgrX): Likewise.
6116 * nscd/pwdcache.c (cache_addpw): Likewise.
6117 * nscd/servicescache.c (cache_addserv): Likewise.
6119 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6120 Atsushi Onoe <atsushi@onoe.org>
6125 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6126 one response is valid.
6127 * resolv/res_send.c (send_dg): Check for validity of other
6128 response if the current response is a referral.
6130 2014-04-29 Steve Ellcey <sellcey@mips.com>
6132 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6134 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6137 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6138 Always divide by positive zero when computing -Inf result.
6139 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6140 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6142 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6144 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6145 FPSCR if value do not change.
6146 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6147 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6148 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6149 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6150 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6151 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6154 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6156 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6157 * sysdeps/unix/sysv/linux/hppa: Move directory from
6158 ports/systeps/unix/sysv/linux/hppa.
6159 * README: Update listing for hppa-*-linux-gnu.
6161 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6164 * manual/stdio.texi (Hook functions): Fix types of stream hook
6167 * socket/sys/socket.h: Fix typo in comment.
6169 2014-04-28 Wilco <wdijkstr@arm.com>
6171 * sysdeps/arm/fenv_private.h: New file.
6172 * sysdeps/arm/math_private.h: New file.
6173 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6175 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6177 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6179 (La_x86_64_retval): Likewise.
6181 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6183 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6184 fpsr if value didn't change.
6185 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6186 to fpcr if value didn't change.
6187 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6188 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6189 fpsr or fpcr if value didn't change.
6190 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6191 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6192 fpcr if value didn't change.
6193 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6194 to fpsr if value didn't change.
6196 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6198 * nptl/tst-sem3.c: Use test-skeleton.c
6199 (main): Rename to do_test. Use return instead of
6201 * nptl/tst-sem4.c: Use test-skeleton.c
6202 (main): Rename to do_test.
6204 2014-04-22 David S. Miller <davem@davemloft.net>
6206 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6207 (struct sigaction): New struct member __glibc_reserved0, change
6208 type of sa_flags to int.
6210 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6212 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6213 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6215 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6217 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6218 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6220 2014-04-22 Will Newton <will.newton@linaro.org>
6221 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6223 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6224 (__longjmp): Add longjmp and longjmp_target SystemTap
6226 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6227 (__sigsetjmp): Add setjmp SystemTap probe.
6229 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6231 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6234 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6236 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6238 * sysdeps/powerpc/fpu/fenv_private.h
6239 (libc_feholdexcept_setroundl_ctx): Define to
6240 libc_feholdexcept_setround_ppc_ctx.
6241 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6242 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6243 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6244 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6246 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6248 * sysdeps/aarch64/math-tests.h: New file.
6250 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6252 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6255 Check and set bit_AVX2_Usable.
6256 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6258 (bit_AVX2): Likewise.
6259 (index_AVX2_Usable): Likewise.
6260 (CPUID_AVX2): Likewise.
6261 (HAS_AVX2): Likewise.
6263 2014-04-17 Will Newton <will.newton@linaro.org>
6265 * manual/setjmp.texi (System V contexts): Add note that
6266 calling setcontext on a context created by a call to a
6267 signal handler is undefined. Update text to note that
6268 setcontext from a signal handler is possible but not
6272 * stdlib/tst-setcontext.c: Include signal.h.
6273 (main): Check that the signal stack before and
6274 after swapcontext is the same.
6276 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6277 Re-implement to restore registers in user code and avoid
6278 rt_sigreturn system call.
6280 2014-04-17 Wilco <wdijkstr@arm.com>
6282 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6283 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6284 * math/test-fenv.c: Skip exception trap tests on targets which only
6285 support non-stop mode.
6287 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6288 Wilco Dijkstra <wilco.dijkstra@arm.com>
6290 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6291 (libc_feholdsetround_aarch64_ctx)
6292 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6293 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6294 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6295 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6296 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6297 (libc_feresetround_noexl_ctx): Define.
6299 2014-04-16 Richard Henderson <rth@redhat.com>
6301 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6303 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6306 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6307 const from the non-libc, non-ldso copy.
6309 * sysdeps/alpha/libm-test-ulps: Regenerate.
6311 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6312 Wilco Dijkstra <wilco.dijkstra@arm.com>
6314 * sysdeps/aarch64/fpu/math_private.h: New file.
6316 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6318 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6320 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6322 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6323 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6325 Intel MPX bound registers before _dl_profile_fixup.
6326 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6327 registers after _dl_profile_fixup. Save and restore bound
6328 registers bnd0/bnd1 when calling _dl_call_pltexit.
6329 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6330 (LR_BND_OFFSET): Likewise.
6331 (LRV_BND0_OFFSET): Likewise.
6332 (LRV_BND1_OFFSET): Likewise.
6334 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6336 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6338 * sysdeps/mach/hurd/i386/tls.h: ... here.
6339 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6340 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6343 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6345 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6347 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6349 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6351 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6354 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6355 * sysdeps/s390/configure: Regenerate.
6358 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6359 Set round-to-nearest internally to reduce error accumulation.
6361 2014-04-16 Alan Modra <amodra@gmail.com>
6365 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6366 * math/libm-test.inc (frexp_test_data): Add tests.
6367 * NEWS: Update fixed bug list.
6369 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6371 * benchtests/Makefile: Depend on libraries in build directory.
6372 (bench-math): Separate out math tests.
6373 (bench-pthread): Separate out pthread tests.
6374 (bench): Include math and pthread tests.
6376 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6379 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6380 _dl_debug_initialize.
6382 * configure.ac: Remove SELinux header check.
6383 * configure: Regenerate.
6384 * nscd/selinux.c (perms): Array of const char* to permission names.
6385 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6386 default policy. Call string_to_security_class and string_to_av_perm to
6387 translate strings. Enforce default policy and call avs_has_perm with
6388 results of translated strings.
6390 2014-04-13 David S. Miller <davem@davemloft.net>
6392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6394 2014-04-12 Allan McRae <allan@archlinux.org>
6397 * manual/string.texi (Collation Functions): Fix qsort argument
6399 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6401 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6403 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6404 Make the test a no-op if there are no exceptions defined.
6406 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6408 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6409 enable-hardcoded-path-in-tests
6411 2014-04-11 Will Newton <will.newton@linaro.org>
6413 * benchtests/Makefile (extra-objs): Add json-lib.o.
6414 (bench-func): Tidy up JSON output.
6415 * benchtests/bench-skeleton.c: Include json-lib.h.
6416 (main): Use JSON library functions to do output of
6418 * benchtests/bench-timing-type.c (main): Output the
6419 timing type simply, leaving formatting to the user.
6420 * benchtests/json-lib.c: New file.
6421 * benchtests/json-lib.h: Likewise.
6423 2014-04-11 Torvald Riegel <triegel@redhat.com>
6426 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6427 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6428 memory barriers. Add comments.
6429 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6430 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6431 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6432 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6433 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6434 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6436 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6438 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6439 * sysdeps/s390/s390-64/configure.ac: ... this ...
6440 * sysdeps/s390/configure.ac: ... to here.
6441 * sysdeps/s390/s390-32/configure: Delete file.
6442 * sysdeps/s390/s390-64/configure: Delete file.
6443 * sysdeps/s390/configure: Regenerate.
6445 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6447 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6449 2014-04-11 Will Newton <will.newton@linaro.org>
6451 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6452 to zero if it is not defined elsewhere. (mtrim): Test
6453 the value of MALLOC_DEBUG with #if rather than #ifdef.
6455 2014-04-10 Torvald Riegel <triegel@redhat.com>
6457 * benchtests/pthread_once-inputs: New file.
6458 * benchtests/pthread_once-source.c: New file.
6459 * benchtests/README: Update documentation.
6461 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6462 H.J. Lu <hongjiu.lu@intel.com>
6464 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6465 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6466 * sysdeps/x86_64/configure: Regenerated.
6467 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6469 (REGISTER_SAVE_RAX): Likewise.
6470 (REGISTER_SAVE_RCX): Likewise.
6471 (REGISTER_SAVE_RDX): Likewise.
6472 (REGISTER_SAVE_RSI): Likewise.
6473 (REGISTER_SAVE_RDI): Likewise.
6474 (REGISTER_SAVE_R8): Likewise.
6475 (REGISTER_SAVE_R9): Likewise.
6476 (REGISTER_SAVE_BND0): Likewise.
6477 (REGISTER_SAVE_BND1): Likewise.
6478 (REGISTER_SAVE_BND2): Likewise.
6479 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6480 bound registers when calling _dl_fixup.
6482 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6484 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6485 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6487 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6488 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6489 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6490 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6491 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6492 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6493 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6495 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6498 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6499 pathconf(_PC_NAME_MAX).
6501 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6503 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6505 (__PTHREAD_SPINS): Move definition to ...
6506 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6507 (__PTHREAD_SPINS): ... here.
6508 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6509 (__PTHREAD_SPIN): Likewise.
6510 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6511 (__PTHREAD_SPIN): Likewise.
6512 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6513 (__PTHREAD_SPIN): Likewise.
6514 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6515 (__PTHREAD_SPIN): Likewise.
6516 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6517 (__PTHREAD_SPIN): Likewise.
6518 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6519 (__PTHREAD_SPIN): Likewise.
6520 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6521 (__PTHREAD_SPIN): Likewise.
6522 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6523 (__PTHREAD_SPIN): Likewise.
6524 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6525 (__PTHREAD_SPIN): Likewise.
6526 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6527 (__PTHREAD_SPIN): Likewise.
6528 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6529 (__PTHREAD_SPIN): Likewise.
6530 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6531 (__PTHREAD_SPIN): Likewise.
6533 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6534 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6535 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6536 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6538 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6539 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6540 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6541 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6543 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6544 strlen symbol for non multi-arch builds.
6545 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6546 missing hidden_def and weak_alias.
6548 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6550 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6552 2014-04-07 Will Newton <will.newton@linaro.org>
6554 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6555 and contents. [!_LIBC] Remove #ifndef and contents.
6556 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6557 * string/memccpy.c (__memccpy): Use ANSI prototype.
6558 * string/memfrob.c (memfrob): Likewise.
6559 * string/strcoll.c (STRCOLL): Likewise.
6560 * string/strlen.c (strlen): Likewise.
6561 * string/strtok.c (STRTOK): Likewise.
6562 * string/strcat.c: Remove unused #include of memcopy.h.
6563 (strcat): Use ANSI prototype.
6564 * string/strchr.c: Remove unused #include of memcopy.h.
6565 (strchr): Use ANSI prototype.
6566 * string/strcmp.c: Remove unused #include of memcopy.h.
6567 (strcmp): Use ANSI prototype.
6568 * string/strcpy.c: Remove unused #include of memcopy.h.
6569 (strcpy): Use ANSI prototype.
6571 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6573 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6574 * config.make.in (config-extra-cppflags): Set it from
6575 libc_extra_cppflags.
6576 * configure.ac (libc_extra_cflags): Make it accumulate over
6577 configure fragments.
6578 (libc_extra_cppflags): New flag.
6579 * configure. Regenerate.
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6581 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6582 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6586 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6587 result for FE_DOWNWARD rounding mode.
6588 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6592 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6594 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6595 in function argument name.
6597 2014-04-03 David Svoboda <svoboda@cert.org>
6600 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6603 2014-04-03 Roland McGrath <roland@hack.frob.com>
6605 * elf/dl-unmap-segments.h: New file.
6606 * sysdeps/generic/ldsodefs.h
6607 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6608 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6609 * elf/dl-fptr.c: Likewise.
6610 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6611 * sysdeps/aarch64/tlsdesc.c: Likewise.
6612 * sysdeps/arm/tlsdesc.c: Likewise.
6613 * sysdeps/i386/tlsdesc.c: Likewise.
6614 * sysdeps/tile/dl-runtime.c: Likewise.
6615 * sysdeps/x86_64/tlsdesc.c: Likewise.
6616 * elf/dl-load.h: New file.
6617 * elf/dl-load.c: Include it.
6618 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6619 Macros moved to dl-load.h.
6620 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6621 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6622 Use _dl_unmap_segments in place of __munmap.
6623 Break out segment-mapping loop into ...
6624 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6626 2014-04-03 Will Newton <will.newton@linaro.org>
6628 * elf/dl-lookup.c (do_lookup_x): Remove comment
6629 referring to nested function and move variable
6630 declarations down to before first use.
6632 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6636 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6638 * math/s_catanf.c (__catanf): Likewise.
6639 * math/s_catanh.c (__catanh): Likewise.
6640 * math/s_catanhf.c (__catanhf): Likewise.
6641 * math/s_catanhl.c (__catanhl): Likewise.
6642 * math/s_catanl.c (__catanl): Likewise.
6643 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6644 by positive zero when computing -Inf result.
6645 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6646 (catanh_test): Likewise.
6647 * sysdeps/i386/fpu/libm-test-ulps: Update.
6648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6651 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6652 instead of using underflowing value in computing result.
6653 * math/s_clog10.c (__clog10): Likewise.
6654 * math/s_clog10f.c (__clog10f): Likewise.
6655 * math/s_clog10l.c (__clog10l): Likewise.
6656 * math/s_clogf.c (__clogf): Likewise.
6657 * math/s_clogl.c (__clogl): Likewise.
6658 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6659 (clog10_test): Likewise.
6660 * sysdeps/i386/fpu/libm-test-ulps: Update.
6661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6663 2014-04-02 Alan Modra <amodra@gmail.com>
6666 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6667 output when value is near a power of two. Use int64_t for lx and
6668 remove casts. Use decimal rather than hex exponent constants.
6669 Don't use long double multiplication when double will suffice.
6670 * math/libm-test.inc (nextafter_test_data): Add tests.
6671 * NEWS: Add 16739 and 16786 to bug list.
6673 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6675 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6677 2014-04-01 Will Newton <will.newton@linaro.org>
6679 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6680 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6682 2014-04-01 Florian Weimer <fweimer@redhat.com>
6685 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6686 * nptl/tst-setuid2.c: New file.
6687 * nptl/Makefile (xtests): Add tst-setuid2.
6689 2014-04-01 Alan Modra <amodra@gmail.com>
6692 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6694 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6698 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6699 set errno as appropriate.
6700 * math/w_scalbf.c (__scalbf): Likewise.
6701 * math/w_scalbl.c (__scalbl): Likewise.
6702 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6703 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6704 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6708 * math/w_atan2.c: Include <errno.h>.
6709 (__atan2): Set errno for result underflowing to zero.
6710 * math/w_atan2f.c: Include <errno.h>.
6711 (__atan2f): Set errno for result underflowing to zero.
6712 * math/w_atan2l.c: Include <errno.h>.
6713 (__atan2l): Set errno for result underflowing to zero.
6714 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6716 * math/auto-libm-test-out: Regenerated.
6718 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6720 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6721 Encode instruction correctly in little endian.
6722 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6724 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6726 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6728 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6731 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6734 * sysdeps/unix/sysv/linux/kernel-features.h
6735 [__sparc__ && !__arch64__ && !__sparc_v9__]
6736 (__ASSUME_SET_ROBUST_LIST): Do not define.
6737 [__sparc__ && !__arch64__ && !__sparc_v9__]
6738 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6739 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6741 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6742 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6743 (__ASSUME_REQUEUE_PI): Likewise.
6744 (__ASSUME_SET_ROBUST_LIST): Likewise.
6745 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6746 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6748 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6749 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6751 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6753 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6755 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6756 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6758 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6759 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6763 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6764 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6765 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6767 2014-03-31 Will Newton <will.newton@linaro.org>
6769 * benchtests/Makefile (bench): Add ffs and ffsll to list
6771 * benchtests/ffs-inputs: New file.
6772 * benchtests/ffsll-inputs: Likewise.
6774 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6777 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6778 too large before casting to int.
6779 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6780 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6781 * math/libm-test.inc (scalb_test_data): Add more tests.
6783 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6785 * benchtests/Makefile (DETAILED_OPT): New make option.
6786 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6788 * benchtests/bench-skeleton.c: Include stdbool.h.
6789 (main): Store and print timings per input.
6790 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6791 member to each argument value.
6792 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6793 (_print_arg_data): Initialize per-input timing to 0.
6795 * benchtests/Makefile (timing-type): New binary.
6796 (bench-clean): Also remove bench-timing-type.
6797 (bench): New target for timing-type.
6798 (bench-func): Print output in JSON format.
6799 * benchtests/bench-skeleton.c (main): Print output in JSON
6801 * benchtests/bench-timing-type.c: New file.
6802 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6803 (TIMING_PRINT_STATS): Remove.
6804 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6807 * benchtests/bench-modf.c: Remove.
6808 * benchtests/modf-inputs: New inputs file.
6810 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6813 * math/s_clog10.c (M_PI_LOG10E): New macro.
6814 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6815 imaginary parts are 0.
6816 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6817 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6818 imaginary parts are 0.
6819 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6820 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6821 imaginary parts are 0.
6822 * math/libm-test.inc (clog10_test_data): Update expected results
6823 for when real and imaginary parts are 0.
6825 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6827 * elf/dl-load.c: Finish conversion of __builtin_expect into
6830 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6833 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6834 1+x for argument with exponent below -67.
6835 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6837 * math/auto-libm-test-in: Add more tests of exp.
6838 * math/auto-libm-test-out: Regenerated.
6840 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6843 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6844 (nscd_getnetgrent): Use it.
6847 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6850 2014-03-27 Andi Kleen <ak@linux.intel.com>
6852 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6853 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6854 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6855 (lll_robust_unlock): Remove out of line section. Use cfi
6857 (LLL_STUB_UNWIND_INFO*): Remove.
6858 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6859 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6860 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6861 (lll_robust_unlock): Remove out of line section. Use cfi
6863 (LLL_STUB_UNWIND_INFO*): Remove.
6865 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6868 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6871 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6873 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6875 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6878 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6880 * math/test-fenv-preserve.c: New file.
6881 * math/Makefile (tests): Add test-fenv-preserve.
6883 2014-03-26 Will Newton <will.newton@linaro.org>
6885 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6887 2014-03-25 Roland McGrath <roland@hack.frob.com>
6889 * scripts/versionlist.awk: Partition the version sets and emit all
6890 GLIBC_* (sorted) before all others (sorted).
6892 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6894 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6895 GLIBC_2.2.5 version.
6897 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6899 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6902 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6907 2014-03-25 Andreas Schwab <schwab@suse.de>
6909 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6910 label to be used after in6ailist is initialized.
6912 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6914 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6915 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6917 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6921 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6923 (fp_formats): Update initializers.
6924 (init_fp_formats): Initialize new field.
6925 (output_for_one_input_case): Allow underflow for results up to
6927 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6928 * math/auto-libm-test-in: Don't mark some underflows from asin and
6930 * math/auto-libm-test-out: Regenerated.
6931 * sysdeps/i386/fpu/libm-test-ulps: Update.
6932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6934 2014-03-25 Andreas Schwab <schwab@suse.de>
6936 * libio/Makefile (tst-ftell-partial-wide-ENV)
6937 (tst-ftell-active-handler-ENV): Define.
6939 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6941 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6943 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6945 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6947 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6949 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6950 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6951 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6953 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6956 * elf/dl-load.c (open_verify): Add mode parameter.
6957 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6958 (open_path): Change from boolean 'secure' to complete flag 'mode'
6959 (_dl_map_object): Adjust.
6960 * elf/Makefile (tests): Add tst-dlopen-aout.
6961 * elf/tst-dlopen-aout.c: New test.
6963 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6966 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6967 (struct stat): Rename member pad0 to __glibc_reserved0.
6970 * sysdeps/s390/s390-32/bits/wordsize.h
6971 (__WORDSIZE32_SIZE_ULONG): New define.
6972 * sysdeps/s390/s390-64/bits/wordsize.h
6973 (__WORDSIZE32_SIZE_ULONG): Likewise.
6974 * sysdeps/generic/stdint.h (SIZE_MAX):
6975 Define as UL if __WORDSIZE32_SIZE_ULONG.
6978 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6979 (__glibc_reserved0): New variable.
6980 (sa_flags): Change type to int.
6982 * posix/Makefile (before-compile): Use += before-compile instead
6985 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6986 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6988 2014-03-20 Andreas Schwab <schwab@suse.de>
6991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6992 non-matching result from nscd.
6994 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6996 * scripts/bench.py: Moved to ...
6997 * benchtests/scripts/bench.py: ... here.
6998 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7000 2014-03-24 Andreas Schwab <schwab@suse.de>
7003 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7004 alloca_account and account alloca use for struct in6ailist.
7006 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7009 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7010 rounding mode to recompute results that overflow to infinity or
7012 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7014 * math/auto-libm-test-out: Regenerated.
7015 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7016 (ccosh_test): Likewise.
7017 (csin_test_data): Use plus_oflow.
7018 (csin_test): Use ALL_RM_TEST.
7019 (csinh_test_data): Use plus_oflow.
7020 (csinh_test): Use ALL_RM_TEST.
7021 * sysdeps/i386/fpu/libm-test-ulps: Update.
7022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7024 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7026 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7027 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7028 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7031 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7033 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7034 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7035 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7036 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7038 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7039 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7041 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7042 * sysdeps/i386/fpu/libm-test-ulps: Update.
7043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7045 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7047 * scripts/bench.pl: Remove file.
7048 * scripts/bench.py: New benchmark script.
7049 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7050 * benchtests/README: Mention python dependency.
7051 * scripts/pylintrc: New file.
7052 * scripts/pylint: New file.
7054 * bits/mathdef.h: Use #ifdef instead of #if.
7055 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7056 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7057 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7058 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7059 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7060 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7062 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7063 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7065 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7067 and strpbrk-ppc64 objects.
7068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7069 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7070 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7071 multiarch strpbrk for POWER7.
7072 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7073 multiarch strpbrk for PPC64.
7074 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7076 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7079 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7081 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7082 (atan_test): Likewise.
7083 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7084 (atanh_test): Use ALL_RM_TEST.
7085 (atan2_test_data): Likewise.
7086 (cabs_test): Likewise.
7087 (cacosh_test): Likewise.
7088 (carg_test): Likewise.
7089 (casin_test): Likewise.
7090 (casinh_test): Likewise.
7091 (cbrt_test): Likewise.
7092 (csqrt_test): Likewise.
7093 (erf_test): Likewise.
7094 (erfc_test): Likewise.
7095 (pow10_test): Likewise.
7096 (exp2_test): Likewise.
7097 (hypot_test): Likewise.
7098 (j0_test): Likewise.
7099 (j1_test): Likewise.
7100 (lgamma_test): Likewise.
7101 (gamma_test): Likewise.
7102 (sincos_test): Likewise.
7103 (tanh_test): Likewise.
7104 (y0_test): Likewise.
7105 (y1_test): Likewise.
7106 * sysdeps/i386/fpu/libm-test-ulps: Update.
7107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7109 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7111 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7113 and strcspn-ppc64 objects.
7114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7115 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7116 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7117 multiarch strcspn for POWER7.
7118 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7119 multiarch strcspn for PPC64.
7120 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7122 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7125 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7127 * math/gen-libm-test.pl (generate_testfile): Expect only function
7128 name as argument to AUTO_TESTS_* and pass results for all rounding
7129 modes to parse_args.
7130 (parse_auto_input): Separate inputs of automatic tests from
7131 outputs before storing in %auto_tests.
7132 * math/libm-test.inc (acos_test_data): Update call to
7134 (acos_test): Use ALL_RM_TEST.
7135 (acos_tonearest_test_data): Remove.
7136 (acos_test_tonearest): Likewise.
7137 (acos_towardzero_test_data): Likewise.
7138 (acos_test_towardzero): Likewise.
7139 (acos_downward_test_data): Likewise.
7140 (acos_test_downward): Likewise.
7141 (acos_upward_test_data): Likewise.
7142 (acos_test_upward): Likewise.
7143 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7144 (asin_test_data): Likewise.
7145 (asin_test): Use ALL_RM_TEST.
7146 (asin_tonearest_test_data): Remove.
7147 (asin_test_tonearest): Likewise.
7148 (asin_towardzero_test_data): Likewise.
7149 (asin_test_towardzero): Likewise.
7150 (asin_downward_test_data): Likewise.
7151 (asin_test_downward): Likewise.
7152 (asin_upward_test_data): Likewise.
7153 (asin_test_upward): Likewise.
7154 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7155 (atan_test_data): Likewise.
7156 (atanh_test_data): Likewise.
7157 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7158 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7159 (carg_test_data): Likewise.
7160 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7161 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7162 (ccosh_test_data): Likewise.
7163 (cexp_test_data): Likewise.
7164 (clog_test_data): Likewise.
7165 (clog10_test_data): Likewise.
7166 (cos_test_data): Update call to AUTO_TESTS_f_f.
7167 (cos_test): Use ALL_RM_TEST.
7168 (cos_tonearest_test_data): Remove.
7169 (cos_test_tonearest): Likewise.
7170 (cos_towardzero_test_data): Likewise.
7171 (cos_test_towardzero): Likewise.
7172 (cos_downward_test_data): Likewise.
7173 (cos_test_downward): Likewise.
7174 (cos_upward_test_data): Likewise.
7175 (cos_test_upward): Likewise.
7176 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7177 (cosh_test): Use ALL_RM_TEST.
7178 (cosh_tonearest_test_data): Remove.
7179 (cosh_test_tonearest): Likewise.
7180 (cosh_towardzero_test_data): Likewise.
7181 (cosh_test_towardzero): Likewise.
7182 (cosh_downward_test_data): Likewise.
7183 (cosh_test_downward): Likewise.
7184 (cosh_upward_test_data): Likewise.
7185 (cosh_test_upward): Likewise.
7186 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7187 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7188 (ctan_test_data): Likewise.
7189 (ctan_test): Use ALL_RM_TEST.
7190 (ctan_tonearest_test_data): Remove.
7191 (ctan_test_tonearest): Likewise.
7192 (ctan_towardzero_test_data): Likewise.
7193 (ctan_test_towardzero): Likewise.
7194 (ctan_downward_test_data): Likewise.
7195 (ctan_test_downward): Likewise.
7196 (ctan_upward_test_data): Likewise.
7197 (ctan_test_upward): Likewise.
7198 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7199 (ctanh_test): Use ALL_RM_TEST.
7200 (ctanh_tonearest_test_data): Remove.
7201 (ctanh_test_tonearest): Likewise.
7202 (ctanh_towardzero_test_data): Likewise.
7203 (ctanh_test_towardzero): Likewise.
7204 (ctanh_downward_test_data): Likewise.
7205 (ctanh_test_downward): Likewise.
7206 (ctanh_upward_test_data): Likewise.
7207 (ctanh_test_upward): Likewise.
7208 (erf_test_data): Update call to AUTO_TESTS_f_f.
7209 (erfc_test_data): Likewise.
7210 (exp_test_data): Likewise.
7211 (exp_test): Use ALL_RM_TEST.
7212 (exp_tonearest_test_data): Remove.
7213 (exp_test_tonearest): Likewise.
7214 (exp_towardzero_test_data): Likewise.
7215 (exp_test_towardzero): Likewise.
7216 (exp_downward_test_data): Likewise.
7217 (exp_test_downward): Likewise.
7218 (exp_upward_test_data): Likewise.
7219 (exp_test_upward): Likewise.
7220 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7221 (exp10_test): Use ALL_RM_TEST.
7222 (exp10_tonearest_test_data): Remove.
7223 (exp10_test_tonearest): Likewise.
7224 (exp10_towardzero_test_data): Likewise.
7225 (exp10_test_towardzero): Likewise.
7226 (exp10_downward_test_data): Likewise.
7227 (exp10_test_downward): Likewise.
7228 (exp10_upward_test_data): Likewise.
7229 (exp10_test_upward): Likewise.
7230 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7231 (expm1_test_data): Likewise.
7232 (expm1_test): Use ALL_RM_TEST.
7233 (expm1_tonearest_test_data): Remove.
7234 (expm1_test_tonearest): Likewise.
7235 (expm1_towardzero_test_data): Likewise.
7236 (expm1_test_towardzero): Likewise.
7237 (expm1_downward_test_data): Likewise.
7238 (expm1_test_downward): Likewise.
7239 (expm1_upward_test_data): Likewise.
7240 (expm1_test_upward): Likewise.
7241 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7242 (fma_test): Use ALL_RM_TEST.
7243 (fma_towardzero_test_data): Remove.
7244 (fma_test_towardzero): Likewise.
7245 (fma_downward_test_data): Likewise.
7246 (fma_test_downward): Likewise.
7247 (fma_upward_test_data): Likewise.
7248 (fma_test_upward): Likewise.
7249 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7250 (j0_test_data): Update call to AUTO_TESTS_f_f.
7251 (j1_test_data): Likewise.
7252 (jn_test_data): Update call to AUTO_TESTS_if_f.
7253 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7254 (log_test_data): Update call to AUTO_TESTS_f_f.
7255 (log10_test_data): Likewise.
7256 (log1p_test_data): Likewise.
7257 (log2_test_data): Likewise.
7258 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7259 (pow_tonearest_test_data): Likewise.
7260 (sin_test_data): Update call to AUTO_TESTS_f_f.
7261 (sin_test): Use ALL_RM_TEST.
7262 (sin_tonearest_test_data): Remove.
7263 (sin_test_tonearest): Likewise.
7264 (sin_towardzero_test_data): Likewise.
7265 (sin_test_towardzero): Likewise.
7266 (sin_downward_test_data): Likewise.
7267 (sin_test_downward): Likewise.
7268 (sin_upward_test_data): Likewise.
7269 (sin_test_upward): Likewise.
7270 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7271 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7272 (sinh_test): Use ALL_RM_TEST.
7273 (sinh_tonearest_test_data): Remove.
7274 (sinh_test_tonearest): Likewise.
7275 (sinh_towardzero_test_data): Likewise.
7276 (sinh_test_towardzero): Likewise.
7277 (sinh_downward_test_data): Likewise.
7278 (sinh_test_downward): Likewise.
7279 (sinh_upward_test_data): Likewise.
7280 (sinh_test_upward): Likewise.
7281 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7282 (sqrt_test): Use ALL_RM_TEST.
7283 (sqrt_tonearest_test_data): Remove.
7284 (sqrt_test_tonearest): Likewise.
7285 (sqrt_towardzero_test_data): Likewise.
7286 (sqrt_test_towardzero): Likewise.
7287 (sqrt_downward_test_data): Likewise.
7288 (sqrt_test_downward): Likewise.
7289 (sqrt_upward_test_data): Likewise.
7290 (sqrt_test_upward): Likewise.
7291 (tan_test_data): Update call to AUTO_TESTS_f_f.
7292 (tan_test): Use ALL_RM_TEST.
7293 (tan_tonearest_test_data): Remove.
7294 (tan_test_tonearest): Likewise.
7295 (tan_towardzero_test_data): Likewise.
7296 (tan_test_towardzero): Likewise.
7297 (tan_downward_test_data): Likewise.
7298 (tan_test_downward): Likewise.
7299 (tan_upward_test_data): Likewise.
7300 (tan_test_upward): Likewise.
7301 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7302 (tgamma_test_data): Likewise.
7303 (y0_test_data): Likewise.
7304 (y1_test_data): Likewise.
7305 (yn_test_data): Update call to AUTO_TESTS_if_f.
7306 (main): Do not call removed functions.
7308 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7310 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7311 (ldexp_test_data): Remove.
7312 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7314 (scalb_test): Use ALL_RM_TEST.
7316 2014-03-19 Andreas Schwab <schwab@suse.de>
7318 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7320 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7323 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7324 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7325 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7326 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7327 (__ASSUME_PREADV): Undefine.
7328 (__ASSUME_PWRITEV): Likewise.
7330 2014-03-18 Roland McGrath <roland@hack.frob.com>
7332 * bits/mman-linux.h: Add comment about non-Linux use.
7333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7334 bits/mman-linux.h resting place.
7336 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7337 * bits/mman-linux.h: ... here.
7339 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7341 * conform/conformtest.pl: Add standard definition when calling C
7342 preprocessor on data files.
7343 (checknamespace): Remove unused variable.
7345 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7347 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7348 minus_oflow, plus_uflow and minus_uflow in expected results.
7349 * math/libm-test.inc (scalbn_test_data): Add more tests of
7350 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7352 (scalbn_test): Use ALL_RM_TEST.
7353 (scalbln_test_data): Add more tests of negative arguments. Use
7354 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7355 (scalbln_test): Use ALL_RM_TEST.
7357 2014-03-18 Roland McGrath <roland@hack.frob.com>
7359 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7361 2014-03-18 Will Newton <will.newton@linaro.org>
7363 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7366 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7368 * Makerules [!subdir] (check-abi): Exit with error status if a
7371 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7373 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7374 for rint. Include results for all rounding modes.
7375 (nearbyint_test): Use ALL_RM_TEST.
7376 (rint_test_data): Include all tests used for nearbyint.
7378 2014-03-17 Will Newton <will.newton@linaro.org>
7380 * nptl/sysdeps/pthread/pthread.h: Revert previous
7383 * sysdeps/generic/ldsodefs.h: Revert previous
7386 * libio/genops.c: Revert previous change.
7387 * libio/libioP.h: Likewise.
7388 * stdio-common/vfprintf.c: Likewise.
7390 * sysdeps/generic/math_private.h: Revert previous
7393 * sysdeps/generic/math_private.h: Check whether
7394 HAVE_RM_CTX is defined with #ifdef rather
7397 * argp/argp-fmtstream.h: Check whether
7398 __STRICT_ANSI__ is defined with #ifdef rather
7400 * argp/argp.h: Likewise.
7402 * libio/genops.c: Check whether
7403 _IO_JUMPS_OFFSET is defined with #ifdef rather
7405 * libio/libioP.h: Likewise.
7406 * stdio-common/vfprintf.c: Likewise.
7408 * sysdeps/generic/ldsodefs.h: Check whether
7409 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7412 * nptl/sysdeps/pthread/pthread.h: Check
7413 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7416 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7418 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7420 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7424 * libio/fileops.c (_IO_file_open): Seek to end of file but
7425 don't cache the offset.
7426 (get_file_offset): Remove function.
7427 (do_ftell): Use cached offset when available.
7428 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7429 don't cache the offset.
7430 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7432 (do_one_test): Call it.
7433 (do_ftell_test): Fix up expected old offset for a+ mode.
7434 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7437 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7438 up test status with function return status.
7439 (do_write_test): Likewise.
7440 (do_append_test): Likewise.
7442 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7443 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7446 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7448 * math/gen-libm-test.pl (parse_args): Handle results specified for
7449 each rounding mode separately.
7450 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7451 tests and results from lrint_tonearest_test_data,
7452 lrint_towardzero_test_data, lrint_downward_test_data and
7453 lrint_upward_test_data.
7454 (lrint_test): Use ALL_RM_TEST.
7455 (lrint_tonearest_test_data): Remove.
7456 (lrint_test_tonearest): Likewise.
7457 (lrint_towardzero_test_data): Likewise.
7458 (lrint_test_towardzero): Likewise.
7459 (lrint_downward_test_data): Likewise.
7460 (lrint_test_downward): Likewise.
7461 (lrint_upward_test_data): Likewise.
7462 (lrint_test_upward): Likewise.
7463 (llrint_test_data): Merge in per-rounding-mode tests and results
7464 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7465 llrint_downward_test_data and llrint_upward_test_data.
7466 (llrint_test): Use ALL_RM_TEST.
7467 (llrint_tonearest_test_data): Remove.
7468 (llrint_test_tonearest): Likewise.
7469 (llrint_towardzero_test_data): Likewise.
7470 (llrint_test_towardzero): Likewise.
7471 (llrint_downward_test_data): Likewise.
7472 (llrint_test_downward): Likewise.
7473 (llrint_upward_test_data): Likewise.
7474 (llrint_test_upward): Likewise.
7475 (rint_test_data): Merge in per-rounding-mode tests and results
7476 from rint_tonearest_test_data, rint_towardzero_test_data,
7477 rint_downward_test_data and rint_upward_test_data. Add
7478 per-rounding-mode results for tests not in those arrays.
7479 (rint_test): Use ALL_RM_TEST.
7480 (rint_tonearest_test_data): Remove.
7481 (rint_test_tonearest): Likewise.
7482 (rint_towardzero_test_data): Likewise.
7483 (rint_test_towardzero): Likewise.
7484 (rint_downward_test_data): Likewise.
7485 (rint_test_downward): Likewise.
7486 (rint_upward_test_data): Likewise.
7487 (rint_test_upward): Likewise.
7488 (main): Don't call removed functions.
7490 2014-03-14 Roland McGrath <roland@hack.frob.com>
7492 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7493 "Compiled on ..." crapola. It is anti-useful.
7495 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7497 * scripts/evaluate-test.sh: Handle fourth argument to determine
7498 whether test run should stop on failure.
7499 * Makeconfig (stop-on-test-failure): New variable.
7500 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7501 $(stop-on-test-failure).
7502 * Makefile (tests): Give a summary of results from testing and
7503 exit with failure status if they include an ERROR or FAIL.
7505 * manual/install.texi (Configuring and compiling): Mention
7506 stop-on-test-failure=y.
7507 * INSTALL: Regenerated.
7509 2014-03-14 Roland McGrath <roland@hack.frob.com>
7511 * scripts/versionlist.awk: New file.
7512 * Makerules [$(build-shared) = yes]
7513 (postclean-generated): Add Versions.def, not Versions.def.v and
7515 ($(common-objpfx)Versions.def.v.i): Target removed.
7516 ($(common-objpfx)Versions.def): New target.
7517 ($(common-objpfx)Versions.all): Depend on that rather that
7518 $(common-objpfx)Versions.def.v.
7519 * Versions.def: File removed.
7521 * Makeconfig (+gccwarn): Add -Wundef.
7522 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7523 a dl-sysdep.h breaking its contract.
7524 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7525 * include/stackinfo.h: New file.
7526 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7527 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7528 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7529 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7530 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7531 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7532 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7533 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7534 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7535 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7536 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7537 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7538 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7539 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7540 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7542 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7545 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7547 * math/libm-test.inc (round_test_data): Add more tests.
7550 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7552 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7555 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7557 * math/libm-test.inc (ceil_test_data): Add more tests.
7559 * math/libm-test.inc (trunc_test_data): Add more tests related to
7562 2014-03-14 Roland McGrath <roland@hack.frob.com>
7564 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7565 with #if rather than #ifdef.
7566 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7568 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7570 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7571 first. Disable AVX-512 GCC support if assembler doesn't support
7573 * sysdeps/x86_64/configure: Regenerated.
7575 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7577 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7578 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7579 (__old_pthread_attr_setstack): Likewise.
7580 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7581 [!_STACK_GROWS_DOWN]: Likewise.
7583 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7585 * config.make.in (have-bash2): Delete.
7586 * configure.ac (libc_cv_have_bash2): Delete.
7587 * configure: Regenerate.
7588 * elf/Makefile (common-ldd-rewrite): Rename to ...
7589 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7590 (sh-ldd-rewrite): Delete.
7591 (bash-ldd-rewrite): Delete.
7592 (have-bash2): Delete checks.
7593 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7596 * config.make.in (have-ksh): Delete.
7598 * configure.ac (libc_cv_have_ksh): Delete.
7599 * configure: Regenerate.
7601 * elf/Makefile: Delete $(have-ksh) check.
7602 ($(objpfx)sotruss): Change KSH to BASH.
7603 * elf/sotruss.ksh: Rename to ...
7604 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7605 function style to match POSIX. Drop ksh vim mode setting.
7607 * manual/time.texi (Specifying the Time Zone with TZ): Change
7608 Tuesday to Thursday.
7610 * debug/tst-longjmp_chk2.c: Update header comment.
7611 (stackoverflow_handler): Add comment. Call assert on pass value.
7613 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7615 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7616 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7617 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7618 (La_x86_64_vector): Add zmm.
7619 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7620 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7621 ($(objpfx)tst-audit10): New target.
7622 ($(objpfx)tst-audit10.out): Likewise.
7623 (tst-audit10-ENV): New.
7624 (AVX512-CFLAGS): Likewise.
7625 (CFLAGS-tst-audit10.c): Likewise.
7626 (CFLAGS-tst-auditmod10a.c): Likewise.
7627 (CFLAGS-tst-auditmod10b.c): Likewise.
7628 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7629 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7630 * sysdeps/x86_64/configure: Regenerated.
7631 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7632 AVX-512 zmm register support.
7633 (_dl_x86_64_save_sse): Likewise.
7634 (_dl_x86_64_restore_sse): Likewise.
7635 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7636 size vector registers.
7637 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7638 (ZMM_SIZE): Likewise.
7639 * sysdeps/x86_64/tst-audit10.c: New file.
7640 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7641 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7643 2014-03-13 Roland McGrath <roland@hack.frob.com>
7645 * configure.ac (HAVE_EHDR_START): New check.
7646 * configure: Regenerated.
7647 * config.h.in (HAVE_EHDR_START): New #undef.
7648 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7649 assuming the lowest-addressed segment maps the start of the file.
7651 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7653 * INSTALL: Regenerated.
7655 2014-03-13 Will Newton <will.newton@linaro.org>
7657 * manual/setjmp.texi (System V contexts): Improve
7658 clarity and grammar of documentation.
7660 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7663 * elf/Makefile (tests): Add tst-pie2.
7664 (tests-pie): Add tst-pie2.
7665 * elf/tst-pie2.c: New file.
7666 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7668 * elf/rtld.c (map_doit): Load executable as lt_executable.
7669 (dl_main): Likewise.
7671 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7674 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7675 (__ASSUME_PSELECT): Undefine.
7677 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7680 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7681 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7683 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7684 selector for static builds.
7686 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7689 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7692 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7694 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7695 IFUNC selector for static builds.
7697 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7699 * sysdeps/mips/math_private.h [__mips_hard_float]
7700 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7701 libc_feresetround_mips_ctx.
7702 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7703 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7704 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7707 * math/s_nextafter.c (__nextafter): Do not return value from
7708 overflowing computation.
7709 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7710 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7711 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7713 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7715 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7716 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7718 2014-03-11 Roland McGrath <roland@hack.frob.com>
7720 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7721 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7722 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7723 the new mov targetting sp.
7725 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7728 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7729 Define it for static builds as well.
7730 (NO_BZERO_IMPL): Likewise.
7732 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7734 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7735 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7736 multiarch strspn for PPC64.
7737 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7738 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7740 (__libc_ifunc_impl_list): Likewise.
7741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7742 multiarch optimizations
7743 * string/strspn.c (strspn): Using macro to redefine symbol name.
7745 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7746 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7748 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7749 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7750 multiarch strncat for PPC64.
7751 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7752 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7754 (__libc_ifunc_impl_list): Likewise.
7755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7756 multiarch optimizations
7758 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7761 * nscd/nscd.service: Make service type forking.
7763 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7765 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7766 sign in non default rounding modes.
7767 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7769 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7771 * math/libm-test.inc (ALL_RM_TEST): New macro.
7772 (ceil_test): Use ALL_RM_TEST.
7773 (cimag_test): Likewise.
7774 (conj_test): Likewise.
7775 (copysign_test): Likewise.
7776 (cproj_test): Likewise.
7777 (creal_test): Likewise.
7778 (fabs_test): Likewise.
7779 (floor_test): Likewise.
7780 (fmax_test): Likewise.
7781 (fmin_test): Likewise.
7782 (fmod_test): Likewise.
7783 (fpclassify_test): Likewise.
7784 (frexp_test): Likewise.
7785 (ilogb_test): Likewise.
7786 (isfinite_test): Likewise.
7787 (finite_test): Likewise.
7788 (isgreater_test): Likewise.
7789 (isgreaterequal_test): Likewise.
7790 (isinf_test): Likewise.
7791 (isless_test): Likewise.
7792 (islessequal_test): Likewise.
7793 (islessgreater_test): Likewise.
7794 (isnan_test): Likewise.
7795 (isnormal_test): Likewise.
7796 (issignaling_test): Likewise.
7797 (isunordered_test): Likewise.
7798 (logb_test): Likewise.
7799 (logb_downward_test_data): Remove.
7800 (logb_test_downward): Likewise.
7801 (lround_test): Use ALL_RM_TEST.
7802 (llround_test): Likewise.
7803 (modf_test): Likewise.
7804 (nexttoward_test): Likewise.
7805 (remainder_test): Likewise.
7806 (drem_test): Likewise.
7807 (remainder_tonearest_test_data): Likewise.
7808 (remainder_test_tonearest): Likewise.
7809 (drem_test_tonearest): Likewise.
7810 (remainder_towardzero_test_data): Likewise.
7811 (remainder_test_towardzero): Likewise.
7812 (drem_test_towardzero): Likewise.
7813 (remainder_downward_test_data): Likewise.
7814 (remainder_test_downward): Likewise.
7815 (drem_test_downward): Likewise.
7816 (remainder_upward_test_data): Likewise.
7817 (remainder_test_upward): Likewise.
7818 (drem_test_upward): Likewise.
7819 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7820 (round_test): Use ALL_RM_TEST.
7821 (signbit_test): Likewise.
7822 (trunc_test): Likewise.
7823 (significand_test): Likewise.
7824 (main): Don't call removed functions.
7826 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7829 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7831 (ILL_ILLOPN): Likewise.
7832 (ILL_ILLADR): Likewise.
7833 (ILL_ILLTRP): Likewise.
7834 (ILL_PRVOPC): Likewise.
7835 (ILL_PRVREG): Likewise.
7836 (ILL_COPROC): Likewise.
7837 (ILL_BADSTK): Likewise.
7838 (FPE_INTDIV): Likewise.
7839 (FPE_INTOVF): Likewise.
7840 (FPE_FLTDIV): Likewise.
7841 (FPE_FLTOVF): Likewise.
7842 (FPE_FLTUND): Likewise.
7843 (FPE_FLTRES): Likewise.
7844 (FPE_FLTINV): Likewise.
7845 (FPE_FLTSUB): Likewise.
7846 (SEGV_MAPERR): Likewise.
7847 (SEGV_ACCERR): Likewise.
7848 (BUS_ADRALN): Likewise.
7849 (BUS_ADRERR): Likewise.
7850 (BUS_OBJERR): Likewise.
7851 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7852 (TRAP_TRACE): Likewise.
7853 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7855 (CLD_KILLED): Likewise.
7856 (CLD_DUMPED): Likewise.
7857 (CLD_TRAPPED): Likewise.
7858 (CLD_STOPPED): Likewise.
7859 (CLD_CONTINUED): Likewise.
7860 (POLL_IN): Likewise.
7861 (POLL_OUT): Likewise.
7862 (POLL_MSG): Likewise.
7863 (POLL_ERR): Likewise.
7864 (POLL_PRI): Likewise.
7865 (POLL_HUP): Likewise.
7866 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7868 (ILL_ILLOPN): Likewise.
7869 (ILL_ILLADR): Likewise.
7870 (ILL_ILLTRP): Likewise.
7871 (ILL_PRVOPC): Likewise.
7872 (ILL_PRVREG): Likewise.
7873 (ILL_COPROC): Likewise.
7874 (ILL_BADSTK): Likewise.
7875 (FPE_INTDIV): Likewise.
7876 (FPE_INTOVF): Likewise.
7877 (FPE_FLTDIV): Likewise.
7878 (FPE_FLTOVF): Likewise.
7879 (FPE_FLTUND): Likewise.
7880 (FPE_FLTRES): Likewise.
7881 (FPE_FLTINV): Likewise.
7882 (FPE_FLTSUB): Likewise.
7883 (SEGV_MAPERR): Likewise.
7884 (SEGV_ACCERR): Likewise.
7885 (BUS_ADRALN): Likewise.
7886 (BUS_ADRERR): Likewise.
7887 (BUS_OBJERR): Likewise.
7888 (BUS_MCEERR_AR): Likewise.
7889 (BUS_MCEERR_AO): Likewise.
7890 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7891 (TRAP_TRACE): Likewise.
7892 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7894 (CLD_KILLED): Likewise.
7895 (CLD_DUMPED): Likewise.
7896 (CLD_TRAPPED): Likewise.
7897 (CLD_STOPPED): Likewise.
7898 (CLD_CONTINUED): Likewise.
7899 (POLL_IN): Likewise.
7900 (POLL_OUT): Likewise.
7901 (POLL_MSG): Likewise.
7902 (POLL_ERR): Likewise.
7903 (POLL_PRI): Likewise.
7904 (POLL_HUP): Likewise.
7905 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7906 (ILL_ILLOPN): Likewise.
7907 (ILL_ILLADR): Likewise.
7908 (ILL_ILLTRP): Likewise.
7909 (ILL_PRVOPC): Likewise.
7910 (ILL_PRVREG): Likewise.
7911 (ILL_COPROC): Likewise.
7912 (ILL_BADSTK): Likewise.
7913 (FPE_INTDIV): Likewise.
7914 (FPE_INTOVF): Likewise.
7915 (FPE_FLTDIV): Likewise.
7916 (FPE_FLTOVF): Likewise.
7917 (FPE_FLTUND): Likewise.
7918 (FPE_FLTRES): Likewise.
7919 (FPE_FLTINV): Likewise.
7920 (FPE_FLTSUB): Likewise.
7921 (SEGV_MAPERR): Likewise.
7922 (SEGV_ACCERR): Likewise.
7923 (BUS_ADRALN): Likewise.
7924 (BUS_ADRERR): Likewise.
7925 (BUS_OBJERR): Likewise.
7926 (BUS_MCEERR_AR): Likewise.
7927 (BUS_MCEERR_AO): Likewise.
7928 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7929 (TRAP_TRACE): Likewise.
7930 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7932 (CLD_KILLED): Likewise.
7933 (CLD_DUMPED): Likewise.
7934 (CLD_TRAPPED): Likewise.
7935 (CLD_STOPPED): Likewise.
7936 (CLD_CONTINUED): Likewise.
7937 (POLL_IN): Likewise.
7938 (POLL_OUT): Likewise.
7939 (POLL_MSG): Likewise.
7940 (POLL_ERR): Likewise.
7941 (POLL_PRI): Likewise.
7942 (POLL_HUP): Likewise.
7943 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7945 (ILL_ILLOPN): Likewise.
7946 (ILL_ILLADR): Likewise.
7947 (ILL_ILLTRP): Likewise.
7948 (ILL_PRVOPC): Likewise.
7949 (ILL_PRVREG): Likewise.
7950 (ILL_COPROC): Likewise.
7951 (ILL_BADSTK): Likewise.
7952 (ILL_BADIADDR): Likewise.
7953 (ILL_BREAK): Likewise.
7954 (FPE_INTDIV): Likewise.
7955 (FPE_INTOVF): Likewise.
7956 (FPE_FLTDIV): Likewise.
7957 (FPE_FLTOVF): Likewise.
7958 (FPE_FLTUND): Likewise.
7959 (FPE_FLTRES): Likewise.
7960 (FPE_FLTINV): Likewise.
7961 (FPE_FLTSUB): Likewise.
7962 (FPE_DECOVF): Likewise.
7963 (FPE_DECDIV): Likewise.
7964 (FPE_DECERR): Likewise.
7965 (FPE_INVASC): Likewise.
7966 (FPE_INVDEC): Likewise.
7967 (SEGV_MAPERR): Likewise.
7968 (SEGV_ACCERR): Likewise.
7969 (SEGV_PSTKOVF): Likewise.
7970 (BUS_ADRALN): Likewise.
7971 (BUS_ADRERR): Likewise.
7972 (BUS_OBJERR): Likewise.
7973 (BUS_MCEERR_AR): Likewise.
7974 (BUS_MCEERR_AO): Likewise.
7975 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7976 (TRAP_TRACE): Likewise.
7977 (TRAP_BRANCH): Likewise.
7978 (TRAP_HWBKPT): Likewise.
7979 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7981 (CLD_KILLED): Likewise.
7982 (CLD_DUMPED): Likewise.
7983 (CLD_TRAPPED): Likewise.
7984 (CLD_STOPPED): Likewise.
7985 (CLD_CONTINUED): Likewise.
7986 (POLL_IN): Likewise.
7987 (POLL_OUT): Likewise.
7988 (POLL_MSG): Likewise.
7989 (POLL_ERR): Likewise.
7990 (POLL_PRI): Likewise.
7991 (POLL_HUP): Likewise.
7992 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7993 (ILL_ILLOPN): Likewise.
7994 (ILL_ILLADR): Likewise.
7995 (ILL_ILLTRP): Likewise.
7996 (ILL_PRVOPC): Likewise.
7997 (ILL_PRVREG): Likewise.
7998 (ILL_COPROC): Likewise.
7999 (ILL_BADSTK): Likewise.
8000 (FPE_INTDIV): Likewise.
8001 (FPE_INTOVF): Likewise.
8002 (FPE_FLTDIV): Likewise.
8003 (FPE_FLTOVF): Likewise.
8004 (FPE_FLTUND): Likewise.
8005 (FPE_FLTRES): Likewise.
8006 (FPE_FLTINV): Likewise.
8007 (FPE_FLTSUB): Likewise.
8008 (SEGV_MAPERR): Likewise.
8009 (SEGV_ACCERR): Likewise.
8010 (BUS_ADRALN): Likewise.
8011 (BUS_ADRERR): Likewise.
8012 (BUS_OBJERR): Likewise.
8013 (BUS_MCEERR_AR): Likewise.
8014 (BUS_MCEERR_AO): Likewise.
8015 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8016 (TRAP_TRACE): Likewise.
8017 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8019 (CLD_KILLED): Likewise.
8020 (CLD_DUMPED): Likewise.
8021 (CLD_TRAPPED): Likewise.
8022 (CLD_STOPPED): Likewise.
8023 (CLD_CONTINUED): Likewise.
8024 (POLL_IN): Likewise.
8025 (POLL_OUT): Likewise.
8026 (POLL_MSG): Likewise.
8027 (POLL_ERR): Likewise.
8028 (POLL_PRI): Likewise.
8029 (POLL_HUP): Likewise.
8030 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8031 (ILL_ILLOPN): Likewise.
8032 (ILL_ILLADR): Likewise.
8033 (ILL_ILLTRP): Likewise.
8034 (ILL_PRVOPC): Likewise.
8035 (ILL_PRVREG): Likewise.
8036 (ILL_COPROC): Likewise.
8037 (ILL_BADSTK): Likewise.
8038 (FPE_INTDIV): Likewise.
8039 (FPE_INTOVF): Likewise.
8040 (FPE_FLTDIV): Likewise.
8041 (FPE_FLTOVF): Likewise.
8042 (FPE_FLTUND): Likewise.
8043 (FPE_FLTRES): Likewise.
8044 (FPE_FLTINV): Likewise.
8045 (FPE_FLTSUB): Likewise.
8046 (SEGV_MAPERR): Likewise.
8047 (SEGV_ACCERR): Likewise.
8048 (BUS_ADRALN): Likewise.
8049 (BUS_ADRERR): Likewise.
8050 (BUS_OBJERR): Likewise.
8051 (BUS_MCEERR_AR): Likewise.
8052 (BUS_MCEERR_AO): Likewise.
8053 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8054 (TRAP_TRACE): Likewise.
8055 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8057 (CLD_KILLED): Likewise.
8058 (CLD_DUMPED): Likewise.
8059 (CLD_TRAPPED): Likewise.
8060 (CLD_STOPPED): Likewise.
8061 (CLD_CONTINUED): Likewise.
8062 (POLL_IN): Likewise.
8063 (POLL_OUT): Likewise.
8064 (POLL_MSG): Likewise.
8065 (POLL_ERR): Likewise.
8066 (POLL_PRI): Likewise.
8067 (POLL_HUP): Likewise.
8068 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8069 (ILL_ILLOPN): Likewise.
8070 (ILL_ILLADR): Likewise.
8071 (ILL_ILLTRP): Likewise.
8072 (ILL_PRVOPC): Likewise.
8073 (ILL_PRVREG): Likewise.
8074 (ILL_COPROC): Likewise.
8075 (ILL_BADSTK): Likewise.
8076 (FPE_INTDIV): Likewise.
8077 (FPE_INTOVF): Likewise.
8078 (FPE_FLTDIV): Likewise.
8079 (FPE_FLTOVF): Likewise.
8080 (FPE_FLTUND): Likewise.
8081 (FPE_FLTRES): Likewise.
8082 (FPE_FLTINV): Likewise.
8083 (FPE_FLTSUB): Likewise.
8084 (SEGV_MAPERR): Likewise.
8085 (SEGV_ACCERR): Likewise.
8086 (BUS_ADRALN): Likewise.
8087 (BUS_ADRERR): Likewise.
8088 (BUS_OBJERR): Likewise.
8089 (BUS_MCEERR_AR): Likewise.
8090 (BUS_MCEERR_AO): Likewise.
8091 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8092 (TRAP_TRACE): Likewise.
8093 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8095 (CLD_KILLED): Likewise.
8096 (CLD_DUMPED): Likewise.
8097 (CLD_TRAPPED): Likewise.
8098 (CLD_STOPPED): Likewise.
8099 (CLD_CONTINUED): Likewise.
8100 (POLL_IN): Likewise.
8101 (POLL_OUT): Likewise.
8102 (POLL_MSG): Likewise.
8103 (POLL_ERR): Likewise.
8104 (POLL_PRI): Likewise.
8105 (POLL_HUP): Likewise.
8106 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8107 (ILL_ILLOPN): Likewise.
8108 (ILL_ILLADR): Likewise.
8109 (ILL_ILLTRP): Likewise.
8110 (ILL_PRVOPC): Likewise.
8111 (ILL_PRVREG): Likewise.
8112 (ILL_COPROC): Likewise.
8113 (ILL_BADSTK): Likewise.
8114 (ILL_DBLFLT): Likewise.
8115 (ILL_HARDWALL): Likewise.
8116 (FPE_INTDIV): Likewise.
8117 (FPE_INTOVF): Likewise.
8118 (FPE_FLTDIV): Likewise.
8119 (FPE_FLTOVF): Likewise.
8120 (FPE_FLTUND): Likewise.
8121 (FPE_FLTRES): Likewise.
8122 (FPE_FLTINV): Likewise.
8123 (FPE_FLTSUB): Likewise.
8124 (SEGV_MAPERR): Likewise.
8125 (SEGV_ACCERR): Likewise.
8126 (BUS_ADRALN): Likewise.
8127 (BUS_ADRERR): Likewise.
8128 (BUS_OBJERR): Likewise.
8129 (BUS_MCEERR_AR): Likewise.
8130 (BUS_MCEERR_AO): Likewise.
8131 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8132 (TRAP_TRACE): Likewise.
8133 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8135 (CLD_KILLED): Likewise.
8136 (CLD_DUMPED): Likewise.
8137 (CLD_TRAPPED): Likewise.
8138 (CLD_STOPPED): Likewise.
8139 (CLD_CONTINUED): Likewise.
8140 (POLL_IN): Likewise.
8141 (POLL_OUT): Likewise.
8142 (POLL_MSG): Likewise.
8143 (POLL_ERR): Likewise.
8144 (POLL_PRI): Likewise.
8145 (POLL_HUP): Likewise.
8146 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8147 (ILL_ILLOPN): Likewise.
8148 (ILL_ILLADR): Likewise.
8149 (ILL_ILLTRP): Likewise.
8150 (ILL_PRVOPC): Likewise.
8151 (ILL_PRVREG): Likewise.
8152 (ILL_COPROC): Likewise.
8153 (ILL_BADSTK): Likewise.
8154 (FPE_INTDIV): Likewise.
8155 (FPE_INTOVF): Likewise.
8156 (FPE_FLTDIV): Likewise.
8157 (FPE_FLTOVF): Likewise.
8158 (FPE_FLTUND): Likewise.
8159 (FPE_FLTRES): Likewise.
8160 (FPE_FLTINV): Likewise.
8161 (FPE_FLTSUB): Likewise.
8162 (SEGV_MAPERR): Likewise.
8163 (SEGV_ACCERR): Likewise.
8164 (BUS_ADRALN): Likewise.
8165 (BUS_ADRERR): Likewise.
8166 (BUS_OBJERR): Likewise.
8167 (BUS_MCEERR_AR): Likewise.
8168 (BUS_MCEERR_AO): Likewise.
8169 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8170 (TRAP_TRACE): Likewise.
8171 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8173 (CLD_KILLED): Likewise.
8174 (CLD_DUMPED): Likewise.
8175 (CLD_TRAPPED): Likewise.
8176 (CLD_STOPPED): Likewise.
8177 (CLD_CONTINUED): Likewise.
8178 (POLL_IN): Likewise.
8179 (POLL_OUT): Likewise.
8180 (POLL_MSG): Likewise.
8181 (POLL_ERR): Likewise.
8182 (POLL_PRI): Likewise.
8183 (POLL_HUP): Likewise.
8184 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8185 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8188 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8189 before #include of <time.h>.
8190 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8191 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8192 (test-xfail-UNIX98/sched.h/conform): Likewise.
8194 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8196 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8197 error absence of trapping exception support.
8198 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8200 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8202 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8203 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8204 * timezone/Makefile (testdata): Move definition above include of
8206 (test-zones): New variable.
8207 (tests-special): Add zone files.
8208 (build-testdata): Use $(evaluate-test).
8210 * elf/Makefile (tests-special): Rename tests to end with .out.
8211 ($(objpfx)noload-mem): Likewise.
8212 ($(objpfx)tst-leaks1-mem): Likewise.
8213 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8214 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8215 $(objpfx)test-iconvconfig.out.
8216 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8217 set -e inside subshell and redirect output to file.
8218 * iconvdata/Makefile (generated): Rename tests to end with .out.
8220 (tests-special): Rename tests to end with .out.
8221 ($(objpfx)mtrace-tst-loading): Likewise.
8222 * intl/Makefile (generated): Likewise.
8223 (tests-special): Likewise.
8224 ($(objpfx)mtrace-tst-gettext): Likewise.
8225 * misc/Makefile (generated): Likewise.
8226 (tests-special): Likewise.
8227 ($(objpfx)tst-error1-mem): Likewise.
8228 * nptl/Makefile (tests-special): Likewise.
8229 ($(objpfx)tst-stack3-mem): Likewise.
8230 (generated): Likewise.
8231 * posix/Makefile (generated): Likewise.
8232 (tests-special): Likewise.
8233 (xtests-special): Likewise.
8234 ($(objpfx)tst-fnmatch-mem): Likewise.
8235 ($(objpfx)bug-regex2-mem): Likewise.
8236 ($(objpfx)bug-regex14-mem): Likewise.
8237 ($(objpfx)bug-regex21-mem): Likewise.
8238 ($(objpfx)bug-regex31-mem): Likewise.
8239 ($(objpfx)tst-vfork3-mem): Likewise.
8240 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8241 ($(objpfx)tst-pcre-mem): Likewise.
8242 ($(objpfx)tst-boost-mem): Likewise.
8243 ($(objpfx)bug-ga2-mem): Likewise.
8244 ($(objpfx)bug-glob2-mem): Likewise.
8245 * resolv/Makefile (generate): Likewise.
8246 (tests-special): Likewise.
8247 (xtests-special): Likewise.
8248 (generated): Likewise.
8249 ($(objpfx)mtrace-tst-leaks): Likewise.
8250 ($(objpfx)mtrace-tst-leaks2): Likewise.
8252 * scripts/merge-test-results.sh: New file.
8253 * Makefile (tests-special-notdir): New variable.
8254 (tests): Run merge-test-results.sh.
8256 * Rules (tests-special-notdir): New variable.
8257 (xtests-special-notdir): Likewise.
8258 (tests): Run merge-test-results.sh
8261 * Makeconfig (test-xfail-name): New variable.
8262 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8263 compute variable name for expected failures.
8264 * conform/Makefile (conformtest-headers-data): New variable.
8265 (conformtest-standards): Likewise.
8266 (conformtest-headers-ISO): Likewise.
8267 (conformtest-headers-ISO99): Likewise.
8268 (conformtest-headers-ISO11): Likewise.
8269 (conformtest-headers-POSIX): Likewise.
8270 (conformtest-headers-XPG3): Likewise.
8271 (conformtest-headers-XPG4): Likewise.
8272 (conformtest-headers-UNIX98): Likewise.
8273 (conformtest-headers-XOPEN2K): Likewise.
8274 (conformtest-headers-POSIX2008): Likewise.
8275 (conformtest-headers-XOPEN2K8): Likewise.
8276 (conformtest-header-list-base): Likewise.
8277 (conformtest-header-list-tests): Likewise.
8278 (conformtest-header-base): Likewise.
8279 (conformtest-header-tests): Likewise.
8280 (tests-special): Add $(conformtest-header-list-tests). If
8281 [$(fast-check) && !$(cross-compiling)], add
8282 $(conformtest-header-tests) instead of
8283 $(objpfx)run-conformtest.out.
8284 (generated): Add $(conformtest-header-list-base). If
8285 [$(fast-check) && !$(cross-compiling)], add
8286 $(conformtest-header-base). Remove previous setting.
8287 ($(conformtest-header-list-tests)): New target.
8288 (test-xfail-run-conformtest): Remove variable.
8289 ($(objpfx)run-conformtest.out): Remove target.
8290 (test-xfail-ISO11/complex.h/conform): New variable.
8291 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8292 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8293 (test-xfail-XPG3/varargs.h/conform): Likewise.
8294 (test-xfail-XPG4/varargs.h/conform): Likewise.
8295 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8296 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8297 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8298 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8299 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8300 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8301 (test-xfail-XPG3/ftw.h/conform): Likewise.
8302 (test-xfail-XPG3/grp.h/conform): Likewise.
8303 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8304 (test-xfail-XPG3/limits.h/conform): Likewise.
8305 (test-xfail-XPG3/pwd.h/conform): Likewise.
8306 (test-xfail-XPG3/search.h/conform): Likewise.
8307 (test-xfail-XPG3/signal.h/conform): Likewise.
8308 (test-xfail-XPG3/stdio.h/conform): Likewise.
8309 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8310 (test-xfail-XPG3/string.h/conform): Likewise.
8311 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8312 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8313 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8314 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8315 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8316 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8317 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8318 (test-xfail-XPG3/termios.h/conform): Likewise.
8319 (test-xfail-XPG3/time.h/conform): Likewise.
8320 (test-xfail-XPG3/unistd.h/conform): Likewise.
8321 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8322 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8323 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8324 (test-xfail-XPG4/netdb.h/conform): Likewise.
8325 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8326 (test-xfail-XPG4/signal.h/conform): Likewise.
8327 (test-xfail-XPG4/stdio.h/conform): Likewise.
8328 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8329 (test-xfail-XPG4/stropts.h/conform): Likewise.
8330 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8331 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8332 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8333 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8334 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8335 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8336 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8337 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8338 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8339 (test-xfail-XPG4/termios.h/conform): Likewise.
8340 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8341 (test-xfail-XPG4/unistd.h/conform): Likewise.
8342 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8343 (test-xfail-POSIX/sched.h/conform): Likewise.
8344 (test-xfail-POSIX/signal.h/conform): Likewise.
8345 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8346 (test-xfail-POSIX/tar.h/conform): Likewise.
8347 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8348 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8349 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8350 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8351 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8352 (test-xfail-UNIX98/sched.h/conform): Likewise.
8353 (test-xfail-UNIX98/signal.h/conform): Likewise.
8354 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8355 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8356 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8357 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8358 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8359 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8360 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8361 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8362 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8363 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8364 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8365 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8366 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8367 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8368 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8369 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8370 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8371 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8372 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8373 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8374 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8375 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8376 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8377 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8378 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8379 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8380 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8381 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8382 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8383 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8384 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8385 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8386 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8387 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8388 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8389 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8390 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8391 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8392 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8393 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8394 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8395 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8396 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8397 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8398 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8399 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8400 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8401 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8402 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8403 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8404 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8405 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8406 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8407 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8408 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8409 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8410 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8411 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8412 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8413 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8414 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8415 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8416 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8417 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8418 (conformtest-cc-flags): Likewise.
8419 ($(conformtest-header-tests): New target.
8420 * conform/check-header-lists.sh: New file.
8421 * conform/run-conformtest.sh: Remove.
8423 * conform/conformtest.pl: Allow ' and \ in values given for
8425 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8427 [POSIX] (sys/types.h): Likewise.
8428 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8430 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8432 * conform/data/signal.h-data (SIGIO): Remove expectation.
8433 [XPG3] (SIGBUS): Do not expect.
8434 [POSIX || XPG3] (SIGPOLL): Likewise.
8435 [POSIX || XPG3] (SIGPROF): Likewise.
8436 [POSIX || XPG3] (SIGSYS): Likewise.
8437 [XPG3] (SIGTRAP): Likewise.
8438 [POSIX || XPG3] (SIGURG): Likewise.
8439 [POSIX || XPG3] (SIGVTALRM): Likewise.
8440 [POSIX || XPG3] (SIGXCPU): Likewise.
8441 [POSIX || XPG3] (SIGXFSZ): Likewise.
8442 [POSIX] (SA_SIGINFO): Expect.
8443 [XPG3] (siginfo_t): Do not expect type or contents.
8444 [POSIX] (si_pid): Do not expect element.
8445 [POSIX] (si_uid): Likewise.
8446 [POSIX] (si_addr): Likewise.
8447 [POSIX] (si_status): Likewise.
8448 [POSIX] (si_band): Likewise.
8449 [XPG4] (si_value): Likewise.
8450 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8451 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8452 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8453 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8454 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8455 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8456 [POSIX || XPG3] (ILL_COPROC): Likewise.
8457 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8458 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8459 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8460 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8461 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8462 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8463 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8464 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8465 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8466 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8467 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8468 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8469 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8470 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8471 [POSIX || XPG3] (CLD_EXITED): Likewise.
8472 [POSIX || XPG3] (CLD_KILLED): Likewise.
8473 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8474 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8475 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8476 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8477 [POSIX || XPG3] (POLL_IN): Likewise.
8478 [POSIX || XPG3] (POLL_OUT): Likewise.
8479 [POSIX || XPG3] (POLL_MSG): Likewise.
8480 [POSIX || XPG3] (POLL_ERR): Likewise.
8481 [POSIX || XPG3] (POLL_PRI): Likewise.
8482 [POSIX || XPG3] (POLL_HUP): Likewise.
8483 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8484 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8485 (SIG*): Do not allow.
8486 [XPG3] (si_*): Likewise.
8487 [XPG3] (SI_*): Likewise.
8488 [XPG3 || XPG4] (sigev_*): Likewise.
8489 [XPG3 || XPG4] (SIGEV_*): Likewise.
8490 [XPG3 || XPG4] (sival_*): Likewise.
8491 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8492 [POSIX || XPG3] (BUS_*): Likewise.
8493 [POSIX || XPG3] (CLD_*): Likewise.
8494 [POSIX || XPG3] (FPE_*): Likewise.
8495 [POSIX || XPG3] (ILL_*): Likewise.
8496 [POSIX || XPG3] (POLL_*): Likewise.
8497 [POSIX || XPG3] (SEGV_*): Likewise.
8498 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8499 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8500 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8501 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8502 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8503 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8504 Specify type and value.
8505 (TVERSLEN): Likewise.
8506 (REGTYPE): Likewise.
8507 (AREGTYPE): Likewise.
8508 (LNKTYPE): Likewise.
8509 (SYMTYPE): Likewise.
8510 (CHRTYPE): Likewise.
8511 (BLKTYPE): Likewise.
8512 (DIRTYPE): Likewise.
8513 (FIFOTYPE): Likewise.
8514 (CONTTYPE): Likewise.
8519 (TUWRITE): Likewise.
8522 (TGWRITE): Likewise.
8525 (TOWRITE): Likewise.
8527 [POSIX] (TSVTX): Expect constant.
8529 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8531 * Makefile (tests): Change dependencies to ....
8532 (tests-special): ... additions to this variable.
8533 (tests): Depend on $(tests-special).
8534 * Makerules (check-abi-list): New variable.
8535 (check-abi): Depend on $(check-abi-list).
8536 [$(subdir) = elf] (tests-special): Add
8537 $(objpfx)check-abi-libc.out.
8538 [$(build-shared) = yes && subdir] (tests-special): Add
8540 [$(build-shared) = yes && subdir] (tests): Do not depend on
8542 * Rules (tests): Depend on $(tests-special).
8543 (xtests): Depend on $(xtests-special).
8544 * catgets/Makefile (tests): Change dependencies to ....
8545 (tests-special): ... additions to this variable.
8546 * conform/Makefile (tests): Change dependencies to ....
8547 (tests-special): ... additions to this variable.
8548 * elf/Makefile (tests): Change dependencies to ....
8549 (tests-special): ... additions to this variable.
8550 * grp/Makefile (tests): Change dependencies to ....
8551 (tests-special): ... additions to this variable.
8552 * iconv/Makefile (xtests): Change dependencies to ....
8553 (xtests-special): ... additions to this variable.
8554 * iconvdata/Makefile (tests): Change dependencies to ....
8555 (tests-special): ... additions to this variable.
8556 * intl/Makefile (tests): Change dependencies to ....
8557 (tests-special): ... additions to this variable. Also add
8558 $(objpfx)tst-gettext.out.
8559 * io/Makefile (tests): Change dependencies to ....
8560 (tests-special): ... additions to this variable.
8561 * libio/Makefile (tests): Change dependencies to ....
8562 (tests-special): ... additions to this variable.
8563 * malloc/Makefile (tests): Change dependencies to ....
8564 (tests-special): ... additions to this variable.
8565 * misc/Makefile (tests): Change dependencies to ....
8566 (tests-special): ... additions to this variable.
8567 * nptl/Makefile (tests): Change dependencies to ....
8568 (tests-special): ... additions to this variable.
8569 * nptl_db/Makefile (tests): Change dependencies to ....
8570 (tests-special): ... additions to this variable.
8571 * posix/Makefile (tests): Change dependencies to ....
8572 (tests-special): ... additions to this variable.
8573 (xtests): Change dependencies to ....
8574 (xtests-special): ... additions to this variable.
8575 * resolv/Makefile (tests): Change dependencies to ....
8576 (tests-special): ... additions to this variable.
8577 (xtests): Change dependencies to ....
8578 (xtests-special): ... additions to this variable.
8579 * stdio-common/Makefile (tests): Change dependencies to ....
8580 (tests-special): ... additions to this variable.
8581 (do-tst-unbputc): Remove target.
8582 (do-tst-printf): Likewise.
8583 * stdlib/Makefile (tests): Change dependencies to ....
8584 (tests-special): ... additions to this variable.
8585 * string/Makefile (tests): Change dependencies to ....
8586 (tests-special): ... additions to this variable.
8587 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8588 (tests-special): ... additions to this variable.
8590 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8592 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8594 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8595 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8597 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8598 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8599 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8600 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8601 * conform/data/libgen.h-data [XPG3]: Likewise.
8602 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8603 * conform/data/ndbm.h-data [XPG3]: Likewise.
8604 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8605 * conform/data/netdb.h-data [XPG3]: Likewise.
8606 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8607 * conform/data/poll.h-data [XPG3]: Likewise.
8608 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8609 * conform/data/strings.h-data [XPG3]: Likewise.
8610 * conform/data/stropts.h-data [XPG3]: Likewise.
8611 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8612 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8613 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8615 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8616 * conform/data/sys/time.h-data [XPG3]: Likewise.
8617 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8618 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8619 * conform/data/sys/un.h-data [XPG3]: Likewise.
8620 * conform/data/syslog.h-data [XPG3]: Likewise.
8621 * conform/data/ucontext.h-data [XPG3]: Likewise.
8622 * conform/data/utmpx.h-data [XPG3]: Likewise.
8623 * conform/data/varargs.h-data [UNIX98]: Enable file.
8625 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8627 * math/libm-test.inc (struct test_f_f_data): Move expected results
8628 into structure for each rounding mode.
8629 (struct test_ff_f_data): Likewise.
8630 (struct test_ff_f_data_nexttoward): Likewise.
8631 (struct test_fi_f_data): Likewise.
8632 (struct test_fl_f_data): Likewise.
8633 (struct test_if_f_data): Likewise.
8634 (struct test_fff_f_data): Likewise.
8635 (struct test_c_f_data): Likewise.
8636 (struct test_f_f1_data): Likewise.
8637 (struct test_fF_f1_data): Likewise.
8638 (struct test_ffI_f1_data): Likewise.
8639 (struct test_c_c_data): Likewise.
8640 (struct test_cc_c_data): Likewise.
8641 (struct test_f_i_data): Likewise.
8642 (struct test_ff_i_data): Likewise.
8643 (struct test_f_l_data): Likewise.
8644 (struct test_f_L_data): Likewise.
8645 (struct test_fFF_11_data): Likewise.
8647 (RM_FE_DOWNWARD): Likewise.
8648 (RM_FE_TONEAREST): Likewise.
8649 (RM_FE_TOWARDZERO): Likewise.
8650 (RM_FE_UPWARD): Likewise.
8651 (RUN_TEST_LOOP_f_f): Update references to expected results.
8652 (RUN_TEST_LOOP_2_f): Likewise.
8653 (RUN_TEST_LOOP_fff_f): Likewise.
8654 (RUN_TEST_LOOP_c_f): Likewise.
8655 (RUN_TEST_LOOP_f_f1): Likewise.
8656 (RUN_TEST_LOOP_fF_f1): Likewise.
8657 (RUN_TEST_LOOP_fI_f1): Likewise.
8658 (RUN_TEST_LOOP_ffI_f1): Likewise.
8659 (RUN_TEST_LOOP_c_c): Likewise.
8660 (RUN_TEST_LOOP_cc_c): Likewise.
8661 (RUN_TEST_LOOP_f_i): Likewise.
8662 (RUN_TEST_LOOP_f_i_tg): Likewise.
8663 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8664 (RUN_TEST_LOOP_f_b): Likewise.
8665 (RUN_TEST_LOOP_f_b_tg): Likewise.
8666 (RUN_TEST_LOOP_f_l): Likewise.
8667 (RUN_TEST_LOOP_f_L): Likewise.
8668 (RUN_TEST_LOOP_fFF_11): Likewise.
8669 * math/gen-libm-test.pl (parse_args): Output four copies of
8670 expected results for each test.
8672 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8673 (__ASSUME_UTIMES): Remove.
8674 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8675 (__ASSUME_UTIMES): Likewise.
8677 * math/gen-auto-libm-tests.c: Update comment on output format.
8678 (output_for_one_input_case): Generate before-rounding and
8679 after-rounding information as conditions on output flags not
8680 floating-point format.
8681 * math/auto-libm-test-out: Regenerated.
8682 * math/gen-libm-test.pl (cond_value): New function.
8683 (or_cond_value): Use cond_value.
8684 (generate_testfile): Handle conditional exceptions.
8686 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8688 * math/libm-test.inc (max_valid_error): New variable.
8689 (init_max_error): Take new argument specifying whether function
8690 results are exactly determined. Set max_valid_error and bound
8691 other variables for errors based on this argument.
8692 (set_max_error): Do not record results above max_valid_error.
8693 (check_float_internal): Only accept errors of up to 0.5ulps if
8694 also at most max_valid_error.
8695 (START): Take new argument EXACT and pass it to init_max_error.
8696 (acos_test): Update call to START.
8697 (acos_test_tonearest): Likewise.
8698 (acos_test_towardzero): Likewise.
8699 (acos_test_downward): Likewise.
8700 (acos_test_upward): Likewise.
8701 (acosh_test): Likewise.
8702 (asin_test): Likewise.
8703 (asin_test_tonearest): Likewise.
8704 (asin_test_towardzero): Likewise.
8705 (asin_test_downward): Likewise.
8706 (asin_test_upward): Likewise.
8707 (asinh_test): Likewise.
8708 (atan_test): Likewise.
8709 (atanh_test): Likewise.
8710 (atan2_test): Likewise.
8711 (cabs_test): Likewise.
8712 (cacos_test): Likewise.
8713 (cacosh_test): Likewise.
8714 (carg_test): Likewise.
8715 (casin_test): Likewise.
8716 (casinh_test): Likewise.
8717 (catan_test): Likewise.
8718 (catanh_test): Likewise.
8719 (cbrt_test): Likewise.
8720 (ccos_test): Likewise.
8721 (ccosh_test): Likewise.
8722 (ceil_test): Likewise.
8723 (cexp_test): Likewise.
8724 (cimag_test): Likewise.
8725 (clog_test): Likewise.
8726 (clog10_test): Likewise.
8727 (conj_test): Likewise.
8728 (copysign_test): Likewise.
8729 (cos_test): Likewise.
8730 (cos_test_tonearest): Likewise.
8731 (cos_test_towardzero): Likewise.
8732 (cos_test_downward): Likewise.
8733 (cos_test_upward): Likewise.
8734 (cosh_test): Likewise.
8735 (cosh_test_tonearest): Likewise.
8736 (cosh_test_towardzero): Likewise.
8737 (cosh_test_downward): Likewise.
8738 (cosh_test_upward): Likewise.
8739 (cpow_test): Likewise.
8740 (cproj_test): Likewise.
8741 (creal_test): Likewise.
8742 (csin_test): Likewise.
8743 (csinh_test): Likewise.
8744 (csqrt_test): Likewise.
8745 (ctan_test): Likewise.
8746 (ctan_test_tonearest): Likewise.
8747 (ctan_test_towardzero): Likewise.
8748 (ctan_test_downward): Likewise.
8749 (ctan_test_upward): Likewise.
8750 (ctanh_test): Likewise.
8751 (ctanh_test_tonearest): Likewise.
8752 (ctanh_test_towardzero): Likewise.
8753 (ctanh_test_downward): Likewise.
8754 (ctanh_test_upward): Likewise.
8755 (erf_test): Likewise.
8756 (erfc_test): Likewise.
8757 (exp_test): Likewise.
8758 (exp_test_tonearest): Likewise.
8759 (exp_test_towardzero): Likewise.
8760 (exp_test_downward): Likewise.
8761 (exp_test_upward): Likewise.
8762 (exp10_test): Likewise.
8763 (exp10_test_tonearest): Likewise.
8764 (exp10_test_towardzero): Likewise.
8765 (exp10_test_downward): Likewise.
8766 (exp10_test_upward): Likewise.
8767 (pow10_test): Likewise.
8768 (exp2_test): Likewise.
8769 (expm1_test): Likewise.
8770 (expm1_test_tonearest): Likewise.
8771 (expm1_test_towardzero): Likewise.
8772 (expm1_test_downward): Likewise.
8773 (expm1_test_upward): Likewise.
8774 (fabs_test): Likewise.
8775 (fdim_test): Likewise.
8776 (floor_test): Likewise.
8777 (fma_test): Likewise.
8778 (fma_test_towardzero): Likewise.
8779 (fma_test_downward): Likewise.
8780 (fma_test_upward): Likewise.
8781 (fmax_test): Likewise.
8782 (fmin_test): Likewise.
8783 (fmod_test): Likewise.
8784 (fpclassify_test): Likewise.
8785 (frexp_test): Likewise.
8786 (hypot_test): Likewise.
8787 (ilogb_test): Likewise.
8788 (isfinite_test): Likewise.
8789 (finite_test): Likewise.
8790 (isgreater_test): Likewise.
8791 (isgreaterequal_test): Likewise.
8792 (isinf_test): Likewise.
8793 (isless_test): Likewise.
8794 (islessequal_test): Likewise.
8795 (islessgreater_test): Likewise.
8796 (isnan_test): Likewise.
8797 (isnormal_test): Likewise.
8798 (issignaling_test): Likewise.
8799 (isunordered_test): Likewise.
8800 (j0_test): Likewise.
8801 (j1_test): Likewise.
8802 (jn_test): Likewise.
8803 (ldexp_test): Likewise.
8804 (lgamma_test): Likewise.
8805 (gamma_test): Likewise.
8806 (lrint_test): Likewise.
8807 (lrint_test_tonearest): Likewise.
8808 (lrint_test_towardzero): Likewise.
8809 (lrint_test_downward): Likewise.
8810 (lrint_test_upward): Likewise.
8811 (llrint_test): Likewise.
8812 (llrint_test_tonearest): Likewise.
8813 (llrint_test_towardzero): Likewise.
8814 (llrint_test_downward): Likewise.
8815 (llrint_test_upward): Likewise.
8816 (log_test): Likewise.
8817 (log10_test): Likewise.
8818 (log1p_test): Likewise.
8819 (log2_test): Likewise.
8820 (logb_test): Likewise.
8821 (logb_test_downward): Likewise.
8822 (lround_test): Likewise.
8823 (llround_test): Likewise.
8824 (modf_test): Likewise.
8825 (nearbyint_test): Likewise.
8826 (nextafter_test): Likewise.
8827 (nexttoward_test): Likewise.
8828 (pow_test): Likewise.
8829 (pow_test_tonearest): Likewise.
8830 (pow_test_towardzero): Likewise.
8831 (pow_test_downward): Likewise.
8832 (pow_test_upward): Likewise.
8833 (remainder_test): Likewise.
8834 (drem_test): Likewise.
8835 (remainder_test_tonearest): Likewise.
8836 (drem_test_tonearest): Likewise.
8837 (remainder_test_towardzero): Likewise.
8838 (drem_test_towardzero): Likewise.
8839 (remainder_test_downward): Likewise.
8840 (drem_test_downward): Likewise.
8841 (remainder_test_upward): Likewise.
8842 (drem_test_upward): Likewise.
8843 (remquo_test): Likewise.
8844 (rint_test): Likewise.
8845 (rint_test_tonearest): Likewise.
8846 (rint_test_towardzero): Likewise.
8847 (rint_test_downward): Likewise.
8848 (rint_test_upward): Likewise.
8849 (round_test): Likewise.
8850 (scalb_test): Likewise.
8851 (scalbn_test): Likewise.
8852 (scalbln_test): Likewise.
8853 (signbit_test): Likewise.
8854 (sin_test): Likewise.
8855 (sin_test_tonearest): Likewise.
8856 (sin_test_towardzero): Likewise.
8857 (sin_test_downward): Likewise.
8858 (sin_test_upward): Likewise.
8859 (sincos_test): Likewise.
8860 (sinh_test): Likewise.
8861 (sinh_test_tonearest): Likewise.
8862 (sinh_test_towardzero): Likewise.
8863 (sinh_test_downward): Likewise.
8864 (sinh_test_upward): Likewise.
8865 (sqrt_test): Likewise.
8866 (sqrt_test_tonearest): Likewise.
8867 (sqrt_test_towardzero): Likewise.
8868 (sqrt_test_downward): Likewise.
8869 (sqrt_test_upward): Likewise.
8870 (tan_test): Likewise.
8871 (tan_test_tonearest): Likewise.
8872 (tan_test_towardzero): Likewise.
8873 (tan_test_downward): Likewise.
8874 (tan_test_upward): Likewise.
8875 (tanh_test): Likewise.
8876 (tgamma_test): Likewise.
8877 (trunc_test): Likewise.
8878 (y0_test): Likewise.
8879 (y1_test): Likewise.
8880 (yn_test): Likewise.
8881 (significand_test): Likewise.
8883 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8884 individual tests in comment.
8885 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8886 (prev_max_error): New variable.
8887 (prev_real_max_error): Likewise.
8888 (prev_imag_max_error): Likewise.
8889 (compare_ulp_data): Don't refer to test names in comment.
8890 (find_test_ulps): Remove function.
8891 (find_function_ulps): Likewise.
8892 (find_complex_function_ulps): Likewise.
8893 (init_max_error): Take function name as argument. Look up ulps
8895 (print_ulps): Remove function.
8896 (print_max_error): Use prev_max_error instead of calling
8898 (print_complex_max_error): Use prev_real_max_error and
8899 prev_imag_max_error instead of calling find_complex_function_ulps.
8900 (check_float_internal): Take max_ulp parameter instead of calling
8901 find_test_ulps. Don't call print_ulps.
8902 (check_float): Update call to check_float_internal.
8903 (check_complex): Update calls to check_float_internal.
8904 (START): Pass argument to init_max_error.
8905 * math/gen-libm-test.pl (%results): Don't include "kind"
8907 (parse_ulps): Don't handle ulps of individual tests.
8908 (print_ulps_file): Likewise.
8909 (output_ulps): Likewise.
8910 * math/README.libm-test: Update.
8911 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8913 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8914 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8915 * sysdeps/arm/libm-test-ulps: Likewise.
8916 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8917 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8918 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8919 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8920 * sysdeps/microblaze/libm-test-ulps: Likewise.
8921 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8922 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8923 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8924 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8925 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8926 * sysdeps/sh/libm-test-ulps: Likewise.
8927 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8928 * sysdeps/tile/libm-test-ulps: Likewise.
8929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8931 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8933 * math/libm-test.inc (print_complex_max_error): Check separately
8934 whether real and imaginary errors are within allowed range and
8935 pass 0 to print_complex_function_ulps instead of value within
8938 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8940 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8942 (get_handles_fopen): Likewise.
8943 (do_write_test): Likewise.
8945 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8947 * libio/fileops.c (do_ftell): Use cached offset when
8949 * libio/iofwide.c (do_ftell_wide): Likewise.
8950 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8952 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8955 * libio/libioP.h (get_file_offset): New function.
8956 * libio/fileops.c (get_file_offset): Likewise.
8957 (do_ftell): Likewise.
8958 (_IO_new_file_seekoff): Split out ftell logic.
8959 * libio/wfileops.c (do_ftell_wide): Likewise.
8960 (_IO_wfile_seekoff): Split out ftell logic.
8961 * libio/tst-ftell-active-handler.c: New test case.
8962 * libio/Makefile (tests): Add it.
8964 2014-03-03 Roland McGrath <roland@hack.frob.com>
8966 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8967 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8969 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8972 * nscd/connections.c (nscd_init): Call do_exit.
8973 (start_threads): Call do_exit and notify_parent.
8974 (begin_drop_privileges): Call do_exit.
8975 (finish_drop_privileges): Likewise.
8976 * nscd/selinux.c (preserve_capabilities): Likewise.
8977 (install_real_capabilities): Likewise.
8978 (nscd_selinux_enabled): Likewise.
8979 (avc_create_thread): Likewise.
8980 (avc_alloc_lock): Likewise.
8981 (nscd_avc_init): Likewise.
8982 * nscd/nscd.c (parent_fd): New static variable.
8983 (main): Create a pipe between parent and child processes.
8984 Skip closing parent_fd.
8985 (monitor_child): New function.
8986 (do_exit): Likewise.
8987 (notify_parent): Likewise.
8988 * nscd/nscd.h (notify_parent): Likewise.
8989 (do_exit): Likewise.
8991 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8993 * malloc/malloc.c (__libc_calloc): Revert last change.
8995 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8999 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9001 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9002 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9005 (__libc_ifunc_impl_list): Likewise.
9006 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9007 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9008 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9009 * string/strrchr.c: Define STRRCHR.
9011 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9013 * benchtest/bench-strtok.c (simple_strtok): Delete.
9014 (strtok_string): Use as benchmark.
9015 * string/strtok (STRTOK): New macro.
9017 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9019 * manual/threads.texi: Add header and standard comments to all
9022 * elf/dl-lookup.c (check_match): New function.
9023 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9024 (do_lookup_x): Remove nested function check_match. Use non-nested
9025 function check_match.
9027 2014-02-28 Roland McGrath <roland@hack.frob.com>
9029 * csu/Makefile (generated, before-compile): Use += rather than =.
9030 * catgets/Makefile (generated, generated-dirs): Likewise.
9031 * debug/Makefile (generated): Likewise.
9032 * dlfcn/Makefile (generated): Likewise.
9033 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9034 * iconvdata/Makefile (before-compile, generated): Likewise.
9035 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9036 * libio/Makefile (generated): Likewise.
9037 * malloc/Makefile (generated): Likewise.
9038 * manual/Makefile (generated, generated-dirs): Likewise.
9039 * misc/Makefile (generated): Likewise.
9040 * posix/Makefile (generated): Likewise.
9041 * resolv/Makefile (generated): Likewise.
9042 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9043 * timezone/Makefile (generated, generated-dirs): Likewise.
9045 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9047 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9050 power8 implementation.
9051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9052 file: POWER8 llround ifunc implementation.
9053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9054 (__lllround): Add POWER8 implementation.
9055 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9056 POWER8 llround implementation.
9058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9059 power8 implementation.
9060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9061 file: POWER8 llrint ifunc implementation.
9062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9063 Add POWER8 implementation.
9064 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9065 POWER8 llrint implementation.
9067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9068 power8 implementation.
9069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9070 file: POWER8 finite ifunc implementation.
9071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9072 Add POWER8 implementation.
9073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9075 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9076 POWER8 finite implementation.
9077 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9080 power8 implementation.
9081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9082 file: POWER8 isinf ifunc implementation.
9083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9084 POWER8 implementation.
9085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9087 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9088 isinf implementation.
9089 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9091 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9092 (INIT_ARCH): Add hwcap2 initialization.
9093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9094 power8 implementation.
9095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9096 file: POWER8 isnan ifunc implementation.
9097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9098 POWER8 implementation.
9099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9101 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9102 isnan implementation.
9103 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9105 2014-02-27 Joey Ye <joey.ye@arm.com>
9107 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9108 (_FP_NANFRAC_Q): Set to zero.
9110 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9113 * math/auto-libm-test-in: New test inputs.
9114 * math/auto-libm-test-out: Regenerate.
9115 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9118 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9120 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9122 * scripts/evaluate-test.sh: Take new argument indicating whether
9123 failure is expected.
9124 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9125 indicating whether failure is expected.
9126 * conform/Makefile (test-xfail-run-conformtest): New variable.
9127 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9129 * posix/Makefile (test-xfail-annexc): New variable.
9130 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9132 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9134 * argp/Makefile: Include Makeconfig immediately after defining
9136 * assert/Makefile: Likewise.
9137 * benchtests/Makefile: Likewise.
9138 * catgets/Makefile: Likewise.
9139 * conform/Makefile: Likewise.
9140 * crypt/Makefile: Likewise.
9141 * csu/Makefile: Likewise.
9142 (all): Remove target.
9143 * ctype/Makefile: Include Makeconfig immediately after defining
9145 * debug/Makefile: Likewise.
9146 * dirent/Makefile: Likewise.
9147 * dlfcn/Makefile: Likewise.
9148 * gmon/Makefile: Likewise.
9149 * gnulib/Makefile: Likewise.
9150 * grp/Makefile: Likewise.
9151 * gshadow/Makefile: Likewise.
9152 * hesiod/Makefile: Likewise.
9153 * hurd/Makefile: Likewise.
9154 (all): Remove target.
9155 * iconvdata/Makefile: Include Makeconfig immediately after
9157 * inet/Makefile: Likewise.
9158 * intl/Makefile: Likewise.
9159 * io/Makefile: Likewise.
9160 * libio/Makefile: Likewise.
9161 (all): Remove target.
9162 * locale/Makefile: Include Makeconfig immediately after defining
9164 * login/Makefile: Likewise.
9165 * mach/Makefile: Likewise.
9166 (all): Remove target.
9167 * malloc/Makefile: Include Makeconfig immediately after defining
9169 (all): Remove target.
9170 * manual/Makefile: Include Makeconfig immediately after defining
9172 * math/Makefile: Likewise.
9173 * misc/Makefile: Likewise.
9174 * nis/Makefile: Likewise.
9175 * nss/Makefile: Likewise.
9176 * po/Makefile: Likewise.
9177 (all): Remove target.
9178 * posix/Makefile: Include Makeconfig immediately after defining
9180 * pwd/Makefile: Likewise.
9181 * resolv/Makefile: Likewise.
9182 * resource/Makefile: Likewise.
9183 * rt/Makefile: Likewise.
9184 * setjmp/Makefile: Likewise.
9185 * shadow/Makefile: Likewise.
9186 * signal/Makefile: Likewise.
9187 * socket/Makefile: Likewise.
9188 * soft-fp/Makefile: Likewise.
9189 * stdio-common/Makefile: Likewise.
9190 * stdlib/Makefile: Likewise.
9191 * streams/Makefile: Likewise.
9192 * string/Makefile: Likewise.
9193 * sunrpc/Makefile: Likewise.
9194 (all): Remove target.
9195 * sysvipc/Makefile: Include Makeconfig immediately after defining
9197 * termios/Makefile: Likewise.
9198 * time/Makefile: Likewise.
9199 * timezone/Makefile: Likewise.
9200 (all): Remove target.
9201 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9203 * wctype/Makefile: Likewise.
9205 2014-02-26 Steve Ellcey <sellcey@mips.com>
9207 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9208 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9209 (libc_feholdexcept_setround_mips): Ditto.
9210 (libc_feholdsetround): New.
9211 (libc_feholdsetroundf): New.
9212 (libc_feholdsetroundl): New.
9213 (libc_feupdateenv_test_mips): New.
9214 (libc_feupdateenv_test): New.
9215 (libc_feupdateenv_testf): New.
9216 (libc_feupdateenv_testl): New.
9217 (libc_feresetround): New.
9218 (libc_feresetroundf): New.
9219 (libc_feresetroundl): New.
9220 (libc_fetestexcept_mips): New.
9221 (libc_fetestexcept): New.
9222 (libc_fetestexceptf): New.
9223 (libc_fetestexceptl): New.
9225 (libc_feholdexcept_setround_mips_ctx): New.
9226 (libc_feholdexcept_setround_ctx): New.
9227 (libc_feholdexcept_setroundf_ctx): New.
9228 (libc_feholdexcept_setroundl_ctx): New.
9229 (libc_fesetenv_mips_ctx): New.
9230 (libc_fesetenv_ctx): New.
9231 (libc_fesetenv_ctxf): New.
9232 (libc_fesetenv_ctxl): New.
9233 (libc_feupdateenv_mips_ctx): New.
9234 (libc_feupdateenv_ctx): New.
9235 (libc_feupdateenvf_ctx): New.
9236 (libc_feupdateenvl_ctx): New.
9237 (libc_feholdsetround_mips_ctx): New.
9238 (libc_feholdsetround_ctx): New.
9239 (libc_feholdsetroundf_ctx): New.
9240 (libc_feholdsetroundl_ctx): New.
9241 (libc_feresetround_mips_ctx): New.
9242 (libc_feresetround_ctx): New.
9243 (libc_feresetroundf_ctx): New.
9244 (libc_feresetroundl_ctx): New.
9246 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9248 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9250 * manual/ipc.texi: New file.
9251 * manual/Makefile (chapters): Add ipc.
9252 * manual/job.texi: Add "Inter-Process Communication" to next.
9253 * manual/process.texi: Add "Inter-Process Communication" to prev.
9255 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9259 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9261 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9263 * manual/arith.texi: Fix spaces after sentences.
9264 * manual/charset.texi: Likewise.
9265 * manual/errno.texi: Likewise.
9266 * manual/install.texi: Likewise.
9267 * manual/llio.texi: Likewise.
9268 * manual/locale.texi: Likewise.
9269 * manual/maint.texi: Likewise.
9270 * manual/math.texi: Likewise.
9271 * manual/memory.texi: Likewise.
9272 * manual/message.texi: Likewise.
9273 * manual/probes.texi: Likewise.
9274 * manual/resource.texi: Likewise.
9275 * manual/signal.texi: Likewise.
9276 * manual/socket.texi: Likewise.
9277 * manual/stdio.texi: Likewise.
9278 * manual/string.texi: Likewise.
9279 * manual/time.texi: Likewise.
9280 * manual/users.texi: Likewise.
9282 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9285 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9286 _DEFAULT_SOURCE is defined.
9288 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9289 Carlos O'Donell <carlos@redhat.com>
9292 * elf/dl-tls.c (_dl_count_modids): New function.
9293 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9294 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9295 audit library and increment generation counter.
9296 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9297 * elf/tst-audit9.c: New file.
9298 * elf/tst-auditmod9a.c: New file.
9299 * elf/tst-auditmod9b.c: New file.
9300 * elf/Makefile: Add rules to build and run tst-audit9.
9302 2014-02-25 Florian Weimer <fweimer@redhat.com>
9305 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9307 2014-02-25 Will Newton <will.newton@linaro.org>
9309 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9310 (__longjmp): Restore sp and lr before restoring callee
9311 saved registers. Add longjmp and longjmp_target
9312 SystemTap probe point.
9313 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9314 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9315 Define to zero to match jmpbuf layout.
9316 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9317 (__sigsetjmp): Save sp and lr before saving callee
9318 saved registers. Add setjmp SystemTap probe point.
9320 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9322 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9324 2014-02-24 Andreas Schwab <schwab@suse.de>
9327 * elf/pldd.c (wait_for_ptrace_stop): New function.
9328 (main): Call it after attaching.
9330 2014-02-22 Roland McGrath <roland@hack.frob.com>
9332 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9333 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9334 Versions files is now verboten.
9335 * hurd/Versions (libc: GLIBC_2.0):
9336 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9337 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9338 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9339 * mach/Versions: Likewise.
9341 * csu/Versions: Remove unused %include.
9342 * resolv/Versions: Likewise.
9344 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9346 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9347 ($(objpfx)check-local-headers.out): Likewise.
9348 ($(objpfx)begin-end-check.out): Likewise.
9349 * Makerules (check-abi-%.out): Likewise.
9350 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9351 ($(objpfx)test2.cat): Likewise.
9352 ($(objpfx)de/libc.cat): Likewise.
9353 ($(objpfx)test-gencat.out): Likewise.
9354 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9355 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9356 ($(objpfx)noload-mem): Likewise.
9357 ($(objpfx)tst-pathopt.out): Likewise.
9358 ($(objpfx)tst-rtld-load-self.out): Likewise.
9359 ($(objpfx)tst-array1-cmp.out): Likewise.
9360 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9361 ($(objpfx)tst-array2-cmp.out): Likewise.
9362 ($(objpfx)tst-array3-cmp.out): Likewise.
9363 ($(objpfx)tst-array4-cmp.out): Likewise.
9364 ($(objpfx)tst-array5-cmp.out): Likewise.
9365 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9366 ($(objpfx)check-textrel.out): Likewise.
9367 ($(objpfx)check-execstack.out): Likewise.
9368 ($(objpfx)check-localplt.out): Likewise.
9369 ($(objpfx)order2-cmp.out): Likewise.
9370 ($(objpfx)tst-leaks1-mem): Likewise.
9371 ($(objpfx)tst-leaks1-static-mem): Likewise.
9372 ($(objpfx)tst-initorder-cmp.out): Likewise.
9373 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9374 ($(objpfx)tst-unused-dep.out): Likewise.
9375 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9376 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9377 * iconv/Makefile (test-iconvconfig): Likewise.
9378 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9379 ($(objpfx)iconv-test.out): Likewise.
9380 ($(objpfx)tst-tables.out): Likewise.
9381 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9382 ($(objpfx)tst-gettext.out): Likewise.
9383 ($(objpfx)tst-translit.out): Likewise.
9384 ($(objpfx)tst-gettext2.out): Likewise.
9385 ($(objpfx)tst-gettext4.out): Likewise.
9386 ($(objpfx)tst-gettext6.out): Likewise.
9387 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9388 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9389 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9390 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9391 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9392 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9393 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9394 ($(objpfx)wordexp-tst.out): Likewise.
9395 ($(objpfx)annexc.out): Likewise.
9396 ($(objpfx)tst-fnmatch-mem): Likewise.
9397 ($(objpfx)bug-regex2-mem): Likewise.
9398 ($(objpfx)bug-regex14-mem): Likewise.
9399 ($(objpfx)bug-regex21-mem): Likewise.
9400 ($(objpfx)bug-regex31-mem): Likewise.
9401 ($(objpfx)tst-vfork3-mem): Likewise.
9402 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9403 ($(objpfx)tst-pcre-mem): Likewise.
9404 ($(objpfx)tst-boost-mem): Likewise.
9405 ($(objpfx)tst-getconf.out): Likewise.
9406 ($(objpfx)bug-ga2-mem): Likewise.
9407 ($(objpfx)bug-glob2-mem): Likewise.
9408 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9409 ($(objpfx)mtrace-tst-leaks2): Likewise.
9410 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9411 ($(objpfx)tst-printf.out): Likewise.
9412 ($(objpfx)tst-setvbuf1.out): Likewise.
9413 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9414 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9415 ($(objpfx)tst-fmtmsg.out): Likewise.
9416 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9417 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9419 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9420 * bits/sigaction.h [__USE_MISC]: Likewise.
9421 * bits/waitstatus.h: Update #endif comments.
9422 * ctype/ctype.h: Likewise.
9423 * dirent/dirent.h: Likewise.
9424 [__USE_MISC]: Remove redundant conditionals.
9425 * grp/grp.h: Update #endif comments.
9426 [__USE_GNU]: Remove redundant conditionals.
9427 [__USE_MISC]: Likewise.
9428 * inet/netinet/in.h [__USE_GNU]: Likewise.
9429 * io/sys/stat.h [__USE_MISC]: Likewise.
9430 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9431 * libio/bits/stdio.h: Update #endif comments.
9432 [__USE_MISC]: Remove redundant conditionals.
9433 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9434 * libio/stdio.h: Update #endif comments.
9435 [__USE_MISC]: Remove redundant conditionals.
9436 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9437 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9438 * math/math.h: Update #else and #endif comments.
9439 [__USE_MISC]: Remove redundant conditionals.
9440 * misc/sys/uio.h: Update #endif comments.
9441 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9442 * posix/glob.h [__USE_MISC]: Likewise.
9443 * posix/sys/types.h: Update #endif comments.
9444 [__USE_MISC]: Remove redundant conditionals.
9445 * posix/sys/wait.h: Update #endif comments.
9446 [__USE_MISC]: Remove redundant conditionals.
9447 * posix/unistd.h: Update #endif comments.
9448 [__USE_MISC]: Remove redundant conditionals.
9449 * pwd/pwd.h [__USE_GNU]: Likewise.
9450 [__USE_MISC]: Likewise.
9451 * resolv/netdb.h [__USE_GNU]: Likewise.
9452 * signal/signal.h: Update #endif comments.
9453 [__USE_MISC]: Remove redundant conditionals.
9454 * stdlib/stdlib.h: Update #else and #endif comments.
9455 [__USE_MISC]: Remove redundant conditionals.
9456 [__USE_GNU]: Likewise.
9457 * string/bits/string2.h [__USE_MISC]: Likewise.
9458 * string/string.h: Update #endif comments.
9459 [__USE_MISC]: Remove redundant conditionals.
9460 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9462 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9463 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9464 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9466 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9468 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9470 [__USE_MISC]: Remove redundant conditionals.
9471 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9472 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9473 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9474 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9475 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9477 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9478 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9480 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9481 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9483 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9485 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9486 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9488 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9490 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9491 * sysdeps/x86/bits/string.h: Update #endif comments.
9492 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9494 * time/sys/time.h: Update #endif comments.
9495 * time/time.h: Likewise.
9496 [__USE_MISC]: Remove redundant conditionals.
9498 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9501 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9503 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9505 * Versions.def (librt): Add GLIBC_2.17.
9507 2014-02-21 Adam Conrad <adconrad@0c3.net>
9509 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9510 synonym for _SYS_AUXV_H to allow direct inclusion.
9511 * sysdeps/sparc/bits/hwcap.h: Likewise.
9512 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9513 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9514 * sysdeps/sparc/sysdep.h: Likewise.
9516 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9518 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9520 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9522 * benchtests/bench-strrchr.c: Print length instead of position.
9524 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9527 * sysdeps/unix/sysv/linux/kernel-features.h
9528 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9529 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9530 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9531 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9533 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9534 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9535 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9536 (__ASSUME_SENDMMSG): Define instead of using previous
9537 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9538 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9539 (__ASSUME_SENDMMSG_SYSCALL): Define.
9540 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9541 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9543 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9544 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9546 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9547 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9549 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9550 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9551 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9552 [__ASSUME_SENDMMSG]: Change conditionals to
9553 [__ASSUME_SENDMMSG_SOCKETCALL].
9554 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9555 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9557 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9558 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9560 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9561 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9562 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9563 [!__ASSUME_SENDMMSG]: Change conditional to
9564 [!__ASSUME_SENDMMSG_SOCKETCALL].
9565 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9566 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9570 * sysdeps/unix/sysv/linux/kernel-features.h
9571 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9572 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9573 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9574 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9575 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9576 [__i386__ || __sparc__]
9577 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9578 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9579 (__ASSUME_RECVMMSG): Define instead of using previous
9580 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9581 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9582 (__ASSUME_RECVMMSG_SYSCALL): Define.
9583 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9584 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9586 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9587 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9589 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9590 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9592 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9593 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9594 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9595 [__ASSUME_RECVMMSG]: Change condition to
9596 [__ASSUME_RECVMMSG_SOCKETCALL].
9597 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9598 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9600 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9601 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9602 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9604 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9605 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9606 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9607 [!__ASSUME_RECVMMSG]: Change condition to
9608 [!__ASSUME_RECVMMSG_SOCKETCALL].
9609 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9610 (__ASSUME_RECVMMSG_SYSCALL): Define.
9613 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9614 __powerpc__ || __s390__ || __sh__ || __sparc__]
9615 (__ASSUME_SOCKETCALL): Define.
9616 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9617 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9618 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9619 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9620 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9621 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9622 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9623 (__ASSUME_ACCEPT4): Define instead of using previous
9624 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9625 __powerpc__ || __sparc__ || __s390__)] condition.
9626 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9627 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9628 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9629 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9630 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9631 [!__ASSUME_ACCEPT4]: Change condition to
9632 [!__ASSUME_ACCEPT4_SOCKETCALL].
9633 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9634 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9635 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9636 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9637 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9638 __ASSUME_ACCEPT4_SYSCALL.
9639 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9640 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9641 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9642 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9643 __ASSUME_ACCEPT4_SYSCALL.
9644 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9645 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9646 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9647 [__ASSUME_ACCEPT4]: Change condition to
9648 [__ASSUME_ACCEPT4_SOCKETCALL].
9649 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9650 (__ASSUME_SOCKETCALL): Define.
9651 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9652 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9653 (__ASSUME_SOCKETCALL): Define.
9654 (__ASSUME_ACCEPT4): Remove.
9655 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9657 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9658 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9660 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9661 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9663 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9665 (HWCAP_ARM_LPAE): Likewise.
9666 (HWCAP_ARM_EVTSTRM): Likewise.
9667 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9668 Add vpfd32, lpae and evtstrm.
9669 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9672 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9674 * math/auto-libm-test-in: Add tests of clog10.
9675 * math/auto-libm-test-out: Regenerated.
9676 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9677 * sysdeps/i386/fpu/libm-test-ulps: Update.
9678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9680 2014-02-18 Andreas Schwab <schwab@suse.de>
9683 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9684 Store non-zero if the second buffer was newly allocated.
9685 (send_dg): Likewise.
9686 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9687 to send_vc and send_dg.
9688 (res_nsend): Pass NULL for ansp2_malloced.
9689 * resolv/res_query.c (__libc_res_nquery): Add parameter
9690 answerp2_malloced and pass it down to __libc_res_nsend.
9691 (res_nquery): Pass additional NULL to __libc_res_nquery.
9692 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9693 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9694 second answer buffer if answerp2_malloced was set.
9695 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9696 (__libc_res_nquerydomain): Add parameter
9697 answerp2_malloced and pass it down to __libc_res_nquery.
9698 (res_nquerydomain): Pass additional NULL to
9699 __libc_res_nquerydomain.
9700 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9701 additional NULL to __libc_res_nsend and __libc_res_nquery.
9702 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9703 additional NULL to __libc_res_nsearch.
9704 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9705 parameter of __libc_res_nsearch to check for separately allocated
9707 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9709 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9710 additional NULL to __libc_res_nquery.
9711 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9713 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9714 * include/resolv.h: Update prototypes of __libc_res_nquery,
9715 __libc_res_nsearch, __libc_res_nsend.
9717 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9719 * math/auto-libm-test-in: Add tests of fma.
9720 * math/auto-libm-test-out: Regenerated.
9721 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9722 (fma_towardzero_test_data): Likewise.
9723 (fma_downward_test_data): Likewise.
9724 (fma_upward_test_data): Likewise.
9725 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9727 (rounding_modes): Add values for new field.
9728 (func_calc_method): Add value mpfr_fff_f.
9729 (func_calc_desc): Add mpfr_fff_f union field.
9730 (test_function): Add field exact_args.
9731 (FUNC): Add macro argument EXACT_ARGS.
9732 (FUNC_mpfr_f_f): Update call to FUNC.
9733 (FUNC_mpfr_f_f): Likewise.
9734 (FUNC_mpfr_ff_f): Likewise.
9735 (FUNC_mpfr_if_f): Likewise.
9736 (FUNC_mpc_c_f): Likewise.
9737 (FUNC_mpc_c_c): Likewise.
9738 (test_functions): Add fma. Update calls to FUNC.
9739 (handle_input_arg): Add argument exact_args.
9740 (add_test): Update call to handle_input_arg.
9741 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9742 (output_for_one_input_case): Update call to calc_generic_results.
9743 Recalculate exact zero results in each rounding mode.
9745 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9746 non-negative before setting low bit.
9747 * math/auto-libm-test-in: Mark one asin test possibly having
9749 * math/auto-libm-test-out: Regenerated.
9750 * sysdeps/i386/fpu/libm-test-ulps: Update.
9751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9753 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9755 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9756 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9757 ports/sysdeps/unix/sysv/linux/microblaze.
9758 * README: Add missing listing for microblaze*-*-linux-gnu.
9760 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
9762 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9765 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9767 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9768 * sysdeps/unix/sysv/linux/ia64: Move directory from
9769 ports/sysdeps/unix/sysv/linux/ia64.
9770 * README: Update listing for ia64-*-linux-gnu.
9772 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9773 Joseph Myers <joseph@codesourcery.com>
9775 * Makeconfig (test-name): New variable.
9776 (evaluate-test): Likewise.
9777 * Makerules (do-test-clean): Remove .test-result files.
9778 (common-mostlyclean): Likewise.
9779 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9780 * scripts/evaluate-test.sh: New file.
9782 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9784 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9785 separate $(objpfx)tst-fopenloc-cmp.out and
9786 $(objpfx)tst-fopenloc-mem.out targets.
9787 (tests): Update dependencies.
9788 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9789 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9790 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9791 (tst-rxspencer-no-utf8-ARGS): New variable.
9792 (tst-rxspencer-no-utf8-ENV): Likewise.
9793 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9794 instead of $(objpfx)tst-rxspencer-mem.
9795 ($(objpfx)tst-rxspencer-mem): Change target to
9796 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9797 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9798 * posix/tst-rxspencer-no-utf8.c: New file.
9800 * elf/Makefile ($(objpfx)order.out): Remove rule.
9801 [$(run-built-tests) = yes] (tests): Depend on
9802 $(objpfx)order-cmp.out.
9803 ($(objpfx)order-cmp.out): New rule.
9804 [$(run-built-tests) = yes] (tests): Depend on
9805 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9806 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9807 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9808 $(objpfx)tst-array5-static-cmp.out.
9809 ($(objpfx)tst-array1.out): Remove rule.
9810 ($(objpfx)tst-array1-cmp.out): New rule.
9811 ($(objpfx)tst-array1-static.out): Remove rule.
9812 ($(objpfx)tst-array1-static-cmp.out): New rule.
9813 ($(objpfx)tst-array2.out): Remove rule.
9814 ($(objpfx)tst-array2-cmp.out): New rule.
9815 ($(objpfx)tst-array3.out): Remove rule.
9816 ($(objpfx)tst-array3-cmp.out): New rule.
9817 ($(objpfx)tst-array4.out): Remove rule.
9818 ($(objpfx)tst-array4-cmp.out): New rule.
9819 ($(objpfx)tst-array5.out): Remove rule.
9820 ($(objpfx)tst-array5-cmp.out): New rule.
9821 ($(objpfx)tst-array5-static.out): Remove rule.
9822 ($(objpfx)tst-array5-static-cmp.out): New rule.
9823 [$(run-built-tests) = yes] (tests): Depend on
9824 $(objpfx)order2-cmp.out.
9825 ($(objpfx)order2.out): Remove rule.
9826 ($(objpfx)order2-cmp.out): New rule.
9827 ($(objpfx)tst-initorder.out): Remove rule.
9828 [$(run-built-tests) = yes] (tests): Depend on
9829 $(objpfx)tst-initorder-cmp.out.
9830 ($(objpfx)tst-initorder-cmp.out): New rule.
9831 ($(objpfx)tst-initorder2.out): Remove rule.
9832 [$(run-built-tests) = yes] (tests): Depend on
9833 $(objpfx)tst-initorder2-cmp.out.
9834 ($(objpfx)tst-initorder2-cmp.out): New rule.
9835 [$(run-built-tests) = yes] (tests): Depend on
9836 $(objpfx)tst-unused-dep-cmp.out.
9837 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9838 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9839 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9840 on $(objpfx)tst-setvbuf1-cmp.out.
9841 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9842 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9843 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9844 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9845 ($(objpfx)tst-svc.out): Remove rule.
9846 ($(objpfx)tst-svc-cmp.out): New rule.
9848 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9850 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9851 * ctype/ctype.h [__USE_MISC]: Likewise.
9852 * dirent/dirent.h [__USE_MISC]: Likewise.
9853 * grp/grp.h [__USE_MISC]: Likewise.
9854 * io/fcntl.h [__USE_MISC]: Likewise.
9855 * io/sys/stat.h [__USE_MISC]: Likewise.
9856 * libio/stdio.h [__USE_MISC]: Likewise.
9857 * posix/unistd.h [__USE_MISC]: Likewise.
9858 * pwd/pwd.h [__USE_MISC]: Likewise.
9859 * stdlib.h [__USE_MISC]: Likewise.
9860 * string/bits/string2.h [__USE_MISC]: Likewise.
9861 * string/string.h [__USE_MISC]: Likewise.
9862 * time/time.h [__USE_MISC]: Likewise.
9864 2014-02-13 Andreas Schwab <schwab@suse.de>
9867 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9868 second answer buffer if it was separately allocated.
9870 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9872 * sysdeps/mips/math-tests.h: Include <features.h>.
9873 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9874 (ROUNDING_TESTS_long_double): Do not define.
9875 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9876 (EXCEPTION_TESTS_long_double): Likewise.
9877 * sysdeps/mips/mips64/libm-test-ulps: Update.
9879 * include/features.h (__USE_BSD): Remove macro definitions.
9880 (__USE_SVID): Likewise.
9881 (_BSD_SOURCE): Likewise.
9882 (_SVID_SOURCE): Likewise.
9883 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9884 from definition of _DEFAULT_SOURCE.
9885 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9887 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9888 * bits/mman.h [__USE_BSD]: Likewise.
9889 * bits/termios.h [__USE_BSD]: Likewise.
9890 * bits/waitstatus.h [__USE_BSD]: Likewise.
9891 * ctype/ctype.h [__USE_SVID]: Likewise.
9892 * dirent/dirent.h [__USE_BSD]: Likewise.
9893 * grp/grp.h [__USE_SVID]: Likewise.
9894 [__USE_BSD]: Likewise.
9895 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9896 * io/fcntl.h [__USE_BSD]: Likewise.
9897 * io/ftw.h [__USE_BSD]: Likewise.
9898 * io/sys/stat.h [__USE_BSD]: Likewise.
9899 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9900 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9901 * libio/stdio.h [__USE_SVID]: Likewise.
9902 [__USE_BSD]: Likewise.
9903 * math/math.h [__USE_SVID]: Likewise.
9904 [__USE_BSD]: Likewise.
9905 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9906 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9907 * misc/search.h [__USE_SVID]: Likewise.
9908 * misc/sys/mman.h [__USE_BSD]: Likewise.
9909 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9910 * misc/sys/uio.h [__USE_BSD]: Likewise.
9911 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9912 * posix/glob.h [__USE_BSD]: Likewise.
9913 * posix/regex.h [__USE_BSD]: Likewise.
9914 * posix/sys/types.h [__USE_BSD]: Likewise.
9915 [__USE_SVID]: Likewise.
9916 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9917 * posix/sys/wait.h [__USE_BSD]: Likewise.
9918 [__USE_SVID]: Likewise.
9919 * posix/unistd.h [__USE_BSD]: Likewise.
9920 [__USE_SVID]: Likewise.
9921 * pwd/pwd.h [__USE_SVID]: Likewise.
9922 * resolv/netdb.h [__USE_BSD]: Likewise.
9923 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9924 * signal/signal.h [__USE_BSD]: Likewise.
9925 [__USE_SVID]: Likewise.
9926 * socket/sys/socket.h [__USE_BSD]: Likewise.
9927 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9928 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9929 [__USE_SVID]: Likewise.
9930 * string/bits/string2.h [__USE_BSD]: Likewise.
9931 [__USE_SVID]: Likewise.
9932 * string/bits/string3.h [__USE_BSD]: Likewise.
9933 * string/endian.h [__USE_BSD]: Likewise.
9934 * string/string.h [__USE_SVID]: Likewise.
9935 [__USE_BSD]: Likewise.
9936 * string/strings.h [__USE_BSD]: Likewise.
9937 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9938 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9939 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9940 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9941 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9942 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9944 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9946 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9947 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9949 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9950 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9952 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9954 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9955 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9956 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9958 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9960 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9961 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9962 * termios/termios.h [__USE_BSD]: Likewise.
9963 * time/sys/time.h [__USE_BSD]: Likewise.
9964 * time/time.h [__USE_BSD]: Likewise.
9965 [__USE_SVID]: Likewise.
9967 * Makefile (subdir_targets): Remove subdir_lint.out.
9969 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9970 (do-tst-printf): Likewise.
9971 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9972 $(objpfx)tst-printf.out.
9974 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9976 * Makerules (check-abi-%): Change target to
9977 $(objpfx)check-abi-%.out.
9978 (check-abi target): Update dependencies.
9979 (check-abi-pattern variable): Redirect output of diff to $@.
9980 (check-abi variable): Likewise.
9981 * elf/Makefile (check-abi): Update dependencies.
9983 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9985 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9986 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9988 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9989 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9990 value has largest subnormal exponent.
9991 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9992 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9993 * sysdeps/aarch64/soft-fp/sfp-machine.h
9994 (_FP_TININESS_AFTER_ROUNDING): New macro.
9995 * sysdeps/alpha/soft-fp/sfp-machine.h
9996 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9997 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9999 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10000 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10001 * sysdeps/mips/soft-fp/sfp-machine.h
10002 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10003 * sysdeps/powerpc/soft-fp/sfp-machine.h
10004 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10005 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10007 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10008 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10009 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10010 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10011 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10014 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10017 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10020 2014-02-12 Richard Henderson <rth@redhat.com>
10022 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10023 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10024 * sysdeps/unix/sysv/linux/alpha: Move directory from
10025 ports/sysdeps/unix/sysv/linux/alpha.
10026 * README: Update listing for alpha-*-linux-gnu.
10028 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10030 * include/features.h: Update comment documenting feature test
10032 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10034 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10035 (_SVID_SOURCE): Likewise.
10036 (_DEFAULT_SOURCE): Update description of default features.
10037 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10039 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10040 (S_ISVTX): Likewise.
10041 * manual/math.texi (Mathematical Constants): Likewise.
10042 * manual/signal.texi (Interrupted Primitives): Likewise.
10043 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10044 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10045 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10046 Don't refer to _SVID_SOURCE in warning text.
10048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10050 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10052 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10053 * sysdeps/mips/dl-lookup.c: Remove.
10054 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10056 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10059 * math/auto-libm-test-in: Add testcase for expl.
10060 * math/auto-libm-test-out: Regenerate.
10061 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10062 calculation of unsafe.
10063 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10065 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10067 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10068 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10069 ports/sysdeps/unix/sysv/linux/aarch64.
10070 * README: Update listing for aarch64*-*-linux-gnu.
10072 2014-02-11 Will Newton <will.newton@linaro.org>
10074 * manual/probes.texi (Mathematical Function Probes): Use
10075 "triggered" instead of "hit".
10077 * manual/probes.texi (Internal Probes): Add documentation
10078 of setjmp, longjmp and longjmp_target probes.
10080 * include/stap-probe.h: Add comment about probe argument
10083 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10084 definition. (tr_where, tr_freehook, tr_mallochook,
10085 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10087 2014-02-11 David S. Miller <davem@davemloft.net>
10089 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10090 processing int_tests.
10092 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10094 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10095 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10096 * sysdeps/unix/sysv/linux/mips: Move directory from
10097 ports/sysdeps/unix/sysv/linux/mips.
10098 * README: Update listing for mips-*-linux-gnu and
10099 mips64-*-linux-gnu.
10101 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10103 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10104 * sysdeps/unix/sysv/linux/m68k: Move directory from
10105 ports/sysdeps/unix/sysv/linux/m68k.
10106 * README: Update listing for m68k-*-linux-gnu.
10108 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10110 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10111 * sysdeps/unix/sysv/linux/generic: Move directory from
10112 ports/sysdeps/unix/sysv/linux/generic.
10113 * sysdeps/unix/sysv/linux/tile: Move directory from
10114 ports/sysdeps/unix/sysv/linux/tile.
10115 * README: Update listing for tile*-*-linux-gnu.
10117 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10119 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10121 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10122 * catgets/open_catalog.c (__open_catalog): Likewise.
10123 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10124 * debug/confstr_chk.c: Likewise.
10125 * debug/fread_chk.c (__fread_chk): Likewise.
10126 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10127 * debug/getgroups_chk.c: Likewise.
10128 * debug/mbsnrtowcs_chk.c: Likewise.
10129 * debug/mbsrtowcs_chk.c: Likewise.
10130 * debug/mbstowcs_chk.c: Likewise.
10131 * debug/memcpy_chk.c: Likewise.
10132 * debug/memmove_chk.c: Likewise.
10133 * debug/mempcpy_chk.c: Likewise.
10134 * debug/memset_chk.c: Likewise.
10135 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10136 * debug/strcat_chk.c (__strcat_chk): Likewise.
10137 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10138 * debug/strncat_chk.c (__strncat_chk): Likewise.
10139 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10140 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10141 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10142 * debug/wcpncpy_chk.c: Likewise.
10143 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10144 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10145 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10146 * debug/wcsncpy_chk.c: Likewise.
10147 * debug/wcsnrtombs_chk.c: Likewise.
10148 * debug/wcsrtombs_chk.c: Likewise.
10149 * debug/wcstombs_chk.c: Likewise.
10150 * debug/wmemcpy_chk.c: Likewise.
10151 * debug/wmemmove_chk.c: Likewise.
10152 * debug/wmempcpy_chk.c: Likewise.
10153 * debug/wmemset_chk.c: Likewise.
10154 * dirent/scandirat.c (SCANDIRAT): Likewise.
10155 * dlfcn/dladdr1.c (dladdr1): Likewise.
10156 * dlfcn/dladdr.c (dladdr): Likewise.
10157 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10158 * dlfcn/dlerror.c (__dlerror): Likewise.
10159 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10160 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10161 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10162 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10163 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10164 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10165 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10166 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10168 * elf/dl-conflict.c: Likewise.
10169 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10170 * elf/dl-dst.h: Likewise.
10171 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10172 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10173 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10174 * elf/dl-init.c (call_init, _dl_init): Likewise.
10175 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10176 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10177 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10179 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10181 * elf/dl-minimal.c (__libc_memalign): Likewise.
10182 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10183 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10184 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10185 * elf/dl-sym.c (do_sym): Likewise.
10186 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10187 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10188 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10189 * elf/dl-writev.h (_dl_writev): Likewise.
10190 * elf/ldconfig.c (search_dir): Likewise.
10191 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10192 (dl_main): Likewise.
10193 * elf/setup-vdso.h (setup_vdso): Likewise.
10194 * grp/compat-initgroups.c (compat_call): Likewise.
10195 * grp/fgetgrent.c (fgetgrent): Likewise.
10196 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10197 * grp/putgrent.c (putgrent): Likewise.
10198 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10200 * hurd/hurdinit.c: Likewise.
10201 * iconvdata/8bit-gap.c (struct): Likewise.
10202 * iconvdata/ansi_x3.110.c : Likewise.
10203 * iconvdata/big5.c : Likewise.
10204 * iconvdata/big5hkscs.c : Likewise.
10205 * iconvdata/cp1255.c: Likewise.
10206 * iconvdata/cp1258.c : Likewise.
10207 * iconvdata/cp932.c : Likewise.
10208 * iconvdata/euc-cn.c: Likewise.
10209 * iconvdata/euc-jisx0213.c : Likewise.
10210 * iconvdata/euc-jp.c: Likewise.
10211 * iconvdata/euc-jp-ms.c : Likewise.
10212 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10213 * iconvdata/gb18030.c : Likewise.
10214 * iconvdata/gbbig5.c (const): Likewise.
10215 * iconvdata/gbgbk.c: Likewise.
10216 * iconvdata/gbk.c : Likewise.
10217 * iconvdata/ibm1364.c : Likewise.
10218 * iconvdata/ibm930.c : Likewise.
10219 * iconvdata/ibm932.c: Likewise.
10220 * iconvdata/ibm933.c : Likewise.
10221 * iconvdata/ibm935.c : Likewise.
10222 * iconvdata/ibm937.c : Likewise.
10223 * iconvdata/ibm939.c : Likewise.
10224 * iconvdata/ibm943.c: Likewise.
10225 * iconvdata/iso_11548-1.c: Likewise.
10226 * iconvdata/iso-2022-cn.c : Likewise.
10227 * iconvdata/iso-2022-cn-ext.c : Likewise.
10228 * iconvdata/iso-2022-jp-3.c: Likewise.
10229 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10230 * iconvdata/iso-2022-kr.c : Likewise.
10231 * iconvdata/iso646.c (gconv_end): Likewise.
10232 * iconvdata/iso_6937-2.c : Likewise.
10233 * iconvdata/iso_6937.c : Likewise.
10234 * iconvdata/iso8859-1.c: Likewise.
10235 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10236 * iconvdata/shift_jisx0213.c : Likewise.
10237 * iconvdata/sjis.c : Likewise.
10238 * iconvdata/t.61.c : Likewise.
10239 * iconvdata/tcvn5712-1.c : Likewise.
10240 * iconvdata/tscii.c: Likewise.
10241 * iconvdata/uhc.c : Likewise.
10242 * iconvdata/unicode.c (gconv_end): Likewise.
10243 * iconvdata/utf-16.c (gconv_end): Likewise.
10244 * iconvdata/utf-32.c (gconv_end): Likewise.
10245 * iconvdata/utf-7.c (base64): Likewise.
10246 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10247 * iconv/gconv_close.c (__gconv_close): Likewise.
10248 * iconv/gconv_open.c (__gconv_open): Likewise.
10249 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10250 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10251 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10252 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10253 (ucs4le_internal_loop_single): Likewise.
10254 * iconv/iconv.c (iconv): Likewise.
10255 * iconv/iconv_close.c: Likewise.
10256 * iconv/loop.c (SINGLE): Likewise.
10257 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10258 * include/atomic.h: Likewise.
10259 * inet/inet6_option.c (option_alloc): Likewise.
10260 * intl/bindtextdom.c (set_binding_values): Likewise.
10261 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10262 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10263 * intl/localealias.c (read_alias_file): Likewise.
10264 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10265 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10266 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10267 * libio/fmemopen.c (fmemopen): Likewise.
10268 * libio/iofgets.c (_IO_fgets): Likewise.
10269 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10270 * libio/iofgetws.c (fgetws): Likewise.
10271 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10272 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10273 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10274 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10275 * locale/findlocale.c (_nl_find_locale): Likewise.
10276 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10277 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10279 * locale/setlocale.c (setlocale): Likewise.
10280 * login/programs/pt_chown.c (main): Likewise.
10281 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10282 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10283 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10284 (mmap, mmap64, mremap, munmap): Likewise.
10285 * math/e_exp2l.c: Likewise.
10286 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10287 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10288 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10289 * math/s_catan.c (__catan): Likewise.
10290 * math/s_catanf.c (__catanf): Likewise.
10291 * math/s_catanh.c (__catanh): Likewise.
10292 * math/s_catanhf.c (__catanhf): Likewise.
10293 * math/s_catanhl.c (__catanhl): Likewise.
10294 * math/s_catanl.c (__catanl): Likewise.
10295 * math/s_ccosh.c (__ccosh): Likewise.
10296 * math/s_ccoshf.c (__ccoshf): Likewise.
10297 * math/s_ccoshl.c (__ccoshl): Likewise.
10298 * math/s_cexp.c (__cexp): Likewise.
10299 * math/s_cexpf.c (__cexpf): Likewise.
10300 * math/s_cexpl.c (__cexpl): Likewise.
10301 * math/s_clog10.c (__clog10): Likewise.
10302 * math/s_clog10f.c (__clog10f): Likewise.
10303 * math/s_clog10l.c (__clog10l): Likewise.
10304 * math/s_clog.c (__clog): Likewise.
10305 * math/s_clogf.c (__clogf): Likewise.
10306 * math/s_clogl.c (__clogl): Likewise.
10307 * math/s_csin.c (__csin): Likewise.
10308 * math/s_csinf.c (__csinf): Likewise.
10309 * math/s_csinh.c (__csinh): Likewise.
10310 * math/s_csinhf.c (__csinhf): Likewise.
10311 * math/s_csinhl.c (__csinhl): Likewise.
10312 * math/s_csinl.c (__csinl): Likewise.
10313 * math/s_csqrt.c (__csqrt): Likewise.
10314 * math/s_csqrtf.c (__csqrtf): Likewise.
10315 * math/s_csqrtl.c (__csqrtl): Likewise.
10316 * math/s_ctan.c (__ctan): Likewise.
10317 * math/s_ctanf.c (__ctanf): Likewise.
10318 * math/s_ctanh.c (__ctanh): Likewise.
10319 * math/s_ctanhf.c (__ctanhf): Likewise.
10320 * math/s_ctanhl.c (__ctanhl): Likewise.
10321 * math/s_ctanl.c (__ctanl): Likewise.
10322 * math/w_pow.c: Likewise.
10323 * math/w_powf.c: Likewise.
10324 * math/w_powl.c: Likewise.
10325 * math/w_scalb.c (sysv_scalb): Likewise.
10326 * math/w_scalbf.c (sysv_scalbf): Likewise.
10327 * math/w_scalbl.c (sysv_scalbl): Likewise.
10328 * misc/error.c (error_tail): Likewise.
10329 * misc/pselect.c (__pselect): Likewise.
10330 * nis/nis_callback.c (__nis_create_callback): Likewise.
10331 * nis/nis_call.c (__nisfind_server): Likewise.
10332 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10333 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10334 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10335 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10336 * nis/nis_lookup.c (nis_lookup): Likewise.
10337 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10338 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10339 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10340 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10341 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10342 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10343 * nis/nss_compat/compat-initgroups.c (add_group)
10344 (internal_getgrent_r): Likewise.
10345 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10346 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10347 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10348 (internal_getspnam_r): Likewise.
10349 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10350 (_nss_nis_getaliasbyname_r): Likewise.
10351 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10352 (_nss_nis_getntohost_r): Likewise.
10353 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10354 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10355 (_nss_nis_getgrgid_r): Likewise.
10356 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10357 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10358 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10359 (_nss_nis_gethostbyname4_r): Likewise.
10360 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10361 (initgroups_netid): Likewise.
10362 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10363 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10364 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10365 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10366 (_nss_nis_getprotobynumber_r): Likewise.
10367 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10368 (_nss_nis_getsecretkey): Likewise.
10369 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10370 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10371 (_nss_nis_getpwuid_r): Likewise.
10372 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10373 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10374 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10375 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10376 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10377 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10378 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10380 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10381 (_nss_nisplus_getntohost_r): Likewise.
10382 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10383 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10384 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10385 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10387 * nis/nss_nisplus/nisplus-initgroups.c
10388 (_nss_nisplus_initgroups_dyn): Likewise.
10389 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10390 (_nss_nisplus_getnetbyaddr_r): Likewise.
10391 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10392 (_nss_nisplus_getprotobynumber_r): Likewise.
10393 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10394 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10395 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10397 * nis/nss_nisplus/nisplus-service.c
10398 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10399 (_nss_nisplus_getservbyport_r): Likewise.
10400 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10401 (_nss_nisplus_getspnam_r): Likewise.
10402 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10404 * nscd/aicache.c (addhstaiX): Likewise.
10405 * nscd/cache.c (cache_search, prune_cache): Likewise.
10406 * nscd/connections.c (register_traced_file, send_ro_fd)
10407 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10408 (main_loop_epoll): Likewise.
10409 * nscd/grpcache.c (addgrbyX): Likewise.
10410 * nscd/hstcache.c (addhstbyX): Likewise.
10411 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10412 * nscd/mem.c (gc, mempool_alloc): Likewise.
10413 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10414 (addinnetgrX): Likewise.
10415 * nscd/nscd-client.h (__nscd_acquire_maplock)
10416 (__nscd_drop_map_ref): Likewise.
10417 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10418 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10419 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10421 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10423 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10424 (__nscd_get_map_ref): Likewise.
10425 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10426 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10428 * nscd/pwdcache.c (addpwbyX): Likewise.
10429 * nscd/selinux.c (preserve_capabilities): Likewise.
10430 * nscd/servicescache.c (addservbyX): Likewise.
10431 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10432 * posix/fnmatch.c (fnmatch): Likewise.
10433 * posix/getopt.c (_getopt_internal_r): Likewise.
10434 * posix/glob.c (glob, glob_in_dir): Likewise.
10435 * posix/wordexp.c (exec_comm_child): Likewise.
10436 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10437 (getanswer_r, gaih_getanswer_slice): Likewise.
10438 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10439 * resolv/res_init.c: Likewise.
10440 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10441 * resolv/res_query.c (__libc_res_nquery): Likewise.
10442 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10444 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10445 * stdio-common/perror.c (perror): Likewise.
10446 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10447 * stdio-common/tmpnam.c (tmpnam): Likewise.
10448 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10449 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10450 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10452 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10453 * stdlib/putenv.c (putenv): Likewise.
10454 * stdlib/setenv.c (__add_to_environ): Likewise.
10455 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10456 * stdlib/strtol_l.c (INTERNAL): Likewise.
10457 * string/memmem.c (memmem): Likewise.
10458 * string/strerror.c (strerror): Likewise.
10459 * string/strnlen.c (__strnlen): Likewise.
10460 * string/test-memmem.c (simple_memmem): Likewise.
10461 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10462 * sunrpc/pm_getport.c (__get_socket): Likewise.
10463 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10464 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10465 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10466 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10468 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10469 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10470 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10471 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10472 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10473 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10475 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10477 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10478 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10479 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10480 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10481 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10483 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10484 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10485 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10486 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10487 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10488 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10490 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10492 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10494 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10495 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10496 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10497 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10498 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10499 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10500 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10501 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10502 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10503 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10504 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10505 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10506 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10507 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10509 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10511 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10513 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10515 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10517 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10518 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10519 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10521 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10522 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10523 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10524 * sysdeps/posix/sleep.c: Likewise.
10525 * sysdeps/posix/tempname.c: Likewise.
10526 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10527 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10529 * sysdeps/powerpc/powerpc32/dl-machine.h
10530 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10531 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10532 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10533 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10534 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10536 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10537 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10538 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10540 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10541 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10542 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10543 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10544 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10545 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10546 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10547 (elf_machine_lazy_rel): Likewise.
10548 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10549 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10550 (elf_machine_lazy_rel): Likewise.
10551 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10552 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10553 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10554 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10555 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10556 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10557 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10560 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10561 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10562 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10563 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10564 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10565 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10566 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10567 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10568 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10569 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10570 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10572 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10573 (__posix_fallocate64_l64): Likewise.
10574 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10575 (posix_fallocate): Likewise.
10576 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10578 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10579 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10580 (getifaddrs_internal): Likewise.
10581 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10582 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10583 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10584 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10585 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10586 (__posix_fallocate64_l64): Likewise.
10587 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10589 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10590 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10591 (__get_clockfreq): Likewise.
10592 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10593 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10594 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10596 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10597 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10598 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10599 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10601 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10602 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10603 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10604 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10605 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10606 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10607 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10609 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10610 (posix_fallocate): Likewise.
10611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10612 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10613 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10614 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10615 (elf_machine_rela, elf_machine_rela_relative)
10616 (elf_machine_lazy_rel): Likewise.
10617 * time/asctime.c (asctime_internal): Likewise.
10618 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10619 * time/tzset.c (__tzset_parse_tz): Likewise.
10620 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10621 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10622 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10623 * wcsmbs/wcsmbsload.h: Likewise.
10626 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10628 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10629 (arena_get2): Remove THREAD_STATS conditionals.
10630 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10631 (__malloc_stats, int): Likewise.
10633 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10635 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10636 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10638 * manual/setjmp.texi: Fix typos/grammar errors.
10640 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10641 Only return early when n is <= 0. Delete unused return statement.
10643 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10644 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10645 * debug/tst-longjmp_chk3.c: New file.
10647 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10648 (test_main): Replace code with set_fortify_handler call.
10649 * debug/test-strcpy_chk.c: Likewise.
10650 * debug/tst-chk1.c: Likewise.
10651 * debug/tst-longjmp_chk.c: Likewise.
10652 * test-skeleton.c: Include fcntl.h & paths.h
10653 (set_fortify_handler): Define.
10655 * debug/tst-longjmp_chk.c: Add header comment and include
10656 ../test-skeleton.c.
10657 (do_test): Mark static.
10658 (TEST_FUNCTION): Define.
10660 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10661 (IP_PMTUDISC_INTERFACE): Likewise.
10662 (IP_MULTICAST_IF): Likewise.
10663 (IP_MULTICAST_TTL): Likewise.
10664 (IP_MULTICAST_LOOP): Likewise.
10665 (IP_ADD_MEMBERSHIP): Likewise.
10666 (IP_DROP_MEMBERSHIP): Likewise.
10667 (IP_UNBLOCK_SOURCE): Likewise.
10668 (IP_BLOCK_SOURCE): Likewise.
10669 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10670 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10671 (IP_MSFILTER): Likewise.
10672 (MCAST_JOIN_GROUP): Likewise.
10673 (MCAST_BLOCK_SOURCE): Likewise.
10674 (MCAST_UNBLOCK_SOURCE): Likewise.
10675 (MCAST_LEAVE_GROUP): Likewise.
10676 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10677 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10678 (MCAST_MSFILTER): Likewise.
10679 (IP_MULTICAST_ALL): Likewise.
10680 (IP_UNICAST_IF): Likewise.
10682 * timezone/Makefile: Delete $(have-ksh) check.
10683 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10684 * timezone/tzselect.ksh: Add +x mode bits.
10686 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10687 (ANON_INODE_FS_MAGIC): Likewise.
10688 (BDEVFS_MAGIC): Likewise.
10689 (BINFMTFS_MAGIC): Likewise.
10690 (BTRFS_TEST_MAGIC): Likewise.
10691 (CRAMFS_MAGIC_WEND): Likewise.
10692 (DEBUGFS_MAGIC): Likewise.
10693 (ECRYPTFS_SUPER_MAGIC): Likewise.
10694 (EXT3_SUPER_MAGIC): Likewise.
10695 (EXT4_SUPER_MAGIC): Likewise.
10696 (FUTEXFS_SUPER_MAGIC): Likewise.
10697 (HOSTFS_SUPER_MAGIC): Likewise.
10698 (HUGETLBFS_MAGIC): Likewise.
10699 (MINIX3_SUPER_MAGIC): Likewise.
10700 (MTD_INODE_FS_MAGIC): Likewise.
10701 (NILFS_SUPER_MAGIC): Likewise.
10702 (OPENPROM_SUPER_MAGIC): Likewise.
10703 (PIPEFS_MAGIC): Likewise.
10704 (PSTOREFS_MAGIC): Likewise.
10705 (QNX6_SUPER_MAGIC): Likewise.
10706 (RAMFS_MAGIC): Likewise.
10707 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10708 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10709 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10710 (SECURITYFS_MAGIC): Likewise.
10711 (SELINUX_MAGIC): Likewise.
10712 (SMACK_MAGIC): Likewise.
10713 (SOCKFS_MAGIC): Likewise.
10714 (SQUASHFS_MAGIC): Likewise.
10715 (STACK_END_MAGIC): Likewise.
10716 (TMPFS_MAGIC): Likewise.
10717 (USBDEVICE_SUPER_MAGIC): Likewise.
10718 (V9FS_MAGIC): Likewise.
10719 (XENFS_SUPER_MAGIC): Likewise.
10720 (CRAMFS_MAGIC): Fix typo in comment.
10721 (EXT2_SUPER_MAGIC): Update comment.
10722 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10724 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10726 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10727 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10728 * sysdeps/unix/sysv/linux/arm: Move directory from
10729 ports/sysdeps/unix/sysv/linux/arm.
10730 * README: Update listing for arm-*-linux-gnueabi.
10732 * README: Remove mention of am33.
10734 2014-02-07 Roland McGrath <roland@hack.frob.com>
10736 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10737 than the comma operator, to avoid "rhs of comma has no effect"
10739 (__sigfillset, __sigandset, __sigorset): Likewise.
10740 * include/signal.h (__sigemptyset): Likewise.
10741 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10743 2014-02-07 Allan McRae <allan@archlinux.org>
10745 * version.h (RELEASE): Set to "development".
10746 (VERSION): Set to "2.19.90"
10747 * NEWS: Add 2.20 section.
10749 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10752 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10754 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10756 * manual/contrib.texi: Update entry for Carlos O'Donell,
10757 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10759 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10761 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10763 * sysdeps/unix/sysv/linux/kernel-features.h
10764 [__LINUX_KERNEL_VERSION >= 0x020621]
10765 (__ASSUME_PROC_PID_TASK_COMM): Define.
10767 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10770 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10771 conversion when destination buffer does not have enough space.
10772 * libio/tst-ftell-partial-wide.c: New test case.
10773 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10775 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10776 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10777 Leonard and Allan McRae.
10779 2014-02-04 David S. Miller <davem@davemloft.net>
10781 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10784 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10813 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10815 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10816 * shlib-versions: Likewise.
10818 2014-02-04 Roland McGrath <roland@hack.frob.com>
10819 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10821 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10822 (abilist-pattern): New variable, set to %-le.abilist.
10824 * Makerules (abilist-pattern): New variable.
10825 (vpath): Use $(abilist-pattern) in place of %.abilist.
10826 (check-abi-% pattern rule): Likewise.
10827 (check-abi, update-abi): Likewise.
10829 2014-02-04 Eric Wong <normalperson@yhbt.net>
10831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10833 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10835 * manual/startup.texi: Add next, previous, and top entries for
10836 the `Program Arguments' and `Environment Variables' nodes.
10838 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10840 * manual/macros.texi: Add comments before MTASC-safety macros.
10842 * manual/users.texi: Document MTASC-safety properties.
10844 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10845 (pthread_getspecific, pthread_setspecific): Format with
10846 @deftypefun, and add @safety note.
10847 * manual/signal.texi: Move comments that analyze the above
10848 functions to their home place.
10850 2014-02-03 Allan McRae <allan@archlinux.org>
10852 * po/sl.po: Update Slovenian translation from translation project.
10854 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10856 * manual/time.texi (timegm): Add missing blank after @c.
10857 Reported by Joseph Myers <joseph@codesourcery.com>.
10859 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10861 * manual/check-safety.sh: New.
10862 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10864 * manual/terminal.texi: Document MTASC-safety properties.
10866 * manual/filesys.texi: Document MTASC-safety properties.
10868 * manual/errno.texi: Document MTASC-safety properties.
10870 * manual/intro.texi: Document safety identifiers and
10873 * manual/string.texi (wcstok): Fix prototype.
10874 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10876 * manual/time.texi: Document MTASC-safety properties.
10878 * manual/string.texi: Document MTASC-safety properties.
10880 * manual/threads.texi: Document MTASC-safety properties.
10882 * manual/stdio.texi: Document MTASC-safety properties.
10884 * manual/syslog.texi: Document MTASC-safety properties.
10886 * manual/sysinfo.texi: Document MTASC-safety properties.
10888 * manual/startup.texi: Document MTASC-safety properties.
10890 * manual/socket.texi: Document MTASC-safety properties.
10892 * manual/signal.texi: Document MTASC-safety properties.
10894 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10896 * manual/setjmp.texi: Document MTASC-safety properties.
10898 * manual/search.texi: Document MTASC-safety properties.
10900 * manual/resource.texi: Document MTASC-safety properties.
10902 * manual/process.texi: Document MTASC-safety properties.
10904 * manual/platform.texi: Document MTASC-safety properties.
10906 * manual/pipe.texi: Document MTASC-safety properties.
10908 * manual/pattern.texi: Document MTASC-safety properties.
10910 * manual/message.texi: Document MTASC-safety properties.
10913 * manual/memory.texi: Document MTASC-safety properties.
10915 * manual/math.texi: Document MTASC-safety properties.
10917 * manual/locale.texi: Document MTASC-safety properties.
10919 * manual/llio.texi: Document MTASC-safety properties.
10921 * manual/libdl.texi: New.
10923 * manual/lang.texi: Document MTASC-safety properties.
10925 * manual/job.texi: Document MTASC-safety properties.
10927 * manual/getopt.texi: Document MTASC-safety properties.
10929 * manual/ctype.texi: Document MTASC-safety properties.
10931 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10934 * csu/libc-tls.c (static_map): Remove variable.
10935 (__libc_setup_tls): Use main executable's link map for TLS data.
10936 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10937 casing for LM_ID_BASE and GL(dl_nns).
10938 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10939 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10940 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10941 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10942 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10944 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10947 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10949 * manual/debug.texi: Document MTASC-safety properties.
10951 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10954 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10955 of __x86_64__ when disabling x87 inline functions.
10957 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10959 * manual/charset.texi: Document MTASC-safety properties.
10961 * manual/crypt.texi: Document MTASC-safety properties.
10963 * manual/conf.texi: Document MTASC-safety properties.
10965 * manual/arith.texi: Document MTASC-safety properties.
10967 * manual/argp.texi: Document MTASC-safety properties.
10969 * manual/macros.texi: Introduce macros to document multi
10970 thread, asynchronous signal and asynchronous cancellation
10972 * manual/intro.texi: Introduce the properties themselves.
10974 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10976 * sysdeps/sh/sh4/Makefile: New file.
10978 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10980 * math/gen-libm-test.pl ($srcdir): New variable.
10981 ($auto_input): Use it.
10983 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10986 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10987 access beyond array bounds when parsing netgroups file.
10989 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10990 the old buffer before realloc.
10992 2014-01-27 Allan McRae <allan@archlinux.org>
10994 * po/fr.po: Update French translation from translation project.
10996 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10998 * sysdeps/sh/libm-test-ulps: Regenerate.
11000 2014-01-24 David S. Miller <davem@davemloft.net>
11002 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11004 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11006 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11007 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11009 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11012 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11013 string pointers after reallocation.
11015 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11017 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11018 __SH4A__ instead of __SH_FPU_ANY__.
11020 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11022 * sysdeps/sh/fpu_control.h: New file.
11023 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11024 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11025 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11026 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11027 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11028 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11029 * sysdeps/sh/sys/ucontext.h: Remove.
11030 * sysdeps/sh/sys: Remove directory.
11032 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11034 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11035 s390/sys/ucontext.h.
11036 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11037 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11039 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11042 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11044 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11047 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11048 Adjust the vDSO correctly for internal calls.
11049 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11051 2014-01-20 Allan McRae <allan@archlinux.org>
11053 * po/ca.po: Update Catalan translation from translation project.
11055 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11057 * sysdeps/s390/sotruss-lib.c: New file.
11059 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11062 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11063 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11064 local calls issues by not having a PLT stub required for IFUNC calls.
11065 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11067 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11069 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11070 * math/test-fpucw-static.c: Likewise.
11072 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11075 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11077 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11079 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11080 implementation for powerpc.
11082 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11085 * sysdeps/posix/system.c (__libc_system): Do not enable
11086 asynchronous cancellation.
11088 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11091 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11092 handling only for numbers special also in the IEEE case.
11094 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11096 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11098 2014-01-11 Allan McRae <allan@archlinux.org>
11100 * po/bg.po: Update Bulgarian translation from translation project.
11102 * po/de.po: Update German translation from translation project.
11104 2014-01-10 Roland McGrath <roland@hack.frob.com>
11106 * sysdeps/generic/gcc-compat.h: New file.
11108 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11110 * benchtests/asin-inputs: Correct slow inputs.
11111 * benchtests/acos-inputs: Likewise.
11113 2014-01-10 Allan McRae <allan@archlinux.org>
11115 * po:sv.po: Update Swedish translation from translation project.
11117 * po/vi.po: Update Vietnamese translation from translation project.
11119 * po/eo.po: Update Esperanto translation from translation project.
11121 * po/cs.po: Update Czech translation from translation project.
11123 * po/nl.po: Update Dutch translation from translation project.
11125 * po/pl.po: Update Polish translation from translation project.
11127 * po/ru.po: Update Russian translation from translation project.
11129 * po/uk.po: Update Ukrainian translation from translation project.
11131 2014-01-08 Brooks Moses <bmoses@google.com>
11133 * elf/dl-load.c: Fix comment typo.
11135 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11137 * po/header.pot: Rename to...
11138 * po/pot.header: ... this.
11139 * po/Makefile: Use pot.header.
11141 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11142 Maxim Kuvyrkov <maxim@kugelworks.com>
11145 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11146 SRC and DEST against LEN.
11148 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11151 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11153 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11155 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11159 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11162 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11163 for large positive arguments.
11165 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11167 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11169 * math/auto-libm-test-in: Mark various tests with
11170 xfail-rounding:ldbl-128ibm.
11171 * math/auto-libm-test-out: Regenerated.
11174 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11175 Increase overflow threshold.
11177 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11180 * stdio-common/vfprintf.c: Check for integer overflow.
11182 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11184 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11185 the first argument and return value of __tls_get_addr_internal.
11187 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11189 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11190 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11192 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11194 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11195 * sysdeps/s390/rtld-global-offsets.sym: New file.
11196 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11198 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11199 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11200 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11202 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11203 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11209 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11210 halfs of GPRs for high_gprs contexts.
11211 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11212 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11214 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11216 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11218 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11219 for high GPRs (uc_high_gprs) and for future extensions
11221 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11222 for future extensions (__reserved).
11223 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11225 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11226 SC_HIGHGPRS offset definition.
11227 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11228 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11230 * Versions.def: Add GLIBC_2.19 for libpthread.
11231 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11232 siglongjmp for libpthread with GLIBC_2.19 symver.
11233 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11234 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11235 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11236 * sysdeps/s390/__longjmp.c: New file.
11237 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11238 * sysdeps/s390/longjmp.c: New file.
11239 * sysdeps/s390/setjmp.S: New file.
11240 * sysdeps/s390/sigjmp.S: New file.
11241 * sysdeps/s390/v1-longjmp.c: New file.
11242 * sysdeps/s390/v1-setjmp.h: New file.
11243 * sysdeps/s390/v1-sigjmp.c: New file.
11244 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11245 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11246 GLIBC_2.19 version.
11247 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11248 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11249 versioned symbols for ____longjmp_chk.
11250 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11260 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11261 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11262 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11263 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11264 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11265 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11266 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11267 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11268 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11269 * sysdeps/s390/rtld-__longjmp.c: New file.
11270 * sysdeps/s390/rtld-setjmp.S: New file.
11272 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11275 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11276 Return -__logl (x) for small positive arguments without evaluating
11279 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11281 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11283 (__ptrace_peeksiginfo_args): ... this.
11284 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11285 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11286 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11288 2014-01-06 Allan McRae <allan@archlinux.org>
11290 * inet/netinet/in.h: Fix typo in comment.
11292 2014-01-05 Andreas Jaeger <aj@suse.de>
11294 * sysdeps/i386/fpu/libm-test-ulps: Update.
11296 2014-01-05 Allan McRae <allan@archlinux.org>
11298 * po/libc.pot: Regenerated.
11300 * malloc/memusagestat.c: Fix gettext call formatting.
11302 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11304 * nscd/nscd.c: Improve usage() output.
11306 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11308 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11309 * sysdeps/unix/sysv/linux/configure: Regenerated.
11310 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11311 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11313 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11316 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11317 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11319 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11321 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11322 extra tokens at end of #undef directive.
11323 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11324 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11325 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11327 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11329 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11331 * math/auto-libm-test-in: Mark various tests with
11332 xfail-rounding:ldbl-128ibm.
11333 * math/auto-libm-test-out: Regenerated.
11335 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11338 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11339 numbers with subnormal high part when calculating exponent.
11342 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11346 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11348 (__ieee754_acoshl): Use __log1pl not __log1p.
11350 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11352 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11353 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11354 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11355 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11356 (reused_arena, arena_get2): Convert to GNU style.
11357 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11358 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11359 (memalign_check, __malloc_set_state): Likewise.
11360 * malloc/mallocbug.c (main): Likewise.
11361 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11362 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11363 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11364 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11365 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11366 (__posix_memalign, malloc_info): Likewise.
11367 * malloc/malloc.h: Likewise.
11368 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11369 (mallochook, memalignhook, reallochook, mabort): Likewise.
11370 * malloc/mcheck.h: Likewise.
11371 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11372 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11373 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11374 * malloc/morecore.c (__default_morecore): Likewise.
11375 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11376 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11377 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11378 (print_and_abort): Likewise.
11379 * malloc/obstack.h: Likewise.
11380 * malloc/set-freeres.c (__libc_freeres): Likewise.
11381 * malloc/tst-mallocstate.c (main): Likewise.
11382 * malloc/tst-mtrace.c (main): Likewise.
11383 * malloc/tst-realloc.c (do_test): Likewise.
11385 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11388 * nscd/netgroupcache.c (do_notfound): New function.
11389 (addgetnetgrentX): Use it.
11392 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11393 NSS_STATUS_NOTFOUND.
11395 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11397 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11400 2014-01-01 Allan McRae <allan@archlinux.org>
11402 * scripts/update-copyrights: Update configure input file suffix.
11404 * NEWS: Update copyright year.
11405 * catgets/gencat.c: Likewise.
11406 * csu/version.c: Likewise.
11407 * debug/catchsegv.sh: Likewise.
11408 * debug/pcprofiledump.c: Likewise.
11409 * debug/xtrace.sh: Likewise.
11410 * elf/ldconfig.c: Likewise.
11411 * elf/ldd.bash.in: Likewise.
11412 * elf/pldd.c: Likewise.
11413 * elf/sotruss.ksh: Likewise.
11414 * elf/sprof.c: Likewise.
11415 * iconv/iconv_prog.c: Likewise.
11416 * iconv/iconvconfig.c: Likewise.
11417 * locale/programs/locale.c: Likewise.
11418 * locale/programs/localedef.c: Likewise.
11419 * login/programs/pt_chown.c: Likewise.
11420 * malloc/memusage.sh: Likewise.
11421 * malloc/memusagestat.c: Likewise.
11422 * malloc/mtrace.pl: Likewise.
11423 * manual/libc.texinfo: Likewise.
11424 * nscd/nscd.c: Likewise.
11425 * nss/getent.c: Likewise.
11426 * nss/makedb.c: Likewise.
11427 * posix/getconf.c: Likewise.
11428 * scripts/test-installation.pl: Likewise.
11430 * All files with FSF copyright notices: Update copyright dates
11431 using scripts/update-copyrights.
11432 * intl/plural.c: Regenerated.
11433 * locale/programs/charmap-kw.h: Likewise.
11434 * locale/programs/locfile-kw.h: Likewise.
11436 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11438 * sysdeps/unix/sysv/linux/configure: Regenerated.
11439 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11440 the linux/fanotify.h header.
11441 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11442 HAVE_LINUX_FANOTIFY_H is defined.
11444 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11446 * benchtests/cos-inputs: New inputs.
11447 * benchtests/sin-inputs: Likewise.
11449 * benchtests/atan-inputs: New inputs. Fix name of multiple
11450 precision fallback inputs.
11452 * benchtests/atanh-inputs: New inputs.
11453 * benchtests/tanh-inputs: Likewise.
11455 * benchtests/acosh-inputs: New inputs.
11456 * benchtests/asinh-inputs: Likewise.
11458 * benchtests/cosh-inputs: New inputs.
11459 * benchtests/sinh-inputs: Likewise.
11461 * benchtests/acos-inputs: Add more inputs.
11462 * benchtests/asin-inputs: Likewise.
11464 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11467 * manual/arith.texi: Fix spelling.
11468 * manual/charset.texi: Likewise.
11469 * manual/errno.texi: Likewise.
11470 * manual/filesys.texi: Likewise.
11471 * manual/lang.texi: Likewise.
11472 * manual/llio.texi: Likewise.
11473 * manual/locale.texi: Likewise.
11474 * manual/message.texi: Likewise.
11475 * manual/resource.texi: Likewise.
11476 * manual/search.texi: Likewise.
11477 * manual/setjmp.texi: Likewise.
11478 * manual/stdio.texi: Likewise.
11479 * manual/string.texi: Likewise.
11480 * manual/sysinfo.texi: Likewise.
11481 * manual/time.texi: Likewise.
11483 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11485 * po/sl.po: New file.
11487 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11489 * .gitignore: Add core/.gdbinit/.gdb_history.
11491 2013-12-27 Allan McRae <allan@archlinux.org>
11494 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11495 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11497 2013-12-24 Brooks Moses <bmoses@google.com>
11499 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11500 all compilers that claim C++98 compliance, not just GCC.
11501 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11504 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11506 * NEWS: Restore accidentally deleted bug-fix entries.
11508 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11509 Ondřej Bílka <neleai@seznam.cz>
11512 * malloc/malloc.c (_int_free): Perform sanity check only if we
11515 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11518 * manual/stdio.texi (String Input Conversions): Clarify that character
11519 classes are not supported.
11521 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11525 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11528 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11529 Calculate results for small negative arguments directly rather
11530 than using reflection formula with special underflow handling.
11532 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11533 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11534 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11535 (fchflags): Likewise.
11536 (revoke): Likewise.
11537 (setlogin): Likewise.
11538 (sigaltstack): Likewise.
11540 (sigblock): Remove.
11541 (sigsetmask): Likewise.
11543 (waitpid): Likewise.
11544 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11545 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11547 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11548 * sysdeps/unix/bsd/Makefile: ... here.
11549 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11550 * sysdeps/unix/bsd/Versions: ... here.
11551 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11552 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11553 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11554 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11555 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11556 * sysdeps/unix/bsd/sigblock.c: ... here.
11557 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11558 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11559 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11560 * sysdeps/unix/bsd/sigvec.c: ... here.
11561 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11562 * sysdeps/unix/bsd/tcdrain.c: ... here.
11563 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11564 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11565 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11566 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11567 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11568 * sysdeps/unix/bsd/wait.c: ... here.
11569 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11570 * sysdeps/unix/bsd/wait3.c: ... here.
11571 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11572 * sysdeps/unix/bsd/waitpid.c: ... here.
11574 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11577 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11578 round-to-nearest for [!USE_AS_EXPM1L].
11579 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11580 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11581 more tests of exp and exp10. Expect some exp10 tests to miss
11582 exceptions or fail in directed rounding modes.
11583 * math/auto-libm-test-out: Regenerated.
11584 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11585 (exp10_test_tonearest): New function.
11586 (exp10_towardzero_test_data): New array.
11587 (exp10_test_towardzero): New function.
11588 (exp10_downward_test_data): New array.
11589 (exp10_test_downward): New function.
11590 (exp10_upward_test_data): New array.
11591 (exp10_test_upward): New function.
11592 (main): Call the new functions.
11593 * sysdeps/i386/fpu/libm-test-ulps: Update.
11594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11596 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11598 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11599 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11600 * math/auto-libm-test-out: Regenerated.
11601 * math/libm-test.inc (acosh_test_data): Add more tests.
11602 (atanh_test_data): Likewise.
11603 (ceil_test_data): Likewise.
11604 (copysign_test_data): Likewise.
11605 * sysdeps/i386/fpu/libm-test-ulps: Update.
11606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11608 * timezone/checktab.awk: Update from tzcode 2013i.
11609 * timezone/private.h: Likewise.
11610 * timezone/scheck.c: Likewise.
11611 * timezone/tzfile.h: Likewise.
11612 * timezone/tzselect.ksh: Likewise.
11613 * timezone/zdump.c: Likewise.
11614 * timezone/zic.c: Likewise.
11616 * math/auto-libm-test-in: Add tests of cpow.
11617 * math/auto-libm-test-out: Regenerated.
11618 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11619 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11621 (func_calc_desc): Add mpc_cc_c union field.
11622 (test_functions): Add cpow.
11623 (special_fill_2pi): New function.
11624 (special_real_inputs): Add 2pi.
11625 (calc_generic_results): Handle mpc_cc_c.
11626 * sysdeps/i386/fpu/libm-test-ulps: Update.
11627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11629 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11630 csqrt, ctan and ctanh.
11631 * math/auto-libm-test-out: Regenerated.
11632 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11633 (TEST_COND_x86): Likewise.
11634 (ccos_test_data): Use AUTO_TESTS_c_c.
11635 (ccosh_test_data): Likewise.
11636 (cexp_test_data): Likewise.
11637 (clog_test_data): Likewise.
11638 (csqrt_test_data): Likewise.
11639 (ctan_test_data): Likewise.
11640 (ctan_tonearest_test_data): Likewise.
11641 (ctan_towardzero_test_data): Likewise.
11642 (ctan_downward_test_data): Likewise.
11643 (ctan_upward_test_data): Likewise.
11644 (ctanh_test_data): Likewise.
11645 (ctanh_tonearest_test_data): Likewise.
11646 (ctanh_towardzero_test_data): Likewise.
11647 (ctanh_downward_test_data): Likewise.
11648 (ctanh_upward_test_data): Likewise.
11649 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11651 (func_calc_desc): Add mpc_c_c union field.
11652 (FUNC_mpc_c_c): New macro.
11653 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11654 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11656 (special_fill_min_subnorm_p120): New function.
11657 (special_real_inputs): Add min_subnorm_p120.
11658 (calc_generic_results): Handle mpc_c_c.
11659 * sysdeps/i386/fpu/libm-test-ulps: Update.
11660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11662 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11664 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11665 (do_sin_slow): New functions.
11666 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11667 (cslow2, csloww1, csloww2): Use the new functions.
11669 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11670 Use M to change sign of result instead of X. Assume X is
11672 (csloww1): Likewise.
11676 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11677 arguments A and DA.
11681 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11683 (sloww1): Don't adjust sign of DX.
11684 (csloww1): Likewise.
11685 (sloww2): Use X directly and don't adjust sign of DX.
11686 (csloww2): Likewise.
11688 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11690 * math/auto-libm-test-in: Add tests of cabs and carg.
11691 * math/auto-libm-test-out: Regenerated.
11692 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11693 (carg_test_data): Likewise.
11694 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11696 (func_calc_desc): Add mpc_c_f union field.
11697 (test_functions): Add cabs and carg.
11698 (calc_generic_results): Handle mpc_c_f.
11700 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11701 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11702 as a macro and a compat symbol.
11703 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11704 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11705 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11706 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11707 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11708 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11710 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11712 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11714 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11716 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11718 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11720 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11721 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11724 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11728 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11730 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11731 trailing whitespace removed.
11732 * scripts/config.guess: Update to version 2013-11-29.
11733 * scripts/config.sub: Update to version 2013-10-01.
11735 * math/auto-libm-test-in: Add tests of sincos.
11736 * math/auto-libm-test-out: Regenerated.
11737 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11738 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11740 (func_calc_desc): Add mpfr_f_11 union field.
11741 (test_functions): Add sincos.
11742 (calc_generic_results): Handle mpfr_f_11.
11743 * sysdeps/i386/fpu/libm-test-ulps: Update.
11744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11746 2013-12-19 Andreas Schwab <schwab@suse.de>
11748 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11750 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11751 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11752 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11754 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11756 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11757 * sysdeps/i386/fpu/libm-test-ulps: Update.
11758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11761 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11762 round-to-nearest mode when using frndint.
11763 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11764 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11765 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11767 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11769 * math/auto-libm-test-out: Regenerated.
11770 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11771 (TEST_COND_x86): Likewise.
11772 (expm1_tonearest_test_data): New array.
11773 (expm1_test_tonearest): New function.
11774 (expm1_towardzero_test_data): New array.
11775 (expm1_test_towardzero): New function.
11776 (expm1_downward_test_data): New array.
11777 (expm1_test_downward): New function.
11778 (expm1_upward_test_data): New array.
11779 (expm1_test_upward): New function.
11780 (main): Run the new test functions.
11781 * sysdeps/i386/fpu/libm-test-ulps: Update.
11782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11784 * include/features.h: Update comment documenting feature test
11785 macros. Mention _DEFAULT_SOURCE in comment.
11786 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11787 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11788 _BSD_SOURCE and _SVID_SOURCE.
11789 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11790 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11791 !_SVID_SOURCE]: Likewise.
11792 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11793 (__USE_POSIX_IMPLICITLY): Define.
11794 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11795 (_POSIX_SOURCE): Undefine and redefine.
11796 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11797 (_POSIX_C_SOURCE): Likewise.
11798 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11799 (Feature Test Macros): Update documentation of default features.
11801 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11803 * benchtests/Makefile: Add bench-strtok.
11804 * benchtests/bench-strtok.c: New file: strtok benchtest.
11806 2013-12-19 Allan McRae <allan@archlinux.org>
11808 * manual/install.texi: Suppress menu for plain text output.
11809 * INSTALL: Regenerated.
11811 2013-12-18 Brooks Moses <bmoses@google.com>
11814 * misc/getauxval.c: Include errno.h.
11815 (__getauxval): Set errno to ENOENT if the requested type is not
11817 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11818 don't declare with __attribute_const__.
11819 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11820 * manual/startup.texi: Document that getauxval sets errno.
11822 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11824 * math/auto-libm-test-in: Add tests of jn and yn.
11825 * math/auto-libm-test-out: Regenerated.
11826 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11827 (yn_test_data): Likewise.
11828 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11830 (func_calc_desc): Add mpfr_if_f union field.
11831 (FUNC_mpfr_if_f): New macro.
11832 (test_functions): Add jn and yn.
11833 (calc_generic_results): Assert type of second input for
11834 mpfr_ff_f. Handle mpfr_if_f.
11835 (output_for_one_input_case): Disable all checking for arguments
11836 fitting floating-point types in case of an integer argument.
11837 * sysdeps/i386/fpu/libm-test-ulps: Update.
11838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11841 Don't expect fegetround reference in libm.so.
11843 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11845 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11846 $(config-cflags-nofma).
11848 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11850 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11851 * math/auto-libm-test-out: Regenerated.
11854 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11855 to determine exponent and adjust argument to have exponent of -1.
11856 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11858 * math/auto-libm-test-out: Regenerated.
11859 * sysdeps/i386/fpu/libm-test-ulps: Update.
11860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11862 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11864 * manual/probes.texi: Remove cases when per-thread arenas are
11867 2013-12-18 Andreas Schwab <schwab@suse.de>
11869 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11870 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11871 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11872 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11873 * sysdeps/i386/i686/multiarch/Makefile: Update.
11874 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11876 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11878 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11879 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11881 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11884 Support TZ transition times < 00:00:00.
11885 This is needed for version-3 tz-format files; it supports time
11886 stamps past 2037 for America/Godthab (the only entry in the tz
11887 database for which this change is relevant).
11888 * manual/time.texi (TZ Variable): Document transition times
11889 from -167:59:59 through -00:00:01.
11890 * time/tzset.c (tz_rule): Time of day is now signed.
11891 (__tzset_parse_tz): Parse negative time of day.
11893 Document TZ transition times >= 25:00:00.
11894 * manual/time.texi (TZ Variable): Document transition times from
11895 25:00:00 through 167:59:59. These are already supported, and this
11896 support will help with version-3 tz-format files.
11898 * manual/time.texi (TZ Variable): Modernize North America example
11899 to reflect current (i.e., 2007-and-later) daylight saving rules.
11901 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11903 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11905 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11906 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11907 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11908 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11909 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11910 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11911 * sysdeps/unix/bsd/clock.c: Likewise.
11912 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11913 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11914 * sysdeps/unix/bsd/init-posix.c: Likewise.
11915 * sysdeps/unix/bsd/poll.c: Likewise.
11916 * sysdeps/unix/bsd/ptsname.c: Likewise.
11917 * sysdeps/unix/bsd/seekdir.c: Likewise.
11918 * sysdeps/unix/bsd/setegid.c: Likewise.
11919 * sysdeps/unix/bsd/seteuid.c: Likewise.
11920 * sysdeps/unix/bsd/setgid.c: Likewise.
11921 * sysdeps/unix/bsd/setrgid.c: Likewise.
11922 * sysdeps/unix/bsd/setruid.c: Likewise.
11923 * sysdeps/unix/bsd/setsid.c: Likewise.
11924 * sysdeps/unix/bsd/setuid.c: Likewise.
11925 * sysdeps/unix/bsd/sigaction.c: Likewise.
11926 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11927 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11928 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11929 * sysdeps/unix/bsd/telldir.c: Likewise.
11930 * sysdeps/unix/bsd/times.c: Likewise.
11931 * sysdeps/unix/bsd/usleep.c: Likewise.
11933 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11934 ($(objpfx)libbsd-compat.a): Remove rule.
11936 * include/features.h (__FAVOR_BSD): Do not define.
11937 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11938 features conflicting with POSIX.
11939 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11940 (_BSD_SOURCE): Remove description of not being a subset of other
11941 feature test macros.
11942 * manual/job.texi (getpgrp): Do not document BSD version.
11943 (getpgid): Do not document by reference to BSD getpgrp.
11944 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11945 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11946 * signal/signal.h [__FAVOR_BSD]: Likewise.
11947 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11948 instead of making contents conditional on [__FAVOR_BSD].
11949 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11951 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11955 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11958 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11959 values below 2**-450, not 2**-500.
11960 * math/auto-libm-test-in: Don't allow spurious underflow from
11962 * math/auto-libm-test-out: Regenerated.
11966 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11967 values of ha and hb and sort them after adjusting subnormal
11969 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11971 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11972 values of ea and eb and sort them after adjusting subnormal
11974 * math/auto-libm-test-in: Do not expect some hypot tests of
11975 subnormals to fail. Add more hypot tests.
11976 * math/auto-libm-test-out: Regenerated.
11978 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11981 * sysdeps/sh/s_fma.c: New file.
11982 * sysdeps/sh/s_fmaf.c: New file.
11983 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11985 * sysdeps/sh/Implies: Add sh/soft-fp.
11987 2013-12-16 Roland McGrath <roland@hack.frob.com>
11989 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11990 level of indirection to members `objname', `errstring', `malloced'.
11991 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11992 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11993 it as the __longjmp argument (just pass 1 instead).
11994 (_dl_catch_error): Initialize C with argument pointers and address of
11995 volatile local ERRCODE rather than copying values out of C at return.
11997 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11999 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12000 * math/auto-libm-test-out: Regenerated.
12001 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12002 (hypot_test_data): Likewise.
12003 (pow_test_data): Likewise.
12004 (pow_tonearest_test_data): Likewise.
12005 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12007 (func_calc_desc): Add mpfr_ff_f union field.
12008 (FUNC_mpfr_ff_f): New macro.
12009 (test_functions): Add atan2, hypot and pow.
12010 (special_fill_min): New function.
12011 (special_fill_minus_min): Likewise.
12012 (special_fill_min_subnorm): Likewise.
12013 (special_fill_minus_min_subnorm): Likewise.
12014 (special_real_inputs): Add min, -min, min_subnorm and
12016 (calc_generic_results): Handle mpfr_ff_f.
12017 * sysdeps/i386/fpu/libm-test-ulps: Update.
12018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12020 2013-12-16 Will Newton <will.newton@linaro.org>
12022 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12023 (Aligned Memory Blocks): Add documentation for aligned_alloc
12024 and suggest it as an alternative to posix_memalign.
12025 (Hooks for Malloc): Document __memalign_hook is also called
12026 for aligned_alloc. (Summary of Malloc): Add summary for
12027 aligned alloc. Document __memalign_hook is also called
12030 2013-12-16 Will Newton <will.newton@linaro.org>
12032 * manual/memory.texi (Malloc Examples): Clarify default
12033 alignment documentation. Suggest posix_memalign rather
12034 than memalign or valloc.
12035 (Aligned Memory Blocks): Remove suggestion to use memalign
12036 or valloc. Remove obsolete comment about BSD.
12037 Document memalign errno values and mark the function obsolete.
12038 Document posix_memalign returned error codes. Mark valloc
12039 as obsolete. (Hooks for Malloc): __memalign_hook is also
12040 called for posix_memalign and valloc.
12041 (Summary of Malloc): Add posix_memalign to function summary.
12042 __memalign_hook is also called for posix_memalign and valloc.
12044 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12046 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12050 (sloww): Use mynumber union. Expand ternary operator into
12051 if-else statements.
12052 (cslow): use mynumber union.
12054 2013-12-16 Allan McRae <allan@archlinux.org>
12056 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12057 * configure: Regenerated.
12059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12062 * configure.ac: Added --enable-maintainer-mode. Check for
12063 autoconf when enabled.
12064 * configure: Regenerated.
12066 * nscd/nscd.service: New file.
12067 * nscd/nscd.tmpfiles: New file.
12069 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12072 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12073 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12074 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12075 (strstr): Add __strstr_sse2_unaligned ifunc.
12076 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12077 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12078 (strcasestr): Remove __strcasestr_sse42 ifunc.
12079 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12080 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12083 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12085 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12086 * sysdeps/sh/bits/fenv.h: ... here.
12087 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12089 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12091 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12094 hypotf multiarch implementations.
12095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12096 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12097 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12098 multiarch hypot for PPC64.
12099 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12100 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12102 multiarch hypotf for PPC64.
12104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12105 modff multiarch implementations.
12106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12109 multiarch modf for PPC64.
12110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12113 multiarch modff for PPC64.
12115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12116 and logl multiarch implementations.
12117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12120 multiarch logb for PPC64.
12121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12124 multiarch logb for PPC64.
12125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12128 multiarch logb for PPC64.
12130 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12131 isinff multiarch implementation.
12132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12136 multiarch isinf for PPC64.
12137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12140 multiarch isinff for PPC64.
12142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12143 finitef multiarch implementation.
12144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12148 multiarch finite for PPC64.
12149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12152 multiarch finitef for PPC64.
12154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12155 lrint multiarch implementation.
12156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12160 multiarch llrint for PPC64.
12161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12162 multiarch lrint for PPC64.
12164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12165 copysignf multiarch implementation.
12166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12171 multiarch copysign for PPC64.
12172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12173 multiarch copysignf for PPC64.
12175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12176 multiarch implementation.
12177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12185 multiarch llround for PPC64.
12186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12187 multiarch trunc for PPC64.
12188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12189 multiarch truncf for PPC64.
12191 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12192 multiarch implementation.
12193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12201 multiarch llround for PPC64.
12202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12203 multiarch round for PPC64.
12204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12205 multiarch roundf for PPC64.
12207 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12208 multiarch implementation.
12209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12217 multiarch llround for PPC64.
12218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12219 multiarch floor for PPC64.
12220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12221 multiarch floorf for PPC64.
12223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12224 multiarch implementation.
12225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12233 multiarch llround for PPC64.
12234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12235 multiarch ceil for PPC64.
12236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12237 multiarch ceilf for PPC64.
12239 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12240 multiarch implementation.
12241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12248 multiarch llround for PPC64.
12249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12250 multiarch lround for PPC64.
12252 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12253 multiarch implementation.
12254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12261 multiarch isnan for PPC64.
12262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12263 multiarch isnanf for PPC64.
12265 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12266 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12267 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12268 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12269 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12272 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12273 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12274 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12278 multiarch implementations.
12279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12280 (__libc_ifunc_impl_list): Likewise.
12281 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12282 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12283 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12284 multiarch stpcpy for PPC64.
12286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12287 multiarch implementations.
12288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12289 (__libc_ifunc_impl_list): Likewise.
12290 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12291 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12292 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12293 multiarch strcpy for PPC64.
12295 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12296 redefine function name.
12297 (_wordcopy_fwd_dest_aligned): Likewise.
12298 (_wordcopy_bwd_aligned): Likewise.
12299 (_wordcopy_bwd_dest_aligned): Likewise.
12300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12301 multiarch implementations.
12302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12303 (__libc_ifunc_impl_list): Likewise.
12304 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12305 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12306 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12307 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12308 multiarch wcscpy for PPC64.
12310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12311 multiarch implementations.
12312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12313 (__libc_ifunc_impl_list): Likewise.
12314 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12315 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12316 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12317 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12318 multiarch wcscpy for PPC64.
12320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12321 multiarch implementations.
12322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12323 (__libc_ifunc_impl_list): Likewise.
12324 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12325 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12326 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12327 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12328 multiarch wcsrchr for PPC64.
12330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12331 multiarch implementations.
12332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12333 (__libc_ifunc_impl_list): Likewise.
12334 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12335 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12336 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12337 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12338 multiarch wcschr for PPC64.
12340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12341 multiarch implementations.
12342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12343 (__libc_ifunc_impl_list): Likewise.
12344 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12345 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12346 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12347 multiarch strchrnul for PPC64.
12349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12352 (__libc_ifunc_impl_list): Likewise.
12353 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12354 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12355 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12356 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12362 (__libc_ifunc_impl_list): Likewise.
12363 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12364 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12365 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12366 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12370 multiarch implementations.
12371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12372 (__libc_ifunc_impl_list): Likewise.
12373 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12374 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12375 strncasecmp for PPC64.
12376 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12377 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12378 multiarch strncasecmp_l for PPC64.
12380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12381 multiarch implementations.
12382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12383 (__libc_ifunc_impl_list): Likewise.
12384 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12385 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12386 multiarch strcasecmp for PPC64.
12387 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12389 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12390 multiarch strcasecmp_l for PPC64.
12392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12395 (__libc_ifunc_impl_list): Likewise.
12396 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12397 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12398 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12404 (__libc_ifunc_impl_list): Likewise.
12405 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12406 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12407 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12413 (__libc_ifunc_impl_list): Likewise.
12414 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12415 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12416 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12417 rawmemrchr for PPC64.
12419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12422 (__libc_ifunc_impl_list): Likewise.
12423 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12424 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12425 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12431 (__libc_ifunc_impl_list): Likewise.
12432 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12433 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12434 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12440 (__libc_ifunc_impl_list): Likewise.
12441 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12442 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12443 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12446 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12447 avoid cretion of __bzero symbol.
12448 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12450 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12452 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12455 multiarch implementations.
12456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12457 (__libc_ifunc_impl_list): Likewise.
12458 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12459 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12460 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12461 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12463 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12464 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12465 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12466 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12467 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12469 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12471 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12475 (__libc_ifunc_impl_list): Likewise.
12476 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12477 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12478 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12479 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12483 multiarch for POWER/PPC64.
12484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12485 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12486 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12487 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12488 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12489 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12490 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12491 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12492 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12495 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12496 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12497 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12498 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12499 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12500 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12501 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12502 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12503 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12504 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12505 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12506 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12507 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12508 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12509 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12518 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12520 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12522 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12524 * benchtests/Makefile (bench): Add exp2 and log2.
12525 (LDLIBS-bench-exp2): Add -lm.
12526 (LDLIBS-bench-log2): Likewise.
12527 * benchtests/exp2-inputs: New inputs file.
12528 * benchtests/log2-inputs: New inputs file.
12529 * benchtests/log-inputs: Add new inputs.
12530 * benchtests/tan-inputs: Likewise.
12532 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12534 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12536 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12537 (csloww2): ... from here.
12539 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12540 instead of structures.
12541 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12542 (POLYNOMIAL): Likewise.
12543 (TAYLOR_SLOW): Likewise.
12549 (sloww1); Likewise.
12550 (sloww2): Likewise.
12551 (bsloww1): Likewise.
12552 (bsloww2): Likewise.
12553 (cslow2): Likewise.
12554 (csloww): Likewise.
12555 (csloww1): Likewise.
12556 (csloww2): Likewise.
12558 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12560 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12561 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12562 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12563 * malloc/hooks.c (realloc_check): Likewise.
12565 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12566 * malloc/arena.c: Remove PER_THREAD conditional.
12567 [!PER_THREAD]: Remove code.
12568 (ptmalloc_unlock_all2): Likewise.
12569 (ptmalloc_init): Likewise.
12570 (_int_new_arena): Likewise.
12571 (arena_get2): Likewise.
12572 * malloc/hooks.c (__malloc_get_state): Likewise.
12573 (__malloc_set_state): Likewise.
12574 * malloc/malloc.c: Likewise.
12575 (struct malloc_state): Likewise.
12576 (struct malloc_par): Likewise.
12577 (__libc_realloc): Likewise.
12578 (__libc_mallopt): Likewise.
12580 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12582 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12584 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12586 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12587 macro to a function. Check for zero perturb_byte.
12588 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12590 * malloc/malloc.c: (force_reg): Remove.
12591 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12592 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12593 force_reg by atomic_forced_read.
12594 * malloc/arena.c (ptmalloc_init): Likewise.
12595 * malloc/hooks.c (top_check): Likewise.
12597 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12601 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12605 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12607 * math/auto-libm-test-in: Add tests of lgamma.
12608 * math/auto-libm-test-out: Regenerated.
12609 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12610 (M_LOG_2_SQRT_PIl): Likewise.
12611 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12612 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12614 (func_calc_desc): Add mpfr_f_f1 union field.
12615 (ARGS1): New macro.
12623 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12624 (test_functions): Add lgamma.
12625 (calc_generic_results): Handle mpfr_f_f1.
12626 * sysdeps/i386/fpu/libm-test-ulps: Update.
12627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12629 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12631 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12632 __mpn_add_n for PowerPC64/POWER7.
12633 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12634 __mpn_sub_n for PowerPC64/POWER7.
12636 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12637 __mpn_addmul_1 for PowerPC64.
12638 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12639 __mpn_submul_1 for PowerPC64.
12640 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12642 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12645 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12648 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12650 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12652 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12654 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12655 add multiarch folders.
12656 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12657 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12658 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12659 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12660 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12661 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12662 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12663 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12664 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12665 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12666 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12675 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12681 multiarch __ieee754_hypot for PowerPC32.
12682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12687 multiarch __ieee754_hypotf for PowerPC32.
12689 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12690 long_double_symbol only if __logbl is defined.
12691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12692 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12693 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12694 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12695 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12696 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12697 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12698 path for implementation.
12699 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12700 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12702 logb, and logbl multiarch implementations for PowerPC32.
12703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12708 multiarch logb for PowerPC32.
12709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12714 multiarch logbf for PowerPC32.
12715 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12719 multiarch logbl implementation for PowerPC32.
12721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12722 and modff multiarch implementations.
12723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12728 multiarch modf for PowerPC32.
12729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12734 multiarch modff for PowerPC32.
12736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12737 and lrintf multiarch implementations.
12738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12743 multiarch lrint for PowerPC32.
12744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12745 file: multiarch lrintf for PowerPC32.
12747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12748 and lroundf multiarch implementations.
12749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12756 multiarch lround for PowerPC32.
12757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12758 file: multiarch lroundf for PowerPC32.
12760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12761 copysign and copysignf multiarch implementations.
12762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12767 file: multiarch copysign for PowerPC32.
12768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12769 file: multiarch copysignf for PowerPC32.
12771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12772 and truncf multiarch implementations.
12773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12778 multiarch trunc for PowerPC32.
12779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12784 multiarch truncf for PowerPC32.
12786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12787 and roundf multiarch implementations.
12788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12793 multiarch round for PowerPC32.
12794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12799 multiarch roundf for PowerPC32.
12801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12802 and floorf multiarch implementations.
12803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12808 multiarch floor for PowerPC32.
12809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12814 multiarch floorf for PowerPC32.
12816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12817 and ceilf multiarch implementations.
12818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12823 multiarch ceil for PowerPC32.
12824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12829 multiarch ceilf for PowerPC32.
12831 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12833 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12834 FINITEF is defined.
12835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12836 and finitef multiarch implementations.
12837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12842 multiarch finite for PowerPC32.
12843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12846 file: multiarch finitef for PowerPC32.
12848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12849 and isinff multiarch implementations.
12850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12855 multiarch isinf for PowerPC32.
12856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12859 multiarch isinff for PowerPC32.
12861 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12862 alias when __isnan is defined.
12863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12864 and isnanf multiarch implementations.
12865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12874 multiarch isnan for PowerPC32.
12875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12880 multiarch isnanf for PowerPC32.
12882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12883 and sqrtf multiarch implementations.
12884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12889 multiarch sqrt for PowerPC32.
12890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12895 multiarch sqrtf for PowerPC32.
12897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12898 and llroundf multiarch implementations.
12899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12906 file: multiarch llround for PowerPC32.
12907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12908 file: multiarch llroundf for PowerPC32.
12910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12911 multiarch PowerPC32 fpu implementations.
12912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12917 multiarch llrint for PowerPC32.
12918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12927 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12929 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12931 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12933 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12934 multiarch wordcopy for PPC32.
12935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12938 (__libc_ifunc_impl_list): Likewise.
12939 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12940 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12941 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12942 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12943 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12944 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12946 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12954 multiarch wcscpy for PPC32.
12955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12958 (__libc_ifunc_impl_list): Likewise.
12959 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12960 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12961 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12962 sysdeps/powerpc/power6/wcscpy.c.
12964 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12969 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12972 multiarch wcsrchr for PPC32.
12973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12976 (__libc_ifunc_impl_list): Likewise.
12977 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12978 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12979 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12980 sysdeps/powerpc/power6/wcsrchr.c.
12982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12988 multiarch wcschr for PPc32.
12989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12992 (__libc_ifunc_impl_list): Likewise.
12993 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12994 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12995 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12996 sysdeps/powerpc/power6/wcschr.c.
12998 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12999 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13001 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13002 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13003 file: multiarch strchr for PPC32.
13004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13007 (__libc_ifunc_impl_list): Likewise.
13009 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13011 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13013 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13015 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13016 multiarch strchrnul for PPC32.
13017 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13019 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13020 (__libc_ifunc_impl_list): Likewise.
13022 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13024 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13025 multiarch strncasecmp for PPC32.
13026 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13028 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13029 multiarch strncasecmp_l for PPC32.
13030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13031 strncasecmp multiarch objects.
13032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13033 (__libc_ifunc_impl_list): Likewise.
13035 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13037 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13038 multiarch strncasecmp for PPC32.
13039 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13041 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13042 multiarch strcasecmp_l for PPC32.
13043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13046 (__libc_ifunc_impl_list): Likewise.
13048 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13050 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13052 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13053 multiarch strncmp for PPC32.
13054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13057 (__libc_ifunc_impl_list): Likewise.
13059 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13060 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13062 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13063 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13067 (__libc_ifunc_impl_list): Likewise.
13069 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13071 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13073 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13074 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13077 (__libc_ifunc_impl_list): Likewise.
13079 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13081 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13083 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13084 multiarch rawmemchr for PPC32.
13085 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13087 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13088 (__libc_ifunc_impl_list): Likewise.
13090 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13092 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13094 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13095 file: memrchr multiarch for PPC32.
13096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13099 (__libc_ifunc_impl_list): Likewise.
13101 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13102 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13104 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13105 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13106 multiarch memchr for PPC32.
13107 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13109 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13110 (__libc_ifunc_impl_list): Likewise.
13112 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13113 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13115 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13117 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13118 file: multiarch mempcpy for PPC32.
13119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13122 (__libc_ifunc_impl_list): Likewise.
13124 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13125 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13126 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13127 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13128 multiarch bzero for PPC32.
13129 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13131 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13133 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13134 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13135 file: multiarch memset for PPC32.
13136 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13138 memset multiarch objects.
13139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13140 (__libc_ifunc_impl_list): Likewise.
13142 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13144 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13145 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13147 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13151 (__libc_ifunc_impl_list): Likewise.
13153 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13155 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13157 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13159 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13161 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13162 multiarch memcpy for PPC32.
13163 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13166 (__libc_ifunc_impl_list): Likewise.
13168 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13169 support multiarch for POWER/PPC32.
13170 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13172 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13174 Implies file to make multiarch folder appers before the fpu and
13175 default folder for power4 configuration.
13177 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13179 * scripts/bench.pl: Append volatile keyword to type.
13181 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13183 * sysdeps/sh/sotruss-lib.c: New file.
13184 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13186 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13190 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13193 * math/w_tgamma.c: Include <errno.h>.
13194 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13195 * math/w_tgammaf.c: Include <errno.h>.
13196 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13197 * math/w_tgammal.c: Include <errno.h>.
13198 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13199 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13200 underflow. Add more tgamma tests.
13201 * math/auto-libm-test-out: Regenerated.
13202 * sysdeps/i386/fpu/libm-test-ulps: Update.
13203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13205 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13206 sin, sinh, tan, tanh, tgamma, y0 and y1.
13207 * math/auto-libm-test-out: Regenerated.
13208 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13209 (TEST_COND_x86): Likewise.
13210 (M_E2l): Remove macro.
13212 (M_2_SQRT_PIl): Likewise.
13213 (M_SQRT_PIl): Likewise.
13214 (M_1_DIV_El): Likewise.
13215 (log_test_data): Use AUTO_TESTS_f_f.
13216 (log10_test_data): Likewise.
13217 (log1p_test_data): Likewise.
13218 (log2_test_data): Likewise.
13219 (sin_test_data): Likewise.
13220 (sin_tonearest_test_data): Likewise.
13221 (sin_towardzero_test_data): Likewise.
13222 (sin_downward_test_data): Likewise.
13223 (sin_upward_test_data): Likewise.
13224 (sinh_test_data): Likewise.
13225 (sinh_tonearest_test_data): Likewise.
13226 (sinh_towardzero_test_data): Likewise.
13227 (sinh_downward_test_data): Likewise.
13228 (sinh_upward_test_data): Likewise.
13229 (tan_test_data): Likewise.
13230 (tan_tonearest_test_data): Likewise.
13231 (tan_towardzero_test_data): Likewise.
13232 (tan_downward_test_data): Likewise.
13233 (tan_upward_test_data): Likewise.
13234 (tanh_test_data): Likewise.
13235 (tgamma_test_data): Likewise.
13236 (y0_test_data): Likewise.
13237 (y1_test_data): Likewise.
13238 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13239 (special_real_inputs): Add pi/4.
13240 * sysdeps/i386/fpu/libm-test-ulps: Update.
13241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13243 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13245 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13246 "longjmp_target" static probes.
13247 (__longjmp): Rename to __longjmp_symbol.
13248 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13249 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13250 on which longjmp to generate.
13251 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13252 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13254 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13255 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13256 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13257 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13258 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13259 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13261 __longjmp_symbol based on which __longjmp to generate.
13262 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13264 (setjmp): Rename to setjmp_symbol.
13265 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13266 (_setjmp): Rename to _setjmp_symbol.
13267 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13268 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13269 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13270 which setjmp to generate.
13271 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13272 "longjmp_target" static probes.
13274 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13276 * benchtests/README: Add note about output arguments.
13277 * benchtests/bench-sincos.c: Remove file.
13278 * benchtests/sincos-inputs: New file.
13279 * scripts/bench.pl: Identify output arguments and define
13280 static variables for them.
13282 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13285 * Makefile (INSTALL): Add install-plain.texi as the primary
13287 * manual/install-plain.texi: New file.
13288 * manual/install.texi: Include node directive only for
13289 non-plaintext output.
13291 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13293 * stdlib/longlong.h: Update from GCC.
13297 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13298 * math/w_j0f.c (y0f): Likewise.
13299 * math/w_j0l.c (__y0l): Likewise.
13300 * math/w_j1.c (y1): Likewise.
13301 * math/w_j1f.c (y1f): Likewise.
13302 * math/w_j1l.c (__y1l): Likewise
13303 * math/w_jn.c (yn): Likewise.
13304 * math/w_jnf.c (ynf): Likewise.
13305 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13306 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13307 value for Bessel function domain errors outside _SVID_ mode.
13308 Adjust sign of return value for yn (negative integer, 0).
13309 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13310 by zero in return for negative x and set sign appropriately for
13312 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13313 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13314 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13315 expectations in error cases.
13316 (y1_test_data): Likewise.
13317 (yn_test_data): Likewise.
13318 * sysdeps/i386/fpu/libm-test-ulps: Update.
13319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13321 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13323 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13324 "64" to "64-v1". Add "64-v2".
13325 (abi-64-options): Rename to ...
13326 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13327 (abi-64-condition): Rename to ...
13328 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13329 (abi-64-ld-soname): Rename to ...
13330 (abi-64-v1-ld-soname): ... this.
13331 (abi-64-v2-options): Define.
13332 (abi-64-v2-condition): Likewise.
13333 (abi-64-v2-ld-soname): Likewise.
13334 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13335 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13340 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13341 Alan Modra <amodra@gmail.com>
13343 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13344 New versions for use with the ELFv2 ABI.
13345 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13346 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13348 (struct La_ppc64v2_retval): Likewise.
13349 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13350 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13351 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13352 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13353 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13354 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13355 Do not save or restore CR.
13356 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13357 (_dl_profile_resolve): Do no save or restore CR. Support extended
13358 return values for ELFv2 ABI. Fix location of FPR return registers.
13359 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13360 updated values for _CALL_ELF == 2.
13361 (La_regs, La_retval, int_retval): Likewise.
13363 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13365 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13366 (FRAME_MIN_SIZE_PARM): Likewise.
13367 (FRAME_BACKCHAIN): Likewise.
13368 (FRAME_CR_SAVE): Likewise.
13369 (FRAME_LR_SAVE): Likewise.
13370 (FRAME_TOC_SAVE): Likewise.
13371 (FRAME_PARM_SAVE): Likewise.
13372 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13373 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13374 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13375 (call_mcount_parm_offset): New macro.
13376 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13377 (PROF): Use symbolic stack frame offsets.
13378 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13379 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13380 Redefine in terms of FRAME_MIN_SIZE.
13381 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13382 (_dl_profile_resolve): Likewise. Update comment.
13383 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13384 symbols stack frame offsets.
13385 (__sigsetjmp): Likewise.
13386 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13387 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13388 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13389 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13392 (FRAME_BACKCHAIN): Remove.
13393 (FRAME_CR_SAVE): Likewise.
13394 (FRAME_LR_SAVE): Likewise.
13395 (FRAME_COMPILER_DW): Likewise.
13396 (FRAME_LINKER_DW): Likewise.
13397 (FRAME_TOC_SAVE): Likewise.
13398 (FRAME_PARM_SAVE): Likewise.
13399 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13400 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13401 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13403 (CHECK_SP): Use symbolic stack frame offsets.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13405 zone" instead of caller's parameter save area for temp storage.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13407 Likewise. Also, use symbolic stack frame offsets.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13409 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13410 our own stack frame instead of the caller's.
13411 (__socket): Use symbolic stack frame offsets.
13413 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13414 Alan Modra <amodra@gmail.com>
13416 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13418 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13419 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13420 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13422 (elf_machine_fixup_plt): Call it.
13423 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13425 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13426 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13427 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13428 r2 before calling target.
13430 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13431 Alan Modra <amodra@gmail.com>
13433 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13434 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13435 versions of macros to support ELFv2 ABI.
13436 (LOCALENTRY): New macro.
13437 (ENTRY, EALIGN): Use it.
13438 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13439 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13440 fall through into ENTRY entry point.
13441 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13442 Only define if _CALL_ELF != 2.
13444 (elf_machine_matches_host): Verify ABI version matches.
13445 (RTLD_START): Use LOCALENTRY.
13446 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13447 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13448 (PLT_ENTRY_WORDS): New macro.
13449 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13450 (elf_machine_runtime_setup): Support ELFv2 ABI.
13451 (elf_machine_fixup_plt): Likewise.
13452 (elf_machine_plt_conflict): Likewise.
13453 (resolve_ifunc): Likewise.
13454 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13455 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13458 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13460 (makecontext): Support ELFv2 ABI.
13461 * elf/elf.h (EF_PPC64_ABI): Define.
13463 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13465 * sysdeps/powerpc/powerpc64/sysdep.h
13466 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13467 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13468 (ENTRY) [ASSEMBLER]: ... but instead here ...
13469 (EALIGN) [ASSEMBLER]: ... and here.
13470 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13471 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13472 (ENTRY_2) [!ASSEMBLER]: Use it.
13473 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13474 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13475 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13476 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13477 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13479 Use PPC64_LOAD_FUNCPTR.
13481 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13483 2013-12-04 Alan Modra <amodra@gmail.com>
13485 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13486 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13487 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13488 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13490 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13491 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13492 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13493 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13494 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13495 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13497 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13500 (__makecontext): Fix incorrect CFI when backtracing out of
13501 context created via makecontext.
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13503 (__setcontext): Fix incorrect CFI during switch to new context.
13504 (__novec_setcontext): Likewise.
13506 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13509 * time/strptime_l.c (__strptime_internal): Allow modifiers
13511 * time/tst-strptime.c (day_tests): Add testcase.
13513 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13515 * scripts/bench.pl: Skip over blank lines.
13517 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13520 * manual/time.texi (Calendar Time): Clarify what timezone functions
13523 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13527 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13529 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13531 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13532 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13533 * debug/memset_chk.c (__memset_chk): Likewise.
13534 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13535 * debug/strncpy_chk.c: Likewise.
13537 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13541 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13542 (__ieee754_exp): For possibly underflowing results, check size of
13543 result and force underflow exception if required.
13544 * math/auto-libm-test-in: Add more tests of exp.
13545 * math/auto-libm-test-out: Regenerated.
13546 * sysdeps/i386/fpu/libm-test-ulps: Update.
13547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13550 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13551 * math/w_exp2f.c (__exp2f): Likewise.
13552 * math/w_exp2l.c (__exp2l): Likewise.
13553 * math/auto-libm-test-in: Do not allow missing errno on exp2
13555 * math/auto-libm-test-out: Regenerated.
13557 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13560 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13561 handle filename validation.
13562 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13565 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13568 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13569 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13570 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13572 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13573 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13574 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13575 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13576 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13577 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13578 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13579 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13580 Add more erfc tests.
13581 * math/auto-libm-test-out: Regenerated.
13582 * sysdeps/i386/fpu/libm-test-ulps: Update.
13583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13585 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13586 exp2, expm1, j0 and j1.
13587 * math/auto-libm-test-out: Regenerated.
13588 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13589 (erfc_test_data): Likewise.
13590 (exp_test_data): Likewise.
13591 (exp_tonearest_test_data): Likewise.
13592 (exp_towardzero_test_data): Likewise.
13593 (exp_downward_test_data): Likewise.
13594 (exp_upward_test_data): Likewise.
13595 (exp10_test_data): Likewise.
13596 (exp2_test_data): Likewise.
13597 (expm1_test_data): Likewise.
13598 (j0_test_data): Likewise.
13599 (j1_test_data): Likewise.
13600 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13601 (input_flag_type): Add flag_xfail_rounding.
13602 (input_flags): Add xfail-rounding.
13603 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13604 (output_for_one_input_case): Handle flag_xfail_rounding.
13605 * sysdeps/i386/fpu/libm-test-ulps: Update.
13606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13608 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13611 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13614 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13617 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13618 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13619 (STAP_PROBE0): New macro.
13620 (STAP_PROBE1): Likewise.
13621 (STAP_PROBE2): Likewise.
13622 (STAP_PROBE3): Likewise.
13623 (STAP_PROBE4): Likewise.
13625 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13627 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13629 2013-12-02 Steve Ellcey <sellcey@mips.com>
13631 * benchtests/Makefile (bench): Add sqrt.
13632 (LDLIBS-bench-sqrt): New.
13633 * benchtests/sqrt-input: New.
13635 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13637 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13638 (GAIH_EAI): Likewise.
13639 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13640 (gaih_inet): Likewise.
13641 (getaddrinfo): Don't use GAIH_EAI.
13643 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13644 (struct gaih): Remove definition.
13646 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13648 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13649 Use HERRNOP directly.
13651 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13655 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13657 * math/gen-auto-libm-tests.c (test_functions): Add more
13658 single-argument functions.
13659 (special_fill_pi_2): New function.
13660 (special_fill_minus_pi_2): Likewise.
13661 (special_fill_pi_6): Likewise.
13662 (special_fill_minus_pi_6): Likewise.
13663 (special_fill_pi_3): Likewise.
13664 (special_fill_2pi_3): Likewise.
13665 (special_fill_e): Likewise.
13666 (special_fill_1_e): Likewise.
13667 (special_fill_e_minus_1): Likewise.
13668 (special_real_inputs): Add more special inputs.
13669 (output_for_one_input_case): Do not require ERANGE on underflow to
13670 zero if round-to-nearest result does not underflow to zero, unless
13671 exact results required.
13672 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13673 atan, atanh, cbrt, cos and cosh.
13674 * math/auto-libm-test-out: Regenerated.
13675 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13676 (acos_tonearest_test_data): Likewise.
13677 (acos_towardzero_test_data): Likewise.
13678 (acos_downward_test_data): Likewise.
13679 (acos_upward_test_data): Likewise.
13680 (acosh_test_data): Likewise.
13681 (asin_test_data): Likewise.
13682 (asin_tonearest_test_data): Likewise.
13683 (asin_towardzero_test_data): Likewise.
13684 (asin_upward_test_data): Likewise.
13685 (asinh_test_data): Likewise.
13686 (atan_test_data): Likewise.
13687 (atanh_test_data): Likewise.
13688 (cbrt_test_data): Likewise.
13689 (cos_test_data): Likewise.
13690 (cos_tonearest_test_data): Likewise.
13691 (cos_towardzero_test_data): Likewise.
13692 (cos_downward_test_data): Likewise.
13693 (cos_upward_test_data): Likewise.
13694 (cosh_test_data): Likewise.
13695 (cosh_tonearest_test_data): Likewise.
13696 (cosh_towardzero_test_data): Likewise.
13697 (cosh_downward_test_data): Likewise.
13698 (cosh_upward_test_data): Likewise.
13699 * sysdeps/i386/fpu/libm-test-ulps: Update.
13700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13702 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13705 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13706 * math/w_exp10f.c (__exp10f): Likewise.
13707 * math/w_exp10l.c (__exp10l): Likewise.
13708 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13709 errno settings in existing tests.
13712 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13713 precision control set to double precision.
13714 * sysdeps/i386/fpu/w_sqrt.c: New file.
13715 * math/auto-libm-test-in: Add more tests.
13716 * math/auto-libm-test-out: Update.
13718 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13719 (sqrt_test_tonearest): New function.
13720 (sqrt_towardzero_test_data): New variable.
13721 (sqrt_test_towardzero): New function.
13722 (sqrt_downward_test_data): New variable.
13723 (sqrt_test_downward): New function.
13724 (sqrt_upward_test_data): New variable.
13725 (sqrt_test_upward): New function.
13726 (main): Call the new functions.
13728 * math/gen-auto-libm-tests.c: New file.
13729 * math/auto-libm-test-in: Likewise.
13730 * math/auto-libm-test-out: New generated file.
13731 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13733 (%beautify): Add generated representations of zero.
13734 (top level): Set $auto_input and call parse_auto_input.
13735 (beautify): Remove trailing "f" from hex float constants.
13736 (parse_args): Handle XFAIL_TEST.
13737 (convert_condition): New function.
13738 (or_value): Likewise.
13739 (or_cond_value): Likewise.
13740 (generate_testfile): Handle AUTO_TESTS_* lines.
13741 (parse_auto_input): New function.
13742 * math/libm-test.inc (XFAIL_TEST): New macro.
13743 (ERRNO_UNCHANGED): Update value.
13744 (ERRNO_EDOM): Likewise.
13745 (ERRNO_ERANGE): Likewise.
13746 (IGNORE_RESULT): Likewise.
13747 (TEST_COND_flt_32): New macro.
13748 (TEST_COND_dbl_64): Likewise.
13749 (TEST_COND_ldbl_96_intel): Likewise.
13750 (TEST_COND_ldbl_96_m68k): Likewise.
13751 (TEST_COND_ldbl_128): Likewise.
13752 (TEST_COND_ldbl_128ibm): Likewise.
13753 (TEST_COND_long32): Likewise.
13754 (TEST_COND_long64): Likewise.
13755 (TEST_COND_before_rounding): Likewise.
13756 (TEST_COND_after_rounding): Likewise.
13757 (enable_test): Handle XFAIL_TEST flag.
13758 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13759 with finite results.
13760 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13761 auto-libm-test-out.
13763 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13764 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13767 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13768 __tls_get_addr_internal instead of __tls_get_offset in order to
13769 avoid GOT pointer dependency. Make rtld export
13770 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13771 __tls_get_addr since we are a __tls_get_offset platform.
13772 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13773 GOT pointer being set up before.
13774 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13776 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13778 * manual/math.texi (Errors in Math Functions): Document accuracy
13782 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13783 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13799 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13800 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13801 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13802 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13803 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13805 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13807 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13809 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13810 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13811 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13812 atomic-feupdateenv and flt-rounds.
13813 * sysdeps/powerpc/nofpu/Versions (libc): Add
13814 __atomic_feholdexcept, __atomic_feclearexcept,
13815 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13816 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13817 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13818 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13819 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13824 * manual/arith.texi (FP Exceptions): Document that exceptions may
13825 not be raised when matherr is used.
13826 (Math Error Reporting): Document overflow in directed rounding
13827 modes. Document that errno may not be set when finite values are
13828 returned on overflow. Document intent to set errno on underflow
13829 only for underflow to zero.
13832 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13833 round-to-nearest then adjust result for other rounding modes.
13834 * include/fenv.h (fegetround): Use libm_hidden_proto.
13835 * math/fegetround.c (fegetround): Use libm_hidden_def.
13836 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13837 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13838 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13839 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13841 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13842 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13843 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13844 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13846 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13849 * nss/Versions (libnss_files): Add
13850 _nss_files_gethostbyname3_r.
13851 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13853 (HOST_DB_LOOKUP): Remove macro.
13854 (_nss_files_gethostbyname_r): Implement function without the
13855 HOST_DB_LOOKUP macro.
13856 (_nss_files_gethostbyname2_r): Likewise.
13858 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13860 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13862 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13864 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13865 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13868 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13870 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13871 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13872 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13873 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13874 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13875 __fe_nomask_env_priv and attribute_hidden.
13876 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13877 (libc_feupdateenv_test_ppc): Likewise.
13878 (libc_feresetround_ppc): Likewise.
13879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13880 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13881 compat_symbol macro.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13883 (__fe_nomask_env): Likewise.
13884 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13886 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13888 * string/Makefile: Remove ifunc tests.
13889 * string/test-string.h: Define TEST_IFUNC.
13890 * string/test-bcopy-ifunc.c: Remove.
13891 * string/test-bzero-ifunc.c: Likewise.
13892 * string/test-memccpy-ifunc.c: Likewise.
13893 * string/test-memchr-ifunc.c: Likewise.
13894 * string/test-memcmp-ifunc.c: Likewise.
13895 * string/test-memcpy-ifunc.c: Likewise.
13896 * string/test-memmem-ifunc.c: Likewise.
13897 * string/test-memmove-ifunc.c: Likewise.
13898 * string/test-mempcpy-ifunc.c: Likewise.
13899 * string/test-memrchr-ifunc.c: Likewise.
13900 * string/test-memset-ifunc.c: Likewise.
13901 * string/test-rawmemchr-ifunc.c: Likewise.
13902 * string/test-stpcpy-ifunc.c: Likewise.
13903 * string/test-stpncpy-ifunc.c: Likewise.
13904 * string/test-strcasecmp-ifunc.c: Likewise.
13905 * string/test-strcasestr-ifunc.c: Likewise.
13906 * string/test-strcat-ifunc.c: Likewise.
13907 * string/test-strchr-ifunc.c: Likewise.
13908 * string/test-strchrnul-ifunc.c: Likewise.
13909 * string/test-strcmp-ifunc.c: Likewise.
13910 * string/test-strcpy-ifunc.c: Likewise.
13911 * string/test-strcspn-ifunc.c: Likewise.
13912 * string/test-strlen-ifunc.c: Likewise.
13913 * string/test-strncasecmp-ifunc.c: Likewise.
13914 * string/test-strncat-ifunc.c: Likewise.
13915 * string/test-strncmp-ifunc.c: Likewise.
13916 * string/test-strncpy-ifunc.c: Likewise.
13917 * string/test-strnlen-ifunc.c: Likewise.
13918 * string/test-strpbrk-ifunc.c: Likewise.
13919 * string/test-strrchr-ifunc.c: Likewise.
13920 * string/test-strspn-ifunc.c: Likewise.
13921 * string/test-strstr-ifunc.c: Likewise.
13923 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13925 * benchtests/Makefile: Remove ifunc tests.
13926 * benchtests/bench-string.h: Define TEST_IFUNC.
13927 * benchtests/bench-bcopy-ifunc.c: Remove.
13928 * benchtests/bench-bzero-ifunc.c: Likewise.
13929 * benchtests/bench-memccpy-ifunc.c: Likewise.
13930 * benchtests/bench-memchr-ifunc.c: Likewise.
13931 * benchtests/bench-memcmp-ifunc.c: Likewise.
13932 * benchtests/bench-memcpy-ifunc.c: Likewise.
13933 * benchtests/bench-memmem-ifunc.c: Likewise.
13934 * benchtests/bench-memmove-ifunc.c: Likewise.
13935 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13936 * benchtests/bench-memrchr-ifunc.c: Likewise.
13937 * benchtests/bench-memset-ifunc.c: Likewise.
13938 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13939 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13940 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13941 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13942 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13943 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13944 * benchtests/bench-strcat-ifunc.c: Likewise.
13945 * benchtests/bench-strchr-ifunc.c: Likewise.
13946 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13947 * benchtests/bench-strcmp-ifunc.c: Likewise.
13948 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13949 * benchtests/bench-strcpy-ifunc.c: Likewise.
13950 * benchtests/bench-strcspn-ifunc.c: Likewise.
13951 * benchtests/bench-strlen-ifunc.c: Likewise.
13952 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13953 * benchtests/bench-strncat-ifunc.c: Likewise.
13954 * benchtests/bench-strncmp-ifunc.c: Likewise.
13955 * benchtests/bench-strncpy-ifunc.c: Likewise.
13956 * benchtests/bench-strnlen-ifunc.c: Likewise.
13957 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13958 * benchtests/bench-strrchr-ifunc.c: Likewise.
13959 * benchtests/bench-strsep-ifunc.c: Likewise.
13960 * benchtests/bench-strspn-ifunc.c: Likewise.
13961 * benchtests/bench-strstr-ifunc.c: Likewise.
13963 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13965 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13967 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13969 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13970 * rt/aio.h: Likewise.
13971 * sysdeps/gnu/bits/utmp.h: Likewise.
13972 * sysdeps/gnu/bits/utmpx.h: Likewise.
13973 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13974 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13975 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13976 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13977 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13978 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13979 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13980 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13981 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13982 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13983 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13984 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13985 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13987 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13988 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13989 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13990 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13991 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13992 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13993 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13994 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13995 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13996 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13997 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13998 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13999 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14000 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14001 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14002 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14003 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14004 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14005 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14006 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14007 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14008 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14009 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14010 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14011 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14012 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14013 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14014 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14016 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14019 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14020 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14022 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14024 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14025 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14028 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14030 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14031 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14032 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14033 (__fesetround): Remove define.
14034 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14035 rounding and exceptions handling.
14036 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14037 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14038 (__fe_nomask_env): Likewise.
14039 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14040 __fegetround instead of fegetround.
14041 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14042 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14044 2013-11-21 Roland McGrath <roland@hack.frob.com>
14046 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14049 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14051 2013-11-21 Meador Inge <meadori@codesourcery.com>
14054 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14055 (encrypt_r): Likewise.
14056 * malloc/obstack.h (obstack_free): Likewise.
14057 * posix/unistd.h (encrypt): Likewise.
14059 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14061 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14062 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14063 DL_CALL_DT_FINI() that call the functions directly.
14064 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14065 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14066 * elf/dl-fini.c: Likewise.
14068 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14070 * malloc/hooks.c (memalign_check): Add alignment rounding.
14071 * malloc/malloc.c (_mid_memalign): New function.
14072 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14073 Implement by calling _mid_memalign.
14074 * manual/probes.texi (Memory Allocation Probes): Remove
14075 memory_valloc_retry and memory_pvalloc_retry.
14077 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14079 * locale/programs/locarchive.c (open_archive): Add const
14080 qualifier to ARCHIVEFNAME and copy default fname to
14084 * libio/tst-widetext.input: Rename Oriya to Odia.
14085 * locale/iso-639.def: Likewise.
14087 * manual/probes.texi (Mathematical Function Probes): Add
14088 documentation for sin, cos, asin and acos probes.
14089 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14090 (__sin32): Add slowasin probe.
14091 (__cos32): Add slowacos probe.
14092 (__mpsin): Add slowsin probe.
14093 (__mpcos): Add slowcos probe.
14095 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14098 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14099 thread-local __sim_exceptions_thread and global
14100 __sim_exceptions_global.
14101 (__sim_disabled_exceptions): Change to thread-local
14102 __sim_disabled_exceptions_thread and global
14103 __sim_disabled_exceptions_global.
14104 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14105 and global __sim_round_mode_global.
14106 (__simulate_exceptions): Use thread-local floating-point state and
14107 set global state from it as needed.
14108 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14109 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14110 __sim_round_mode_thread.
14111 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14112 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14113 and global __sim_exceptions_global.
14114 (__sim_disabled_exceptions): Change to thread-local
14115 __sim_disabled_exceptions_thread and global
14116 __sim_disabled_exceptions_global.
14117 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14118 and global __sim_round_mode_global.
14119 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14120 (SIM_SET_GLOBAL): Likewise.
14121 * sysdeps/powerpc/soft-fp/sfp-machine.h
14122 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14123 __sim_round_mode_thread.
14124 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14125 __sim_disabled_exceptions_thread.
14126 (__sim_exceptions): Change to __sim_exceptions_thread.
14127 (__sim_disabled_exceptions): Change to
14128 __sim_disabled_exceptions_thread.
14129 (__sim_round_mode): Change to __sim_round_mode_thread.
14130 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14131 thread-local floating-point state and set global state from it as
14133 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14134 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14135 (__sim_disabled_exceptions): Remove extern declaration.
14136 (feenableexcept): Use thread-local floating-point state and set
14137 global state from it as needed.
14138 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14139 extern declaration.
14140 (__sim_disabled_exceptions): Likewise.
14141 (__sim_round_mode): Likewise.
14142 (__fegetenv): Use thread-local floating-point state.
14143 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14144 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14145 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14146 floating-point state and set global state from it as needed.
14147 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14148 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14149 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14151 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14152 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14154 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14155 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14156 Use __sim_round_mode_thread.
14157 * math/test-fenv-tls.c: New file.
14158 * math/Makefile (tests): Add test-fenv-tls.
14159 ($(objpfx)test-fenv-tls): Depend on
14160 $(common-objpfx)nptl/libpthread.so.
14162 2013-11-19 Andreas Schwab <schwab@suse.de>
14164 * locale/programs/locale.c (show_info): Decode wordarray elements.
14165 * locale/categories.def (LC_MONETARY): Add element for
14166 _NL_MONETARY_CRNCYSTR.
14167 * locale/C-monetary.c (conversion_rate): New variable.
14168 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14171 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14173 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14174 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14176 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14178 * elf/Makefile (tst-auxv): New test.
14179 * elf/tst-auxv.c: New
14180 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14182 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14184 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14185 (hidden_proto): Caller changed.
14186 (hidden_tls_proto): New macro.
14187 (libc_hidden_tls_proto): Likewise.
14188 (rtld_hidden_tls_proto): Likewise.
14189 (libm_hidden_tls_proto): Likewise.
14190 (libresolv_hidden_tls_proto): Likewise.
14191 (librt_hidden_tls_proto): Likewise.
14192 (libdl_hidden_tls_proto): Likewise.
14193 (libnss_files_hidden_tls_proto): Likewise.
14194 (libnsl_hidden_tls_proto): Likewise.
14195 (libnss_nisplus_hidden_tls_proto): Likewise.
14196 (libutil_hidden_tls_proto): Likewise.
14198 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14201 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14202 (decompose_rpath): Defer expansion to fillin_rpath.
14203 (_dl_init_paths): Pass linkmap to fillin_rpath.
14205 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14207 * benchtests/Makefile: Add strsep.
14208 * benchtests/bench-strsep.c: New file: strsep benchtest.
14209 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14211 2013-11-18 Andreas Schwab <schwab@suse.de>
14213 * locale/programs/locale.c (show_info) [case byte]: Check for
14214 '\377' instead of '\177'.
14215 * locale/C-monetary.c (not_available): Always use "\377".
14216 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14217 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14218 detect unavailable sign_posn locale elements.
14219 * locale/localeconv.c (__localeconv): For grouping and
14220 mon_grouping handle "\177" and "\377" like no grouping.
14221 (INT_ELEM): New macro. Use it to set all numeric members.
14222 * locale/programs/ld-monetary.c (monetary_read)
14223 <tok_mon_grouping>: Normalize single -1 to the empty string.
14224 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14227 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14230 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14231 when we match (nil).
14232 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14234 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14236 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14237 (NO_TEST_INLINE): Update value.
14238 (ERRNO_UNCHANGED): Likewise.
14239 (ERRNO_EDOM): Likewise.
14240 (ERRNO_ERANGE): Likewise.
14241 (IGNORE_RESULT): Likewise.
14242 (check_float_internal): Check signs of NaN results if
14243 TEST_NAN_SIGN used.
14244 (check_complex): Pass TEST_NAN_SIGN flag through to second
14245 check_float_internal call.
14246 (copysign_test_data): Add tests with quiet NaNs as second
14247 argument. Use TEST_NAN_SIGN.
14248 (fabs_test_data): Add test of negative quiet NaN argument. Use
14250 (signbit_test_data): Add tests of quiet NaN argument.
14251 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14253 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14255 (parse_args): Handle function results specified as IGNORE.
14256 * math/libm-test.inc (IGNORE_RESULT): New macro.
14257 (check_float_internal): Do not check numerical result if flag
14259 (check_complex): Pass through IGNORE_RESULT to second
14260 check_float_internal call.
14261 (check_int): Do not check numerical result if flag IGNORE_RESULT
14263 (check_long): Likewise.
14264 (check_bool): Likewise.
14265 (check_longlong): Likewise.
14266 (lrint_test_data): Add tests of infinite and NaN arguments.
14267 (lrint_tonearest_test_data): Likewise.
14268 (lrint_towardzero_test_data): Likewise.
14269 (lrint_downward_test_data): Likewise.
14270 (lrint_upward_test_data): Likewise.
14271 (llrint_test_data): Likewise.
14272 (llrint_tonearest_test_data): Likewise.
14273 (llrint_towardzero_test_data): Likewise.
14274 (llrint_downward_test_data): Likewise.
14275 (llrint_upward_test_data): Likewise.
14276 (lround_test_data): Likewise.
14277 (llround_test_data): Likewise.
14279 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14280 (ERRNO_UNCHANGED): Update value.
14281 (ERRNO_EDOM): Likewise.
14282 (ERRNO_ERANGE): Likewise.
14283 (NO_TEST_INLINE_FLOAT): New macro.
14284 (NO_TEST_INLINE_DOUBLE): Likewise.
14285 (enable_test): New function.
14286 (RUN_TEST_f_f): Check enable_test before running test.
14287 (RUN_TEST_2_f): Likewise.
14288 (RUN_TEST_fff_f): Likewise.
14289 (RUN_TEST_c_f): Likewise.
14290 (RUN_TEST_f_f1): Likewise.
14291 (RUN_TEST_fF_f1): Likewise.
14292 (RUN_TEST_fI_f1): Likewise.
14293 (RUN_TEST_ffI_f1): Likewise.
14294 (RUN_TEST_c_c): Likewise.
14295 (RUN_TEST_cc_c): Likewise.
14296 (RUN_TEST_f_i): Likewise.
14297 (RUN_TEST_f_i_tg): Likewise.
14298 (RUN_TEST_ff_i_tg): Likewise.
14299 (RUN_TEST_f_b): Likewise.
14300 (RUN_TEST_f_b_tg): Likewise.
14301 (RUN_TEST_f_l): Likewise.
14302 (RUN_TEST_f_L): Likewise.
14303 (RUN_TEST_fFF_11): Likewise.
14304 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14306 (cosh_test_data): Likewise.
14307 (exp_test_data): Likewise.
14308 (expm1_test_data): Likewise.
14309 (hypot_test_data): Likewise.
14310 (pow_test_data): Likewise.
14311 (sinh_test_data): Likewise.
14312 (tanh_test_data): Likewise.
14313 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14316 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14317 tests with quiet NaN input and output.
14318 (acosh_test_data): Likewise.
14319 (asin_test_data): Likewise.
14320 (asinh_test_data): Likewise.
14321 (atan_test_data): Likewise.
14322 (atanh_test_data): Likewise.
14323 (atan2_test_data): Likewise.
14324 (cbrt_test_data): Likewise.
14325 (cos_test_data): Likewise.
14326 (cosh_test_data): Likewise.
14327 (erf_test_data): Likewise.
14328 (erfc_test_data): Likewise.
14329 (exp_test_data): Likewise.
14330 (exp10_test_data): Likewise.
14331 (exp2_test_data): Likewise.
14332 (expm1_test_data): Likewise.
14333 (hypot_test_data): Likewise.
14334 (j0_test_data): Likewise.
14335 (j1_test_data): Likewise.
14336 (jn_test_data): Likewise.
14337 (lgamma_test_data): Likewise.
14338 (log_test_data): Likewise.
14339 (log10_test_data): Likewise.
14340 (log1p_test_data): Likewise.
14341 (log2_test_data): Likewise.
14342 (pow_test_data): Likewise.
14343 (scalb_test_data): Likewise.
14344 (sin_test_data): Likewise.
14345 (sincos_test_data): Likewise.
14346 (sinh_test_data): Likewise.
14347 (tan_test_data): Likewise.
14348 (tanh_test_data): Likewise.
14349 (tgamma_test_data): Likewise.
14350 (y0_test_data): Likewise.
14351 (y1_test_data): Likewise.
14352 (yn_test_data): Likewise.
14355 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14356 argument being NaN and avoid computations with second argument in
14358 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14359 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14360 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14362 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14364 * locale/iso-639.def: Add Chitwani Tharu (the).
14366 2013-11-14 Andreas Schwab <schwab@suse.de>
14368 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14369 word instead of empty string.
14371 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14374 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14376 (__fe_nomask_env): Likewise.
14378 2013-11-13 Steve Ellcey <sellcey@mips.com>
14380 * benchtests/bench-timing.h: Include time.h.
14382 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14385 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14387 * sysdeps/unix/sysv/linux/configure: Regenerated.
14389 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14392 * stdlib/strtod_l.c (round_and_return): Do not consider
14393 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14394 exponent one less than half the least subnormal exponent.
14395 * stdlib/test-strtod-round-data: Add more tests.
14396 * stdlib/tst-strtod-round.c (tests): Regenerated.
14398 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14401 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14402 (__fe_mask_env): Likewise.
14403 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14404 libm_hidden_proto and add function prototype.
14405 (__fe_mask_env): Add function prototype.
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14407 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14409 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14411 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14413 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14415 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14416 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14418 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14420 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14421 of htab_find_slot().
14423 2013-11-11 David S. Miller <davem@davemloft.net>
14426 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14427 symbol in the non-vis3 case in static builds.
14428 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14429 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14430 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14431 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14433 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14436 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14439 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14441 * benchtests/Makefile: Add bench-strtod.
14442 * benchtests/bench-strtod.c: New file: strtod benchtest
14444 2013-11-11 Andreas Schwab <schwab@suse.de>
14447 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14448 terminating NUL in key length.
14450 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14452 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14453 Add artificial ODP entry for vDSO symbol for PPC64.
14454 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14455 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14457 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14460 * nss/getent.c (services_keys): Recognize services starting with digit.
14462 2013-11-06 David S. Miller <davem@davemloft.net>
14465 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14466 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14468 2013-11-06 Will Newton <will.newton@linaro.org>
14470 * manual/memory.texi (Malloc Examples): Remove register
14471 keyword from examples.
14473 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14475 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14477 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14480 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14481 depending on [__GCC_IEC_559 > 0].
14482 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14483 depending on [__GCC_IEC_559_COMPLEX > 0].
14485 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14487 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14490 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14492 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14494 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14497 * malloc/malloc (malloc_info): Do not handle first bin as
14500 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14502 * locale/iso-639.def: Add Central Nahuatl (nhn).
14504 2013-11-01 Bruno Haible <bruno@clisp.org>
14507 * manual/math.texi (BSD Random): Specify range upper bound as
14510 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14512 * locale/iso-639.def: Add Meadow Mari (mhr).
14514 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14516 [BZ #14752], [BZ #15763]
14517 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14519 * rt/tst_shm.c: Add test for escaping directory.
14521 2013-10-31 Andreas Schwab <schwab@suse.de>
14524 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14525 followed by 'x' as part of digit sequence.
14526 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14528 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14531 * configure.ac: allow GNU Make 4.0 and greater.
14532 * configure: Regenerated.
14534 2013-10-30 Will Newton <will.newton@linaro.org>
14537 * malloc/hooks.c (memalign_check): Limit alignment to the
14538 maximum representable power of two.
14539 * malloc/malloc.c (__libc_memalign): Likewise.
14540 * malloc/tst-memalign.c (do_test): Add test for very
14541 large alignment values.
14542 * malloc/tst-posix_memalign.c (do_test): Likewise.
14544 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14547 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14548 (munmap_chunk): Likewise.
14549 (mremap_chunk): Likewise.
14551 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14554 * stdlib/div.c (div): Remove obsolete code.
14555 * stdlib/ldiv.c (ldiv): Likewise.
14556 * stdlib/lldiv.c (lldiv): Likewise.
14558 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14561 * nss/nss_files/files-XXX.c (get_contents_ret): New
14563 (get_contents): New function.
14564 (internal_getent): Use it. Expand size of LINEBUFLEN.
14566 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14568 * configure.in: Moved to ...
14569 * configure.ac: ... here. Change reference to configure.in
14571 * sysdeps/arm/preconfigure.ac: ... here.
14572 configure.in to configure.ac.
14573 * sysdeps/gnu/configure.in: Moved to ...
14574 * sysdeps/gnu/configure.ac: ... here.
14575 * sysdeps/i386/configure.in: Moved to ...
14576 * sysdeps/i386/configure.ac: ... here.
14577 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14578 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14579 * sysdeps/mach/configure.in: Moved to ...
14580 * sysdeps/mach/configure.ac: ... here.
14581 * sysdeps/mach/hurd/configure.in: Moved to ...
14582 * sysdeps/mach/hurd/configure.ac: ... here.
14583 * sysdeps/powerpc/configure.in: Moved to ...
14584 * sysdeps/powerpc/configure.ac: ... here.
14585 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14586 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14587 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14588 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14589 * sysdeps/s390/s390-32/configure.in: Moved to ...
14590 * sysdeps/s390/s390-32/configure.ac: ... here.
14591 * sysdeps/s390/s390-64/configure.in: Moved to ...
14592 * sysdeps/s390/s390-64/configure.ac: ... here.
14593 * sysdeps/sh/configure.in: Moved to ...
14594 * sysdeps/sh/configure.ac: ... here.
14595 * sysdeps/sparc/configure.in: Moved to ...
14596 * sysdeps/sparc/configure.ac: ... here.
14597 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14598 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14599 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14600 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14601 * sysdeps/x86_64/configure.in: Moved to ...
14602 * sysdeps/x86_64/configure.ac: ... here.
14603 * sysdeps/x86_64/preconfigure.in: Moved to ...
14604 * sysdeps/x86_64/preconfigure.ac: ... here.
14605 * aclocal.m4: Change reference to configure.in to configure.ac.
14606 * config.h.in: Likewise.
14607 * manual/install.texi: Likewise.
14608 * manual/maint.texi: Likewise.
14609 * Makefile: Likewise.
14610 * malloc/Makefile: Likewise.
14611 * nscd/Makefile: Likewise.
14612 * Makeconfig: Change reference to configure.in and
14613 preconfigure.in to configure.ac and preconfigure.ac
14615 * INSTALL: Regenerated.
14616 * configure: Likewise.
14617 * sysdeps/gnu/configure: Likewise.
14618 * sysdeps/i386/configure: Likewise.
14619 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14620 * sysdeps/mach/configure: Likewise.
14621 * sysdeps/mach/hurd/configure: Likewise.
14622 * sysdeps/powerpc/configure: Likewise.
14623 * sysdeps/powerpc/powerpc32/configure: Likewise.
14624 * sysdeps/powerpc/powerpc64/configure: Likewise.
14625 * sysdeps/s390/s390-32/configure: Likewise.
14626 * sysdeps/s390/s390-64/configure: Likewise.
14627 * sysdeps/sh/configure: Likewise.
14628 * sysdeps/sparc/configure: Likewise.
14629 * sysdeps/unix/sysv/linux/configure: Likewise.
14630 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14631 * sysdeps/x86_64/configure: Likewise.
14632 * sysdeps/x86_64/preconfigure: Likewise.
14634 2013-10-29 Andreas Schwab <schwab@suse.de>
14636 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14638 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14640 * benchtests/pow-inputs: Add new inputs.
14642 * benchtests/exp-inputs: Add new inputs.
14644 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14645 conditional check for return value.
14646 (__cos32): Likewise.
14648 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14650 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14651 to provide a boost for large inputs with word alignment.
14652 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14653 implementation based on optimized PPC64 strcpy.
14654 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14655 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14656 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14657 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14659 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14662 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14664 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14667 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14668 * time/tst-strptime.c (day_tests): Add testcase.
14670 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14673 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14675 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14678 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14679 MAP_FAILED on error.
14681 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14684 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14685 heap for large requests.
14687 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14690 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14691 result if the result has no associated interface.
14692 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14693 interface for all 127.X.Y.Z addresses.
14695 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14697 * locale/iso-639.def: Add Ligurian (lij)
14699 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14702 * sunrpc/rpc_main.c: Document rpcgen -5.
14704 2013-10-19 Michael Stahl <mstahl@redhat.com>
14706 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14708 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14711 * posix/glob.c: Match only directories when trailing slash is present.
14712 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14713 (main): Add testcase.
14715 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14718 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14720 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14722 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14723 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14724 AUTH_DES and cindex for FIPS 140-2.
14725 (DES Encryption): Add cindex FIPS 46-3.
14727 * locale/locarchive.h (struct locarhandle): Add fname.
14728 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14729 if an optional argument was specified to --list-archive,
14731 * locale/programs/locarchive.c (show_archive_content): Take new
14732 argument fname and pass it via ah.fname to open_archive.
14733 * locale/programs/localedef.h: Update decl.
14734 (open_archive): If AH->fname is non-null, open that file
14735 rather than the default file name, and don't ignore ENOENT.
14736 (create_archive): Set AH.fname to NULL.
14737 (delete_locales_from_archive): Likewise.
14738 (add_locales_to_archive): Likewise.
14739 * locale/programs/locfile.c (write_all_categories): Likewise.
14741 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14742 Aldy Hernandez <aldyh@redhat.com>
14744 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14745 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14746 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14747 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14748 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14749 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14750 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14751 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14752 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14753 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14754 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14755 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14756 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14757 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14758 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14760 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14762 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14764 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14766 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14767 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14769 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14770 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14771 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14772 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14774 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14775 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14776 * sysdeps/powerpc/preconfigure: Likewise.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14779 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14780 Replace contents of file by #include of <fenv_libc.h>.
14781 * sysdeps/powerpc/soft-fp/sfp-machine.h
14782 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14784 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14785 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14786 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14787 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14788 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14789 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14791 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14792 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14793 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14794 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14795 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14797 Allow copysignl PLT reference to be missing.
14799 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14800 Joseph Myers <joseph@codesourcery.com
14803 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14805 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14807 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14809 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14810 * elf/tst-tls1.c: Likewise.
14811 * elf/tst-tls10.h: Likewise.
14812 * elf/tst-tls14.c: Likewise.
14813 * elf/tst-tls2.c: Likewise.
14814 * elf/tst-tls3.c: Likewise.
14815 * elf/tst-tls4.c: Likewise.
14816 * elf/tst-tls5.c: Likewise.
14817 * elf/tst-tls6.c: Likewise.
14818 * elf/tst-tls7.c: Likewise.
14819 * elf/tst-tls8.c: Likewise.
14820 * elf/tst-tls9.c: Likewise.
14821 * elf/tst-tlsmod1.c: Likewise.
14822 * elf/tst-tlsmod13.c: Likewise.
14823 * elf/tst-tlsmod13a.c: Likewise.
14824 * elf/tst-tlsmod14a.c: Likewise.
14825 * elf/tst-tlsmod16a.c: Likewise.
14826 * elf/tst-tlsmod16b.c: Likewise.
14827 * elf/tst-tlsmod2.c: Likewise.
14828 * elf/tst-tlsmod3.c: Likewise.
14829 * elf/tst-tlsmod4.c: Likewise.
14830 * elf/tst-tlsmod5.c: Likewise.
14831 * elf/tst-tlsmod6.c: Likewise.
14833 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14836 * malloc/malloc.c: remove checks for statistics.
14838 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14841 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14842 * inet/tst-network.c: Add testcase.
14844 2013-10-17 Andreas Schwab <schwab@suse.de>
14847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14848 to determine canonical name.
14850 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14852 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14853 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14856 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14857 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14858 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14859 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14860 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14861 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14862 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14863 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14865 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14867 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14870 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14871 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14876 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14877 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14882 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14885 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14886 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14887 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14888 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14889 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14890 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14891 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14892 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14898 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14899 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14900 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14901 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14902 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14903 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14904 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14905 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14906 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14907 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14908 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14911 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14914 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14915 make result into a quiet NaN.
14917 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14919 * soft-fp/adddf3.c: Fix horizontal whitespace.
14920 * soft-fp/addsf3.c: Likewise.
14921 * soft-fp/addtf3.c: Likewise.
14922 * soft-fp/divdf3.c: Likewise.
14923 * soft-fp/divsf3.c: Likewise.
14924 * soft-fp/divtf3.c: Likewise.
14925 * soft-fp/double.h: Likewise.
14926 * soft-fp/eqdf2.c: Likewise.
14927 * soft-fp/eqsf2.c: Likewise.
14928 * soft-fp/eqtf2.c: Likewise.
14929 * soft-fp/extenddftf2.c: Likewise.
14930 * soft-fp/extended.h: Likewise.
14931 * soft-fp/extendsfdf2.c: Likewise.
14932 * soft-fp/extendsftf2.c: Likewise.
14933 * soft-fp/extendxftf2.c: Likewise.
14934 * soft-fp/fixdfdi.c: Likewise.
14935 * soft-fp/fixdfsi.c: Likewise.
14936 * soft-fp/fixdfti.c: Likewise.
14937 * soft-fp/fixsfdi.c: Likewise.
14938 * soft-fp/fixsfsi.c: Likewise.
14939 * soft-fp/fixsfti.c: Likewise.
14940 * soft-fp/fixtfdi.c: Likewise.
14941 * soft-fp/fixtfsi.c: Likewise.
14942 * soft-fp/fixtfti.c: Likewise.
14943 * soft-fp/fixunsdfdi.c: Likewise.
14944 * soft-fp/fixunsdfsi.c: Likewise.
14945 * soft-fp/fixunsdfti.c: Likewise.
14946 * soft-fp/fixunssfdi.c: Likewise.
14947 * soft-fp/fixunssfsi.c: Likewise.
14948 * soft-fp/fixunssfti.c: Likewise.
14949 * soft-fp/fixunstfdi.c: Likewise.
14950 * soft-fp/fixunstfsi.c: Likewise.
14951 * soft-fp/fixunstfti.c: Likewise.
14952 * soft-fp/floatdidf.c: Likewise.
14953 * soft-fp/floatdisf.c: Likewise.
14954 * soft-fp/floatditf.c: Likewise.
14955 * soft-fp/floatsidf.c: Likewise.
14956 * soft-fp/floatsisf.c: Likewise.
14957 * soft-fp/floatsitf.c: Likewise.
14958 * soft-fp/floattidf.c: Likewise.
14959 * soft-fp/floattisf.c: Likewise.
14960 * soft-fp/floattitf.c: Likewise.
14961 * soft-fp/floatundidf.c: Likewise.
14962 * soft-fp/floatundisf.c: Likewise.
14963 * soft-fp/floatunditf.c: Likewise.
14964 * soft-fp/floatunsidf.c: Likewise.
14965 * soft-fp/floatunsisf.c: Likewise.
14966 * soft-fp/floatunsitf.c: Likewise.
14967 * soft-fp/floatuntidf.c: Likewise.
14968 * soft-fp/floatuntisf.c: Likewise.
14969 * soft-fp/floatuntitf.c: Likewise.
14970 * soft-fp/fmadf4.c: Likewise.
14971 * soft-fp/fmasf4.c: Likewise.
14972 * soft-fp/fmatf4.c: Likewise.
14973 * soft-fp/gedf2.c: Likewise.
14974 * soft-fp/gesf2.c: Likewise.
14975 * soft-fp/getf2.c: Likewise.
14976 * soft-fp/ledf2.c: Likewise.
14977 * soft-fp/lesf2.c: Likewise.
14978 * soft-fp/letf2.c: Likewise.
14979 * soft-fp/muldf3.c: Likewise.
14980 * soft-fp/mulsf3.c: Likewise.
14981 * soft-fp/multf3.c: Likewise.
14982 * soft-fp/negdf2.c: Likewise.
14983 * soft-fp/negsf2.c: Likewise.
14984 * soft-fp/negtf2.c: Likewise.
14985 * soft-fp/op-1.h: Likewise.
14986 * soft-fp/op-2.h: Likewise.
14987 * soft-fp/op-4.h: Likewise.
14988 * soft-fp/op-8.h: Likewise.
14989 * soft-fp/op-common.h: Likewise.
14990 * soft-fp/quad.h: Likewise.
14991 * soft-fp/single.h: Likewise.
14992 * soft-fp/soft-fp.h: Likewise.
14993 * soft-fp/sqrtdf2.c: Likewise.
14994 * soft-fp/sqrtsf2.c: Likewise.
14995 * soft-fp/sqrttf2.c: Likewise.
14996 * soft-fp/subdf3.c: Likewise.
14997 * soft-fp/subsf3.c: Likewise.
14998 * soft-fp/subtf3.c: Likewise.
14999 * soft-fp/truncdfsf2.c: Likewise.
15000 * soft-fp/trunctfdf2.c: Likewise.
15001 * soft-fp/trunctfsf2.c: Likewise.
15002 * soft-fp/trunctfxf2.c: Likewise.
15003 * soft-fp/unorddf2.c: Likewise.
15004 * soft-fp/unordsf2.c: Likewise.
15005 * soft-fp/unordtf2.c: Likewise.
15007 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15009 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15010 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15012 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15014 * elf/dl-libc.c: Clear initfini list after freeing.
15016 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15018 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15019 * soft-fp/addsf3.c: Likewise.
15020 * soft-fp/addtf3.c: Likewise.
15021 * soft-fp/divdf3.c: Likewise.
15022 * soft-fp/divsf3.c: Likewise.
15023 * soft-fp/divtf3.c: Likewise.
15024 * soft-fp/double.h: Likewise.
15025 * soft-fp/eqdf2.c: Likewise.
15026 * soft-fp/eqsf2.c: Likewise.
15027 * soft-fp/eqtf2.c: Likewise.
15028 * soft-fp/extenddftf2.c: Likewise.
15029 * soft-fp/extended.h: Likewise.
15030 * soft-fp/extendsfdf2.c: Likewise.
15031 * soft-fp/extendsftf2.c: Likewise.
15032 * soft-fp/extendxftf2.c: Likewise.
15033 * soft-fp/fixdfdi.c: Likewise.
15034 * soft-fp/fixdfsi.c: Likewise.
15035 * soft-fp/fixdfti.c: Likewise.
15036 * soft-fp/fixsfdi.c: Likewise.
15037 * soft-fp/fixsfsi.c: Likewise.
15038 * soft-fp/fixsfti.c: Likewise.
15039 * soft-fp/fixtfdi.c: Likewise.
15040 * soft-fp/fixtfsi.c: Likewise.
15041 * soft-fp/fixtfti.c: Likewise.
15042 * soft-fp/fixunsdfdi.c: Likewise.
15043 * soft-fp/fixunsdfsi.c: Likewise.
15044 * soft-fp/fixunsdfti.c: Likewise.
15045 * soft-fp/fixunssfdi.c: Likewise.
15046 * soft-fp/fixunssfsi.c: Likewise.
15047 * soft-fp/fixunssfti.c: Likewise.
15048 * soft-fp/fixunstfdi.c: Likewise.
15049 * soft-fp/fixunstfsi.c: Likewise.
15050 * soft-fp/fixunstfti.c: Likewise.
15051 * soft-fp/floatdidf.c: Likewise.
15052 * soft-fp/floatdisf.c: Likewise.
15053 * soft-fp/floatditf.c: Likewise.
15054 * soft-fp/floatsidf.c: Likewise.
15055 * soft-fp/floatsisf.c: Likewise.
15056 * soft-fp/floatsitf.c: Likewise.
15057 * soft-fp/floattidf.c: Likewise.
15058 * soft-fp/floattisf.c: Likewise.
15059 * soft-fp/floattitf.c: Likewise.
15060 * soft-fp/floatundidf.c: Likewise.
15061 * soft-fp/floatundisf.c: Likewise.
15062 * soft-fp/floatunsidf.c: Likewise.
15063 * soft-fp/floatunsisf.c: Likewise.
15064 * soft-fp/floatuntidf.c: Likewise.
15065 * soft-fp/floatuntisf.c: Likewise.
15066 * soft-fp/floatuntitf.c: Likewise.
15067 * soft-fp/fmadf4.c: Likewise.
15068 * soft-fp/fmasf4.c: Likewise.
15069 * soft-fp/fmatf4.c: Likewise.
15070 * soft-fp/gedf2.c: Likewise.
15071 * soft-fp/gesf2.c: Likewise.
15072 * soft-fp/getf2.c: Likewise.
15073 * soft-fp/ledf2.c: Likewise.
15074 * soft-fp/lesf2.c: Likewise.
15075 * soft-fp/letf2.c: Likewise.
15076 * soft-fp/muldf3.c: Likewise.
15077 * soft-fp/mulsf3.c: Likewise.
15078 * soft-fp/multf3.c: Likewise.
15079 * soft-fp/negdf2.c: Likewise.
15080 * soft-fp/negsf2.c: Likewise.
15081 * soft-fp/negtf2.c: Likewise.
15082 * soft-fp/op-1.h: Likewise.
15083 * soft-fp/op-2.h: Likewise.
15084 * soft-fp/op-4.h: Likewise.
15085 * soft-fp/op-8.h: Likewise.
15086 * soft-fp/op-common.h: Likewise.
15087 * soft-fp/quad.h: Likewise.
15088 * soft-fp/single.h: Likewise.
15089 * soft-fp/soft-fp.h: Likewise.
15090 * soft-fp/sqrtdf2.c: Likewise.
15091 * soft-fp/sqrtsf2.c: Likewise.
15092 * soft-fp/sqrttf2.c: Likewise.
15093 * soft-fp/subdf3.c: Likewise.
15094 * soft-fp/subsf3.c: Likewise.
15095 * soft-fp/subtf3.c: Likewise.
15096 * soft-fp/truncdfsf2.c: Likewise.
15097 * soft-fp/trunctfdf2.c: Likewise.
15098 * soft-fp/trunctfsf2.c: Likewise.
15099 * soft-fp/trunctfxf2.c: Likewise.
15100 * soft-fp/unorddf2.c: Likewise.
15101 * soft-fp/unordsf2.c: Likewise.
15102 * soft-fp/unordtf2.c: Likewise.
15104 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15107 * misc/error.c (error_tail): Fix possible buffer overflow.
15109 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15112 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15115 2013-10-14 P. J. McDermott <pj@pehjota.net>
15118 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15119 testing pipefail option.
15121 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15123 * soft-fp/double.h: Indent preprocessor directives inside #if.
15124 * soft-fp/extended.h: Likewise.
15125 * soft-fp/op-2.h: Likewise.
15126 * soft-fp/op-4.h: Likewise.
15127 * soft-fp/op-common.h: Likewise.
15128 * soft-fp/quad.h: Likewise.
15129 * soft-fp/single.h: Likewise.
15130 * soft-fp/soft-fp.h: Likewise.
15132 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15134 * iconv/iconv_prog.c: Fix typos.
15135 * stdio-common/psiginfo-data.h: Likewise.
15137 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15140 * locale/setlocale.c: Fix typo.
15142 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15145 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15146 signaling NaN arguments.
15147 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15148 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15151 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15152 unordered operands.
15153 * soft-fp/gesf2.c (__gesf2): Likewise.
15154 * soft-fp/getf2.c (__getf2): Likewise.
15155 * soft-fp/ledf2.c (__ledf2): Likewise.
15156 * soft-fp/lesf2.c (__lesf2): Likewise.
15157 * soft-fp/letf2.c (__letf2): Likewise.
15159 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15160 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15161 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15162 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15163 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15164 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15165 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15166 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15167 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15168 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15169 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15170 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15171 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15172 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15173 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15174 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15175 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15176 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15177 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15178 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15179 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15180 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15181 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15182 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15183 * soft-fp/floattidf.c (__floattidf): Likewise.
15184 * soft-fp/floattisf.c (__floattisf): Likewise.
15185 * soft-fp/floattitf.c (__floattitf): Likewise.
15186 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15187 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15188 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15189 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15190 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15191 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15192 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15193 * soft-fp/gesf2.c (__gesf2): Likewise.
15194 * soft-fp/getf2.c (__getf2): Likewise.
15195 * soft-fp/ledf2.c (__ledf2): Likewise.
15196 * soft-fp/lesf2.c (__lesf2): Likewise.
15197 * soft-fp/letf2.c (__letf2): Likewise.
15199 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15200 Undefine and redefine.
15201 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15202 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15203 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15204 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15205 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15206 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15207 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15208 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15209 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15210 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15211 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15212 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15213 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15214 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15215 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15218 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15219 without decrementing exponent if mantissa >= that for the
15220 denominator, not >.
15221 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15222 denominator, not >. Decrement exponent in < case instead of
15223 incrementing in >= case.
15224 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15225 without decrementing exponent if mantissa >= that for the
15226 denominator, not >.
15228 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15229 computing saturated result for unsigned overflow.
15231 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15232 Jeff Law <law@redhat.com>
15234 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15235 (atan2Mp): Add systemtap probe marker.
15236 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15237 (__ieee754_log): Add systemtap probe marker.
15238 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15239 (atanMp): Add systemtap probe marker.
15240 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15241 (tanMp): Add systemtap probe marker.
15242 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15243 (__slowexp): Add systemtap probe marker.
15244 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15245 (__slowpow): Add systemtap probe marker.
15246 * manual/probes.texi: Document probes.
15248 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15251 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15253 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15255 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15256 written to buffer but not flushed.
15257 * libio/iofwrite_u.c: Likewise.
15258 * libio/iopadn.c: Return bytes returned even if EOF was
15260 * libio/iowpadn.c: Likewise.
15261 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15262 if _IO_padn does not write the whole buffer.
15263 [!COMPILE_WPRINTF] (PAD): Likewise.
15265 2013-10-10 David S. Miller <davem@davemloft.net>
15267 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15270 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15272 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15273 instead of FSF address.
15274 * soft-fp/fixdfti.c: Likewise.
15275 * soft-fp/fixsfti.c: Likewise.
15276 * soft-fp/fixtfti.c: Likewise.
15277 * soft-fp/fixunsdfti.c: Likewise.
15278 * soft-fp/fixunssfti.c: Likewise.
15279 * soft-fp/fixunstfti.c: Likewise.
15280 * soft-fp/floattidf.c: Likewise.
15281 * soft-fp/floattisf.c: Likewise.
15282 * soft-fp/floattitf.c: Likewise.
15283 * soft-fp/floatuntidf.c: Likewise.
15284 * soft-fp/floatuntisf.c: Likewise.
15285 * soft-fp/floatuntitf.c: Likewise.
15286 * soft-fp/trunctfxf2.c: Likewise.
15288 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15289 * soft-fp/fixdfti.c: Likewise.
15290 * soft-fp/fixsfti.c: Likewise.
15291 * soft-fp/fixtfti.c: Likewise.
15292 * soft-fp/fixunsdfti.c: Likewise.
15293 * soft-fp/fixunssfti.c: Likewise.
15294 * soft-fp/fixunstfti.c: Likewise.
15295 * soft-fp/floattidf.c: Likewise.
15296 * soft-fp/floattisf.c: Likewise.
15297 * soft-fp/floattitf.c: Likewise.
15298 * soft-fp/floatuntidf.c: Likewise.
15299 * soft-fp/floatuntisf.c: Likewise.
15300 * soft-fp/floatuntitf.c: Likewise.
15301 * soft-fp/trunctfxf2.c: Likewise.
15303 2013-10-10 David S. Miller <davem@davemloft.net>
15305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15307 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15309 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15310 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15311 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15312 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15313 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15314 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15315 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15318 for NaNs before doing comparisons on argument.
15319 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15322 2013-10-10 Will Newton <will.newton@linaro.org>
15324 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15325 passed to _int_memalign does not overflow.
15327 2013-10-10 Torvald Riegel <triegel@redhat.com>
15329 * scripts/bench.pl: Add include-sources directive.
15330 * benchtests/README: Update documentation.
15332 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15334 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15335 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15336 instead of FP_INIT_ROUNDMODE.
15337 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15338 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15341 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15342 copy class of input value.
15343 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15344 not handle exceptions.
15345 * soft-fp/negsf2.c (__negsf2): Likewise.
15346 * soft-fp/negtf2.c (__negtf2): Likewise.
15347 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15349 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15351 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15352 semicolon. From Linux kernel.
15354 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15356 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15358 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15361 * manual/socket.texi: Added statement about buffer
15362 for gethostbyname2_r.
15364 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15366 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15367 Use .p2align directive instead, throughout.
15368 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15369 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15370 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15371 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15372 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15373 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15374 * sysdeps/x86_64/strchr.S: Likewise.
15375 * sysdeps/x86_64/strrchr.S: Likewise.
15377 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15379 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15381 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15383 * sysdeps/generic/math_private.h (__mpsin1): Remove
15385 (__mpcos1): Likewise.
15386 (__mpsin): New argument __range_reduce.
15387 (__mpcos): Likewise.
15388 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15389 (slow): Use __mpsin and __mpcos.
15393 (sloww1): Likewise.
15394 (sloww2): Likewise.
15395 (bsloww): Likewise.
15396 (bsloww1): Likewise.
15397 (bsloww2): Likewise.
15398 (cslow2): Likewise.
15399 (csloww): Likewise.
15400 (csloww1): Likewise.
15401 (csloww2): Likewise.
15402 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15403 range_reduce. Merge in __mpsin1.
15404 (__mpcos): Likewise.
15405 (__mpsin1): Remove.
15406 (__mpcos1): Likewise.
15408 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15410 * locale/loadlocale.c (_nl_intern_locale_data): Use
15412 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15413 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15414 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15415 obstack data is appropriately aligned.
15416 (obstack_int32_grow_fast): Likewise.
15417 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15418 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15419 (add_locale_uint32_array): Likewise.
15421 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15423 * benchtests/Makefile: Remove ARGLIST and RET variables.
15424 ($(objpfx)bench-%.c): Pass only function name to the script.
15425 * benchtests/README: Update documentation.
15426 * benchtests/acos-inputs: Add new directives.
15427 * benchtests/acosh-inputs: Likewise.
15428 * benchtests/asin-inputs: Likewise.
15429 * benchtests/asinh-inputs: Likewise.
15430 * benchtests/atan-inputs: Likewise.
15431 * benchtests/atanh-inputs: Likewise.
15432 * benchtests/cos-inputs: Likewise.
15433 * benchtests/cosh-inputs: Likewise.
15434 * benchtests/exp-inputs: Likewise.
15435 * benchtests/log-inputs: Likewise.
15436 * benchtests/pow-inputs: Likewise.
15437 * benchtests/rint-inputs: Likewise.
15438 * benchtests/sin-inputs: Likewise.
15439 * benchtests/sinh-inputs: Likewise.
15440 * benchtests/tan-inputs: Likewise.
15441 * benchtests/tanh-inputs: Likewise.
15442 * scripts/bench.pl: Add support for new directives.
15444 2013-10-07 Alan Modra <amodra@gmail.com>
15446 * README: Fix careless merge.
15448 2013-10-05 Alan Modra <amodra@gmail.com>
15450 * NEWS: Mention powerpc64le support and bugs fixed.
15451 * README: Both big-endian and little-endian powerpc64 supported.
15453 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15455 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15456 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15457 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15458 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15460 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15462 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15465 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15467 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15468 Move -mhard-float appending from
15469 ports/sysdeps/powerpc/powerpc32/Makefile.
15470 [$(with-fp) = yes] (ASFLAGS): Likewise.
15471 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15472 * sysdeps/powerpc/nofpu: Move directory from
15473 ports/sysdeps/powerpc/nofpu.
15474 * sysdeps/powerpc/soft-fp: Move directory from
15475 ports/sysdeps/powerpc/soft-fp.
15476 * sysdeps/powerpc/powerpc32/405: Move directory from
15477 ports/sysdeps/powerpc/powerpc32/405.
15478 * sysdeps/powerpc/powerpc32/440: Move directory from
15479 ports/sysdeps/powerpc/powerpc32/440.
15480 * sysdeps/powerpc/powerpc32/464: Move directory from
15481 ports/sysdeps/powerpc/powerpc32/464.
15482 * sysdeps/powerpc/powerpc32/476: Move directory from
15483 ports/sysdeps/powerpc/powerpc32/476.
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15485 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15487 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15489 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15491 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15493 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15494 * README: Update for powerpc-*-linux-gnu software floating point
15497 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15498 case to powerpc/powerpc32*.
15499 * sysdeps/unix/sysv/linux/configure: Regenerated.
15501 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15502 (_FPU_MASK_OM): Define as 0x04.
15503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15506 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15511 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15514 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15517 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15518 and setcontext_e500.
15520 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15522 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15524 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15526 * manual/threads.texi (Default Thread Attributes): Fix typo.
15528 2013-10-04 Will Newton <will.newton@linaro.org>
15530 * malloc/Makefile: Add tst-memalign.
15531 * malloc/tst-memalign.c: New file.
15533 * malloc/tst-posix_memalign.c: Add comments.
15534 (do_test): Add comments and call free on all potentially
15535 allocated pointers. Add space after cast.
15537 * malloc/tst-pvalloc.c: Add comments.
15538 (do_test): Add comments and call free on all potentially
15539 allocated pointers. Remove duplicate check for NULL pointer.
15540 Add space after cast.
15542 * malloc/tst-valloc.c: Add comments.
15543 (do_test): Add comments and call free on all potentially
15544 allocated pointers. Remove duplicate check for NULL pointer.
15545 Add space after cast.
15547 2013-10-04 Alan Modra <amodra@gmail.com>
15549 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15550 Use stdint types in rather than __attribute__((mode())).
15551 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15553 2013-10-04 Alan Modra <amodra@gmail.com>
15555 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15556 Correct handling of unaligned relocs for little-endian.
15557 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15559 2013-10-04 Alan Modra <amodra@gmail.com>
15561 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15562 * configure: Regenerate.
15563 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15564 * shlib-versions: Likewise.
15566 2013-10-04 Alan Modra <amodra@gmail.com>
15568 * string/tester.c (test_memrchr): Increment reported test cycle.
15570 2013-10-04 Alan Modra <amodra@gmail.com>
15572 * string/test-memcpy.c (do_one_test): When reporting errors, print
15573 string address and don't overrun end of string.
15575 2013-10-04 Alan Modra <amodra@gmail.com>
15577 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15578 insrdi. Make better use of reg selection to speed exit slightly.
15579 Schedule entry path a little better. Remove useless "are we done"
15580 checks on entry to main loop. Handle wrapping around zero address.
15581 Correct main loop count. Handle single left-over word from main
15582 loop inline rather than by using loop_small. Remove extra word
15583 case in loop_small caused by wrong loop count. Add little-endian
15585 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15586 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15588 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15589 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15590 support. Avoid rlwimi.
15591 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15593 2013-10-04 Alan Modra <amodra@gmail.com>
15595 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15596 insrdi. Formatting.
15597 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15598 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15599 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15600 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15601 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15602 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15604 2013-10-04 Alan Modra <amodra@gmail.com>
15606 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15607 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15608 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15609 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15610 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15611 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15612 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15613 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15614 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15615 use of regs. Use power7 mtocrf. Tidy function tails.
15617 2013-10-04 Alan Modra <amodra@gmail.com>
15619 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15620 Formatting. Consistently use rXXX register defines or rN defines.
15621 Use early exit labels that avoid restoring unused non-volatile regs.
15622 Make cr field use more consistent with rWORDn compares. Rename
15623 regs used as shift registers for unaligned loop, using rN defines
15624 for short lifetime/multiple use regs.
15625 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15626 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15627 addi 1,1,64 to pop stack frame. Simplify return value code.
15628 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15630 2013-10-04 Alan Modra <amodra@gmail.com>
15632 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15633 support. Correct typos, formatting. Optimize tail. Use insrdi
15634 rather than rlwimi.
15635 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15636 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15637 little-endian support. Correct typos.
15638 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15639 rather than rlwimi.
15640 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15641 in loop and entry code to keep "and." results.
15642 (strchr): Add little-endian support. Comment. Move cntlzd
15644 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15646 2013-10-04 Alan Modra <amodra@gmail.com>
15648 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15649 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15650 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15651 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15653 2013-10-04 Alan Modra <amodra@gmail.com>
15655 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15656 (rTMP): Define as r11.
15657 (strcmp): Add little-endian support. Optimise tail.
15658 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15659 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15660 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15661 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15662 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15663 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15664 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15666 2013-10-04 Alan Modra <amodra@gmail.com>
15668 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15669 little-endian support. Remove unnecessary "are we done" tests.
15670 Handle "s" wrapping around zero and extremely large "size".
15671 Correct main loop count. Handle single left-over word from main
15672 loop inline rather than by using small_loop. Correct comments.
15673 Delete "zero" tail, use "end_max" instead.
15674 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15676 2013-10-04 Alan Modra <amodra@gmail.com>
15678 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15679 support. Don't branch over align.
15680 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15681 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15682 support. Rearrange tmp reg use to suit. Comment.
15683 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15685 2013-10-04 Alan Modra <amodra@gmail.com>
15687 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15689 2013-10-04 Alan Modra <amodra@gmail.com>
15691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15692 conditional form of branch and link when obtaining pc.
15693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15695 2013-10-04 Alan Modra <amodra@gmail.com>
15697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15702 2013-10-04 Alan Modra <amodra@gmail.com>
15704 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15705 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15706 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15707 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15708 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15709 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15710 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15711 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15712 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15713 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15715 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15716 Alistair Popple <alistair@ozlabs.au.ibm.com>
15717 Alan Modra <amodra@gmail.com>
15720 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15721 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15722 _dl_hwcap access for little-endian.
15723 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15724 destroy vmx regs when saving unaligned.
15725 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15726 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15727 destroy vmx regs when saving unaligned.
15729 2013-10-04 Alan Modra <amodra@gmail.com>
15731 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15732 Don't use a union to pack hi/low value.
15734 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15736 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15738 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15739 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15740 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15741 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15742 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15744 2013-10-04 Alan Modra <amodra@gmail.com>
15746 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15747 constants to usual value for .cst8 section, and remove redundant
15749 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15750 constant for 0x1p52. Load little-endian words of double from
15751 correct stack offsets.
15753 2013-10-04 Alan Modra <amodra@gmail.com>
15755 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15756 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15757 words of double from correct stack offsets.
15758 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15759 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15760 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15761 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15762 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15763 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15764 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15765 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15766 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15767 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15769 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15770 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15771 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15772 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15773 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15774 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15776 2013-10-04 Alan Modra <amodra@gmail.com>
15778 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15779 64-bit int/double union.
15780 (_FPU_SETCW): Likewise.
15781 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15782 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15784 2013-10-04 Alan Modra <amodra@gmail.com>
15786 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15787 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15789 2013-10-04 Alan Modra <amodra@gmail.com>
15791 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15792 use vector int constants.
15793 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15795 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15797 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15798 array with long long.
15799 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15800 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15801 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15802 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15803 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15804 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15805 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15806 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15807 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15808 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15809 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15810 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15811 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15813 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15815 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15816 (__signbit): Likewise. Correct for little-endian.
15817 (__signbitl): Call __signbit.
15818 (lrint): Correct for little-endian.
15819 (lrintf): Call lrint.
15821 2013-10-04 Alan Modra <amodra@gmail.com>
15823 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15824 union 32-bit int array member with 64-bit int array.
15825 (t515, tm256): Double rather than long double.
15826 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15828 2013-10-04 Alan Modra <amodra@gmail.com>
15830 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15832 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15833 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15834 version of math_ldbl.h.
15836 2013-10-04 Alan Modra <amodra@gmail.com>
15838 [BZ #15734], [BZ #15735]
15839 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15840 all uses of ieee875 long double macros and unions. Simplify test
15841 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15842 ldbl_extract_mantissa value for ix,iy exponents. Properly
15843 normalize after ldbl_extract_mantissa, and don't add hidden bit
15844 already handled. Don't treat low word of ieee854 mantissa like
15845 low word of IBM long double and mask off bit when testing for
15847 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15848 all uses of ieee875 long double macros and unions. Simplify tests
15849 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15850 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15851 two1022, instead use their values. Recognise that tests for large
15852 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15853 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15854 Rewrite all uses of ieee875 long double macros and unions. Simplify
15855 test for 0.0L and nan. Correct negation.
15856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15857 ieee875 long double macros and unions. Correct output for large
15858 magnitude x. Correct absolute value calculation.
15859 (__erfcl): Likewise.
15860 * math/libm-test.inc: Add tests for errors discovered in IBM long
15861 double versions of fmodl, remainderl, erfl and erfcl.
15863 2013-10-04 Alan Modra <amodra@gmail.com>
15865 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15866 all uses of ieee854 long double macros and unions. Simplify tests
15867 for long doubles that are fully specified by the high double.
15868 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15870 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15871 Remove dead code too.
15872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15873 (__ieee754_ynl): Likewise.
15874 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15877 Remove dead code too.
15878 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15879 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15880 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15881 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15883 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15885 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15886 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15887 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15888 Comment on variable precision.
15889 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15890 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15892 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15893 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15894 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15895 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15898 2013-10-04 Alan Modra <amodra@gmail.com>
15900 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15901 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15902 all uses of ieee854 long double macros and unions.
15903 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15905 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15906 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15907 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15908 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15910 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15911 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15912 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15913 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15914 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15915 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15916 Simplify sign and nan test too.
15917 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15918 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15919 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15920 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15922 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15923 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15926 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15927 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15928 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15929 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15930 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15932 2013-10-04 Alan Modra <amodra@gmail.com>
15934 * stdio-common/printf_size.c (__printf_size): Don't use
15935 union ieee854_long_double in fpnum union.
15936 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15937 signbit macro to retrieve sign from long double.
15938 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15939 retrieve sign from long double.
15940 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15941 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15942 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15943 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15944 * math/test-misc.c (main): Don't use union ieee854_long_double.
15946 2013-10-04 Alan Modra <amodra@gmail.com>
15949 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15950 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15951 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15952 calculation. Remove unnecessary test for denormal exponent.
15953 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15954 Correct handling of denormals. Avoid undefined shift behaviour.
15955 Correct normalisation of low mantissa when low double is denormal.
15956 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15957 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15958 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15959 Correct normalisation of low mantissa. Test for overflow of high
15960 mantissa and normalise.
15961 (ldbl_nearbyint): Use more readable constant for two52.
15962 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15963 (__mpn_construct_long_double): Fix test for overflow of high
15964 mantissa and correct normalisation. Avoid undefined shift.
15966 2013-10-04 Alan Modra <amodra@gmail.com>
15968 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15969 (union ibm_extended_long_double): Define as an array of ieee754_double.
15970 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15971 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15972 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15973 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15977 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15982 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15984 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15985 page size instead of calling getpagesize.
15987 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15988 (LOCFILE_ALIGN_MASK): Likewise.
15989 (LOCFILE_ALIGN_UP): Likewise.
15990 (LOCFILE_ALIGNED_P): Likewise.
15991 * locale/programs/ld-collate.c (collate_output): Use the new
15992 macros instead of __alignof__ (int32_t).
15993 * locale/weight.h (findidx): Likewise.
15995 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15998 * manual/string.texi: Fix strncat and wcsncat.
16000 2013-10-03 Brooks Moses <bmoses@google.com>
16003 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16004 * Makerules: ...here, and adjust associated comments.
16006 2013-10-02 Will Newton <will.newton@linaro.org>
16008 * malloc/Makefile: Add tst-pvalloc.
16009 * malloc/tst-pvalloc.c: New file.
16011 2013-10-02 Will Newton <will.newton@linaro.org>
16013 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16014 improve test coverage.
16016 2013-10-02 Will Newton <will.newton@linaro.org>
16018 * malloc/Makefile: Add tst-posix_memalign.
16019 * malloc/tst-posix_memalign.c: New file.
16021 2013-10-01 Eric Blake <eblake@redhat.com>
16023 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16024 Use __THROWNL rather than __THROW on static functions.
16026 2013-09-30 Petr Machata <pmachata@redhat.com>
16028 * elf/elf.h (R_AARCH64_ABS16): New macro.
16029 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16030 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16031 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16032 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16033 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16034 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16035 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16036 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16037 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16038 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16039 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16040 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16041 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16042 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16043 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16044 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16045 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16046 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16047 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16048 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16049 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16050 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16051 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16052 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16053 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16054 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16055 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16056 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16057 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16058 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16059 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16060 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16061 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16062 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16063 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16064 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16065 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16066 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16067 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16068 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16069 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16070 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16071 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16072 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16073 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16074 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16075 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16076 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16077 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16078 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16079 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16080 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16081 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16082 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16083 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16084 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16085 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16086 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16087 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16088 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16089 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16090 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16091 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16092 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16093 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16094 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16095 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16096 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16097 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16098 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16099 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16100 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16101 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16102 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16103 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16104 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16105 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16106 (R_AARCH64_TLSDESC_LDR): Likewise.
16107 (R_AARCH64_TLSDESC_ADD): Likewise.
16108 (R_AARCH64_TLSDESC_CALL): Likewise.
16110 2013-09-30 Andreas Schwab <schwab@suse.de>
16113 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16114 the nss database lookup.
16115 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16118 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16120 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16122 2013-09-28 P. J. McDermott <pj@pehjota.net>
16124 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16125 ${Bash-specific parameter/pattern/string} parameter expansion.
16126 * sysdeps/unix/make-syscalls.sh: Likewise.
16128 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16130 * sysdeps/sh/stackguard-macros.h: New file.
16132 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16135 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16136 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16137 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16138 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16139 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16141 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16143 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16144 Fix thread ID register.
16146 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16148 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16149 [POSIX || UNIX98]: Require rather than permitting all symbols from
16151 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16152 element of struct sched_param.
16153 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16154 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16155 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16156 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16159 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16161 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16162 argument calculation.
16164 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16166 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16168 [POSIX] (pthread_attr_t): Do not require type.
16169 [POSIX] (pthread_cond_t): Likewise.
16170 [POSIX] (pthread_condattr_t): Likewise.
16171 [POSIX] (pthread_key_t): Likewise.
16172 [POSIX] (pthread_mutex_t): Likewise.
16173 [POSIX] (pthread_mutexattr_t): Likewise.
16174 [POSIX] (pthread_once_t): Likewise.
16175 [POSIX] (pthread_t): Likewise.
16176 [POSIX-based standards] (pthread_atfork): Expect function.
16178 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16179 Richard Sandiford <richard@codesourcery.com>
16181 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16182 (swap_endianness_p): New extern variable.
16183 (set_big_endian): New inline function.
16184 (maybe_swap_uint32): Likewise.
16185 (maybe_swap_uint32_array): Likewise.
16186 (maybe_swap_uint32_obstack): Likewise.
16187 * locale/programs/locfile.c: Include <stdbool.h>.
16188 (swap_endianness_p): New variable.
16189 (add_locale_uint32): Call maybe_swap_uint32.
16190 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16191 (write_locale_data): Call maybe_swap_uint32_array.
16192 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16194 (obstack_int32_grow_fast): Likewise.
16195 (output_weightwc): Call maybe_swap_uint32_obstack.
16196 (collate_output): Likewise.
16197 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16198 (OPT_LITTLE_ENDIAN): Likewise.
16199 (options): Add --little-endian and --big-endian options.
16200 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16201 * locale/programs/locarchive.c: Include "locfile.h".
16205 (create_archive): Use the new macros to access fields of
16206 structures directly mapped from or written to locale archives.
16207 (oldlocrecentcmp): Likewise.
16208 (enlarge_archive): Likewise.
16209 (insert_name): Likewise.
16210 (add_alias): Likewise.
16211 (add_locale): Likewise.
16212 (delete_locales_from_archive): Likewise.
16213 (show_archive_content): Likewise.
16214 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16217 2013-09-24 Roland McGrath <roland@hack.frob.com>
16219 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16220 http://www.gnu.org/doc/freemanuals.texi.
16221 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16223 2013-09-24 Will Newton <will.newton@linaro.org>
16225 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16228 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16230 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16233 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16235 * manual/threads.texi (POSIX Threads): Fix a typo.
16237 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16240 * string/tst-strcoll-overflow.c: New test case.
16241 * string/Makefile (xtests): Add tst-strcoll-overflow.
16242 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16243 cache if string sizes may cause integer overflow.
16246 * string/strcoll_l.c (coll_seq): New members rule, idx,
16247 save_idx and back_us.
16248 (get_next_seq_nocache): New function.
16249 (do_compare_nocache): New function.
16250 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16253 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16256 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16257 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16258 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16261 * elf/Makefile (tests): Add tst-ptrguard1.
16262 (tests-static): Add tst-ptrguard1-static.
16263 (tst-ptrguard1-ARGS): Define.
16264 (tst-ptrguard1-static-ARGS): Define.
16265 * elf/tst-ptrguard1.c: New file.
16266 * elf/tst-ptrguard1-static.c: New file.
16267 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16268 * sysdeps/i386/stackguard-macros.h: Likewise.
16269 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16270 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16271 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16272 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16273 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16274 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16276 2013-09-23 Hector Marco <hecmargi@upv.es>
16277 Ismael Ripoll <iripoll@disca.upv.es>
16278 Carlos O'Donell <carlos@redhat.com>
16281 * sysdeps/generic/stackguard-macros.h: Define
16282 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16283 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16284 Define __pointer_chk_guard_local.
16285 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16286 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16288 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16291 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16293 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16295 * include/string.h (__ffs): Declare as hidden.
16296 * string/ffs.c (__ffs): Define as hidden.
16297 * sysdeps/i386/ffs.c (__ffs): Likewise.
16298 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16299 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16300 * sysdeps/s390/ffs.c (__ffs): Likewise.
16301 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16303 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16305 * NEWS: Mention malloc probes.
16307 * malloc/arena.c (new_heap): New memory_heap_new probe.
16308 (grow_heap): New memory_heap_more probe.
16309 (shrink_heap): New memory_heap_less probe.
16310 (heap_trim): New memory_heap_free probe.
16311 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16312 (systrim): New memory_sbrk_less probe.
16313 * manual/probes.texi: Document them.
16315 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16316 * manual/probes.texi: Document it.
16318 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16319 (__libc_realloc): Add memory_realloc_retry probe.
16320 (__libc_memalign): Add memory_memalign_retry probe.
16321 (__libc_valloc): Add memory_valloc_retry probe.
16322 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16323 (__libc_calloc): Add memory_calloc_retry probe.
16324 * manual/probes.texi: Document them.
16326 * malloc/arena.c (get_free_list): Add probe
16327 memory_arena_reuse_free_list.
16328 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16329 and memory_arena_reuse.
16330 (arena_get2) [!PER_THREAD]: Likewise.
16331 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16332 memory_arena_reuse_realloc.
16333 * manual/probes.texi: Document them.
16335 * malloc/malloc.c (__libc_free): Add
16336 memory_mallopt_free_dyn_thresholds probe.
16337 (__libc_mallopt): Add multiple memory_mallopt probes.
16338 * manual/probes.texi: Document them.
16340 * malloc/malloc.c: Include stap-probe.h.
16341 (__libc_mallopt): Add memory_mallopt probe.
16342 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16343 * manual/probes.texi: New.
16344 * manual/Makefile (chapters): Add probes.
16345 * manual/threads.texi: Set next node.
16347 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16349 [BZ #15963, #13985]
16350 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16351 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16352 Add `Chinese' to `nan' entry name.
16354 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16356 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16357 (POLYNOMIAL): Likewise.
16358 (TAYLOR_SINCOS): Likewise.
16359 (TAYLOR_SLOW): Likewise.
16360 (__sin): Use TAYLOR_SINCOS.
16362 (slow): Use TAYLOR_SLOW.
16364 (bsloww): Likewise.
16365 (csloww): Likewise.
16367 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16369 * stdlib/strtod_l.c: Fix buffer overrun.
16371 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16373 * benchtests/Makefile (bench): Add sincos.
16374 * benchtests/bench-sincos.c: New file.
16376 * math/libm-test.inc (cos_test_data): New test inputs.
16377 (sin_test_data): Likewise.
16379 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16385 (sloww1): Likewise.
16386 (sloww2): Likewise.
16387 (bsloww1): Likewise.
16388 (bsloww2): Likewise.
16389 (cslow2): Likewise.
16390 (csloww1): Likewise.
16391 (csloww2): Likewise.
16393 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16398 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16402 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16404 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16405 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16406 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16407 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16408 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16409 * elf/cache.c (print_entry): Handle the new cache flags.
16411 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16412 Aldy Hernandez <aldyh@redhat.com>
16414 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16415 Change condition to [_SOFT_FLOAT].
16416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16428 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16431 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16434 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16436 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16437 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16438 (__longjmp): Use LOAD_GP to load saved GPRs.
16439 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16440 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16441 (__sigsetjmp): Use SAVE_GP to save GPRs.
16443 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16444 Do not append -msoft-float.
16445 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16447 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16449 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16451 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16454 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16455 (_FPU_GETCW): Use initial "__" on variable and field names but not
16456 on macro parameter name.
16457 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16458 parentheses around reference to macro parameter.
16460 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16462 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16464 (ctype_startup): Use uint32_t in cast and sizeof for
16467 2013-09-11 Jia Liu <proljc@gmail.com>
16469 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16471 [__FreeBSD__]: Likewise.
16473 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16476 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16477 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16478 (strchr): Remove __strchr_sse42 ifunc selection.
16479 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16480 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16482 2013-09-11 Will Newton <will.newton@linaro.org>
16484 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16485 parameter to RES. Remove hardcoded 1000 value.
16486 * benchtests/bench-skeleton.c (main): Pass RES parameter
16487 to TIMING_INIT and multiply result by 1000.
16489 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16493 2013-09-11 Andreas Schwab <schwab@suse.de>
16495 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16497 (O_TMPFILE) [__USE_GNU]: Define.
16498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16501 2013-09-11 Will Newton <will.newton@linaro.org>
16504 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16507 2013-09-11 Will Newton <will.newton@linaro.org>
16510 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16513 2013-09-11 Will Newton <will.newton@linaro.org>
16516 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16519 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16521 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16522 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16523 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16524 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16525 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16527 2013-09-10 Allan McRae <allan@archlinux.org>
16530 * manual/arith.texi (Parsing of Floats): Clarify
16534 * manual/install.texi (Running make install): Mention
16536 * INSTALL: Regenerated.
16538 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16540 * csu/init-first.c (_init): Remove the !SHARED condition around
16541 FPU control word initialization.
16542 * elf/dl-support.c (_dl_fpu_control): New variable.
16543 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16544 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16545 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16546 * math/test-fpucw-static.c: New file.
16547 * math/test-fpucw-ieee.c: New file.
16548 * math/test-fpucw-ieee-static.c: New file.
16549 * math/Makefile (tests): Add `test-fpucw-ieee' and
16551 (tests-static): New variable.
16552 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16554 [($(build-shared),yes)]
16555 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16557 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16560 2013-09-09 Allan McRae <allan@archlinux.org>
16563 * manual/string.texi (Collation Functions): Fix typo in
16565 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16568 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16571 * libio/memstream.c (open_memstream): Fix memory leak.
16572 * libio/wmemstream.c (open_wmemstream): Likewise.
16575 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16577 2013-09-09 Will Newton <will.newton@linaro.org>
16579 * malloc/Makefile: Add tst-realloc to tests.
16580 * malloc/tst-realloc.c: New file.
16582 2013-09-09 Allan McRae <allan@archlinux.org>
16585 * COPYING: Update from GNU website to fix FSF address.
16586 * COPYING.LIB: Likewise.
16588 2013-09-06 David S. Miller <davem@davemloft.net>
16590 * po/zh_TW.po: Update Chinese (traditional) translation from
16591 translation project.
16593 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16594 Joseph Myers <joseph@codesourcery.com>
16596 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16598 (obstack_chunk_alloc): New macro.
16599 (obstack_chunk_free): Likewise.
16600 (record_offset): New function.
16601 (init_locale_data): Likewise.
16602 (align_locale_data): Likewise.
16603 (add_locale_empty): Likewise.
16604 (add_locale_raw_data): Likewise.
16605 (add_locale_raw_obstack): Likewise.
16606 (add_locale_string): Likewise.
16607 (add_locale_wstring): Likewise.
16608 (add_locale_uint32): Likewise.
16609 (add_locale_uint32_array): Likewise.
16610 (add_locale_char): Likewise.
16611 (start_locale_structure): Likewise.
16612 (end_locale_structure): Likewise.
16613 (start_locale_prelude): Likewise.
16614 (end_locale_prelude): Likewise.
16615 (write_locale_data): Take locale_file structure rather than an
16617 * locale/programs/locfile.h: Include "obstack.h".
16618 (struct locale_file): Change to store locale file contents instead
16620 (init_locale_data): New prototype.
16621 (align_locale_data): Likewise.
16622 (add_locale_empty): Likewise.
16623 (add_locale_raw_data): Likewise.
16624 (add_locale_raw_obstack): Likewise.
16625 (add_locale_string): Likewise.
16626 (add_locale_wstring): Likewise.
16627 (add_locale_uint32): Likewise.
16628 (add_locale_uint32_array): Likewise.
16629 (add_locale_char): Likewise.
16630 (start_locale_structure): Likewise.
16631 (end_locale_structure): Likewise.
16632 (start_locale_prelude): Likewise.
16633 (end_locale_prelude): Likewise.
16634 (write_locale_data): Update prototype.
16635 * locale/programs/3level.h (struct TABLE): Remove result field.
16636 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16637 Use new locale_file interface.
16638 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16639 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16640 * locale/programs/ld-address.c (address_output): Use new
16641 locale_file interface.
16642 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16644 (collate_finish): Don't call collseq_table_finalize.
16645 (collate_output): Use new locale_file interface.
16646 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16648 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16649 (TABLE): Move defines earlier in file.
16650 (ELEMENT): Likewise.
16651 (DEFAULT): Likewise.
16652 (wctrans_table_add): Move macro and inline function earlier in
16654 (struct wctype_table): Move type earlier in file.
16655 (add_locale_wctype_table): New static prototype.
16656 (struct locale_ctype_t): Use logical types instead of struct iovec
16657 pointers for members.
16658 (ctype_output): Use new locale_file interface.
16659 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16660 new locale_file interface.
16661 (allocate_arrays): Update for use of new locale_file interface.
16662 * locale/programs/ld-identification.c (identification_output): Use
16663 new locale_file interface.
16664 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16665 * locale/programs/ld-messages.c (messages_output): Likewise.
16666 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16667 * locale/programs/ld-name.c (name_output): Likewise.
16668 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16669 * locale/programs/ld-paper.c (paper_output): Likewise.
16670 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16671 * locale/programs/ld-time.c (time_output): Likewise.
16673 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16675 * benchtests/Makefile: Add memrchr benchmark.
16676 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16677 benchmark as memrchr.
16678 * benchtests/bench-memrchr-ifunc.c: New file.
16679 * benchtests/bench-memrchr.c: New file.
16681 2013-09-06 Will Newton <will.newton@linaro.org>
16683 * benchtests/Makefile (string-bench): Add memcpy.
16685 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16686 Cong Wang <amwang@redhat.com>
16689 * sysdeps/unix/sysv/linux/bits/in.h
16690 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16691 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16692 before __USE_KERNEL_IPV6_DEFS uses.
16693 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16695 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16696 sockaddr_in6, or ipv6_mreq.
16698 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16700 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16701 memory access for final bytes in some large inputs.
16702 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16704 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16706 * string/test-memrchr.c: New file.
16707 * string/test-memrchr-ifunc.c: New file.
16708 * string/Makefile: Add new memrchr testcase.
16710 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16712 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16713 fanotify_init returns EPERM.
16715 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16717 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16719 (top level): Treat second token from macro or constant entries for
16720 allowed headers as allowed.
16721 * include/complex.h: Condition internal declarations on
16723 * include/fenv.h: Condition include of <stdbool.h> and internal
16724 declarations on [!_ISOMAC].
16726 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16729 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16731 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16733 * configure.in (--enable-versioning): Remove configure option.
16734 (libc_cv_asm_symver_directive): Remove configure test.
16735 (libc_cv_ld_version_script_option): Likewise.
16736 (VERSIONING): Remove variable and AC_SUBST.
16737 (DO_VERSIONING): Remove AC_DEFINE.
16738 * configure: Regenerated.
16739 * config.h.in (DO_VERSIONING): Remove macro.
16740 * Makerules [$(versioning) = yes]: Change conditionals to
16741 [$(build-shared) = yes].
16742 * config.make.in (versioning): Remove variable.
16743 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16744 [$(build-shared) = yes].
16745 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16746 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16747 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16748 [$(build-shared) = yes].
16749 * extra-lib.mk [$(versioning) = yes]: Likewise.
16750 * hurd/Makefile [$(versioning) = yes]: Likewise.
16751 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16753 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16755 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16756 [SHARED && !NO_HIDDEN].
16757 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16759 [SHARED && DO_VERSIONING]: Likewise..
16760 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16761 [$(build-shared) = yes].
16762 * manual/install.texi (--disable-versioning): Remove
16764 * INSTALL: Regenerated.
16765 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16767 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16768 [$(build-shared) = yes].
16769 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16770 * sysdeps/i386/i686/multiarch/strstr-c.c
16771 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16772 [SHARED && !NO_HIDDEN].
16773 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16774 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16775 * sysdeps/powerpc/powerpc32/dl-machine.c
16776 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16777 * sysdeps/powerpc/powerpc32/sysdep.h
16778 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16779 to [SHARED && PIC && !NO_HIDDEN].
16780 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16781 conditional to [SHARED].
16783 2013-09-04 Will Newton <will.newton@linaro.org>
16785 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16786 * benchtests/bench-string.h: Include bench-timing.h instead
16787 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16788 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16789 call to HP_TIMING_DIFF_INIT.
16790 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16791 instead of hp-timing.h macros.
16792 * benchtests/bench-memchr.c: Likewise.
16793 * benchtests/bench-memcmp.c: Likewise.
16794 * benchtests/bench-memcpy.c: Likewise.
16795 * benchtests/bench-memmem.c: Likewise.
16796 * benchtests/bench-memmove.c: Likewise.
16797 * benchtests/bench-memset.c: Likewise.
16798 * benchtests/bench-rawmemchr.c: Likewise.
16799 * benchtests/bench-strcasecmp.c: Likewise.
16800 * benchtests/bench-strcasestr.c: Likewise.
16801 * benchtests/bench-strcat.c: Likewise.
16802 * benchtests/bench-strchr.c: Likewise.
16803 * benchtests/bench-strcmp.c: Likewise.
16804 * benchtests/bench-strcpy.c: Likewise.
16805 * benchtests/bench-strcpy_chk.c: Likewise.
16806 * benchtests/bench-strlen.c: Likewise.
16807 * benchtests/bench-strncasecmp.c: Likewise.
16808 * benchtests/bench-strncat.c: Likewise.
16809 * benchtests/bench-strncmp.c: Likewise.
16810 * benchtests/bench-strncpy.c: Likewise.
16811 * benchtests/bench-strnlen.c: Likewise.
16812 * benchtests/bench-strpbrk.c: Likewise.
16813 * benchtests/bench-strrchr.c: Likewise.
16814 * benchtests/bench-strspn.c: Likewise.
16815 * benchtests/bench-strstr.c: Likewise.
16817 2013-09-04 Will Newton <will.newton@linaro.org>
16819 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16821 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16824 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16825 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16826 * math/libm-test.inc (lgamma_test_data): Add more tests.
16827 * sysdeps/i386/fpu/libm-test-ulps: Update.
16828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16830 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16832 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16833 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16836 Add strcmp-sse2-unaligned
16837 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16839 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16841 * Versions.def (libc): Add GLIBC_2.19.
16843 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16845 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16846 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16848 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16851 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16852 intermediate calculations in recurrence.
16853 (__ieee754_ynf): Likewise.
16854 * math/libm-test.inc (jn_test_data): Do not allow spurious
16855 underflow exception. Add more tests.
16856 (yn_test_data): Add more tests.
16857 * sysdeps/i386/fpu/libm-test-ulps: Update.
16858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16860 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16862 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16864 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16866 * csu/init-first.c: Fix then/than typos.
16867 * locale/programs/ld-collate.c: Likewise.
16868 * locale/programs/linereader.h: Likewise.
16869 * manual/charset.texi: Likewise.
16870 * manual/filesys.texi: Likewise.
16871 * manual/stdio.texi: Likewise.
16872 * manual/string.texi: Likewise.
16873 * stdlib/fmtmsg.c: Likewise.
16874 * sysdeps/i386/stpncpy.S: Likewise.
16875 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16876 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16877 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16878 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16880 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16882 * elf/dl-open.c: Fix typos.
16883 * iconvdata/gbbig5.c: Likewise.
16884 * iconvdata/iso-2022-jp.c: Likewise.
16885 * iconv/gconv_int.h: Likewise.
16886 * iconv/loop.c: Likewise.
16887 * nis/rpcsvc/nis.h: Likewise.
16888 * resolv/ns_name.c: Likewise.
16889 * stdio-common/vfscanf.c: Likewise.
16890 * streams/stropts.h: Likewise.
16891 * sunrpc/rpc_thread.c: Likewise.
16892 * sysdeps/i386/strpbrk.S: Likewise.
16893 * sysdeps/ieee754/k_standard.c: Likewise.
16894 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16895 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16896 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16897 * sysdeps/mach/hurd/profil.c: Likewise.
16898 * sysdeps/s390/dl-procinfo.h: Likewise.
16899 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16900 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16901 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16902 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16903 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16905 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16907 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16908 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16910 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16912 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16913 aix specific files.
16914 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16915 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16916 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16917 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16918 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16919 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16920 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16921 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16923 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16924 Roland McGrath <roland@hack.frob.com>
16926 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16927 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16929 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16931 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16932 __executable_start symbol instead of _start.
16934 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16936 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16937 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16939 * sysdeps/gnu/ldsodefs.h: ... this new file.
16941 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16942 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16943 instead of ELFOSABI_LINUX.
16945 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16946 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16947 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16948 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16950 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16951 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16952 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16954 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16955 (ibm_extended_long_double): Add ieee_nan member.
16956 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16957 (do_test): New function.
16959 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16961 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16962 functions, renamed from truncdfsf_test, trunctfsf_test,
16964 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16966 (do_test): Run all these.
16968 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16970 * argp/argp-help.c: Fix typos.
16971 * argp/argp-parse.c: Likewise.
16972 * debug/backtracesyms.c: Likewise.
16973 * elf/elf.h: Likewise.
16974 * malloc/malloc.c: Likewise.
16975 * nis/nis_print.c: Likewise.
16976 * resolv/res_comp.c: Likewise.
16977 * stdlib/stdlib.h: Likewise.
16978 * sunrpc/clnt_tcp.c: Likewise.
16979 * sunrpc/clnt_udp.c: Likewise.
16980 * sunrpc/clnt_unix.c: Likewise.
16981 * sysdeps/unix/bsd/ptsname.c: Likewise.
16982 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16983 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16990 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16992 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16994 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16997 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17000 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17001 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17002 ($(objpfx)bug-dl-leaf): New rule.
17003 ($(objpfx)bug-dl-leaf.so): Likewise.
17004 ($(objpfx)bug-dl-leaf.out): Likewise.
17005 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17006 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17007 * dlfcn/bug-dl-leaf.c: New test.
17008 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17009 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17010 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17011 (dlclose): Likewise.
17012 (dlmopen): Likewise.
17014 2013-08-27 Roland McGrath <roland@hack.frob.com>
17016 * include/netdb.h [!_ISOMAC]:
17017 Don't include <tls.h>.
17018 (h_errno, __libc_h_errno): Move declaration and macros out of
17021 * include/resolv.h [_RESOLV_H_]:
17022 Don't include <tls.h>.
17023 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17024 * resolv/res_libc.c: Don't include <tls.h>.
17025 (_res): Use __attribute__ ((nocommon)) in place of
17026 __attribute__ ((section (".bss"))).
17028 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17029 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17031 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17033 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17034 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17036 * resolv/res_mkquery.c: Include <sys/time.h>.
17038 * inet/ifreq.c: Moved to ...
17039 * sysdeps/unix/ifreq.c: ... here.
17040 * inet/ifreq.c: New file, true stub version.
17042 * socket/sa_len.c: New file.
17043 * socket/Makefile (aux): Add it.
17044 * sysdeps/unix/sysv/linux/Makefile
17045 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17046 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17047 and #include <socket/sa_len.c>.
17048 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17049 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17051 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17052 * bits/socket.h: ... here.
17054 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17055 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17056 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17058 2013-08-27 Andreas Schwab <schwab@suse.de>
17061 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17062 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17063 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17064 * string/test-strcasecmp.c (test_main): Run tests in several
17066 * string/test-strncasecmp.c (test_main): Likewise.
17068 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17069 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17070 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17072 (__strncasecmp_ssse3) [PIC]: Likewise.
17074 2013-08-26 Roland McGrath <roland@hack.frob.com>
17076 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17078 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17079 instead of explicitly declaring xdecrypt.
17080 * nis/nss_nis/nis-publickey.c: Likewise.
17082 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17085 * nscd/aicache.c: Include res_hconf.h.
17086 (addhstaiX): Initialize res_hconf.
17088 2013-08-26 Andreas Schwab <schwab@suse.de>
17090 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17091 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17093 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17095 * nscd/aicache.c (addhstaiX): Fix indentation.
17097 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17099 * configure.ac: Quote $build_pt_chown test.
17100 * configure: Regenerated.
17102 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17105 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17106 * math/s_cexpf.c (__cexpf): Likewise.
17107 * math/s_cexpl.c (__cexpl): Likewise.
17108 * math/libm-test.inc (cexp_test_data): Correct expected return
17109 value for NaN + i0. Add another test.
17111 2013-08-22 David S. Miller <davem@davemloft.net>
17113 * po/ca.po: Update Catalan translation from translation project.
17114 * po/uk.po: Add Ukrainian translations from translation project.
17116 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17119 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17120 is infinite, not alongside NaN test.
17121 * math/s_fdimf.c (__fdimf): Likewise.
17122 * math/s_fdiml.c (__fdiml): Likewise.
17123 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17124 errno is unchanged.
17126 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17128 * argp/argp-help.c: Fix typos.
17129 * crypt/speeds.c: Likewise.
17130 * csu/check_fds.c: Likewise.
17131 * elf/dl-load.c: Likewise.
17132 * elf/dl-open.c: Likewise.
17133 * elf/reldep3.c: Likewise.
17134 * elf/reldep.c: Likewise.
17135 * elf/sprof.c: Likewise.
17136 * iconv/iconv_charmap.c: Likewise.
17137 * iconv/skeleton.c: Likewise.
17138 * iconv/strtab.c: Likewise.
17139 * io/lockf64.c: Likewise.
17140 * libio/libioP.h: Likewise.
17141 * resolv/gai_notify.c: Likewise.
17142 * resolv/ns_name.c: Likewise.
17143 * resolv/ns_samedomain.c: Likewise.
17144 * resolv/res_send.c: Likewise.
17145 * stdlib/random.c: Likewise.
17146 * sunrpc/rpc/xdr.h: Likewise.
17147 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17148 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17149 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17150 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17151 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17152 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17153 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17154 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17155 * sysdeps/mach/hurd/check_fds.c: Likewise.
17156 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17157 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17158 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17159 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17160 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17161 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17162 * sysdeps/pthread/aio_notify.c: Likewise.
17163 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17164 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17165 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17166 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17167 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17169 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17171 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17172 version if bit_Slow_SSE4_2 is set.
17173 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17174 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17176 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17179 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17180 trampoline stack frame information.
17181 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17182 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17183 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17184 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17185 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17186 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17187 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17188 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17190 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17191 interrupting a syscall and set with option SA_SIGINFO.
17193 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17196 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17197 argument is infinite.
17198 * math/s_cprojf.c (__cprojf): Likewise.
17199 * math/s_cprojl.c (__cprojl): Likewise.
17200 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17201 * math/libm-test.inc (cproj_test_data): Add more tests.
17203 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17205 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17206 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17207 size. Use __ffs to determine corresponding shift.
17209 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17210 Roland McGrath <roland@hack.frob.com>
17212 * Makefile (INSTALL): Remove trailing blank lines from output of
17215 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17217 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17218 Align 32 bit compat elf_greg to 8 bytes.
17220 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17222 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17224 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17226 * string/strcoll_l.c (coll_seq): New structure.
17227 (get_next_seq_cached): New function.
17228 (get_next_seq): New function.
17229 (do_compare): New function.
17230 (STRCOLL): Use GNU style definition. Simplify implementation
17231 by using get_next_seq, get_next_seq_cached and do_compare.
17233 2013-08-16 Florian Weimer <fweimer@redhat.com>
17237 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17239 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17241 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17242 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17243 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17245 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17246 GETDENTS_64BIT_ALIGNED.
17247 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17248 * manual/filesys.texi (Reading/Closing Directory): Document
17249 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17251 * manual/conf.texi (Limits for Files): Add portability note to
17252 NAME_MAX, PATH_MAX.
17253 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17255 2013-08-13 Andreas Schwab <schwab@suse.de>
17258 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17260 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17261 LDBL_MAX_EXP >= 16384]: Add tests for it.
17263 2013-08-12 David S. Miller <davem@davemloft.net>
17265 * version.h (RELEASE): Set to "development".
17266 (VERSION): Set to "2.18.90".
17267 * NEWS: Add 2.19 section.
17269 2013-08-03 David S. Miller <davem@davemloft.net>
17271 * po/ko.po: Update Korean translation from translation project.
17273 2013-08-01 David S. Miller <davem@davemloft.net>
17275 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17276 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17279 2013-07-30 David S. Miller <davem@davemloft.net>
17281 * po/fr.po: Update French translation from translation project.
17283 2013-07-28 David S. Miller <davem@davemloft.net>
17285 * po/cs.po: Update Czech translation from translation project.
17287 * po/sv.po: Update Swedish translation from translation project.
17289 2013-07-27 David S. Miller <davem@davemloft.net>
17291 * po/eo.po: Update Esperanto translation from translation project.
17293 * po/vi.po: Update Vietnamese translation from translation project.
17295 * po/de.po: Update German translation from translation project.
17297 2013-07-26 David S. Miller <davem@davemloft.net>
17299 * po/bg.po: Update Bulgarian translation from translation project.
17301 * po/nl.po: Update Dutch translation from translation project.
17302 * po/pl.po: Update Polish translation from translation project.
17303 * po/ru.po: Update Russian translation from translation project.
17305 2013-07-24 David S. Miller <davem@davemloft.net>
17307 * po/libc.pot: Update.
17309 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17311 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17312 variable page size.
17313 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17314 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17315 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17317 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17319 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17321 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17322 Andreas Schwab <schwab@suse.de>
17323 Roland McGrath <roland@hack.frob.com>
17324 Joseph Myers <joseph@codesourcery.com>
17325 Carlos O'Donell <carlos@redhat.com>
17328 * config.h.in: Define HAVE_PT_CHOWN.
17329 * config.make.in (build-pt-chown): New variable.
17330 * configure.in (--enable-pt_chown): New configure option.
17331 * configure: Regenerate.
17332 * login/Makefile: Include Makeconfig. Build pt_chown only if
17333 build-pt-chown is enabled.
17334 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17335 pt_chown to fix pty ownership.
17336 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17338 * manual/install.texi (Configuring and compiling): Mention
17339 --enable-pt_chown. Add @findex for grantpt.
17340 * INSTALL: Regenerate.
17342 2013-07-20 David S. Miller <davem@davemloft.net>
17344 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17345 difference between 32-bit and 64-bit.
17347 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17350 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17351 Avoid system header dependency with -ffreestanding.
17352 ($(objpfx)bits/syscall%d): Likewise.
17354 2013-07-13 David S. Miller <davem@davemloft.net>
17356 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17357 underflows from atanl/atan2l due to bug 15319.
17358 (casinh_test_data): Likewise.
17360 2013-07-07 David S. Miller <davem@davemloft.net>
17362 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17364 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17366 * sysdeps/i386/fpu/libm-test-ulps: Update.
17367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17369 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17371 * configure.in (--enable-lock-elision): Fix message text.
17372 * INSTALL: Regenerate.
17373 * configure: Regenerate.
17375 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17379 2013-07-03 Andreas Jaeger <aj@suse.de>
17381 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17383 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17384 (ptrace_peeksiginfo_args): Add.
17385 (__ptrace_peeksiginfo_flags): Add.
17386 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17387 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17388 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17390 2013-07-03 Allan McRae <allan@archlinux.org>
17392 * sysdeps/i386/fpu/libm-test-ulps: Update.
17394 2013-07-02 David S. Miller <davem@davemloft.net>
17396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17398 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17402 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17404 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17407 2013-07-02 Andi Kleen <ak@linux.intel.com>
17409 * config.h.in (ENABLE_LOCK_ELISION): Add.
17410 * configure.in (--enable-lock-elision): Add option.
17411 * manual/install.texi: Document --enable lock elision.
17412 * configure: Regenerate
17413 * INSTALL: Regenerate.
17415 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17417 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17418 SSE4.2 strcasecmp for libc.a.
17419 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17421 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17424 * soft-fp/op-common.h (_FP_FMA): New macro.
17425 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17426 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17427 (_FP_MUL_MEAT_1_imm): ... here.
17428 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17429 (_FP_MUL_MEAT_1_wide): ... here.
17430 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17431 (_FP_MUL_MEAT_1_hard): ... here.
17432 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17433 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17434 (_FP_MUL_MEAT_2_wide): ... here.
17435 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17436 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17437 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17438 (_FP_MUL_MEAT_2_gmp): ... here.
17439 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17440 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17441 (_FP_MUL_MEAT_4_wide): ... here.
17442 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17443 (_FP_MUL_MEAT_4_gmp): ... here.
17444 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17445 (_FP_WFRACBITS_DW_S): Likewise.
17446 (_FP_WFRACXBITS_DW_S): Likewise.
17447 (_FP_HIGHBIT_DW_S): Likewise.
17448 (FP_FMA_S): Likewise.
17449 (_FP_FRAC_HIGH_DW_S): Likewise.
17450 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17451 (_FP_WFRACBITS_DW_D): Likewise.
17452 (_FP_WFRACXBITS_DW_D): Likewise.
17453 (_FP_HIGHBIT_DW_D): Likewise.
17454 (FP_FMA_D): Likewise.
17455 (_FP_FRAC_HIGH_DW_D): Likewise.
17456 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17457 (_FP_WFRACBITS_DW_E): Likewise.
17458 (_FP_WFRACXBITS_DW_E): Likewise.
17459 (_FP_HIGHBIT_DW_E): Likewise.
17460 (FP_FMA_E): Likewise.
17461 (_FP_FRAC_HIGH_DW_E): Likewise.
17462 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17463 (_FP_WFRACBITS_DW_Q): Likewise.
17464 (_FP_WFRACXBITS_DW_Q): Likewise.
17465 (_FP_HIGHBIT_DW_Q): Likewise.
17466 (FP_FMA_Q): Likewise.
17467 (_FP_FRAC_HIGH_DW_Q): Likewise.
17468 * soft-fp/fmasf4.c: New file.
17469 * soft-fp/fmadf4.c: Likewise.
17470 * soft-fp/fmatf4.c: Likewise.
17472 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17475 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17477 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17479 (index_Slow_SSE4_2): Likewise.
17480 (index_Prefer_PMINUB_for_stringop): Likewise.
17481 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17482 bit_Slow_SSE4_2 is set.
17483 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17484 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17486 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17488 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17489 rtld_global._dl_hwcap2.
17490 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17492 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17493 POWER8 feature descriptions defined in _dl_hwcap2.
17494 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17495 string handling for POWER8 feature bits.
17496 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17497 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17498 _dl_powerpc_cap_flags.
17499 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17500 * sysdeps/powerpc/rtld-global-offsets.sym
17501 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17502 _dl_hwcap2 in the rtld_global_ro structure.
17504 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17506 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17507 hardware capabilities in support of AT_HWCAP2.
17508 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17509 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17511 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17512 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17513 explicitly the unknown a_type display mechanism is used.
17514 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17515 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17517 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17518 to macro prototype for AT_HWCAP2 support.
17519 * sysdeps/i386/dl-procinfo.h: Likewise.
17520 * sysdeps/s390/dl-procinfo.h: Likewise.
17521 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17522 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17523 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17524 return -1 for unknown a_type display fallback.
17525 * sysdeps/sparc/dl-procinfo.h: Likewise.
17526 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17527 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17529 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17531 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17532 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17534 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17537 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17538 mprotect making __stack_prot writable.
17540 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17541 Joseph Myers <joseph@codesourcery.com>
17543 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17544 as being properly aligned.
17546 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17548 * dlfcn/modstatic5.c: New file.
17549 * dlfcn/tststatic5.c: New file.
17550 * dlfcn/Makefile (tests): Add tststatic5.
17551 (tests-static): Likewise.
17552 (modules-names): Add modstatic5.
17553 (tststatic5-ENV): New variable.
17554 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17557 * elf/dl-support.c (_dl_main_map): New variable.
17558 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17559 (_dl_nns, _dl_load_adds): Set to 1.
17560 (_dl_initial_searchlist): Refer to _dl_main_map.
17561 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17562 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17563 call to _dl_get_origin.
17564 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17566 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17567 * dlfcn/modstatic3.c: New file.
17568 * dlfcn/tststatic3.c: New file.
17569 * dlfcn/tststatic4.c: New file.
17570 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17571 (tests-static): Likewise.
17572 (modules-names): Add modstatic3.
17573 (tststatic3-ENV, tststatic4-ENV): New variables.
17574 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17575 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17577 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17579 * configure.in (CC): Require GCC version 4.4 or later.
17580 * configure: Regenerated.
17581 * manual/install.texi (Tools for Compilation): Update GCC version
17583 * INSTALL: Regenerated.
17585 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17588 * string/test-memcmp.c (check2): New.
17589 (main): Call check2.
17591 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17593 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17596 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17598 (dl_open_worker) [!SHARED]: ... here.
17600 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17602 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17604 2013-06-25 Richard Henderson <rth@redhat.com>
17606 * locale/programs/locarchive.c: Include <libc-internal.h>
17608 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17610 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17611 trailing whitespace removed.
17613 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17616 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17617 * locale/programs/locarchive.c: Include libc-mmap.h.
17618 (prepare_address_space): Take two new outputs (the mmap base and len).
17619 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17621 (create_archive): Declare new mmap base and len values for
17622 prepare_address_space, and store the result in ah.
17623 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17624 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17625 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17626 Declare new mmap base and len values for
17627 prepare_address_space, and store the result in new_ah.
17628 (open_archive): Declare new mmap base and len values for
17629 prepare_address_space, and store the result in ah.
17630 (close_archive): If ah->mmap_base is not NULL, use that and
17631 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17632 * sysdeps/generic/libc-mmap.h: New file.
17634 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17636 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17637 (ALIGN_UP): Likewise.
17638 (PTR_ALIGN_DOWN): Likewise.
17639 (PTR_ALIGN_UP): Likewise.
17641 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17643 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17644 entry mapped to PPC_PLATFORM_POWER8.
17645 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17647 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17648 (_dl_string_platform): Add case for exporting platform position for
17650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17651 search path to sysdeps/powerpc/powerpc32/power8 directory.
17652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17653 search path to sysdeps/powerpc/powerpc64/power8 directory.
17654 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17655 power7 directories.
17656 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17657 power7 directories.
17659 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17661 * INSTALL: Regenerate.
17663 * nscd/connections.c (nscd_init): Fix comment.
17665 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17667 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17670 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17671 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17673 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17675 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17677 (DL_DST_REQ_STATIC): Remove macro.
17679 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17682 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17683 with a shift of 0 bits.
17685 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17687 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17690 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17693 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17695 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17697 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17698 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17699 accepts -fno-tree-loop-distribute-patterns.
17700 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17701 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17703 * string/memset.c (memset): Likewise.
17704 * string/test-memmove.c (simple_memmove): Disable loop transformation
17706 * string/test-memset.c (simple_memset): Likewise.
17707 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17708 * benchtests/bench-memset.c (simple_memset): Likewise.
17709 * configure: Regenerated.
17711 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17713 * math/test-misc.c (main): Ignore fesetround failure when failures
17714 of subsequent rounding tests would be ignored.
17717 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17718 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17719 * math/fegetenv.c (__fegetenv): Return 0.
17720 * math/fegetexcept.c (fegetexcept): Return 0.
17721 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17723 * math/feholdexcpt.c (feholdexcept): Return 0.
17724 * math/fesetenv.c (__fesetenv): Return 0.
17725 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17726 argument FE_TONEAREST.
17727 * math/feupdateenv.c (__feupdateenv): Return 0.
17728 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17730 2013-06-18 Roland McGrath <roland@hack.frob.com>
17732 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17733 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17734 ($(objpfx)rtld-%.os rules): Use them.
17736 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17738 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17741 2013-06-17 Roland McGrath <roland@hack.frob.com>
17743 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17744 length of target pattern, then descending length of dependency pattern.
17745 * configure.in (AWK): Require gawk 3.1.2 or newer.
17746 * manual/install.texi (Tools for Compilation): Say that we do.
17747 * configure: Regenerated.
17749 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17750 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17751 * scripts/sysd-rules.awk: ... this new script.
17752 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17753 than a glob-style pattern.
17755 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17757 * math/test-misc.c (main): Do not treat incorrectly rounded
17758 conversions as failure unless ROUNDING_TESTS passes.
17760 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17763 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17764 restore exception state around main square root computation, then
17765 check for inexactness explicitly.
17767 * math/libm-test.inc (fma_test_data): Add another test.
17769 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17771 * manual/threads.texi (Non-POSIX Extensions): New document
17772 node. Document pthread_getattr_default_np and
17773 pthread_setattr_default_np.
17775 * Versions.def (libpthread): Add GLIBC_2.18.
17776 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17785 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17796 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17799 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17801 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17802 H.J. Lu <hjl.tools@gmail.com>
17805 * sysdeps/x86_64/rtld-memset.c: Remove file.
17806 * sysdeps/x86_64/rtld-memset.S: New file.
17808 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17810 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17811 (test_in_one_mode): Take arguments for whether the rounding mode
17812 is supported for each floating-point type.
17813 (do_test): Pass new arguments to test_in_one_mode using
17816 2013-06-13 Roland McGrath <roland@hack.frob.com>
17818 * posix/tst-waitid.c (do_test): Distinguish different instances of
17819 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17820 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17821 before entering the kernel for waitpid.
17823 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17825 * NEWS: Fix note on clock function precision. Text by Roland
17828 2013-06-13 Roland McGrath <roland@hack.frob.com>
17830 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17831 it into place only when and if the sanity check passes.
17833 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17835 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17836 output for whether conversion result is exact. Take argument
17837 indicating whether type is IBM long double.
17838 (round_for_all): Change need_exact field to ibm_ld.
17839 * stdlib/tst-strtod-round.c (struct exactness): New type.
17840 (struct test): Change bool ld_ok field to struct exactness exact.
17841 (TEST): Update all definitions for change to field.
17842 (tests): Regenerate array contents.
17843 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17844 field value. Check for IBM long double here.
17845 (do_test): Update calls to test_in_one_mode.
17847 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17850 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17851 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17853 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17856 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17857 generated by the compiler on loop optimizations.
17858 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17859 general definitions.
17861 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17863 * math/bug-nextafter.c: Include <math-tests.h>.
17864 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17866 * math/bug-nexttoward.c: Include <math-tests.h>.
17867 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17869 * math/test-misc.c: Include <math-tests.h>.
17870 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17873 2013-06-12 Andreas Jaeger <aj@suse.de>
17875 * po/ia.po: Update Interlingua translation from translation
17878 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17880 * include/fenv.h: Include stdbool.h.
17881 (struct rm_ctx): New structure.
17882 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17884 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17885 (SET_RESTORE_ROUNDF): Likewise.
17886 (SET_RESTORE_ROUNDL): Likewise.
17887 (SET_RESTORE_ROUND_NOEX): Likewise.
17888 (SET_RESTORE_ROUND_NOEXF): Likewise.
17889 (SET_RESTORE_ROUND_NOEXL): Likewise.
17890 (SET_RESTORE_ROUND_53BIT): Likewise.
17891 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17892 (libc_feresetround_noexf_ctx): Likewise.
17893 (libc_feresetround_noexl_ctx): Likewise.
17894 (libc_feholdsetround_53bit_ctx): Likewise.
17895 (libc_feresetround_53bit_ctx): Likewise.
17896 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17897 (libc_feholdexcept_setround_sse_ctx): New function.
17898 (libc_fesetenv_sse_ctx): Likewise.
17899 (libc_feupdateenv_sse_ctx): Likewise.
17900 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17901 (libc_feholdexcept_setround_387_ctx): Likewise.
17902 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17903 (libc_feholdsetround_387_prec_ctx): Likewise.
17904 (libc_feholdsetround_387_ctx): Likewise.
17905 (libc_feholdsetround_387_53bit_ctx): Likewise.
17906 (libc_feholdsetround_sse_ctx): Likewise.
17907 (libc_feresetround_sse_ctx): Likewise.
17908 (libc_feresetround_387_ctx): Likewise.
17909 (libc_feupdateenv_387_ctx): Likewise.
17910 (libc_feholdexcept_setroundf_ctx): Define macro.
17911 (libc_fesetenvf_ctx): Likewise.
17912 (libc_feupdateenvf_ctx): Likewise.
17913 (libc_feholdsetroundf_ctx): Likewise.
17914 (libc_feresetroundf_ctx): Likewise.
17915 (libc_feholdexcept_setround_ctx): Likewise.
17916 (libc_fesetenv_ctx): Likewise.
17917 (libc_feupdateenv_ctx): Likewise.
17918 (libc_feholdsetround_ctx): Likewise.
17919 (libc_feresetround_ctx): Likewise.
17920 (libc_feholdexcept_setroundl_ctx): Likewise.
17921 (libc_feupdateenvl_ctx): Likewise.
17922 (libc_feholdsetroundl_ctx): Likewise.
17923 (libc_feresetroundl_ctx): Likewise.
17924 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17925 (libc_feresetround_53bit_ctx): Likewise.
17927 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17929 * locale/iso-639.def: Convert to UTF-8.
17931 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17933 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17934 (EXCEPTION_TESTS_double): Likewise.
17935 (EXCEPTION_TESTS_long_double): Likewise.
17936 (EXCEPTION_TESTS): Likewise.
17937 * math/libm-test.inc (test_exceptions): Only test exceptions if
17938 EXCEPTION_TESTS (FLOAT).
17940 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17942 * benchtests/Makefile (string-bench): Add strcpy_chk and
17944 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17945 * benchtests/bench-stpcpy_chk.c: New file.
17946 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17947 * benchtests/bench-strcpy_chk.c: New file.
17948 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17950 (do_test): Likewise.
17952 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17954 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17955 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17956 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17957 with tabs where appropriate.
17958 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17960 [PPC_PLATFORM_PPC440]: Likewise.
17961 [PPC_PLATFORM_PPC464]: Likewise.
17962 [PPC_PLATFORM_PPC476]: Likewise.
17963 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17964 ppc464, and ppc476 platform strings merging from ports/
17967 2013-06-11 Andreas Schwab <schwab@suse.de>
17970 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17971 (from_ucs4_idx): Regenerate.
17972 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17973 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17974 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17975 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17976 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17977 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17978 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17979 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17980 from FROM_LOOP and TO_LOOP specific macros.
17981 (BODY): Handle combining characters.
17982 * iconvdata/BIG5HKSCS.irreversible: Update.
17983 * iconvdata/BIG5HKSCS.precomposed: New file.
17984 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17986 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17988 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17990 * include/sys/time.h: Fix indentation and add copyright header.
17992 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17993 (do_test): Likewise.
17994 * string/test-memchr.c (do_one_test): Likewise.
17995 (do_test): Likewise.
17996 * string/test-memcmp.c (do_one_test): Likewise.
17997 (do_test): Likewise.
17998 * string/test-memcpy.c (do_one_test): Likewise.
17999 (do_test): Likewise.
18000 * string/test-memmem.c (do_one_test): Likewise.
18001 (do_test): Likewise.
18002 (do_random_tests): Likewise.
18003 * string/test-memmove.c (do_one_test): Likewise.
18004 (do_test): Likewise.
18005 * string/test-memset.c (do_one_test): Likewise.
18006 (do_test): Likewise.
18007 * string/test-rawmemchr.c (do_one_test): Likewise.
18008 (do_test): Likewise.
18009 * string/test-strcasecmp.c (do_one_test): Likewise.
18010 (do_test): Likewise.
18011 * string/test-strcasestr.c (do_one_test): Likewise.
18012 (do_test): Likewise.
18013 * string/test-strcat.c (do_one_test): Likewise.
18014 (do_test): Likewise.
18015 * string/test-strchr.c (do_one_test): Likewise.
18016 (do_test): Likewise.
18017 * string/test-strcmp.c (do_one_test): Likewise.
18018 (do_test): Likewise.
18019 * string/test-strcpy.c (do_one_test): Likewise.
18020 (do_test): Likewise.
18021 * string/test-string.h: Likewise.
18022 (test_init): Likewise.
18023 * string/test-strlen.c (do_one_test): Likewise.
18024 (do_test): Likewise.
18025 * string/test-strncasecmp.c (do_one_test): Likewise.
18026 (do_test): Likewise.
18027 * string/test-strncat.c (do_one_test): Likewise.
18028 (do_test): Likewise.
18029 * string/test-strncmp.c (do_one_test): Likewise.
18030 (do_test_limit): Likewise.
18031 (do_test): Likewise.
18032 * string/test-strncpy.c (do_one_test): Likewise.
18033 (do_test): Likewise.
18034 * string/test-strnlen.c (do_one_test): Likewise.
18035 (do_test): Likewise.
18036 * string/test-strpbrk.c (do_one_test): Likewise.
18037 (do_test): Likewise.
18038 * string/test-strrchr.c (do_one_test): Likewise.
18039 (do_test): Likewise.
18040 * string/test-strspn.c (do_one_test): Likewise.
18041 (do_test): Likewise.
18042 * string/test-strstr.c (do_one_test): Likewise.
18043 (do_test): Likewise.
18045 * benchtests/Makefile (string-bench): Add string benchmarks.
18046 * benchtests/bench-bcopy-ifunc.c: New file.
18047 * benchtests/bench-bcopy.c: New file.
18048 * benchtests/bench-bzero-ifunc.c: New file.
18049 * benchtests/bench-bzero.c: New file.
18050 * benchtests/bench-memccpy-ifunc.c: New file.
18051 * benchtests/bench-memccpy.c: New file.
18052 * benchtests/bench-memchr-ifunc.c: New file.
18053 * benchtests/bench-memchr.c: New file.
18054 * benchtests/bench-memcmp-ifunc.c: New file.
18055 * benchtests/bench-memcmp.c: New file.
18056 * benchtests/bench-memmem-ifunc.c: New file.
18057 * benchtests/bench-memmem.c: New file.
18058 * benchtests/bench-memmove-ifunc.c: New file.
18059 * benchtests/bench-memmove.c: New file.
18060 * benchtests/bench-mempcpy-ifunc.c: New file.
18061 * benchtests/bench-mempcpy.c: New file.
18062 * benchtests/bench-memset-ifunc.c: New file.
18063 * benchtests/bench-memset.c: New file.
18064 * benchtests/bench-rawmemchr-ifunc.c: New file.
18065 * benchtests/bench-rawmemchr.c: New file.
18066 * benchtests/bench-stpcpy-ifunc.c: New file.
18067 * benchtests/bench-stpcpy.c: New file.
18068 * benchtests/bench-stpncpy-ifunc.c: New file.
18069 * benchtests/bench-stpncpy.c: New file.
18070 * benchtests/bench-strcasecmp-ifunc.c: New file.
18071 * benchtests/bench-strcasecmp.c: New file.
18072 * benchtests/bench-strcasestr-ifunc.c: New file.
18073 * benchtests/bench-strcasestr.c: New file.
18074 * benchtests/bench-strcat-ifunc.c: New file.
18075 * benchtests/bench-strcat.c: New file.
18076 * benchtests/bench-strchr-ifunc.c: New file.
18077 * benchtests/bench-strchr.c: New file.
18078 * benchtests/bench-strchrnul-ifunc.c: New file.
18079 * benchtests/bench-strchrnul.c: New file.
18080 * benchtests/bench-strcmp-ifunc.c: New file.
18081 * benchtests/bench-strcmp.c: New file.
18082 * benchtests/bench-strcpy-ifunc.c: New file.
18083 * benchtests/bench-strcpy.c: New file.
18084 * benchtests/bench-strcspn-ifunc.c: New file.
18085 * benchtests/bench-strcspn.c: New file.
18086 * benchtests/bench-strlen-ifunc.c: New file.
18087 * benchtests/bench-strlen.c: New file.
18088 * benchtests/bench-strncasecmp-ifunc.c: New file.
18089 * benchtests/bench-strncasecmp.c: New file.
18090 * benchtests/bench-strncat-ifunc.c: New file.
18091 * benchtests/bench-strncat.c: New file.
18092 * benchtests/bench-strncmp-ifunc.c: New file.
18093 * benchtests/bench-strncmp.c: New file.
18094 * benchtests/bench-strncpy-ifunc.c: New file.
18095 * benchtests/bench-strncpy.c: New file.
18096 * benchtests/bench-strnlen-ifunc.c: New file.
18097 * benchtests/bench-strnlen.c: New file.
18098 * benchtests/bench-strpbrk-ifunc.c: New file.
18099 * benchtests/bench-strpbrk.c: New file.
18100 * benchtests/bench-strrchr-ifunc.c: New file.
18101 * benchtests/bench-strrchr.c: New file.
18102 * benchtests/bench-strspn-ifunc.c: New file.
18103 * benchtests/bench-strspn.c: New file.
18104 * benchtests/bench-strstr-ifunc.c: New file.
18105 * benchtests/bench-strstr.c: New file.
18107 * benchtests/Makefile: Disable parallel execution of targets.
18108 (string-bench): Add memcpy.
18109 (benchset): New variable to store a list of benchmark sets.
18110 (bench-func): Renamed from bench.
18111 (bench-set): New target.
18112 (bench): Depend on bench-func and bench-set.
18113 * benchtests/README: Add section on benchmark sets.
18114 * benchtests/bench-memcpy-ifunc.c: New file.
18115 * benchtests/bench-memcpy.c: New file.
18116 * benchtests/bench-string.h: New file.
18118 2013-06-11 Andreas Schwab <schwab@suse.de>
18121 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18122 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18123 values in the triple.
18124 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18125 terminator in the group key.
18127 2013-06-11 Andreas Jaeger <aj@suse.de>
18129 * po/zh_TW.po: Update Chinese (traditional) translation from
18130 translation project.
18132 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18134 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18135 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18136 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18137 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18138 (clock_getcpuclockid): Likewise.
18139 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18140 Add weak_alias and libc_hidden_def.
18141 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18142 * rt/clock_gettime.c (clock_gettime): Rename to
18143 __clock_gettime. Add weak_alias and libc_hidden_def.
18144 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18145 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18146 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18147 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18148 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18150 * rt/clock_settime.c (clock_settime): Rename to
18151 __clock_settime. Add weak_alias and libc_hidden_def.
18152 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18154 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18156 * mach/err_boot.sub: Remove trailing whitespace.
18157 * mach/err_ipc.sub: Likewise.
18158 * mach/err_mach.sub: Likewise.
18160 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18161 (ROUNDING_TESTS_double): Likewise.
18162 (ROUNDING_TESTS_long_double): Likewise.
18163 (ROUNDING_TESTS): Likewise.
18164 * math/libm-test.inc: Include <math-tests.h>.
18165 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18166 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18167 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18168 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18170 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18172 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18175 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18177 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18178 otherwise empty TRANS lines.
18179 * sysdeps/gnu/errlist.c: Regenerated.
18181 * catgets/gencat.c (error_print): Use (void) in function
18183 * crypt/crypt_util.c (__init_des): Likewise.
18184 * crypt/speeds.c (Stop): Likewise.
18186 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18187 * inet/ruserpass.c (token): Likewise.
18188 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18189 * intl/localealias.c (extend_alias_table): Likewise.
18190 * intl/plural-exp.c (init_germanic_plural): Likewise.
18191 * libio/fcloseall.c (__fcloseall): Likewise.
18192 * libio/genops.c (_IO_flush_all): Likewise.
18193 (_IO_flush_all_linebuffered): Likewise.
18194 (_IO_cleanup): Likewise.
18195 (_IO_iter_begin): Likewise.
18196 (_IO_iter_end): Likewise.
18197 (_IO_list_lock): Likewise.
18198 (_IO_list_unlock): Likewise.
18199 (_IO_list_resetlock): Likewise.
18200 * libio/getchar.c (getchar): Likewise.
18201 * libio/getchar_u.c (getchar_unlocked): Likewise.
18202 * libio/getwchar.c (getwchar): Likewise.
18203 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18204 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18205 * login/getpt.c (__getpt): Likewise.
18206 * login/tst-utmp.c (main): Likewise.
18207 * malloc/hooks.c (__malloc_check_init): Likewise.
18208 * malloc/malloc.c (__malloc_stats): Likewise.
18209 * malloc/mtrace.c (tr_break): Likewise.
18210 (mtrace): Likewise.
18211 (muntrace): Likewise.
18212 * misc/fstab.c (endfsent): Likewise.
18213 * misc/getclktck.c (__getclktck): Likewise.
18214 * misc/getdtsz.c (__getdtablesize): Likewise.
18215 * misc/gethostid.c (gethostid): Likewise.
18216 * misc/getpagesize.c (__getpagesize): Likewise.
18217 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18218 (__get_nprocs): Likewise.
18219 (__get_phys_pages): Likewise.
18220 (__get_avphys_pages): Likewise.
18221 * misc/getttyent.c (getttyent): Likewise.
18222 (setttyent): Likewise.
18223 (endttyent): Likewise.
18224 * misc/getusershell.c (getusershell): Likewise.
18225 (endusershell): Likewise.
18226 (setusershell): Likewise.
18227 (initshells): Likewise.
18228 * misc/hsearch.c (__hdestroy): Likewise.
18229 * misc/sync.c (sync): Likewise.
18230 * misc/syslog.c (closelog_internal): Likewise.
18231 (closelog): Likewise.
18232 * misc/ttyslot.c (ttyslot): Likewise.
18233 * misc/vhangup.c (vhangup): Likewise.
18234 * posix/fork.c (__fork): Likewise.
18235 * posix/getegid.c (__getegid): Likewise.
18236 * posix/geteuid.c (__geteuid): Likewise.
18237 * posix/getgid.c (__getgid): Likewise.
18238 * posix/getpid.c (__getpid): Likewise.
18239 * posix/getppid.c (__getppid): Likewise.
18240 * posix/getuid.c (__getuid): Likewise.
18241 * posix/pause.c (pause): Likewise.
18242 * posix/setpgrp.c (setpgrp): Likewise.
18243 * posix/setsid.c (__setsid): Likewise.
18244 * posix/test-vfork.c (noop): Likewise.
18245 * resolv/gethnamaddr.c (_endhtent): Likewise.
18246 (_gethtent): Likewise.
18247 (ht_endhostent): Likewise.
18248 (gethostent): Likewise.
18249 (dns_service): Likewise.
18250 * stdlib/drand48.c (drand48): Likewise.
18251 * stdlib/lrand48.c (lrand48): Likewise.
18252 * stdlib/mrand48.c (mrand48): Likewise.
18253 * stdlib/rand.c (rand): Likewise.
18254 * stdlib/random.c (__random): Likewise.
18255 * stdlib/setenv.c (clearenv): Likewise.
18256 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18257 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18258 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18259 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18260 (__get_nprocs): Likewise.
18261 (__get_phys_pages): Likewise.
18262 (__get_avphys_pages): Likewise.
18263 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18264 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18265 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18266 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18267 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18268 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18269 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18270 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18271 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18272 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18273 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18274 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18275 * sysdeps/posix/clock.c (clock): Likewise.
18276 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18277 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18278 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18279 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18280 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18281 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18282 (__get_nprocs_conf): Likewise.
18283 (__get_phys_pages): Likewise.
18284 (__get_avphys_pages): Likewise.
18285 * time/clock.c (clock): Likewise.
18286 * time/tzset.c (__tzname_max): Likewise.
18288 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18290 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18291 (__bswap_32): Do not use "register".
18292 * crypt/crypt.c (_ufc_doit_r): Likewise.
18293 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18294 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18295 * gmon/gmon.c (__monstartup): Likewise.
18296 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18297 * hurd/hurdmalloc.c (more_memory): Likewise.
18298 (malloc): Likewise.
18300 (realloc): Likewise.
18301 (malloc_fork_prepare): Likewise.
18302 (malloc_fork_parent): Likewise.
18303 (malloc_fork_child): Likewise.
18304 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18305 (_svcauth_des): Likewise.
18306 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18307 * inet/inet_net.c (inet_network): Likewise.
18308 * inet/inet_netof.c (inet_netof): Likewise.
18309 * inet/rcmd.c (__validuser2_sa): Likewise.
18310 * io/fts.c (fts_open): Likewise.
18311 (fts_load): Likewise.
18312 (fts_close): Likewise.
18313 (fts_read): Likewise.
18314 (fts_children): Likewise.
18315 (fts_build): Likewise.
18316 (fts_stat): Likewise.
18317 (fts_sort): Likewise.
18318 (fts_alloc): Likewise.
18319 (fts_lfree): Likewise.
18320 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18321 (_IO_file_xsgetn): Likewise.
18322 (_IO_file_xsgetn_mmap): Likewise.
18323 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18324 (_IO_cookie_write): Likewise.
18325 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18326 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18327 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18328 * malloc/obstack.c (_obstack_begin): Likewise.
18329 (_obstack_begin_1): Likewise.
18330 (_obstack_newchunk): Likewise.
18331 (_obstack_allocated_p): Likewise.
18332 (obstack_free): Likewise.
18333 (_obstack_memory_used): Likewise.
18334 * misc/getttyent.c (getttynam): Likewise.
18335 (getttyent): Likewise.
18338 * misc/getusershell.c (initshells): Likewise.
18339 * misc/syslog.c (__vsyslog_chk): Likewise.
18340 * misc/ttyslot.c (ttyslot): Likewise.
18341 * nis/nis_hash.c (__nis_hash): Likewise.
18342 * posix/fnmatch_loop.c (FCT): Likewise.
18343 * posix/getconf.c (print_all): Likewise.
18345 * posix/getopt.c (exchange): Likewise.
18346 * posix/glob.c (globfree): Likewise.
18347 (prefix_array): Likewise.
18348 (__glob_pattern_type): Likewise.
18349 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18350 (NS_GET32): Likewise.
18351 (NS_PUT16): Likewise.
18352 (NS_PUT32): Likewise.
18353 * resolv/gethnamaddr.c (getanswer): Likewise.
18354 (gethostbyname2): Likewise.
18355 (gethostbyaddr): Likewise.
18356 (_gethtent): Likewise.
18357 (_gethtbyname2): Likewise.
18358 (_gethtbyaddr): Likewise.
18359 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18360 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18361 * resolv/res_init.c (__res_vinit): Likewise.
18362 (net_mask): Likewise.
18363 * resolv/res_mkquery.c (outchar): Likewise.
18365 * stdio-common/printf_fp.c (outchar): Likewise.
18367 * stdio-common/printf_fphex.c (outchar): Likewise.
18369 * stdio-common/printf_size.c (outchar): Likewise.
18371 * stdio-common/test_rdwr.c (main): Likewise.
18372 * stdio-common/tfformat.c (matches): Likewise.
18373 * stdio-common/vfprintf.c (outchar): Likewise.
18374 (printf_unknown): Likewise.
18375 (buffered_vfprintf): Likewise.
18376 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18377 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18378 (ReadFile): Likewise.
18379 * stdlib/qsort.c (SWAP): Likewise.
18380 (_quicksort): Likewise.
18381 * stdlib/setenv.c (__add_to_environ): Likewise.
18382 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18383 * stdlib/strtol_l.c (__strtol_l): Likewise.
18384 * stdlib/tst-strtod.c (main): Likewise.
18385 * stdlib/tst-strtol.c (main): Likewise.
18386 * stdlib/tst-strtoll.c (main): Likewise.
18387 * string/bits/string2.h (__strcmp_cc): Likewise.
18388 (__strcmp_cg): Likewise.
18389 (__strcspn_c1): Likewise.
18390 (__strcspn_c2): Likewise.
18391 (__strcspn_c3): Likewise.
18392 (__strspn_c1): Likewise.
18393 (__strspn_c2): Likewise.
18394 (__strspn_c3): Likewise.
18395 (__strsep_1c): Likewise.
18396 (__strsep_2c): Likewise.
18397 (__strsep_3c): Likewise.
18398 * string/memccpy.c (__memccpy): Likewise.
18399 * string/stpcpy.c (__stpcpy): Likewise.
18400 * string/strcmp.c (strcmp): Likewise.
18401 * string/strrchr.c (strrchr): Likewise.
18402 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18404 * sysdeps/mach/hurd/getcwd.c
18405 (_hurd_canonicalize_directory_name_internal): Likewise.
18406 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18407 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18408 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18409 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18410 Likewise, in both definitions.
18411 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18413 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18414 64] (__bswap_64): Likewise.
18415 * time/test_time.c (main): Likewise.
18416 * time/tzfile.c (__tzfile_read): Likewise.
18417 (__tzfile_compute): Likewise.
18418 * time/tzset.c (__tzset_parse_tz): Likewise.
18419 (tzset_internal): Likewise.
18420 (compute_change): Likewise.
18421 * wcsmbs/wcscat.c (__wcscat): Likewise.
18422 * wcsmbs/wcschr.c (wcschr): Likewise.
18423 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18424 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18425 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18426 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18427 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18428 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18429 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18430 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18431 * wcsmbs/wmemset.c (wmemset): Likewise.
18433 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18435 * scripts/config.guess: Update to version 2013-05-16.
18436 * scripts/config.sub: Update to version 2013-04-24.
18437 * scripts/install-sh: Update to version 2011-11-20.07.
18438 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18439 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18441 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18443 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18444 * elf/sln.c: Likewise.
18445 * hurd/hurd/ioctl.h: Likewise.
18446 * hurd/hurdmalloc.c: Likewise.
18447 * hurd/xattr.c: Likewise.
18448 * include/shlib-compat.h: Likewise.
18449 * inet/ruserpass.c: Likewise.
18450 * libio/iofgets_u.c: Likewise.
18451 * libio/iofgetws_u.c: Likewise.
18452 * locale/programs/ld-identification.c: Likewise.
18453 * locale/programs/ld-time.c: Likewise.
18454 * mach/msg-destroy.c: Likewise.
18455 * nss/nss_files/files-netgrp.c: Likewise.
18456 * resolv/res_data.c: Likewise.
18457 * soft-fp/op-1.h: Likewise.
18458 * soft-fp/op-2.h: Likewise.
18459 * soft-fp/op-4.h: Likewise.
18460 * soft-fp/op-common.h: Likewise.
18461 * stdio-common/printf_fphex.c: Likewise.
18462 * stdlib/strtod_l.c: Likewise.
18463 * sunrpc/rpc/clnt.h: Likewise.
18464 * sysdeps/generic/framestate.c: Likewise.
18465 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18466 * sysdeps/i386/bsd-setjmp.S: Likewise.
18467 * sysdeps/i386/__longjmp.S: Likewise.
18468 * sysdeps/i386/setjmp.S: Likewise.
18469 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18470 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18471 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18472 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18473 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18474 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18475 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18476 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18477 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18478 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18479 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18480 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18481 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18482 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18483 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18484 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18485 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18486 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18487 * sysdeps/ieee754/support.c: Likewise.
18488 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18489 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18490 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18491 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18492 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18493 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18494 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18495 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18496 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18497 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18498 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18499 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18500 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18501 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18502 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18503 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18504 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18507 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18509 * posix/transbug.c: Remove executable mode.
18511 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18513 * crypt/speeds.c: Remove trailing whitespace.
18514 * dlfcn/default.c: Likewise.
18515 * elf/ifuncdep2.c: Likewise.
18516 * elf/ifuncmain1.c: Likewise.
18517 * elf/ifuncmain1vis.c: Likewise.
18518 * elf/testobj.h: Likewise.
18519 * elf/tst-stackguard1.c: Likewise.
18520 * gmon/sys/gmon.h: Likewise.
18521 * hurd/hurdmsg.c: Likewise.
18522 * hurd/new-fd.c: Likewise.
18523 * hurd/ports-get.c: Likewise.
18524 * iconvdata/ibm1008_420.c: Likewise.
18525 * inet/tst-getni1.c: Likewise.
18526 * inet/tst-getni2.c: Likewise.
18527 * libio/ioungetc.c: Likewise.
18528 * libio/wfiledoalloc.c: Likewise.
18529 * manual/libm-err-tab.pl: Likewise.
18530 * math/w_dremf.c: Likewise.
18531 * misc/ftruncate.c: Likewise.
18532 * posix/bug-glob2.c: Likewise.
18533 * posix/tst-pcre.c: Likewise.
18534 * posix/wait4.c: Likewise.
18535 * resolv/README: Likewise.
18536 * resolv/res_debug.h: Likewise.
18537 * resolv/tst-inet_ntop.c: Likewise.
18538 * setjmp/bug269-setjmp.c: Likewise.
18539 * soft-fp/extended.h: Likewise.
18540 * soft-fp/op-1.h: Likewise.
18541 * soft-fp/op-2.h: Likewise.
18542 * soft-fp/op-4.h: Likewise.
18543 * soft-fp/op-8.h: Likewise.
18544 * soft-fp/testit.c: Likewise.
18545 * stdio-common/bug16.c: Likewise.
18546 * stdlib/random.c: Likewise.
18547 * sunrpc/rpcsvc/rquota.x: Likewise.
18548 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18549 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18550 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18551 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18552 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18553 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18554 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18555 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18556 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18557 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18558 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18559 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18560 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18561 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18562 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18563 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18564 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18565 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18566 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18567 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18568 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18569 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18570 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18571 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18572 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18573 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18574 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18575 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18576 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18577 * sysdeps/ieee754/s_lib_version.c: Likewise.
18578 * sysdeps/mach/hurd/check_fds.c: Likewise.
18579 * sysdeps/mach/hurd/getsockname.c: Likewise.
18580 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18581 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18582 * sysdeps/powerpc/bits/link.h: Likewise.
18583 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18584 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18585 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18586 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18587 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18588 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18589 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18590 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18591 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18592 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18593 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18594 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18595 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18596 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18597 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18598 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18599 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18600 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18601 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18602 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18603 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18604 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18605 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18606 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18607 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18608 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18609 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18610 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18611 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18612 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18613 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18614 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18615 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18616 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18617 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18618 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18619 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18620 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18621 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18622 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18623 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18624 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18625 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18626 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18627 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18628 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18629 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18630 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18631 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18632 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18633 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18634 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18635 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18636 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18637 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18638 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18639 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18640 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18641 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18642 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18643 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18644 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18645 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18646 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18647 * sysdeps/powerpc/sysdep.h: Likewise.
18648 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18649 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18650 * sysdeps/sh/dl-trampoline.S: Likewise.
18651 * sysdeps/sh/memset.S: Likewise.
18652 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18653 * sysdeps/sh/strlen.S: Likewise.
18654 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18655 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18656 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18657 * sysdeps/sparc/sparc32/rem.S: Likewise.
18658 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18659 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18660 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18661 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18662 * sysdeps/sparc/sparc32/urem.S: Likewise.
18663 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18664 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18665 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18666 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18667 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18668 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18669 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18670 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18671 * sysdeps/unix/bsd/times.c: Likewise.
18672 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18673 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18677 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18678 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18679 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18680 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18681 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18682 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18683 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18684 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18685 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18686 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18687 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18688 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18689 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18690 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18691 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18692 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18693 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18694 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18695 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18696 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18697 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18698 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18699 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18700 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18701 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18702 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18703 * sysdeps/x86_64/strcspn.S: Likewise.
18705 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18707 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18708 generated file. Regenerate properly from gen-translit.pl.
18709 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18710 locale/C-translit.h.
18712 2013-06-05 Andreas Schwab <schwab@suse.de>
18715 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18716 week as 6 instead of -1.
18717 * time/tst-strptime.c (day_tests): Add test case.
18719 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18721 * sysdeps/generic/math_private.h
18722 (libc_feholdexcept_setround_53bit): Replace with
18723 libc_feholdsetround_53bit.
18724 (libc_feupdateenv_53bit): Replace with
18725 libc_feresetround_53bit.
18726 (SET_RESTORE_ROUND_53BIT): Adjust.
18728 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18730 * string/test-strchrnul.c: Add copyright header.
18732 * posix/tst-getaddrinfo4.c: Increase test timeout.
18734 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18737 * math/libm-test.inc (MAX_EXP): Remove
18739 (ulp): Use MIN_EXP - MANT_DIG.
18740 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18742 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18744 * po/be.po: Revert last change.
18745 * po/zh_CN.po: Likewise.
18746 * po/header.pot: Likewise.
18748 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18750 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18751 link-libc-deps to empty as target-specific variable.
18752 * Makerules (link-libc-args): New variable.
18753 (libc-for-link): Likewise.
18754 (link-libc-deps): Likewise.
18755 (lib%.so): Depend on $(link-libc-deps). Link with
18757 (build-module): Link with $(link-libc-args).
18758 (build-module-asneeded): Likewise.
18759 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18761 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18762 target-specific variable.
18763 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18764 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18765 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18767 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18769 ($(objpfx)libpcprofile.so): Likewise.
18770 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18772 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18773 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18774 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18776 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18777 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18778 * login/Makefile ($(objpfx)libutil.so): Likewise.
18779 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18780 * math/Makefile ($(objpfx)libm.so): Likewise.
18781 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18782 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18783 variable instead of depending directly on libc.
18784 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18785 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18787 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18789 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18790 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18791 ($(objpfx)libanl.so): Likewise.
18792 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18794 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18796 * sysdeps/i386/fpu/Makefile: Remove file.
18797 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18798 ($(objpfx)libm.so): Remove dependency on ld.so.
18800 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18803 * nis/yp_xdr.c (XDRMAXNAME): Define.
18804 (XDRMAXRECORD): Define.
18805 (xdr_domainname): Use XDRMAXNAME.
18806 (xdr_mapname): Likewise.
18807 (xdr_peername): Likewise.
18808 (xdr_keydat): Use XDRMAXRECORD.
18809 (xdr_valdat): Likewise.
18811 2013-05-30 Jeff Law <law@redhat.com>
18814 * manual/errno.texi (ESTALE): Update to account for more than
18815 just NFS file systems.
18816 * sysdeps/gnu/errlist.c: Regenerated.
18818 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18821 * elf/Makefile (tests): Add tst-null-argv.
18822 (modules-names): Add tst-null-argv-lib.
18823 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18824 (tst-null-argv-ENV): Set environment for tst-null-argv.
18825 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18826 (RTLD_PROGNAME): New macro.
18827 * elf/tst-null-argv.c: New test case.
18828 * elf/tst-null-argv-lib.c: Library for test case.
18829 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18830 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18831 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18832 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18833 * elf/dl-init.c (call_init): Likewise.
18834 (_dl_init): Likewise.
18835 * elf/dl-load.c (print_search_path): Likewise.
18836 (_dl_map_object): Likewise.
18837 * elf/dl-lookup.c (do_lookup_x): Likewise.
18838 (add_dependency): Likewise.
18839 (_dl_lookup_symbol_x): Likewise.
18840 (_dl_debug_bindings): Likewise.
18841 * elf/dl-open.c (_dl_show_scope): Likewise.
18842 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18843 * elf/dl-version.c (match_symbol): Likewise.
18844 (_dl_check_map_versions): Likewise.
18845 * elf/rtld.c (dl_main): Likewise.
18846 (print_unresolved): Use RTLD_PROGNAME.
18847 (print_missing_version): Likewise.
18848 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18849 (elf_machine_rela): Likewise.
18850 * sysdeps/powerpc/powerpc32/dl-machine.c
18851 (__process_machine_rela): Likewise.
18852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18854 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18856 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18858 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18859 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18861 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18865 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18867 * po/be.po: Add descriptive title.
18868 * po/zh_CN.po: Likewise.
18869 * po/header.pot: Likewise.
18871 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18873 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18875 (enlarge_archive): Likewise.
18877 2013-05-28 Ben North <ben@redfrontdoor.org>
18879 * manual/arith.texi (frexp): It is the magnitude of the return
18880 value which lies in [0.5, 1), not the return value itself.
18882 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18886 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18888 * stdio-common/bug26.c (main): Correct fscanf template.
18890 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18891 declare _dl_skip_args.
18893 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18896 * manual/platform.texi: Add missing @end deftypefun.
18898 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18901 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18902 bit of mantissa of 2^16382.
18903 * math/libm-test.inc (hypot_test_data): Add more tests.
18905 * math/libm-test.inc: Add drem and pow10 to list of tested
18907 (pow10_test): New function.
18908 (drem_test): Likewise.
18909 (drem_test_tonearest): Likewise.
18910 (drem_test_towardzero): Likewise.
18911 (drem_test_downward): Likewise.
18912 (drem_test_upward): Likewise.
18913 (main): Call the new functions.
18915 * math/libm-test.inc (finite_test_data): Remove.
18916 (finite_test): Run tests from isfinite_test_data.
18917 (gamma_test_data): Remove.
18918 (gamma_test): Run tests from lgamma_test_data.
18919 * sysdeps/i386/fpu/libm-test-ulps: Update.
18920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18922 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18924 * manual/platform.texi: Add PowerPC PPR function set documentation.
18925 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18928 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18930 * math/libm-test.inc (MAX_EXP): Define.
18932 (ulp): New function.
18933 (check_float_internal): Use ULPDIFF.
18934 (cpow_test): Disable failing test.
18935 (check_ulp): Test ulp() implemetnation.
18936 (main): Call check_ulp before starting tests.
18938 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18940 * math/gen-libm-test.pl (generate_testfile): Do not handle
18941 START_DATA and END_DATA.
18942 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18944 (acos_tonearest_test_data): Likewise.
18945 (acos_towardzero_test_data): Likewise.
18946 (acos_downward_test_data): Likewise.
18947 (acos_upward_test_data): Likewise.
18948 (acosh_test_data): Likewise.
18949 (asin_test_data): Likewise.
18950 (asin_tonearest_test_data): Likewise.
18951 (asin_towardzero_test_data): Likewise.
18952 (asin_downward_test_data): Likewise.
18953 (asin_upward_test_data): Likewise.
18954 (asinh_test_data): Likewise.
18955 (atan_test_data): Likewise.
18956 (atanh_test_data): Likewise.
18957 (atan2_test_data): Likewise.
18958 (cabs_test_data): Likewise.
18959 (cacos_test_data): Likewise.
18960 (cacosh_test_data): Likewise.
18961 (carg_test_data): Likewise.
18962 (casin_test_data): Likewise.
18963 (casinh_test_data): Likewise.
18964 (catan_test_data): Likewise.
18965 (catanh_test_data): Likewise.
18966 (cbrt_test_data): Likewise.
18967 (ccos_test_data): Likewise.
18968 (ccosh_test_data): Likewise.
18969 (ceil_test_data): Likewise.
18970 (cexp_test_data): Likewise.
18971 (cimag_test_data): Likewise.
18972 (clog_test_data): Likewise.
18973 (clog10_test_data): Likewise.
18974 (conj_test_data): Likewise.
18975 (copysign_test_data): Likewise.
18976 (cos_test_data): Likewise.
18977 (cos_tonearest_test_data): Likewise.
18978 (cos_towardzero_test_data): Likewise.
18979 (cos_downward_test_data): Likewise.
18980 (cos_upward_test_data): Likewise.
18981 (cosh_test_data): Likewise.
18982 (cosh_tonearest_test_data): Likewise.
18983 (cosh_towardzero_test_data): Likewise.
18984 (cosh_downward_test_data): Likewise.
18985 (cosh_upward_test_data): Likewise.
18986 (cpow_test_data): Likewise.
18987 (cproj_test_data): Likewise.
18988 (creal_test_data): Likewise.
18989 (csin_test_data): Likewise.
18990 (csinh_test_data): Likewise.
18991 (csqrt_test_data): Likewise.
18992 (ctan_test_data): Likewise.
18993 (ctan_tonearest_test_data): Likewise.
18994 (ctan_towardzero_test_data): Likewise.
18995 (ctan_downward_test_data): Likewise.
18996 (ctan_upward_test_data): Likewise.
18997 (ctanh_test_data): Likewise.
18998 (ctanh_tonearest_test_data): Likewise.
18999 (ctanh_towardzero_test_data): Likewise.
19000 (ctanh_downward_test_data): Likewise.
19001 (ctanh_upward_test_data): Likewise.
19002 (erf_test_data): Likewise.
19003 (erfc_test_data): Likewise.
19004 (exp_test_data): Likewise.
19005 (exp_tonearest_test_data): Likewise.
19006 (exp_towardzero_test_data): Likewise.
19007 (exp_downward_test_data): Likewise.
19008 (exp_upward_test_data): Likewise.
19009 (exp10_test_data): Likewise.
19010 (exp2_test_data): Likewise.
19011 (expm1_test_data): Likewise.
19012 (fabs_test_data): Likewise.
19013 (fdim_test_data): Likewise.
19014 (finite_test_data): Likewise.
19015 (floor_test_data): Likewise.
19016 (fma_test_data): Likewise.
19017 (fma_towardzero_test_data): Likewise.
19018 (fma_downward_test_data): Likewise.
19019 (fma_upward_test_data): Likewise.
19020 (fmax_test_data): Likewise.
19021 (fmin_test_data): Likewise.
19022 (fmod_test_data): Likewise.
19023 (fpclassify_test_data): Likewise.
19024 (frexp_test_data): Likewise.
19025 (gamma_test_data): Likewise.
19026 (hypot_test_data): Likewise.
19027 (ilogb_test_data): Likewise.
19028 (isfinite_test_data): Likewise.
19029 (isgreater_test_data): Likewise.
19030 (isgreaterequal_test_data): Likewise.
19031 (isinf_test_data): Likewise.
19032 (isless_test_data): Likewise.
19033 (islessequal_test_data): Likewise.
19034 (islessgreater_test_data): Likewise.
19035 (isnan_test_data): Likewise.
19036 (isnormal_test_data): Likewise.
19037 (issignaling_test_data): Likewise.
19038 (isunordered_test_data): Likewise.
19039 (j0_test_data): Likewise.
19040 (j1_test_data): Likewise.
19041 (jn_test_data): Likewise.
19042 (ldexp_test_data): Likewise.
19043 (lgamma_test_data): Likewise.
19044 (lrint_test_data): Likewise.
19045 (lrint_tonearest_test_data): Likewise.
19046 (lrint_towardzero_test_data): Likewise.
19047 (lrint_downward_test_data): Likewise.
19048 (lrint_upward_test_data): Likewise.
19049 (llrint_test_data): Likewise.
19050 (llrint_tonearest_test_data): Likewise.
19051 (llrint_towardzero_test_data): Likewise.
19052 (llrint_downward_test_data): Likewise.
19053 (llrint_upward_test_data): Likewise.
19054 (log_test_data): Likewise.
19055 (log10_test_data): Likewise.
19056 (log1p_test_data): Likewise.
19057 (log2_test_data): Likewise.
19058 (logb_test_data): Likewise.
19059 (logb_downward_test_data): Likewise.
19060 (lround_test_data): Likewise.
19061 (llround_test_data): Likewise.
19062 (modf_test_data): Likewise.
19063 (nearbyint_test_data): Likewise.
19064 (nextafter_test_data): Likewise.
19065 (nexttoward_test_data): Likewise.
19066 (pow_test_data): Likewise.
19067 (pow_tonearest_test_data): Likewise.
19068 (pow_towardzero_test_data): Likewise.
19069 (pow_downward_test_data): Likewise.
19070 (pow_upward_test_data): Likewise.
19071 (remainder_test_data): Likewise.
19072 (remainder_tonearest_test_data): Likewise.
19073 (remainder_towardzero_test_data): Likewise.
19074 (remainder_downward_test_data): Likewise.
19075 (remainder_upward_test_data): Likewise.
19076 (remquo_test_data): Likewise.
19077 (rint_test_data): Likewise.
19078 (rint_tonearest_test_data): Likewise.
19079 (rint_towardzero_test_data): Likewise.
19080 (rint_downward_test_data): Likewise.
19081 (rint_upward_test_data): Likewise.
19082 (round_test_data): Likewise.
19083 (scalb_test_data): Likewise.
19084 (scalbn_test_data): Likewise.
19085 (scalbln_test_data): Likewise.
19086 (signbit_test_data): Likewise.
19087 (sin_test_data): Likewise.
19088 (sin_tonearest_test_data): Likewise.
19089 (sin_towardzero_test_data): Likewise.
19090 (sin_downward_test_data): Likewise.
19091 (sin_upward_test_data): Likewise.
19092 (sincos_test_data): Likewise.
19093 (sinh_test_data): Likewise.
19094 (sinh_tonearest_test_data): Likewise.
19095 (sinh_towardzero_test_data): Likewise.
19096 (sinh_downward_test_data): Likewise.
19097 (sinh_upward_test_data): Likewise.
19098 (sqrt_test_data): Likewise.
19099 (tan_test_data): Likewise.
19100 (tan_tonearest_test_data): Likewise.
19101 (tan_towardzero_test_data): Likewise.
19102 (tan_downward_test_data): Likewise.
19103 (tan_upward_test_data): Likewise.
19104 (tanh_test_data): Likewise.
19105 (tgamma_test_data): Likewise.
19106 (trunc_test_data): Likewise.
19107 (y0_test_data): Likewise.
19108 (y1_test_data): Likewise.
19109 (yn_test_data): Likewise.
19110 (significand_test_data): Likewise.
19112 * math/gen-libm-test.pl (@functions): Remove variable.
19113 (generate_testfile): Don't handle START and END lines.
19114 * math/libm-test.inc (START): New macro.
19116 (END_COMPLEX): Likewise.
19117 (acos_test): Use END macro without arguments.
19118 (acos_test_tonearest): Likewise.
19119 (acos_test_towardzero): Likewise.
19120 (acos_test_downward): Likewise.
19121 (acos_test_upward): Likewise.
19122 (acosh_test): Likewise.
19123 (asin_test): Likewise.
19124 (asin_test_tonearest): Likewise.
19125 (asin_test_towardzero): Likewise.
19126 (asin_test_downward): Likewise.
19127 (asin_test_upward): Likewise.
19128 (asinh_test): Likewise.
19129 (atan_test): Likewise.
19130 (atanh_test): Likewise.
19131 (atan2_test): Likewise.
19132 (cabs_test): Likewise.
19133 (cacos_test): Use END_COMPLEX macro without arguments.
19134 (cacosh_test): Likewise.
19135 (carg_test): Use END macro without arguments.
19136 (casin_test): Use END_COMPLEX macro without arguments.
19137 (casinh_test): Likewise.
19138 (catan_test): Likewise.
19139 (catanh_test): Likewise.
19140 (cbrt_test): Use END macro without arguments.
19141 (ccos_test): Use END_COMPLEX macro without arguments.
19142 (ccosh_test): Likewise.
19143 (ceil_test): Use END macro without arguments.
19144 (cexp_test): Use END_COMPLEX macro without arguments.
19145 (cimag_test): Use END macro without arguments.
19146 (clog_test): Use END_COMPLEX macro without arguments.
19147 (clog10_test): Likewise.
19148 (conj_test): Likewise.
19149 (copysign_test): Use END macro without arguments.
19150 (cos_test): Likewise.
19151 (cos_test_tonearest): Likewise.
19152 (cos_test_towardzero): Likewise.
19153 (cos_test_downward): Likewise.
19154 (cos_test_upward): Likewise.
19155 (cosh_test): Likewise.
19156 (cosh_test_tonearest): Likewise.
19157 (cosh_test_towardzero): Likewise.
19158 (cosh_test_downward): Likewise.
19159 (cosh_test_upward): Likewise.
19160 (cpow_test): Use END_COMPLEX macro without arguments.
19161 (cproj_test): Likewise.
19162 (creal_test): Use END macro without arguments.
19163 (csin_test): Use END_COMPLEX macro without arguments.
19164 (csinh_test): Likewise.
19165 (csqrt_test): Likewise.
19166 (ctan_test): Likewise.
19167 (ctan_test_tonearest): Likewise.
19168 (ctan_test_towardzero): Likewise.
19169 (ctan_test_downward): Likewise.
19170 (ctan_test_upward): Likewise.
19171 (ctanh_test): Likewise.
19172 (ctanh_test_tonearest): Likewise.
19173 (ctanh_test_towardzero): Likewise.
19174 (ctanh_test_downward): Likewise.
19175 (ctanh_test_upward): Likewise.
19176 (erf_test): Use END macro without arguments.
19177 (erfc_test): Likewise.
19178 (exp_test): Likewise.
19179 (exp_test_tonearest): Likewise.
19180 (exp_test_towardzero): Likewise.
19181 (exp_test_downward): Likewise.
19182 (exp_test_upward): Likewise.
19183 (exp10_test): Likewise.
19184 (exp2_test): Likewise.
19185 (expm1_test): Likewise.
19186 (fabs_test): Likewise.
19187 (fdim_test): Likewise.
19188 (finite_test): Likewise.
19189 (floor_test): Likewise.
19190 (fma_test): Likewise.
19191 (fma_test_towardzero): Likewise.
19192 (fma_test_downward): Likewise.
19193 (fma_test_upward): Likewise.
19194 (fmax_test): Likewise.
19195 (fmin_test): Likewise.
19196 (fmod_test): Likewise.
19197 (fpclassify_test): Likewise.
19198 (frexp_test): Likewise.
19199 (gamma_test): Likewise.
19200 (hypot_test): Likewise.
19201 (ilogb_test): Likewise.
19202 (isfinite_test): Likewise.
19203 (isgreater_test): Likewise.
19204 (isgreaterequal_test): Likewise.
19205 (isinf_test): Likewise.
19206 (isless_test): Likewise.
19207 (islessequal_test): Likewise.
19208 (islessgreater_test): Likewise.
19209 (isnan_test): Likewise.
19210 (isnormal_test): Likewise.
19211 (issignaling_test): Likewise.
19212 (isunordered_test): Likewise.
19213 (j0_test): Likewise.
19214 (j1_test): Likewise.
19215 (jn_test): Likewise.
19216 (ldexp_test): Likewise.
19217 (lgamma_test): Likewise.
19218 (lrint_test): Likewise.
19219 (lrint_test_tonearest): Likewise.
19220 (lrint_test_towardzero): Likewise.
19221 (lrint_test_downward): Likewise.
19222 (lrint_test_upward): Likewise.
19223 (llrint_test): Likewise.
19224 (llrint_test_tonearest): Likewise.
19225 (llrint_test_towardzero): Likewise.
19226 (llrint_test_downward): Likewise.
19227 (llrint_test_upward): Likewise.
19228 (log_test): Likewise.
19229 (log10_test): Likewise.
19230 (log1p_test): Likewise.
19231 (log2_test): Likewise.
19232 (logb_test): Likewise.
19233 (logb_test_downward): Likewise.
19234 (lround_test): Likewise.
19235 (llround_test): Likewise.
19236 (modf_test): Likewise.
19237 (nearbyint_test): Likewise.
19238 (nextafter_test): Likewise.
19239 (nexttoward_test): Likewise.
19240 (pow_test): Likewise.
19241 (pow_test_tonearest): Likewise.
19242 (pow_test_towardzero): Likewise.
19243 (pow_test_downward): Likewise.
19244 (pow_test_upward): Likewise.
19245 (remainder_test): Likewise.
19246 (remainder_test_tonearest): Likewise.
19247 (remainder_test_towardzero): Likewise.
19248 (remainder_test_downward): Likewise.
19249 (remainder_test_upward): Likewise.
19250 (remquo_test): Likewise.
19251 (rint_test): Likewise.
19252 (rint_test_tonearest): Likewise.
19253 (rint_test_towardzero): Likewise.
19254 (rint_test_downward): Likewise.
19255 (rint_test_upward): Likewise.
19256 (round_test): Likewise.
19257 (scalb_test): Likewise.
19258 (scalbn_test): Likewise.
19259 (scalbln_test): Likewise.
19260 (signbit_test): Likewise.
19261 (sin_test): Likewise.
19262 (sin_test_tonearest): Likewise.
19263 (sin_test_towardzero): Likewise.
19264 (sin_test_downward): Likewise.
19265 (sin_test_upward): Likewise.
19266 (sincos_test): Likewise.
19267 (sinh_test): Likewise.
19268 (sinh_test_tonearest): Likewise.
19269 (sinh_test_towardzero): Likewise.
19270 (sinh_test_downward): Likewise.
19271 (sinh_test_upward): Likewise.
19272 (sqrt_test): Likewise.
19273 (tan_test): Likewise.
19274 (tan_test_tonearest): Likewise.
19275 (tan_test_towardzero): Likewise.
19276 (tan_test_downward): Likewise.
19277 (tan_test_upward): Likewise.
19278 (tanh_test): Likewise.
19279 (tgamma_test): Likewise.
19280 (trunc_test): Likewise.
19281 (y0_test): Likewise.
19282 (y1_test): Likewise.
19283 (yn_test): Likewise.
19284 (significand_test): Likewise.
19286 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19289 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19291 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19294 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19295 __ppc_mdoio and __ppc_mdoom.
19296 * manual/platform.texi: Document new functions __ppc_yield,
19297 __ppc_mdoio and __ppc_mdoom.
19299 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19301 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19302 (main): Mention "tls" pseudo-hwcap is legacy.
19303 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19305 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19307 * math/gen-libm-test.pl (parse_args): Output only string of
19308 arguments as text for test name, not full call or descriptions of
19309 tests for extra outputs.
19310 (generate_testfile): Do not pass function name to parse_args.
19311 Generate this_func variable from START.
19312 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19314 (struct test_ff_f_data): Likewise.
19315 (test_ff_f_data_nexttoward): Likewise.
19316 (struct test_fi_f_data): Likewise.
19317 (struct test_fl_f_data): Likewise.
19318 (struct test_if_f_data): Likewise.
19319 (struct test_fff_f_data): Likewise.
19320 (struct test_c_f_data): Likewise.
19321 (struct test_f_f1_data): Likewise. Remove field extra_name.
19322 (struct test_fF_f1_data): Likewise.
19323 (struct test_ffI_f1_data): Likewise.
19324 (struct test_c_c_data): Rename test_name field to arg_str.
19325 (struct test_cc_c_data): Likewise.
19326 (struct test_f_i_data): Likewise.
19327 (struct test_ff_i_data): Likewise.
19328 (struct test_f_l_data): Likewise.
19329 (struct test_f_L_data): Likewise.
19330 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19332 (COMMON_TEST_SETUP): New macro.
19333 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19334 (COMMON_TEST_CLEANUP): Likewise.
19335 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19336 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19338 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19339 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19341 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19342 (RUN_TEST_fff_f): Take argument string. Call new setup and
19344 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19345 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19347 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19348 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19350 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19351 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19353 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19354 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19356 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19357 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19359 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19360 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19362 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19363 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19365 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19366 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19368 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19369 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19371 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19372 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19374 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19375 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19377 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19378 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19380 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19381 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19383 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19384 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19386 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19387 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19389 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19391 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19393 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19394 to _sifields.sigfault.
19395 (si_addr_lsb): Define new macro.
19396 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19398 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19400 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19403 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19405 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19407 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19408 loading the domain.
19410 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19412 * math/gen-libm-test.pl (parse_args): Do not include expected
19413 result in test name.
19414 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19416 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19417 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19418 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19421 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19423 * benchtests/Makefile: Sort function entries.
19425 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19426 tanh, asinh, acosh, atanh.
19427 * benchtests/acos-inputs: New file.
19428 * benchtests/acosh-inputs: New file.
19429 * benchtests/asin-inputs: New file.
19430 * benchtests/asinh-inputs: New file.
19431 * benchtests/atanh-inputs: New file.
19432 * benchtests/cosh-inputs: New file.
19433 * benchtests/log-inputs: New file.
19434 * benchtests/sinh-inputs: New file.
19435 * benchtests/tanh-inputs: New file.
19437 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19440 * posix/tst-getaddrinfo4.c: New test.
19441 * posix/Makefile (tests): Add it.
19443 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19446 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19447 when no services were used.
19448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19449 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19451 2013-05-21 Andreas Schwab <schwab@suse.de>
19454 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19455 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19457 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19458 redundant variable declarations and reallocation of buffer when
19459 parsing as IPv6 address. Always set NSS status when called from
19460 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19461 buffer too small. Correct computation of needed size.
19462 * nss/Makefile (tests): Add test-digits-dots.
19463 * nss/test-digits-dots.c: New test.
19465 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19467 * benchtests/Makefile: Remove instructions for adding
19469 * benchtests/README: New file to explain how to execute and
19470 enhance the benchmark tests.
19472 2013-05-21 Andreas Schwab <schwab@suse.de>
19475 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19476 * setjmp/tst-sigsetjmp.c: New test.
19478 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19480 * sysdeps/x86_64/memset.S (memset): New implementation.
19481 (__bzero): Likewise.
19482 (__memset_tail): New function.
19484 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19486 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19487 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19488 __memcpy_sse2_unaligned ifunc selection.
19489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19490 Add memcpy-sse2-unaligned.S.
19491 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19492 Add: __memcpy_sse2_unaligned.
19494 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19497 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19498 math_force_eval before restoring floating-point envrionment.
19499 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19500 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19502 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19504 (__nearbyintl): Use math_force_eval before restoring
19505 floating-point environment.
19506 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19508 * math/gen-libm-test.pl (special_functions): Remove.
19509 (parse_args): Don't handle TEST_extra. Handle functions with no
19511 * math/libm-test.inc (struct test_sincos_data): Replace with
19512 struct test_fFF_11_data.
19513 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19514 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19515 (sincos_test_data): Change element type to struct
19516 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19517 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19518 RUN_TEST_LOOP_sincos.
19519 * math/README.libm-test: Don't mention special handling of
19520 individual functions.
19521 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19523 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19524 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19525 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19528 * math/gen-libm-test.pl (get_variable): Remove function.
19529 (parse_args): Don't show pointer parameters to call in test
19530 names. Use "extra output N" in test names for extra outputs
19531 rather than naming variables.
19533 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19536 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19537 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19538 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19540 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19542 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19545 * math/gen-libm-test.pl (@tests): Remove variable.
19546 ($count): Likewise.
19547 (new_test): Remove function.
19548 (show_exceptions): New function.
19549 (special_functions): Use show_exceptions instead of new_test.
19550 (parse_args): Likewise.
19551 (generate_testfile): Pass only function name in generated call to
19552 print_max_error or print_complex_max_error.
19553 (get_ulps): Do not handle complex tests specially.
19554 (output_test): Rename to ...
19555 (get_all_ulps_for_test): ... this. Return a string rather than
19556 printing to a file. Require ulps to be present.
19557 (output_ulps): Generate arrays rather than #defines.
19558 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19559 (struct ulp_data): New type.
19560 (BUILD_COMPLEX_ULP): Remove macro.
19561 (compare_ulp_data): New function.
19562 (find_ulps): Likewise.
19563 (find_test_ulps): Likewise.
19564 (find_function_ulps): Likewise.
19565 (find_complex_function_ulps): Likewise.
19566 (print_max_error): Determine allowed ulps using
19567 find_function_ulps.
19568 (print_complex_max_error): Determine allowed ulps using
19569 find_complex_function_ulps.
19570 (check_float_internal): Determine max ulps using find_test_ulps.
19571 (check_float): Do not take max_ulp parameter. Update call to
19572 check_float_internal.
19573 (check_complex): Likewise.
19574 (check_int): Do not take max_ulp parameter.
19575 (check_long): Likewise.
19576 (check_bool): Likewise.
19577 (check_longlong): Likewise.
19578 (struct test_f_f_data): Remove max_ulp field.
19579 (struct test_ff_f_data): Likewise.
19580 (struct test_ff_f_data_nexttoward): Likewise.
19581 (struct test_fi_f_data): Likewise.
19582 (struct test_fl_f_data): Likewise.
19583 (struct test_if_f_data): Likewise.
19584 (struct test_fff_f_data): Likewise.
19585 (struct test_c_f_data): Likewise.
19586 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19587 (struct test_fF_f1_data): Likewise.
19588 (struct test_ffI_f1_data): Likewise.
19589 (struct test_c_c_data): Remove max_ulp field.
19590 (struct test_cc_c_data): Likewise.
19591 (struct test_f_i_data): Likewise.
19592 (struct test_ff_i_data): Likewise.
19593 (struct test_f_l_data): Likewise.
19594 (struct test_f_L_data): Likewise.
19595 (struct test_sincos_data): Likewise.
19596 (RUN_TEST_f_f): Do not handle ulps.
19597 (RUN_TEST_LOOP_f_f): Likewise.
19598 (RUN_TEST_2_f): Likewise.
19599 (RUN_TEST_LOOP_2_f): Likewise.
19600 (RUN_TEST_fff_f): Likewise.
19601 (RUN_TEST_LOOP_fff_f): Likewise.
19602 (RUN_TEST_c_f): Likewise.
19603 (RUN_TEST_LOOP_c_f): Likewise.
19604 (RUN_TEST_f_f1): Likewise.
19605 (RUN_TEST_LOOP_f_f1): Likewise.
19606 (RUN_TEST_fF_f1): Likewise.
19607 (RUN_TEST_LOOP_fF_f1): Likewise.
19608 (RUN_TEST_fI_f1): Likewise.
19609 (RUN_TEST_LOOP_fI_f1): Likewise.
19610 (RUN_TEST_ffI_f1): Likewise.
19611 (RUN_TEST_LOOP_ffI_f1): Likewise.
19612 (RUN_TEST_c_c): Likewise.
19613 (RUN_TEST_LOOP_c_c): Likewise.
19614 (RUN_TEST_cc_c): Likewise.
19615 (RUN_TEST_LOOP_cc_c): Likewise.
19616 (RUN_TEST_f_i): Likewise.
19617 (RUN_TEST_LOOP_f_i): Likewise.
19618 (RUN_TEST_f_i_tg): Likewise.
19619 (RUN_TEST_LOOP_f_i_tg): Likewise.
19620 (RUN_TEST_ff_i_tg): Likewise.
19621 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19622 (RUN_TEST_f_b): Likewise.
19623 (RUN_TEST_LOOP_f_b): Likewise.
19624 (RUN_TEST_f_b_tg): Likewise.
19625 (RUN_TEST_LOOP_f_b_tg): Likewise.
19626 (RUN_TEST_f_l): Likewise.
19627 (RUN_TEST_LOOP_f_l): Likewise.
19628 (RUN_TEST_f_L): Likewise.
19629 (RUN_TEST_LOOP_f_L): Likewise.
19630 (RUN_TEST_sincos): Likewise.
19631 (RUN_TEST_LOOP_sincos): Likewise.
19633 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19637 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19638 main case of finite arguments, set rounding mode to FE_TONEAREST
19639 and discard exceptions.
19640 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19642 (remainder_tonearest_test_data): New variable.
19643 (remainder_test_tonearest): New function.
19644 (remainder_towardzero_test_data): New variable.
19645 (remainder_test_towardzero): New function.
19646 (remainder_downward_test_data): New variable.
19647 (remainder_test_downward): New function.
19648 (remainder_upward_test_data): New variable.
19649 (remainder_test_upward): New function.
19650 (main): Call the new test functions.
19652 * math/libm-test.inc (struct test_f_f1_data): Remove field
19654 (struct test_fF_f1_data): Likewise.
19655 (struct test_ffI_f1_data): Likewise.
19656 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19657 based on value of EXTRA_EXPECTED.
19658 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19659 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19660 EXTRA_VAR based on value of EXTRA_EXPECTED.
19661 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19662 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19663 EXTRA_VAR based on value of EXTRA_EXPECTED.
19664 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19665 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19666 EXTRA_VAR based on value of EXTRA_EXPECTED.
19667 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19668 * math/gen-libm-test.pl (parse_args): Don't output initializers
19669 for extra output values.
19671 * math/libm-test.inc (check_int): Expect result to be exactly
19672 equal to expected value and do not handle ulps.
19673 (check_long): Likewise.
19674 (check_longlong): Likewise.
19676 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19678 (cimag_test_data): Likewise.
19679 (conj_test_data): Likewise.
19680 (copysign_test_data): Likewise.
19681 (cproj_test_data): Likewise.
19682 (creal_test_data): Likewise.
19683 (fabs_test_data): Likewise.
19684 (fdim_test_data): Likewise.
19685 (finite_test_data): Likewise.
19686 (floor_test_data): Likewise.
19687 (fmax_test_data): Likewise.
19688 (fmin_test_data): Likewise.
19689 (fmod_test_data): Likewise.
19690 (fpclassify_test_data): Likewise.
19691 (frexp_test_data): Likewise.
19692 (ilogb_test_data): Likewise.
19693 (isfinite_test_data): Likewise.
19694 (isgreater_test_data): Likewise.
19695 (isgreaterequal_test_data): Likewise.
19696 (isinf_test_data): Likewise.
19697 (isless_test_data): Likewise.
19698 (islessequal_test_data): Likewise.
19699 (islessgreater_test_data): Likewise.
19700 (isnan_test_data): Likewise.
19701 (isnormal_test_data): Likewise.
19702 (issignaling_test_data): Likewise.
19703 (isunordered_test_data): Likewise.
19704 (ldexp_test_data): Likewise.
19705 (lrint_test_data): Likewise.
19706 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19707 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19708 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19709 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19710 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19711 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19713 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19714 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19715 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19716 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19718 (lrint_downward_test_data): Test for "inexact" exceptions.
19719 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19720 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19721 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19723 (lrint_upward_test_data): Test for "inexact" exceptions.
19724 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19726 (llrint_test_data): Test for "inexact" exceptions.
19727 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19728 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19729 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19730 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19731 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19732 (llrint_downward_test_data): Test for "inexact" exceptions.
19733 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19734 (llrint_upward_test_data): Test for "inexact" exceptions.
19735 (logb_test_data): Likewise.
19736 (logb_downward_test_data): Likewise.
19737 (nextafter_test_data): Likewise.
19738 (nexttoward_test_data): Likewise.
19739 (remainder_test_data): Likewise.
19740 (remquo_test_data): Likewise.
19741 (scalbn_test_data): Likewise.
19742 (scalbln_test_data): Likewise.
19743 (signbit_test_data): Likewise.
19744 (sqrt_test_data): Likewise.
19745 (significand_test_data): Likewise.
19747 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19750 * benchtests/bench-modf.c (struct args): Mark arg0 as
19752 * scripts/bench.pl: Mark members of struct args as volatile.
19754 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19757 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19758 negative infinity on POWER6 or lower.
19759 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19761 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19764 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19765 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19766 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19767 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19768 (_FP_SETQNAN): New macro.
19769 (_FP_SETQNAN_SEMIRAW): Likewise.
19770 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19771 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19772 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19773 (FP_EXTEND): Use _FP_FRAC_SNANP.
19774 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19775 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19777 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19779 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19782 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19784 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19785 with DIVIDE_BY_ZERO_EXCEPTION.
19786 (gamma_test_data): Likewise.
19787 (lgamma_test_data): Likewise.
19788 (log_test_data): Likewise.
19789 (log10_test_data): Likewise.
19790 (log2_test_data): Likewise.
19791 (tgamma_test_data): Likewise.
19793 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19794 (acos_test_tonearest): Likewise.
19795 (acos_test_towardzero): Likewise.
19796 (acos_test_downward): Likewise.
19797 (acos_test_upward): Likewise.
19798 (acosh_test): Likewise.
19799 (asin_test): Likewise.
19800 (asin_test_tonearest): Likewise.
19801 (asin_test_towardzero): Likewise.
19802 (asin_test_downward): Likewise.
19803 (asin_test_upward): Likewise.
19804 (asinh_test): Likewise.
19805 (atan_test): Likewise.
19806 (atanh_test): Likewise.
19807 (atan2_test): Likewise.
19808 (cabs_test): Likewise.
19809 (cacos_test): Likewise.
19810 (cacosh_test): Likewise.
19811 (casin_test): Likewise.
19812 (casinh_test): Likewise.
19813 (catan_test): Likewise.
19814 (catanh_test): Likewise.
19815 (cbrt_test): Likewise.
19816 (ccos_test): Likewise.
19817 (ccosh_test): Likewise.
19818 (cexp_test): Likewise.
19819 (clog_test): Likewise.
19820 (clog10_test): Likewise.
19821 (cos_test): Likewise.
19822 (cos_test_tonearest): Likewise.
19823 (cos_test_towardzero): Likewise.
19824 (cos_test_downward): Likewise.
19825 (cos_test_upward): Likewise.
19826 (cosh_test): Likewise.
19827 (cosh_test_tonearest): Likewise.
19828 (cosh_test_towardzero): Likewise.
19829 (cosh_test_downward): Likewise.
19830 (cosh_test_upward): Likewise.
19831 (cpow_test): Likewise.
19832 (csin_test): Likewise.
19833 (csinh_test): Likewise.
19834 (csqrt_test): Likewise.
19835 (ctan_test): Likewise.
19836 (ctan_test_tonearest): Likewise.
19837 (ctan_test_towardzero): Likewise.
19838 (ctan_test_downward): Likewise.
19839 (ctan_test_upward): Likewise.
19840 (ctanh_test): Likewise.
19841 (ctanh_test_tonearest): Likewise.
19842 (ctanh_test_towardzero): Likewise.
19843 (ctanh_test_downward): Likewise.
19844 (ctanh_test_upward): Likewise.
19845 (erf_test): Likewise.
19846 (erfc_test): Likewise.
19847 (exp_test): Likewise.
19848 (exp_test_tonearest): Likewise.
19849 (exp_test_towardzero): Likewise.
19850 (exp_test_downward): Likewise.
19851 (exp_test_upward): Likewise.
19852 (exp10_test): Likewise.
19853 (exp2_test): Likewise.
19854 (expm1_test): Likewise.
19855 (fmod_test): Likewise.
19856 (gamma_test): Likewise.
19857 (hypot_test): Likewise.
19858 (j0_test): Likewise.
19859 (j1_test): Likewise.
19860 (jn_test): Likewise.
19861 (lgamma_test): Likewise.
19862 (log_test): Likewise.
19863 (log10_test): Likewise.
19864 (log1p_test): Likewise.
19865 (log2_test): Likewise.
19866 (logb_test_downward): Likewise.
19867 (pow_test): Likewise.
19868 (pow_test_tonearest): Likewise.
19869 (pow_test_towardzero): Likewise.
19870 (pow_test_downward): Likewise.
19871 (pow_test_upward): Likewise.
19872 (remainder_test): Likewise.
19873 (remquo_test): Likewise.
19874 (sin_test): Likewise.
19875 (sin_test_tonearest): Likewise.
19876 (sin_test_towardzero): Likewise.
19877 (sin_test_downward): Likewise.
19878 (sin_test_upward): Likewise.
19879 (sincos_test): Likewise.
19880 (sinh_test): Likewise.
19881 (sinh_test_tonearest): Likewise.
19882 (sinh_test_towardzero): Likewise.
19883 (sinh_test_downward): Likewise.
19884 (sinh_test_upward): Likewise.
19885 (sqrt_test): Likewise.
19886 (tan_test): Likewise.
19887 (tan_test_tonearest): Likewise.
19888 (tan_test_towardzero): Likewise.
19889 (tan_test_downward): Likewise.
19890 (tan_test_upward): Likewise.
19891 (tanh_test): Likewise.
19892 (tgamma_test): Likewise.
19893 (y0_test): Likewise.
19894 (y1_test): Likewise.
19895 (yn_test): Likewise.
19897 * math/gen-libm-test.pl (adjust_arg): Remove function.
19898 (special_function): Remove argument $in_func. Only handle
19899 generating output for tables of tests, not inside functions.
19900 (parse_args): Likewise.
19901 (generate_testfile): Remove variable $in_func. Update call to
19903 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19904 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19905 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19906 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19907 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19908 (MAX_VALUE_INIT): Rename macro to max_value.
19909 (MIN_VALUE_INIT): Rename macro to min_value.
19910 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19911 (plus_zero): Remove variable.
19912 (minus_zero): Likewise.
19913 (plus_infty): Likewise.
19914 (minus_infty): Likewise.
19915 (qnan_value): Likewise.
19916 (max_value): Likewise.
19917 (min_value): Likewise.
19918 (min_subnorm_value): Likewise.
19920 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19922 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19923 uint64_t or uint32_t usage.
19924 * crypt/sha256-block.c: Likewise.
19925 * crypt/sha256-crypt.c: Likewise.
19926 * crypt/sha256.c: Likewise.
19927 * crypt/sha512-block.c: Likewise.
19928 * crypt/sha512-crypt.c: Likewise.
19929 * crypt/sha512.c: Likewise.
19930 * debug/backtrace-tst.c: Likewise.
19931 * debug/pcprofiledump.c: Likewise.
19932 * elf/cache.c: Likewise.
19933 * elf/dl-cache.c: Likewise.
19934 * elf/dl-misc.c: Likewise.
19935 * elf/dl-profile.c: Likewise.
19936 * elf/dl-support.c: Likewise.
19937 * elf/ldconfig.c: Likewise.
19938 * elf/sprof.c: Likewise.
19939 * iconv/dummy-repertoire.c: Likewise.
19940 * iconv/iconv_charmap.c: Likewise.
19941 * iconv/skeleton.c: Likewise.
19942 * iconvdata/8bit-generic.c: Likewise.
19943 * iconvdata/cp737.h: Likewise.
19944 * iconvdata/cp775.h: Likewise.
19945 * iconvdata/ibm1008.h: Likewise.
19946 * iconvdata/ibm1025.h: Likewise.
19947 * iconvdata/ibm1046.h: Likewise.
19948 * iconvdata/ibm1097.h: Likewise.
19949 * iconvdata/ibm1112.h: Likewise.
19950 * iconvdata/ibm1122.h: Likewise.
19951 * iconvdata/ibm1123.h: Likewise.
19952 * iconvdata/ibm1124.h: Likewise.
19953 * iconvdata/ibm1129.h: Likewise.
19954 * iconvdata/ibm1130.h: Likewise.
19955 * iconvdata/ibm1132.h: Likewise.
19956 * iconvdata/ibm1133.h: Likewise.
19957 * iconvdata/ibm1137.h: Likewise.
19958 * iconvdata/ibm1140.h: Likewise.
19959 * iconvdata/ibm1141.h: Likewise.
19960 * iconvdata/ibm1142.h: Likewise.
19961 * iconvdata/ibm1143.h: Likewise.
19962 * iconvdata/ibm1144.h: Likewise.
19963 * iconvdata/ibm1145.h: Likewise.
19964 * iconvdata/ibm1146.h: Likewise.
19965 * iconvdata/ibm1147.h: Likewise.
19966 * iconvdata/ibm1148.h: Likewise.
19967 * iconvdata/ibm1149.h: Likewise.
19968 * iconvdata/ibm1153.h: Likewise.
19969 * iconvdata/ibm1154.h: Likewise.
19970 * iconvdata/ibm1155.h: Likewise.
19971 * iconvdata/ibm1156.h: Likewise.
19972 * iconvdata/ibm1157.h: Likewise.
19973 * iconvdata/ibm1158.h: Likewise.
19974 * iconvdata/ibm1160.h: Likewise.
19975 * iconvdata/ibm1161.h: Likewise.
19976 * iconvdata/ibm1162.h: Likewise.
19977 * iconvdata/ibm1163.h: Likewise.
19978 * iconvdata/ibm1164.h: Likewise.
19979 * iconvdata/ibm1166.h: Likewise.
19980 * iconvdata/ibm1167.h: Likewise.
19981 * iconvdata/ibm12712.h: Likewise.
19982 * iconvdata/ibm1390.h: Likewise.
19983 * iconvdata/ibm1399.h: Likewise.
19984 * iconvdata/ibm16804.h: Likewise.
19985 * iconvdata/ibm4517.h: Likewise.
19986 * iconvdata/ibm4899.h: Likewise.
19987 * iconvdata/ibm4909.h: Likewise.
19988 * iconvdata/ibm4971.h: Likewise.
19989 * iconvdata/ibm5347.h: Likewise.
19990 * iconvdata/ibm803.h: Likewise.
19991 * iconvdata/ibm856.h: Likewise.
19992 * iconvdata/ibm901.h: Likewise.
19993 * iconvdata/ibm902.h: Likewise.
19994 * iconvdata/ibm9030.h: Likewise.
19995 * iconvdata/ibm9066.h: Likewise.
19996 * iconvdata/ibm921.h: Likewise.
19997 * iconvdata/ibm922.h: Likewise.
19998 * iconvdata/ibm9448.h: Likewise.
19999 * iconvdata/isiri-3342.h: Likewise.
20000 * iconvdata/jis0201.h: Likewise.
20001 * include/link.h: Likewise.
20002 * include/netdb.h: Likewise.
20003 * inet/check_native.c: Likewise.
20004 * inet/check_pf.c: Likewise.
20005 * inet/getipv4sourcefilter.c: Likewise.
20006 * inet/getnameinfo.c: Likewise.
20007 * inet/getsourcefilter.c: Likewise.
20008 * inet/htonl.c: Likewise.
20009 * inet/setipv4sourcefilter.c: Likewise.
20010 * inet/setsourcefilter.c: Likewise.
20011 * inet/test-inet6_opt.c: Likewise.
20012 * inet/tst-network.c: Likewise.
20013 * locale/C-collate.c: Likewise.
20014 * locale/C-ctype.c: Likewise.
20015 * locale/C-time.c: Likewise.
20016 * locale/C-translit.h: Likewise.
20017 * locale/loadarchive.c: Likewise.
20018 * locale/programs/3level.h: Likewise.
20019 * locale/programs/charmap.c: Likewise.
20020 * locale/programs/charmap.h: Likewise.
20021 * locale/programs/ld-address.c: Likewise.
20022 * locale/programs/ld-collate.c: Likewise.
20023 * locale/programs/ld-ctype.c: Likewise.
20024 * locale/programs/ld-identification.c: Likewise.
20025 * locale/programs/ld-measurement.c: Likewise.
20026 * locale/programs/ld-messages.c: Likewise.
20027 * locale/programs/ld-monetary.c: Likewise.
20028 * locale/programs/ld-name.c: Likewise.
20029 * locale/programs/ld-numeric.c: Likewise.
20030 * locale/programs/ld-paper.c: Likewise.
20031 * locale/programs/ld-telephone.c: Likewise.
20032 * locale/programs/ld-time.c: Likewise.
20033 * locale/programs/linereader.c: Likewise.
20034 * locale/programs/locale.c: Likewise.
20035 * locale/programs/locarchive.c: Likewise.
20036 * locale/programs/locfile.h: Likewise.
20037 * locale/programs/repertoire.c: Likewise.
20038 * locale/programs/simple-hash.c: Likewise.
20039 * locale/programs/simple-hash.h: Likewise.
20040 * malloc/memusage.c: Likewise.
20041 * malloc/memusagestat.c: Likewise.
20042 * nis/nis_defaults.c: Likewise.
20043 * nis/nis_hash.c: Likewise.
20044 * nis/nis_print.c: Likewise.
20045 * nis/nis_xdr.c: Likewise.
20046 * nscd/connections.c: Likewise.
20047 * nscd/hstcache.c: Likewise.
20048 * nscd/nscd_gethst_r.c: Likewise.
20049 * nscd/nscd_getserv_r.c: Likewise.
20050 * nscd/nscd_helper.c: Likewise.
20051 * nscd/servicescache.c: Likewise.
20052 * nss/makedb.c: Likewise.
20053 * nss/nss_db/db-XXX.c: Likewise.
20054 * nss/nss_db/db-initgroups.c: Likewise.
20055 * nss/nss_db/db-netgrp.c: Likewise.
20056 * nss/nss_files/files-network.c: Likewise.
20057 * nss/nss_files/files-parse.c: Likewise.
20058 * posix/bug-regex5.c: Likewise.
20059 * posix/fnmatch_loop.c: Likewise.
20060 * posix/regcomp.c: Likewise.
20061 * posix/regexec.c: Likewise.
20062 * posix/tst-rfc3484-2.c: Likewise.
20063 * posix/tst-rfc3484-3.c: Likewise.
20064 * posix/tst-rfc3484.c: Likewise.
20065 * resolv/nss_dns/dns-canon.c: Likewise.
20066 * resolv/nss_dns/dns-network.c: Likewise.
20067 * resolv/res_init.c: Likewise.
20068 * resolv/res_mkquery.c: Likewise.
20069 * resolv/tst-aton.c: Likewise.
20070 * stdlib/cxa_atexit.c: Likewise.
20071 * stdlib/cxa_finalize.c: Likewise.
20072 * stdlib/gen-fpioconst.c: Likewise.
20073 * stdlib/strtol_l.c: Likewise.
20074 * string/tst-endian.c: Likewise.
20075 * sunrpc/auth_des.c: Likewise.
20076 * sunrpc/clnt_udp.c: Likewise.
20077 * sunrpc/rtime.c: Likewise.
20078 * sunrpc/svcauth_des.c: Likewise.
20079 * sunrpc/xdr.c: Likewise.
20080 * sunrpc/xdr_intXX_t.c: Likewise.
20081 * sunrpc/xdr_rec.c: Likewise.
20082 * sysdeps/generic/ldconfig.h: Likewise.
20083 * sysdeps/generic/ldsodefs.h: Likewise.
20084 * sysdeps/generic/memusage.h: Likewise.
20085 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20086 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20087 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20088 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20089 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20091 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20092 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20093 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20094 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20095 * sysdeps/posix/getaddrinfo.c: Likewise.
20096 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20097 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20098 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20099 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20100 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20101 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20102 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20103 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20104 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20105 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20106 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20107 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20108 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20109 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20110 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20111 * sysdeps/x86_64/dl-tls.h: Likewise.
20112 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20113 * time/alt_digit.c: Likewise.
20114 * time/era.c: Likewise.
20115 * wcsmbs/tst-c16c32-1.c: Likewise.
20117 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20119 * math/libm-test.inc (struct test_sincos_data): New type.
20120 (RUN_TEST_LOOP_sincos): New macro.
20121 (sincos_test_data): New variable.
20122 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20124 2013-05-16 Richard Henderson <rth@redhat.com>
20126 * math/atest-exp2.c (LIMB64): New macro.
20127 (CONSTSZ): New macro.
20128 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20130 (print_mpn_fp): ... to function scope.
20131 (read_mpn_hex): Remove.
20132 (get_log2): Remove.
20133 (exp2_mpn): Use mp_log2.
20134 (main): Use mp_exp1.
20136 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20138 * math/libm-test.inc: Remove comment about not testing "inexact"
20140 (INEXACT_EXCEPTION): New macro.
20141 (NO_INEXACT_EXCEPTION): Likewise.
20142 (INVALID_EXCEPTION_OK): Update value.
20143 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20144 (OVERFLOW_EXCEPTION_OK): Likewise.
20145 (UNDERFLOW_EXCEPTION_OK): Likewise.
20146 (IGNORE_ZERO_INF_SIGN): Likewise.
20147 (ERRNO_UNCHANGED): Likewise.
20148 (ERRNO_EDOM): Likewise.
20149 (ERRNO_ERANGE): Likewise.
20150 (test_exceptions): Handle testing "inexact" exceptions.
20151 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20152 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20153 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20154 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20156 (rint_towardzero_test_data): Likewise.
20157 (rint_downward_test_data): Likewise.
20158 (rint_upward_test_data): Likewise.
20160 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20161 with OVERFLOW_EXCEPTION.
20162 (exp10_test_data): Likewise.
20163 (exp2_test_data): Likewise.
20164 (expm1_test_data): Likewise.
20165 (lgamma_test_data): Likewise.
20166 (pow_test_data): Likewise.
20167 (tgamma_test_data): Likewise.
20168 (yn_test_data): Remove duplicate test of overflow.
20170 * math/libm-test.inc (struct test_cc_c_data): New type.
20171 (RUN_TEST_LOOP_cc_c): New macro.
20172 (cpow_test_data): New variable.
20173 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20175 * math/libm-test.inc (struct test_f_L_data): New type.
20176 (RUN_TEST_LOOP_f_L): New macro.
20177 (llrint_test_data): New variable.
20178 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20179 (llrint_tonearest_test_data): New variable.
20180 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20181 (llrint_towardzero_test_data): New variable.
20182 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20183 (llrint_downward_test_data): New variable.
20184 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20185 (llrint_upward_test_data): New variable.
20186 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20187 (llround_test_data): New variable.
20188 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20190 2013-05-13 Peter Collingbourne <pcc@google.com>
20192 * math/atest-exp2.c (get_log2): Remove const attribute.
20194 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20196 * math/libm-test.inc (struct test_f_l_data): New type.
20197 (RUN_TEST_LOOP_f_l): New macro.
20198 (lrint_test_data): New variable.
20199 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20200 (lrint_tonearest_test_data): New variable.
20201 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20202 (lrint_towardzero_test_data): New variable.
20203 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20204 (lrint_downward_test_data): New variable.
20205 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20206 (lrint_upward_test_data): New variable.
20207 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20208 (lround_test_data): New variable.
20209 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20211 2013-05-15 Peter Collingbourne <pcc@google.com>
20213 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20214 (EXTRACT_WORDS64) Use where appropriate.
20215 (INSERT_WORDS64) Likewise.
20217 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20218 constraints with x constraints.
20219 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20221 * malloc/obstack.c (_obstack_compat): Add initializer.
20223 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20225 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20226 si_trapno and add si_addr_lsb to _sifields.sigfault.
20227 (si_trapno): Remove macro.
20228 (si_addr_lsb): Define new macro.
20229 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20231 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20233 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20234 instead of TEST_f_l.
20235 (llrint_test_tonearest): Likewise.
20236 (llrint_test_towardzero): Likewise.
20237 (llrint_test_downward): Likewise.
20238 (llrint_test_upward): Likewise.
20239 (llround_test): Likewise.
20241 * math/libm-test.inc (struct test_f_i_data): Add comment.
20242 (RUN_TEST_LOOP_f_b): New macro.
20243 (RUN_TEST_LOOP_f_b_tg): Likewise.
20244 (finite_test_data): New variable.
20245 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20246 (isfinite_test_data): New variable.
20247 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20248 (isinf_test_data): New variable.
20249 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20250 (isnan_test_data): New variable.
20251 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20252 (isnormal_test_data): New variable.
20253 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20254 (issignaling_test_data): New variable.
20255 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20256 (signbit_test_data): New variable.
20257 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20259 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20260 with INVALID_EXCEPTION.
20261 (acosh_test_data): Likewise.
20262 (asin_test_data): Likewise.
20263 (atanh_test_data): Likewise.
20264 (fmod_test_data): Likewise.
20265 (log_test_data): Likewise.
20266 (log10_test_data): Likewise.
20267 (log2_test_data): Likewise.
20268 (pow_test_data): Likewise.
20269 (sqrt_test_data): Likewise.
20270 (y0_test_data): Likewise.
20271 (y1_test_data): Likewise.
20272 (yn_test_data): Likewise.
20274 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20277 * math/libm-test.inc (struct test_ff_i_data): New type.
20278 (RUN_TEST_LOOP_ff_i_tg): New macro.
20279 (isgreater_test_data): New variable.
20280 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20281 (isgreaterequal_test_data): New variable.
20282 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20283 (isless_test_data): New variable.
20284 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20285 (islessequal_test_data): New variable.
20286 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20287 (islessgreater_test_data): New variable.
20288 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20289 (isunordered_test_data): New variable.
20290 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20292 2013-05-14 David S. Miller <davem@davemloft.net>
20294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20296 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20298 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20300 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20302 (struct test_f_i_data): Change type of max_ulp to int.
20304 * math/libm-test.inc (test_ffI_f1_data): New type.
20305 (RUN_TEST_LOOP_ffI_f1): New macro.
20306 (remquo_test_data): New variable.
20307 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20309 * setjmp/tst-setjmp-fp.c: New file.
20310 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20311 (link-libm): New variable.
20312 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20314 * math/libm-test.inc (struct test_f_i_data): New type.
20315 (RUN_TEST_LOOP_f_i): New macro.
20316 (RUN_TEST_LOOP_f_i_tg): Likewise.
20317 (fpclassify_test_data): New variable.
20318 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20319 (ilogb_test_data): New variable.
20320 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20322 * math/libm-test.inc (scalbln_test): Correct function name in END
20325 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20326 (RUN_TEST_LOOP_fI_f1): New macro.
20327 (frexp_test_data): New variable.
20328 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20330 * math/libm-test.inc (struct test_fF_f1_data): New type.
20331 (RUN_TEST_LOOP_fF_f1): New macro.
20332 (modf_test_data): New variable.
20333 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20335 * math/libm-test.inc (struct test_f_f1_data): New type.
20336 (RUN_TEST_LOOP_f_f1): New macro.
20337 (gamma_test_data): New variable.
20338 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20339 (lgamma_test_data): New variable.
20340 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20342 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20344 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20345 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20346 (main): Comment "tls" pseudo-hwcap.
20348 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20350 * math/libm-test.inc (struct test_fl_f_data): New type.
20351 (RUN_TEST_LOOP_fl_f): New variable.
20352 (scalbln_test_data): New variable.
20353 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20355 * math/libm-test.inc (struct test_fi_f_data): New type.
20356 (RUN_TEST_LOOP_fi_f): New macro.
20357 (ldexp_test_data): New variable.
20358 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20359 (scalbn_test_data): New variable.
20360 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20362 * math/libm-test.inc (struct test_c_f_data): New type.
20363 (RUN_TEST_LOOP_c_f): New macro.
20364 (cabs_test_data): New variable.
20365 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20366 (carg_test_data): New variable.
20367 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20368 (cimag_test_data): New variable.
20369 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20370 (creal_test_data): New variable.
20371 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20373 * math/libm-test.inc (struct test_if_f_data): New type.
20374 (RUN_TEST_LOOP_if_f): New macro.
20375 (jn_test_data): New variable.
20376 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20377 (yn_test_data): New variable.
20378 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20380 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20382 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20384 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20385 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20387 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20389 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20390 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20391 (bench-deps): Add bench-timing.h.
20392 * benchtests-bench-skeleton.c: Include bench-timing.h.
20393 (main): Use TIMING_* macros instead of clock_gettime.
20394 * benchtests/bench-timing.h: New file.
20397 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20398 Renamed from _LIB_VERSION.
20399 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20401 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20403 * math/libm-test.inc (struct test_fff_f_data): New type.
20404 (RUN_TEST_LOOP_fff_f): New macro.
20405 (fma_test_data): New variable.
20406 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20407 (fma_towardzero_test_data): New variable.
20408 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20409 (fma_downward_test_data): New variable.
20410 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20411 (fma_upward_test_data): New variable.
20412 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20414 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20415 (struct test_c_c_data): New type.
20416 (RUN_TEST_LOOP_c_c): New macro.
20417 (cacos_test_data): New variable.
20418 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20419 (cacosh_test_data): New variable.
20420 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20421 (casin_test_data): New variable.
20422 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20423 (casinh_test_data): New variable.
20424 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20425 (catan_test_data): New variable.
20426 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20427 (catanh_test_data): New variable.
20428 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20429 (ccos_test_data): New variable.
20430 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20431 (ccosh_test_data): New variable.
20432 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20433 (cexp_test_data): New variable.
20434 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20435 (clog_test_data): New variable.
20436 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20437 (clog10_test_data): New variable.
20438 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20439 (conj_test_data): New variable.
20440 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20441 (cproj_test_data): New variable.
20442 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20443 (csin_test_data): New variable.
20444 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20445 (csinh_test_data): New variable.
20446 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20447 (csqrt_test_data): New variable.
20448 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20449 (ctan_test_data): New variable.
20450 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20451 (ctan_tonearest_test_data): New variable.
20452 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20453 (ctan_towardzero_test_data): New variable.
20454 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20455 (ctan_downward_test_data): New variable.
20456 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20457 (ctan_upward_test_data): New variable.
20458 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20459 (ctanh_test_data): New variable.
20460 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20461 (ctanh_tonearest_test_data): New variable.
20462 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20463 (ctanh_towardzero_test_data): New variable.
20464 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20465 (ctanh_downward_test_data): New variable.
20466 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20467 (ctanh_upward_test_data): New variable.
20468 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20469 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20472 * math/libm-test.inc (struct test_ff_f_data): New type.
20473 (struct test_ff_f_data_nexttoward): Likewise.
20474 (RUN_TEST_LOOP_2_f): New macro.
20475 (RUN_TEST_LOOP_ff_f): Likewise.
20476 (atan2_test_data): New variable.
20477 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20478 (copysign_test_data): New variable.
20479 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20480 (fdim_test_data): New variable.
20481 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20482 (fmax_test_data): New variable.
20483 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20484 (fmin_test_data): New variable.
20485 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20486 (fmod_test_data): New variable.
20487 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20488 (hypot_test_data): New variable.
20489 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20490 (nextafter_test_data): New variable.
20491 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20492 (nexttoward_test_data): New variable.
20493 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20494 (pow_test_data): New variable.
20495 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20496 (pow_tonearest_test_data): New variable.
20497 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20498 (pow_towardzero_test_data): New variable.
20499 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20500 (pow_downward_test_data): New variable.
20501 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20502 (pow_upward_test_data): New variable.
20503 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20504 (remainder_test_data): New variable.
20505 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20506 (scalb_test_data): New variable.
20507 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20508 * sysdeps/i386/fpu/libm-test-ulps: Update.
20510 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20512 * math/libm-test.inc (fma_test): Use max_value instead of local
20514 (nextafter_test): Likewise.
20516 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20517 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20518 (acos_downward_test_data): New variable.
20519 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20520 (acos_upward_test_data): New variable.
20521 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20522 (acosh_test_data): New variable.
20523 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20524 (asin_test_data): New variable.
20525 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20526 (asin_tonearest_test_data): New variable.
20527 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20528 (asin_towardzero_test_data): New variable.
20529 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20530 (asin_downward_test_data): New variable.
20531 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20532 (asin_upward_test_data): New variable.
20533 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20534 (asinh_test_data): New variable.
20535 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20536 (atan_test_data): New variable.
20537 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20538 (atanh_test_data): New variable.
20539 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20540 (cbrt_test_data): New variable.
20541 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20542 (ceil_test_data): New variable.
20543 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20544 (cos_test_data): New variable.
20545 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20546 (cos_tonearest_test_data): New variable.
20547 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20548 (cos_towardzero_test_data): New variable.
20549 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20550 (cos_downward_test_data): New variable.
20551 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20552 (cos_upward_test_data): New variable.
20553 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20554 (cosh_test_data): New variable.
20555 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20556 (cosh_tonearest_test_data): New variable.
20557 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20558 (cosh_towardzero_test_data): New variable.
20559 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20560 (cosh_downward_test_data): New variable.
20561 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20562 (cosh_upward_test_data): New variable.
20563 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20564 (erf_test_data): New variable.
20565 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20566 (erfc_test_data): New variable.
20567 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20568 (exp_test_data): New variable.
20569 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20570 (exp_tonearest_test_data): New variable.
20571 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20572 (exp_towardzero_test_data): New variable.
20573 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20574 (exp_downward_test_data): New variable.
20575 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20576 (exp_upward_test_data): New variable.
20577 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20578 (exp10_test_data): New variable.
20579 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20580 (exp2_test_data): New variable.
20581 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20582 (expm1_test_data): New variable.
20583 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20584 (fabs_test_data): New variable.
20585 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20586 (floor_test_data): New variable.
20587 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20588 (j0_test_data): New variable.
20589 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20590 (j1_test_data): New variable.
20591 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20592 (log_test_data): New variable.
20593 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20594 (log10_test_data): New variable.
20595 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20596 (log1p_test_data): New variable.
20597 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20598 (log2_test_data): New variable.
20599 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20600 (logb_test_data): New variable.
20601 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20602 (logb_downward_test_data): New variable.
20603 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20604 (nearbyint_test_data): New variable.
20605 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20606 (rint_test_data): New variable.
20607 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20608 (rint_tonearest_test_data): New variable.
20609 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20610 (rint_towardzero_test_data): New variable.
20611 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20612 (rint_downward_test_data): New variable.
20613 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20614 (rint_upward_test_data): New variable.
20615 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20616 (round_test_data): New variable.
20617 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20618 (sin_test_data): New variable.
20619 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20620 (sin_tonearest_test_data): New variable.
20621 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20622 (sin_towardzero_test_data): New variable.
20623 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20624 (sin_downward_test_data): New variable.
20625 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20626 (sin_upward_test_data): New variable.
20627 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20628 (sinh_test_data): New variable.
20629 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20630 (sinh_tonearest_test_data): New variable.
20631 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20632 (sinh_towardzero_test_data): New variable.
20633 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20634 (sinh_downward_test_data): New variable.
20635 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20636 (sinh_upward_test_data): New variable.
20637 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20638 (sqrt_test_data): New variable.
20639 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20640 (tan_test_data): New variable.
20641 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20642 (tan_tonearest_test_data): New variable.
20643 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20644 (tan_towardzero_test_data): New variable.
20645 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20646 (tan_downward_test_data): New variable.
20647 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20648 (tan_upward_test_data): New variable.
20649 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20650 (tanh_test_data): New variable.
20651 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20652 (tgamma_test_data): New variable.
20653 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20654 (trunc_test_data): New variable.
20655 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20656 (y0_test_data): New variable.
20657 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20658 (y1_test_data): New variable.
20659 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20660 (significand_test_data): New variable.
20661 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20663 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20666 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20668 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20670 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20672 2013-05-10 Andreas Jaeger <aj@suse.de>
20675 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20676 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20678 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20680 * math/gen-libm-test.pl (adjust_arg): New function.
20681 (special_functions): Handle generating output in both functions
20683 (parse_args): Likewise.
20684 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20685 $in_func argument to parse_args.
20686 * math/libm-test.inc (struct test_f_f_data): New type.
20687 (IF_ROUND_INIT_): New macro.
20688 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20689 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20690 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20691 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20692 (ROUND_RESTORE_): Likewise.
20693 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20694 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20695 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20696 (ROUND_RESTORE_FE_UPWARD): Likewise.
20697 (RUN_TEST_LOOP_f_f): New macro.
20698 (acos_test_data): New variable.
20699 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20700 (acos_tonearest_test_data): New variable.
20701 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20703 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20705 * benchtests/bench-skeleton.c (startup): Fix coding style.
20707 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20710 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20711 negative infinity argument.
20712 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20713 negative infinity argument.
20714 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20715 negative infinity argument.
20716 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20719 2013-05-10 Florian Weimer <fweimer@redhat.com>
20721 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20722 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20723 * iconv/iconv_prog.c (main): Likewise.
20724 * locale/programs/charmap-dir.c (charmap_readdir)
20725 (fopen_uncompressed): Likewise.
20726 * locale/programs/locfile.c (siblings_uncached)
20727 (write_locale_data): Use lstat64 instead of lstat.
20728 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20731 2013-05-10 Andreas Jaeger <aj@suse.de>
20734 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20736 Include <locale.h>.
20738 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20740 * elf/dl-close.c (_dl_close_worker): Add comments.
20742 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20745 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20747 (__ieee754_rem_pio2l): Update comments.
20750 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20752 (__ieee754_rem_pio2l): Update comments.
20754 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20755 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20757 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20760 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20761 (M_PI_34_LOG10El): Likewise.
20762 (M_PI2_LOG10El): Likewise.
20763 (M_PI4_LOG10El): Likewise.
20764 (M_PI_LOG10El): Likewise.
20766 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20770 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20772 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20773 (MINUS_ZERO_INIT): Likewise.
20774 (PLUS_INFTY_INIT): Likewise.
20775 (MINUS_INFTY_INIT): Likewise.
20776 (QNAN_VALUE_INIT): Likewise.
20777 (MAX_VALUE_INIT): Likewise.
20778 (MIN_VALUE_INIT): Likewise.
20779 (MIN_SUBNORM_VALUE_INIT): Likewise.
20780 (plus_zero): Initialize with PLUS_ZERO_INIT.
20781 (minus_zero): Initialize with MINUS_ZERO_INIT.
20782 (plus_infty): Initialize with PLUS_INFTY_INIT.
20783 (minus_infty): Initialize with MINUS_INFTY_INIT.
20784 (qnan_value): Initialize with QNAN_VALUE_INIT.
20785 (max_value): Initialize with MAX_VALUE_INIT.
20786 (min_value): Initialize with MIN_VALUE_INIT.
20787 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20789 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20790 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20791 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20792 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20794 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20795 (RUN_TEST_2_f): Likewise.
20796 (RUN_TEST_ff_f): Likewise.
20797 (RUN_TEST_fi_f): Likewise.
20798 (RUN_TEST_fl_f): Likewise.
20799 (RUN_TEST_fff_f): Likewise.
20800 (RUN_TEST_c_f): Likewise.
20801 (RUN_TEST_f_f1): Likewise.
20802 (RUN_TEST_fF_f1): Likewise.
20803 (RUN_TEST_fI_f1): Likewise.
20804 (RUN_TEST_ffI_f1): Likewise.
20805 (RUN_TEST_c_c): Likewise.
20806 (RUN_TEST_cc_c): Likewise.
20807 (RUN_TEST_f_i): Likewise.
20808 (RUN_TEST_f_i_tg): Likewise.
20809 (RUN_TEST_ff_i_tg): Likewise.
20810 (RUN_TEST_f_b): Likewise.
20811 (RUN_TEST_f_b_tg): Likewise.
20812 (RUN_TEST_f_l): Likewise.
20813 (RUN_TEST_f_L): Likewise.
20814 (RUN_TEST_sincos): Likewise.
20815 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20816 whether to show exceptions. Do not include ");\n" in return
20818 (special_functions): Output call to RUN_TEST_sincos instead of
20819 check_float calls. Update calls to new_test.
20820 (parse_args): Output call to single RUN_TEST_* macro instead of
20821 check_* calls and other assignments. Update calls to new_test.
20827 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20828 input to result for tgamma overflow.
20829 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20830 (gamma_coeff): New variable.
20831 (NCOEFF): New macro.
20832 (gamma_positive): New function.
20833 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20834 underflow here. Use gamma_positive instead of exp (lgamma) for
20836 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20837 (gamma_coeff): New variable.
20838 (NCOEFF): New macro.
20839 (gammaf_positive): New function.
20840 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20841 underflow here. Use gamma_positive instead of exp (lgamma) for
20843 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20844 (gamma_coeff): New variable.
20845 (NCOEFF): New macro.
20846 (gammal_positive): New function.
20847 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20848 underflow here. Use gamma_positive instead of exp (lgamma) for
20850 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20851 (gamma_coeff): New variable.
20852 (NCOEFF): New macro.
20853 (gammal_positive): New function.
20854 (__ieee754_gammal_r): Handle positive infinity, overflow and
20855 underflow here. Handle NaN the same as positive infinity. Remove
20856 check x < 0xffffffff for negative integers. Use gamma_positive
20857 instead of exp (lgamma) for other arguments.
20858 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20859 (gamma_coeff): New variable.
20860 (NCOEFF): New macro.
20861 (gammal_positive): New function.
20862 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20863 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20864 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20865 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20866 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20867 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20868 * sysdeps/generic/math_private.h (__gamma_productf): New
20870 (__gamma_product): Likewise.
20871 (__gamma_productl): Likewise.
20872 * math/Makefile (libm-calls): Add gamma_product.
20873 * math/libm-test.inc (tgamma_test): Add more tests.
20874 * sysdeps/i386/fpu/libm-test-ulps: Update.
20875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20877 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20879 * benchtests/bench-skeleton.c (main): Preheat CPU.
20881 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20883 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20885 2013-05-07 Roland McGrath <roland@hack.frob.com>
20887 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20888 and _dl_skip_args_internal.
20890 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20892 * manual/message.texi (Message Translation): Talk about users.
20893 Message to key mapping impacts design.
20895 2013-05-06 Roland McGrath <roland@hack.frob.com>
20897 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20899 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20901 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20902 * sysdeps/wordsize-64/glob64.c: ... here.
20904 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20905 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20908 * debug/getlogin_r_chk.c: Moved to ...
20909 * login/getlogin_r_chk.c: ... here.
20910 * debug/Makefile (routines): Move getlogin_r_chk to ...
20911 * login/Makefile (routines): ... here.
20912 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20913 * login/Versions (libc: GLIBC_2.4): ... here.
20915 * io/poll.c (__poll): Renamed from poll.
20916 Add libc_hidden_def.
20917 (poll): Define as weak alias.
20919 * debug/ptsname_r_chk.c: Moved to ...
20920 * login/ptsname_r_chk.c: ... here.
20921 * debug/Makefile (routines): Move ptsname_r_chk to ...
20922 * login/Makefile (routines): ... here.
20923 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20924 * login/Versions (libc: GLIBC_2.4): ... here.
20926 * posix/getlogin.c: Moved to ...
20927 * login/getlogin.c: ... here.
20928 * posix/getlogin_r.c: Moved to ...
20929 * login/getlogin_r.c: ... here.
20930 * posix/getlogin_r.c: Moved to ...
20931 * login/getlogin_r.c: ... here.
20932 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20933 * login/Makefile (routines): ... here.
20934 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20935 * login/Versions (libc: GLIBC_2.0): ... here.
20937 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20938 (setrlimit): Define as weak alias.
20940 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20941 Call __ names for open, ftruncate, and close.
20942 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20943 (truncate): Define as weak alias.
20945 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20947 * math/gen-libm-test.pl (parse_args): Initialize x before each
20948 test of frexp, modf and remquo.
20950 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20951 test signgam value.
20953 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20957 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20959 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20961 2013-05-06 Roland McGrath <roland@hack.frob.com>
20963 * elf/dl-writev.h: New file.
20964 * elf/dl-misc.c: Include it.
20965 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20966 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20968 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20970 * math/libm-test.inc (noXFails): Remove variable.
20971 (noXPasses): Likewise.
20972 (BUILD_COMPLEX_INT): Remove macro.
20973 (print_screen): Remove xfail argument.
20974 (print_screen_max_error): Likewise.
20975 (update_stats): Likewise.
20976 (print_max_error): Likewise. Update calls to other affected
20978 (print_complex_max_error): Likewise.
20979 (test_single_exception): Update calls to print_screen.
20980 (test_single_errno): Likewise.
20981 (check_float_internal): Remove xfail argument. Update calls to
20982 other affected functions.
20983 (check_float): Likewise.
20984 (check_complex): Likewise.
20985 (check_int): Likewise.
20986 (check_long): Likewise.
20987 (check_bool): Likewise.
20988 (check_longlong): Likewise.
20989 (main): Don't print noXFails and noXPasses.
20990 * math/gen-libm-test.pl (top level): Don't mention expected
20991 failure handling in comment.
20992 (new_test): Don't handle expected failures.
20993 (parse_args): Don't mention expected failure handling in comment.
20994 (generate_testfile): Don't handle expected failures.
20995 (parse_ulps): Likewise.
20996 (print_ulps_file): Likewise.
20997 (get_failure): Remove function.
20998 (output_test): Don't handle expected failures.
20999 * make/README.libm-test: Don't mention expected failure handling.
21001 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21002 (minus_zero): Likewise.
21003 (plus_infty): Likewise.
21004 (minus_infty): Likewise.
21005 (qnan_value): Likewise.
21006 (max_value): Likewise.
21007 (min_value): Likewise.
21008 (min_subnorm_value): Likewise.
21009 (initialize): Do not initialize those variables dynamically.
21011 2013-05-03 Roland McGrath <roland@hack.frob.com>
21013 * io/open.c (__open_2): Moved to ...
21014 * io/open_2.c: ... this new file.
21015 * io/open64.c (__open64_2): Moved to ...
21016 * io/open64_2.c: ... this new file.
21017 * io/openat.c (__openat_2): Moved to ...
21018 * io/openat_2.c: ... this new file.
21019 * io/openat64.c (__openat64_2): Moved to ...
21020 * io/openat64_2.c: ... this new file.
21021 * io/Makefile (routines): Add them.
21022 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21023 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21024 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21025 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21026 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21027 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21028 (__openat64): Add hidden_ver.
21029 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21030 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21032 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21033 Separately conditionalize setting of GLRO(dl_sysinfo) so
21034 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21035 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21037 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21039 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21040 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21042 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21043 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21044 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21045 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21046 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21048 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21050 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21051 test signgam value.
21053 * math/libm-test.inc (hypot_test): Do not use
21054 IGNORE_ZERO_INF_SIGN.
21056 2013-05-03 Andreas Jaeger <aj@suse.de>
21058 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21060 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21061 (PF_MAX): Adjust for VSOCK change.
21063 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21067 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21070 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21071 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21072 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21074 2013-05-02 David S. Miller <davem@davemloft.net>
21076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21078 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21080 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21082 2013-05-01 Roland McGrath <roland@hack.frob.com>
21084 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21086 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21089 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21090 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21091 Use __attribute__ ((__gnu_inline__)).
21092 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21093 Don't use __attribute__ ((__gnu_inline__)).
21095 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21098 * math/s_catan.c (__catan): Handle small real or imaginary part of
21099 input specially to avoid spurious underflow.
21100 * math/s_catanf.c (__catanf): Likewise.
21101 * math/s_catanh.c (__catanh): Likewise.
21102 * math/s_catanhf.c (__catanhf): Likewise.
21103 * math/s_catanhl.c (__catanhl): Likewise.
21104 * math/s_catanl.c (__catanl): Likewise.
21105 * math/libm-test.inc (catan_test): Add more tests.
21106 (catanh_test): Likewise.
21107 * sysdeps/i386/fpu/libm-test-ulps: Update.
21108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21110 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21114 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21117 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21118 accurately for denominator in atan2.
21119 * math/s_catanf.c (__catanf): Likewise.
21120 * math/s_catanh.c (__catanh): Likewise.
21121 * math/s_catanhf.c (__catanhf): Likewise.
21122 * math/s_catanhl.c (__catanhl): Likewise.
21123 * math/s_catanl.c (__catanl): Likewise.
21124 * math/libm-test.inc (catan_test): Add more tests.
21125 (catanh_test): Likewise.
21126 * sysdeps/i386/fpu/libm-test-ulps: Update.
21127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21129 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21131 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21133 * benchtests/Makefile (bench): Remove slow benchmarks.
21134 * benchtests/atan-inputs: Add slow benchmark inputs.
21135 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21136 (BENCH_FUNC): Accept variant offset.
21138 * benchtests/bench-skeleton.c (main): Run benchmark for each
21140 * benchtests/cos-inputs: Add slow benchmark inputs.
21141 * benchtests/exp-inputs: Likewise.
21142 * benchtests/pow-inputs: Likewise.
21143 * benchtests/sin-inputs: Likewise.
21144 * benchtests/slowatan-inputs: Remove.
21145 * benchtests/slowatan.c: Remove.
21146 * benchtests/slowcos-inputs: Remove.
21147 * benchtests/slowcos.c: Remove.
21148 * benchtests/slowexp-inputs: Remove.
21149 * benchtests/slowexp.c: Remove.
21150 * benchtests/slowpow-inputs: Remove.
21151 * benchtests/slowpow.c: Remove.
21152 * benchtests/slowsin-inputs: Remove.
21153 * benchtests/slowsin.c: Remove.
21154 * benchtests/slowtan-inputs: Remove.
21155 * benchtests/slowtan.c: Remove.
21156 * benchtests/tan-inputs: Add slow benchmark inputs.
21157 * scripts/bench.pl: Parse comments and directives.
21159 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21161 ($(objpfx)bench-%.c): Remove *-ITER.
21162 * benchtests/bench-modf.c: Remove definition of ITER.
21163 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21164 (main): Loop for DURATION seconds instead of fixed number of
21166 * scripts/bench.pl: Don't expect iterations in parameters.
21168 2013-04-29 Roland McGrath <roland@hack.frob.com>
21170 * io/fchdir.c (__fchdir): Renamed from fchdir.
21171 (fchdir): Define as weak alias.
21173 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21175 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21176 (ERRNO_EDOM): Likewise.
21177 (ERRNO_ERANGE): Likewise.
21178 (noErrnoTests): New variable.
21179 (init_max_error): Set errno to 0.
21180 (test_single_errno): New function.
21181 (test_errno): Likewise.
21182 (check_float_internal): Call test_errno. Set errno to 0.
21183 (check_complex): Refer to errno tests in comment.
21184 (check_int): Call test_errno. Set errno to 0.
21185 (check_long): Likewise.
21186 (check_bool): Likewise.
21187 (check_longlong): Likewise.
21188 (cos_test): Use ERRNO_* flags for errno tests instead of
21190 (expm1_test): Likewise.
21191 (fmod_test): Likewise.
21192 (ilogb_test): Likewise.
21193 (lgamma_test): Likewise.
21194 (pow_test): Likewise.
21195 (remainder_test): Likewise.
21196 (sin_test): Likewise.
21197 (tan_test): Likewise.
21198 (yn_test): Likewise.
21199 (initialize): Set errno to 0.
21200 (main): Print number of errno tests.
21201 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21203 2013-04-29 Andreas Jaeger <aj@suse.de>
21206 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21210 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21211 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21215 * stdlib/random.c (__initstate): Return NULL if
21219 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21220 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21223 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21227 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21229 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21230 of individual tests.
21231 (casin_test): Likewise.
21232 (casinh_test): Likewise.
21234 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21237 * math/s_catan.c (__catan): Handle arguments with large real or
21238 imaginary part separately without squaring.
21239 * math/s_catanf.c (__catanf): Likewise.
21240 * math/s_catanh.c (__catanh): Likewise.
21241 * math/s_catanhf.c (__catanhf): Likewise.
21242 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21244 (__catanhl): Handle arguments with large real or imaginary part
21245 separately without squaring.
21246 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21248 (__catanl): Handle arguments with large real or imaginary part
21249 separately without squaring.
21250 * math/libm-test.inc (catan_test): Add more tests.
21251 (catanh_test): Likewise.
21252 * sysdeps/i386/fpu/libm-test-ulps: Update.
21253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21255 2013-04-27 Andreas Jaeger <aj@suse.de>
21258 * stdlib/stdlib.h: Update guards for qecvt.
21259 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21262 2013-04-27 Allan McRae <allan@archlinux.org>
21264 * sysdeps/i386/fpu/libm-test-ulps: Update.
21266 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21269 * math/s_catan.c: Include <float.h>.
21270 (__catan): Ensure underflow exception occurs for underflowed
21272 * math/s_catanf.c: Include <float.h>.
21273 (__catanf): Ensure underflow exception occurs for underflowed
21275 * math/s_catanh.c: Include <float.h>.
21276 (__catanh): Ensure underflow exception occurs for underflowed
21278 * math/s_catanhf.c: Include <float.h>.
21279 (__catanhf): Ensure underflow exception occurs for underflowed
21281 * math/s_catanhl.c: Include <float.h>.
21282 (__catanhl): Ensure underflow exception occurs for underflowed
21284 * math/s_catanl.c: Include <float.h>.
21285 (__catanl): Ensure underflow exception occurs for underflowed
21287 * math/libm-test.inc (catan_test): Add more tests.
21288 (catanh_test): Likewise.
21291 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21292 underflowed result.
21293 * math/s_ccoshf.c (__ccoshf): Likewise.
21294 * math/s_ccoshl.c (__ccoshl): Likewise.
21295 * math/s_csin.c (__csin): Likewise.
21296 * math/s_csinf.c (__csinf): Likewise.
21297 * math/s_csinh.c (__csinh): Likewise.
21298 * math/s_csinhf.c (__csinhf): Likewise.
21299 * math/s_csinhl.c (__csinhl): Likewise.
21300 * math/s_csinl.c (__csinl): Likewise.
21301 * math/libm-test.inc (ccos_test): Add more tests.
21302 (ccosh_test): Likewise.
21303 (csin_test): Likewise.
21304 (csinh_test): Likewise.
21306 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21308 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21309 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21310 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21311 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21312 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21313 powerpc/power5+/fpu folders.
21314 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21317 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21321 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21323 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21324 additions to variable.
21325 [$(config-machine) = x86_64] (modules-names): Likewise.
21326 ($(objpfx)tst-audit3): Remove dependency.
21327 ($(objpfx)tst-audit3.out): Likewise.
21328 ($(objpfx)tst-audit4): Likewise.
21329 ($(objpfx)tst-audit4.out): Likewise.
21330 ($(objpfx)tst-audit5): Likewise.
21331 ($(objpfx)tst-audit5.out): Likewise.
21332 ($(objpfx)tst-audit6): Likewise.
21333 ($(objpfx)tst-audit6.out): Likewise.
21334 ($(objpfx)tst-audit7): Likewise.
21335 ($(objpfx)tst-audit7.out): Likewise.
21336 (tst-audit3-ENV): Remove variable.
21337 (tst-audit4-ENV): Likewise.
21338 (tst-audit5-ENV): Likewise.
21339 (tst-audit6-ENV): Likewise.
21340 (tst-audit7-ENV): Likewise.
21341 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21342 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21343 addition to variable.
21344 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21345 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21346 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21347 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21348 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21349 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21350 tst-audit3, tst-audit4 and tst-audit5.
21351 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21352 tst-audit6 and tst-audit7.
21353 [$(subdir) = elf] (modules-names): Add audit modules for those
21355 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21356 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21357 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21358 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21359 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21360 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21361 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21362 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21363 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21364 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21365 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21366 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21367 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21368 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21369 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21370 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21372 [$(subdir) = elf && $(config-cflags-avx) = yes]
21373 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21374 [$(subdir) = elf && $(config-cflags-avx) = yes]
21375 (CFLAGS-tst-auditmod4a.c): Likewise.
21376 [$(subdir) = elf && $(config-cflags-avx) = yes]
21377 (CFLAGS-tst-auditmod4b.c): Likewise.
21378 [$(subdir) = elf && $(config-cflags-avx) = yes]
21379 (CFLAGS-tst-auditmod6b.c): Likewise.
21380 [$(subdir) = elf && $(config-cflags-avx) = yes]
21381 (CFLAGS-tst-auditmod6c.c): Likewise.
21382 [$(subdir) = elf && $(config-cflags-avx) = yes]
21383 (CFLAGS-tst-auditmod7b.c): Likewise.
21384 * elf/tst-audit3.c: Move to ...
21385 * sysdeps/x86_64/tst-audit3.c: ... here.
21386 * elf/tst-audit4.c: Move to ...
21387 * sysdeps/x86_64/tst-audit4.c: ... here.
21388 * elf/tst-audit5.c: Move to ...
21389 * sysdeps/x86_64/tst-audit5.c: ... here.
21390 * elf/tst-audit6.c: Move to ...
21391 * sysdeps/x86_64/tst-audit6.c: ... here.
21392 * elf/tst-audit7.c: Move to ...
21393 * sysdeps/x86_64/tst-audit7.c: ... here.
21394 * elf/tst-auditmod3a.c: Move to ...
21395 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21396 * elf/tst-auditmod3b.c: Move to ...
21397 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21398 * elf/tst-auditmod4a.c: Move to ...
21399 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21400 * elf/tst-auditmod4b.c: Move to ...
21401 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21402 * elf/tst-auditmod5a.c: Move to ...
21403 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21404 * elf/tst-auditmod5b.c: Move to ...
21405 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21406 * elf/tst-auditmod6a.c: Move to ...
21407 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21408 * elf/tst-auditmod6b.c: Move to ...
21409 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21410 * elf/tst-auditmod6c.c: Move to ...
21411 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21412 * elf/tst-auditmod7a.c: Move to ...
21413 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21414 * elf/tst-auditmod7b.c: Move to ...
21415 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21417 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21420 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21421 define unconditionally.
21422 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21423 define unconditionally.
21424 (INT8_C, INT16_C, etc.): Likewise.
21426 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21428 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21429 __ehdr_start with hidden visibility.
21431 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21433 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21435 * math/libm-test.inc (cos_test): Use accurate hex constants.
21436 (sincost_test): Likewise.
21438 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21440 * math/libm-test.inc (catan_test): Add more tests.
21441 (catanh_test): Likewise.
21443 * math/s_catanf.c (__catanf): Use suffixed floating-point
21445 * math/s_catanhf.c (__catanhf): Likewise.
21446 * math/s_catanhl.c (__catanhl): Likewise.
21447 * math/s_catanl.c (__catanl): Likewise.
21450 * math/s_catan.c (__catan): Calculate imaginary part of result
21451 with log1p not log unless computing log of number close to 0.
21452 * math/s_catanf.c (__catanf): Likewise.
21453 * math/s_catanl.c (__catanl): Likewise.
21454 * math/s_catanh.c (__catanh): Calculate real part of result with
21455 log1p not log unless computing log of number close to 0.
21456 * math/s_catanhf.c (__catanhf): Likewise.
21457 * math/s_catanhl.c (__catanhl): Likewise.
21458 * math/libm-test.inc (catan_test): Add more tests.
21459 (catanh_test): Likewise.
21460 * sysdeps/i386/fpu/libm-test-ulps: Update.
21461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21463 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21465 * benchtests/Makefile: Mention files in which fast and slow
21466 paths of math functions are implemented.
21468 2013-04-23 Roland McGrath <roland@hack.frob.com>
21470 * sysdeps/posix/timespec_get.c: New file.
21472 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21474 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21476 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21478 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21479 powerpc/power5/fpu folders.
21480 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21481 * benchtests/Makefile: Add modf testcase.
21482 * benchtests/bench-modf.c: New file: Benchmark test for mo
21484 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21487 * time/Makefile (tests): Add tst-strptime-whitespace.
21488 * time/strptime_l.c (get_number): Use ISSPACE.
21489 (__strptime_internal): Likewise.
21490 * time/tst-strptime-whitespace.c: New test case.
21492 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21494 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21496 (_nss_files_init): Set it here.
21498 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21500 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21501 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21504 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21506 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21508 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21513 2013-04-21 David S. Miller <davem@davemloft.net>
21515 * po/ru.po: Update Russion translation from translation project.
21517 2013-04-17 Adam Conrad <adconrad@0c3.net>
21519 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21522 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21524 * configure.in: Remove i386 configure warning. Remove i386 case.
21525 * configure: Regenerate.
21526 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21527 Add example to error message.
21528 * sysdeps/i386/configure: Regenerate.
21530 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21532 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21534 * benchtests/cos-inputs: New file.
21535 * benchtests/slowcos-inputs: New file.
21536 * benchtests/slowcos.c: New file.
21537 * benchtests/slowtan-inputs: New file.
21538 * benchtests/slowtan.c: New file.
21539 * benchtests/tan-inputs: New file.
21541 2013-04-16 Roland McGrath <roland@hack.frob.com>
21543 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21546 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21548 * benchtests/Makefile: Include cppflags-iterator.mk to add
21549 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21551 * Makefile.in (bench-clean): New target.
21552 * benchtests/Makefile (bench-clean): Likewise.
21554 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21556 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21558 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21560 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21562 2013-04-15 Andreas Schwab <schwab@suse.de>
21564 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21565 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21566 * nscd/pwdcache.c (cache_addpw): Likewise.
21567 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21570 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21572 * benchtests/Makefile (bench): Write all output to
21573 bench-out.tmp together.
21575 2013-04-15 Andreas Schwab <schwab@suse.de>
21577 * nscd/nscd.c (main): Don't fork again after closing files.
21579 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21581 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21583 * benchtests/Rules (bench-deps): Collect dependencies into a
21584 single variable. Add Makefile to dependencies.
21585 ($(objpfx)bench-%.c): Depend on bench-deps.
21587 2013-04-12 Roland McGrath <roland@hack.frob.com>
21588 Xavier Roche <roche+kml2@exalead.com>
21591 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21592 just that it's a file descriptor.
21593 * manual/llio.texi (Synchronizing AIO Operations): Update description
21594 for EBADF error from aio_fsync.
21596 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21598 * Rules (bench): Move target definition...
21599 * benchtests/Makefile: ... here.
21601 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21603 * math/libm-test.inc (cos_test): Fix PI/2 test.
21604 (sincos_test): Likewise.
21605 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21606 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21608 2013-04-11 Andreas Schwab <schwab@suse.de>
21611 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21612 accept exponent character only when digits were seen.
21613 * stdio-common/Makefile (tests): Add bug26.
21614 * stdio-common/bug26.c: New file.
21617 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21620 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21622 * Makeconfig (rtld-prefix): Define built linker prefix.
21623 * Rules (run-bench): Use it.
21624 * math/Makefile (run-regen-ulps): Likewise.
21626 * Rules (bench): Remove eval.
21628 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21629 Roland McGrath <roland@hack.frob.com>
21630 Ondrej Bilka <neleai@seznam.cz>
21633 * time/getdate.c: Include ctype.h and alloca.h.
21634 (__getdate_r): Trim leading and trailing spaces of input.
21635 * time/tst-getdate.c (tests): Add tests with leading and
21638 2013-04-08 Roland McGrath <roland@hack.frob.com>
21641 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21642 when computing value.
21644 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21646 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21647 Use testrun.sh to run libm tests.
21650 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21652 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21655 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21657 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21659 * Makefile.in (regen-ulps): New target.
21660 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21661 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21662 [ifneq (no,$(PERL)] (regen-ulps): New target.
21663 [ifeq (no,$(PERL)] (regen-ulps): New target.
21664 * math/libm-test.inc (ulps_file_name): Define.
21665 (output_dir): New variable.
21666 (options): Add "output-dir" option.
21667 (parse_opt): Handle 'o' case.
21668 (main): If output_dir is non-NULL use it as a prefix
21670 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21672 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21674 [BZ #10060, #10062]
21675 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21676 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21677 fail configure if __sync_val_compare_and_swap is not inlined.
21678 * sysdeps/i386/configure: Regenerate.
21679 * configure.in: Build for i686 when configured for i386.
21680 * configure: Regenerate.
21681 * README: Remove i386 reference.
21683 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21685 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21686 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21688 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21690 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21691 (lmsnanval): New variables.
21692 (F): Add conversion tests.
21693 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21694 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21696 * stdio-common/tstdiomisc.c (F): Properly collect individual
21699 [BZ #14686, #15336]
21700 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21701 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21702 Instead, use input NaN values or generate a qNaN by arithmetic
21703 operation. Also fix bugs to comply with the standard.
21704 * math/libm-test.inc (remainder_test): Add more tests.
21706 [BZ #15335, #15342]
21707 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21708 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21709 input NaN values or generate a qNaN by arithmetic operation.
21711 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21714 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21717 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21720 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21721 underflowed result.
21722 * math/s_cexpf.c (__cexpf): Likewise.
21723 * math/s_cexpl.c (__cexpl): Likewise.
21724 * math/libm-test.inc (cexp_test): Add more tests.
21726 2013-04-03 Andreas Schwab <schwab@suse.de>
21729 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21730 order arrays from heap if bigger than alloca cutoff.
21732 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21734 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21735 (SNAN_TESTS_double): Refer to GCC PR56831.
21736 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21739 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21741 * Rules (bench): Move bench.out after the run is complete.
21743 * Rules (bench): Echo currently running benchmark.
21745 * benchtests/Makefile (bench): Add atan and slowatan.
21746 * benchtests/atan-inputs: New file.
21747 * benchtests/slowatan-inputs: New file.
21748 * benchtests/slowatan.c: New file.
21750 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21751 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21755 * sysdeps/unix/sysv/linux/kernel-features.h
21756 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21757 __ASSUME_XFS_RESTRICTED_CHOWN.
21758 * sysdeps/unix/sysv/linux/pathconf.c
21759 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21760 Save and restore errno.
21762 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21765 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21766 arguments using __kernel_casinh.
21767 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21768 arguments using __kernel_casinhf.
21769 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21770 arguments using __kernel_casinhl.
21771 * math/libm-test.inc (cacosh_test): Add more tests.
21772 * sysdeps/i386/fpu/libm-test-ulps: Update.
21773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21775 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21777 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21780 * bench/Makefile (bench): Add sin and slowsin.
21781 * benchtests/sin-inputs: New file.
21782 * benchtests/slowsin-inputs: New file.
21783 * benchtests/slowsin.c: New file.
21785 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21786 (bench): Add slowexp and slowpow.
21787 (exp-ITER): Increase iterations.
21788 (pow-ITER): Likewise.
21789 * benchtests/exp-inputs: Change input.
21790 * benchtests/pow-inputs: Likewise.
21791 * benchtests/slowexp-inputs: New file.
21792 * benchtests/slowexp.c: New file.
21793 * benchtests/slowpow-inputs: New file.
21794 * benchtests/slowpow.c: New file.
21796 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21798 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21800 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21801 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21802 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21803 * benchtests/Makefile: Add rint benchtest.
21804 * benchtests/rint-inputs: Input for rint benchtest.
21806 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21808 * Versions.def (libm): Add GLIBC_2.18.
21809 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21810 hidden libm prototypes.
21811 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21812 * math/Makefile (libm-calls): Add s_issignaling.
21813 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21814 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21815 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21817 * math/math.h [__USE_GNU] (issignaling): New macro.
21818 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21819 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21821 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21824 * manual/arith.texi (issignaling): New section.
21825 * manual/libm-err-tab.pl (@all_functions): Update comment.
21826 * math/gen-libm-test.pl (parse_args): Apply special handling for
21828 * math/libm-test.inc (print_float, issignaling_test): New
21830 (check_float_internal): Add issignaling checks.
21831 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21832 default definition.
21833 * sysdeps/powerpc/math-tests.h: New file.
21834 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21836 * math/test-snan.c (TEST_FUNC): Likewise.
21838 2013-03-30 David S. Miller <davem@davemloft.net>
21840 * po/de.po: Update from translation team.
21842 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21845 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21846 imaginary part less than 1.0 and real part less than 0.5
21848 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21849 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21850 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21851 (cacos_test): Add more tests.
21852 (casin_test): Likewise.
21853 (casinh_test): Likewise.
21854 * sysdeps/i386/fpu/libm-test-ulps: Update.
21855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21857 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21859 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21860 ONE with its value.
21862 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21863 (__pow_mp): Replace ONE and MONE with their values.
21864 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21865 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21866 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21867 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21868 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21869 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21871 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21873 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21874 (__pow_mp): Replace ZERO and MZERO with their values.
21875 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21876 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21877 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21879 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21880 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21883 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21885 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21887 2013-03-28 Roland McGrath <roland@hack.frob.com>
21889 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21890 Declare with __attribute__ ((weak)).
21891 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21892 Call __call_tls_dtors only if it's not NULL.
21894 2013-03-28 Roland McGrath <roland@hack.frob.com>
21896 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21897 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21898 magic __ehdr_start linker symbol if it's defined.
21899 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21900 them up here if it was already done.
21902 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21903 (_dl_aux_init): Use const in cast when setting it.
21904 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21905 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21906 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21908 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21910 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21911 * csu/libc-tls.c: Nor here.
21912 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21914 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21915 (__libc_message): Never call vsyslog.
21917 2013-03-28 Alan Modra <amodra@gmail.com>
21919 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21921 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21924 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21927 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21931 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21934 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21935 Don't add gid passed as argument.
21937 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21939 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21942 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21943 imaginary part between 1.0 and 1.5 and real part less than 0.5
21945 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21946 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21947 * math/libm-test.inc (cacos_test): Add more tests.
21948 (casin_test): Likewise.
21949 (casinh_test): Likewise.
21950 * sysdeps/i386/fpu/libm-test-ulps: Update.
21951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21953 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21955 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21958 (denorm): Likewise.
21959 (__dbl_mp): Likewise.
21960 (add_magnitudes): Likewise.
21961 (sub_magnitudes): Likewise.
21969 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21971 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21972 (__dubcos): Likewise.
21973 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21974 (__ieee754_acos): Likewise.
21975 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21976 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21977 (__exp1): Likewise.
21978 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21981 (my_log2): Likewise.
21982 (checkint): Likewise.
21983 * sysdeps/ieee754/dbl-64/e_remainder.c
21984 (__ieee754_remainder): Likewise.
21985 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21987 (bsloww): Likewise.
21988 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21990 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21991 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21992 MANTISSA_STORE_T to store computations on mantissa. Use
21993 macros for rounding and division.
21994 (denorm): Likewise.
21995 (__dbl_mp): Likewise.
21996 (add_magnitudes): Likewise.
21997 (sub_magnitudes): Likewise.
22000 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22001 powers of two in terms of TWOPOW macro.
22002 (mp_no): Make type of mantissa as MANTISSA_T.
22003 [!RADIXI]: Define RADIXI.
22004 [!TWO52]: Define TWO52.
22005 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22007 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22009 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22010 llroundl symbol when building for PPC32.
22012 2013-03-24 Mark H Weaver <mhw@netris.org>
22014 * manual/arith.texi (Normalization Functions): Fix prototypes for
22015 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22017 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22021 high value to check if expl overflow.
22022 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22023 to check for underflow and overflow.
22024 * math/libm-test.inc: Add exp test.
22026 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22029 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22032 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22034 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22037 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22039 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22040 wrap blocks consisting of several statements.
22042 * sysdeps/generic/math-tests.h: New file.
22043 * sysdeps/i386/fpu/math-tests.h: Likewise.
22044 * math/test-snan.c: Include it.
22045 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22047 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22050 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22051 (__ieee754_j0l): Do not improve calculations using cos of twice
22052 input for inputs above LDBL_MAX / 2.0L.
22053 (__ieee754_y0l): Likewise.
22054 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22055 (__ieee754_j1l): Do not improve calculations using cos of twice
22056 input for inputs above LDBL_MAX / 2.0L.
22057 (__ieee754_y1l): Likewise.
22058 * math/libm-test.inc (j0_test): Add another test.
22059 (j1_test): Likewise.
22060 (y0_test): Likewise.
22061 (y1_test): Likewise.
22062 * sysdeps/i386/fpu/libm-test-ulps: Update.
22064 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22066 * Rules ($(objpfx)bench-%.c): Include code from a C source
22069 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22072 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22073 imaginary part 1.0 and real part less than 0.5 specially.
22074 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22075 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22076 * math/libm-test.inc (cacos_test): Add more tests.
22077 (casin_test): Likewise.
22078 (casinh_test): Likewise.
22079 * sysdeps/i386/fpu/libm-test-ulps: Update.
22080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22082 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22084 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22085 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22087 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22089 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22090 * config.make.in (config-cflags-sse4): Remove variable.
22091 (config-cflags-avx): Likewise.
22092 (config-cflags-sse2avx): Likewise.
22093 (config-cflags-novzeroupper): Likewise.
22094 (config-asflags-i686): Likewise.
22095 (have-mfma4): Likewise.
22096 (have-as-vis3): Likewise.
22098 * configure.in (MIG): Do not AC_SUBST.
22099 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22100 (libc_cv_cc_sse4): Do not AC_SUBST.
22101 (libc_cv_cc_avx): Likewise.
22102 (libc_cv_cc_sse2avx): Likewise.
22103 (libc_cv_cc_novzeroupper): Likewise.
22104 (libc_cv_cc_fma4): Likewise.
22105 (libc_cv_as_i686): Likewise.
22106 (libc_cv_sparc_as_vis3): Likewise.
22107 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22109 (config-asflags-i686): Likewise.
22110 (config-cflags-avx): Likewise.
22111 (config-cflags-sse2avx): Likewise.
22112 (have-mfma4): Likewise.
22113 (config-cflags-novzeroupper): Likewise.
22114 * sysdeps/mach/configure.in (MIG): Likewise.
22115 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22116 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22118 (config-cflags-avx): Likewise.
22119 (config-cflags-sse2avx): Likewise.
22120 (have-mfma4): Likewise.
22121 (config-cflags-novzeroupper): Likewise.
22122 * configure: Regenerated.
22123 * sysdeps/i386/configure: Likewise.
22124 * sysdeps/mach/configure: Likewise.
22125 * sysdeps/sparc/configure: Likewise.
22126 * sysdeps/x86_64/configure: Likewise.
22128 2013-03-20 Roland McGrath <roland@hack.frob.com>
22131 * locale/programs/localedef.c (options): Put N_ translation marker
22132 on argument names, not just descriptions.
22134 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22136 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22138 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22141 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22143 2013-03-19 Roland McGrath <roland@hack.frob.com>
22145 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22146 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22147 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22148 [!BEFORE_ABORT] (before_abort): New function.
22149 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22150 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22151 (writev_for_fatal): New function.
22152 (WRITEV_FOR_FATAL): New macro; call that.
22153 (backtrace_and_maps): New function.
22154 (BEFORE_ABORT): New macro; call that.
22155 (struct str_list): Type removed.
22156 (__libc_message, __libc_fatal): Functions removed.
22157 Include <sysdeps/posix/libc_fatal.c> instead.
22159 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22161 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22163 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22166 2013-03-19 Andreas Schwab <schwab@suse.de>
22168 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22169 * sysdeps/gnu/configure: Regenerate.
22171 * configure.in: Substitute libc_cv_rtlddir.
22172 * configure: Regenerate.
22173 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22174 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22175 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22176 * elf/Makefile (install-others, CFLAGS-interp.c)
22177 (ldso_install, common-ldd-rewrite): Likewise.
22178 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22179 $(inst_slibdir)/$(rtld-installed-name).
22180 * scripts/rellns-sh: Add -p option.
22181 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22184 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22186 * manual/nptl.texi: Renamed to ...
22187 * manual/threads.texi: ... this.
22188 * manual/Makefile (chapters): Update.
22190 2013-03-18 Roland McGrath <roland@hack.frob.com>
22193 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22194 on argument names, not just descriptions.
22195 * malloc/memusagestat.c (options): Likewise.
22196 * nss/getent.c (options): Likewise.
22198 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22201 * iconv/iconv_prog.c (options): Put N_ translation marker
22202 on argument names, not just descriptions.
22203 * iconv/iconvconfig.c (options): Likewise.
22205 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22207 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22208 implementation which is faster on all x86_64 architectures.
22209 Tested on AMD, Intel Nehalem, SNB, IVB.
22210 * sysdeps/x86_64/strnlen.S: Likewise.
22212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22213 Remove all multiarch strlen and strnlen versions.
22214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22215 Remove strlen and strnlen related parts.
22217 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22218 Inline strlen part.
22219 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22221 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22222 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22223 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22224 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22225 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22226 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22228 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22230 * manual/memory.texi (Malloc Tunable Parameters):
22231 Sort parameters alphabetically. Add comments for missing entries.
22233 2013-03-17 David S. Miller <davem@davemloft.net>
22235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22237 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22240 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22241 for arguments at most half maximum finite value.
22242 * math/libm-test.inc (j0_test): Add more tests.
22243 (j1_test): Likewise.
22244 (y0_test): Likewise.
22245 (y1_test): Likewise.
22246 * sysdeps/i386/fpu/libm-test-ulps: Update.
22247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22250 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22251 1 / x and functions P and Q for arguments above 0x1p256L.
22252 (__ieee754_y0l): Likewise.
22253 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22254 (__ieee754_y1l): Likewise.
22255 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22256 (j1_test): Likewise.
22257 (y0_test): Likewise.
22258 (y1_test): Likewise.
22260 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22262 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22265 2013-03-15 Roland McGrath <roland@hack.frob.com>
22267 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22268 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22269 zero since it's initialized to EXEC_PAGESIZE.
22271 * sysdeps/unix/sysv/linux/ldsodefs.h
22272 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22273 * sysdeps/generic/ldsodefs.h: ... here.
22275 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22277 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22279 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22281 * math/test-snan.c: Renamed from
22282 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22283 * math/Makefile (tests): Add test-snan.
22284 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22287 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22288 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22290 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22291 __builtin_nan family of functions.
22292 * math/libm-test.inc (initialize): Initialize qnan_value with
22293 __builtin_nan family of functions.
22294 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22296 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22298 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22299 storage class. Initialize qNaN_var and sNaN_var with
22300 __builtin_nan and __builtin_nans families of functions,
22303 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22304 (sqrt_test): Remove duplicate test with qNaN input.
22305 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22306 (round_test, signbit_test, significand_test): Note missing +/-Inf
22307 as well as qNaN tests.
22309 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22310 qNaN_var. Fix a few strings, too.
22311 * math/libm-test.inc (nan_value): Rename to qnan_value.
22312 * math/gen-libm-test.pl (%beautify): Adjust to that.
22313 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22314 * math/test-misc.c (main): Likewise.
22315 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22316 to __qnan_bytes, and __qnan_union, respectively.
22317 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22319 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22320 and lqnanval, respectively.
22321 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22322 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22323 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22324 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22326 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22327 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22330 * math/test-misc.c (main): Fix copy'n'pastos.
22331 * misc/tst-efgcvt.c (special): Likewise.
22333 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22334 Remove declarations.
22336 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22338 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22339 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22340 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22341 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22343 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22346 macro to return vdso values correctly in IFUNC implementations.
22347 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22348 Optimization by using IFUNC.
22350 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22351 Richard Henderson <rth@redhat.com>
22352 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22354 * Makefile.in (bench): New target.
22355 * NEWS: Mention the benchmark framework.
22356 * Rules (bench): Likewise.
22357 (binaries-bench): Generate binaries for functions to
22359 * benchtests/Makefile: New makefile for benchmark tests.
22360 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22362 * benchtests/exp-inputs: New input file for EXP function.
22363 * benchtests/pow-inputs: New input file for POW function.
22364 * scripts/bench.pl: New script to generate source files for
22365 benchmark programs.
22367 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22369 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22370 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22371 computations on mantissa. Use macros for rounding and
22373 (denorm): Likewise.
22374 (__dbl_mp): Likewise.
22375 (add_magnitudes): Likewise.
22376 (sub_magnitudes): Likewise.
22379 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22380 powers of two in terms of TWOPOW macro.
22381 (mp_no): Make type of mantissa as MANTISSA_T.
22382 [!RADIXI]: Define RADIXI.
22383 [!TWO52]: Define TWO52.
22384 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22386 * manual/nptl.texi (cindex): Modify threads to pthreads.
22388 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22390 * sysdeps/x86_64/preconfigure: Regenerated.
22392 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22395 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22397 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22398 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22400 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22401 * math/libm-test.inc (j0_test): Do not allow one spurious
22402 underflow exception.
22403 (y1_test): Likewise.
22405 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22407 * manual/Makefile (chapters): Add nptl.
22408 * manual/debug.texi (Debugging Support): Add link to Threads
22410 * manual/nptl.texi: New file.
22412 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22414 2013-03-14 Petr Baudis <pasky@ucw.cz>
22416 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22417 for non-NULL pointer before the memory validity test. Pointed
22418 out by Holger Brunck <holger.brunck@keymile.com>.
22420 2013-03-13 Andreas Schwab <schwab@suse.de>
22422 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22425 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22427 * timezone/zic.c: Update from tzcode 2013b.
22429 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22431 * manual/install.texi (Configuring and compiling):
22432 Mention i686 and i586.
22433 * INSTALL: Regenerate.
22435 2013-03-12 Roland McGrath <roland@hack.frob.com>
22437 * sysdeps/init_array/elf-init.c: New file.
22439 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22440 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22442 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22443 __gmon_start__ as global, but as static with a .preinit_array pointer.
22444 * sysdeps/init_array/gmon-start.c: New file. Use that.
22445 * sysdeps/init_array/crti.S: New file, empty except for comments.
22446 * sysdeps/init_array/crtn.S: Likewise.
22448 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22450 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22453 Remove Prefer_SSE_for_memop.
22454 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22455 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22456 HAS_PREFER_SSE_FOR_MEMOP.
22457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22459 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22460 Remove bzero, memset ifunc support.
22461 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22462 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22463 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22464 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22466 2013-03-11 Andreas Schwab <schwab@suse.de>
22469 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22472 (GLIBC_2.16): Remove pthread_atfork.
22474 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22476 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22477 (ptestcases.h): Likewise.
22479 2013-03-08 Roland McGrath <roland@hack.frob.com>
22481 * Makeconfig ($(common-objpfx)config.status): Depend on
22482 sysdeps/*/preconfigure{,.in} too.
22484 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22486 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22487 (__free_hook): Use void * instead of __malloc_ptr_t.
22488 (__malloc_hook): Likewise.
22489 (__realloc_hook): Likewise.
22490 (__memalign_hook): Likewise.
22491 (__after_morecore_hook): Likewise.
22492 * malloc/arena.c (save_malloc_hook): Likewise.
22493 (save_free_hook): Likewise.
22494 * malloc/hooks.c (malloc_hook_ini): Likewise.
22495 (realloc_hook_ini): Likewise.
22496 (memalign_hook_ini): Likewise.
22497 * malloc/malloc.c (malloc_hook_ini): Likewise.
22498 (realloc_hook_ini): Likewise.
22499 (memalign_hook_ini): Likewise.
22500 (__free_hook): Likewise.
22501 (__malloc_hook): Likewise.
22502 (__realloc_hook): Likewise.
22503 (__memalign_hook): Likewise.
22504 (__libc_malloc): Likewise.
22505 (__libc_free): Likewise.
22506 (__libc_realloc): Likewise.
22507 (__libc_memalign): Likewise.
22508 (__libc_valloc): Likewise.
22509 (__libc_pvalloc): Likewise.
22510 (__libc_calloc): Likewise.
22511 (__posix_memalign): Likewise.
22512 * malloc/morecore.c (__sbrk): Likewise.
22513 (__default_morecore): Likewise.
22515 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22517 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22518 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22519 __malloc_ptrdiff_t.
22521 * malloc/malloc.h (__malloc_size_t): Remove macro.
22522 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22524 (old_memalign_hook): Likewise.
22525 (old_realloc_hook): Likewise.
22526 (struct hdr): Likewise.
22528 (mallochook): Likewise.
22529 (memalignhook): Likewise.
22530 (reallochook): Likewise.
22531 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22532 (tr_old_realloc_hook): Likewise.
22533 (tr_old_memalign_hook): Likewise.
22534 (tr_mallochook): Likewise.
22535 (tr_reallochook): Likewise.
22536 (tr_memalignhook): Likewise.
22538 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22540 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22541 default_ldbl_pack and using as default implementation.
22542 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22544 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22545 redundant definition.
22546 (ldbl_insert_mantissa): Likewise.
22547 (ldbl_canonicalize): Likewise.
22548 (ldbl_nearbyint): Likewise.
22549 (ldbl_pack): Rename to ldbl_pack_ppc.
22550 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22551 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22552 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22554 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22557 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22558 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22559 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22561 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22562 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22563 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22565 2013-03-07 Andreas Jaeger <aj@suse.de>
22567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22570 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22572 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22573 Include mpa.h and declare __MPEXP.
22574 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22575 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22576 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22577 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22578 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22579 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22580 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22582 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22583 (__slowpow): Use long double EXPL and LOGL functions to
22585 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22586 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22587 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22588 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22589 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22590 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22593 intermediate variable to calculate exponent.
22595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22599 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22600 [!NO__SQR]: Define __sqr.
22601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22602 and NO__SQR. Remove all code except __mul and __sqr. Include
22603 sysdeps/ieee754/dbl-64/mpa.c.
22604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22607 * posix/Makefile (tests): Add tst-pathconf.
22608 * posix/tst-pathconf.c: New test case.
22609 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22611 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22613 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22615 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22617 2013-03-06 Andreas Jaeger <aj@suse.de>
22619 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22620 definition via __MAP_ANONYMOUS.
22622 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22623 it's not part of Linux headers.
22625 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22626 (MAP_HUGE_MASK): Define.
22628 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22630 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22631 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22633 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22634 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22636 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22637 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22639 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22641 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22642 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22643 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22644 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22645 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22646 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22648 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22651 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22652 Handle f2fs and efivarfs.
22654 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22657 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22658 (EFIVARFS_MAGIC): Add.
22659 (F2FS_LINK_MAX): Add.
22661 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22663 * stdio-common/vfprintf.c: Replace __builtin_expect with
22666 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22669 * sysdeps/generic/bp-sym.h: Remove file.
22670 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22671 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22672 <bp-sym.h> and <bp-asm.h>.
22673 (__longjmp): Don't use BP_SYM.
22674 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22676 (memcpy): Don't use BP_SYM.
22677 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22678 <bp-sym.h> and <bp-asm.h>.
22679 (memcpy): Don't use BP_SYM.
22680 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22682 (memcpy): Don't use BP_SYM.
22683 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22685 (memset): Don't use BP_SYM.
22686 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22687 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22688 (__bzero): Don't use BP_SYM.
22689 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22690 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22691 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22692 <bp-sym.h> and <bp-asm.h>.
22693 (memcmp): Don't use BP_SYM. Remove comment about bounded
22695 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22696 <bp-sym.h> and <bp-asm.h>.
22697 (memcpy): Don't use BP_SYM.
22698 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22699 <bp-sym.h> and <bp-asm.h>.
22700 (memset): Don't use BP_SYM.
22701 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22702 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22703 (__bzero): Don't use BP_SYM.
22704 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22705 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22706 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22707 <bp-sym.h> and <bp-asm.h>.
22708 (strncmp): Don't use BP_SYM. Remove comment about bounded
22710 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22711 <bp-sym.h> and <bp-asm.h>.
22712 (memcpy): Don't use BP_SYM.
22713 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22714 <bp-sym.h> and <bp-asm.h>.
22715 (memset): Don't use BP_SYM.
22716 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22717 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22718 (__bzero): Don't use BP_SYM.
22719 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22720 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22721 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22722 <bp-sym.h> and <bp-asm.h>.
22723 (__memchr): Don't use BP_SYM.
22724 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22725 <bp-sym.h> and <bp-asm.h>.
22726 (memcmp): Don't use BP_SYM. Remove comment about bounded
22728 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22729 <bp-sym.h> and <bp-asm.h>.
22730 (memcpy): Don't use BP_SYM.
22731 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22732 <bp-sym.h> and <bp-asm.h>.
22733 (__mempcpy): Don't use BP_SYM.
22734 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22735 <bp-sym.h> and <bp-asm.h>.
22736 (__memrchr): Don't use BP_SYM.
22737 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22738 <bp-sym.h> and <bp-asm.h>.
22739 (memset): Don't use BP_SYM.
22740 (__bzero): Likewise.
22741 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22742 <bp-sym.h> and <bp-asm.h>.
22743 (__rawmemchr): Don't use BP_SYM.
22744 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22745 <bp-sym.h> and <bp-asm.h>.
22746 (__STRCMP): Don't use BP_SYM.
22747 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22748 <bp-sym.h> and <bp-asm.h>.
22749 (strchr): Don't use BP_SYM.
22750 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22751 <bp-sym.h> and <bp-asm.h>.
22752 (__strchrnul): Don't use BP_SYM.
22753 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22754 <bp-sym.h> and <bp-asm.h>.
22755 (strlen): Don't use BP_SYM.
22756 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22757 <bp-sym.h> and <bp-asm.h>.
22758 (strncmp): Don't use BP_SYM. Remove comment about bounded
22760 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22761 <bp-sym.h> and <bp-asm.h>.
22762 (__strnlen): Don't use BP_SYM.
22763 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22764 <bp-sym.h> and <bp-asm.h>.
22765 (__GI__setjmp): Don't use BP_SYM.
22766 (_setjmp): Likewise.
22767 (__sigsetjmp): Likewise.
22768 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22769 (L(start_addresses)): Don't use BP_SYM.
22770 (_start): Likewise.
22771 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22773 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22774 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22775 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22776 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22777 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22779 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22780 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22781 about bounded pointers.
22782 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22783 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22784 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22786 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22787 about bounded pointers. Remove GKM FIXME comments.
22788 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22789 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22791 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22792 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22793 Remove GKM FIXME comments.
22794 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22795 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22796 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22798 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22799 about bounded pointers. Remove GKM FIXME comment.
22800 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22802 (strncmp): Don't use BP_SYM. Remove comment about bounded
22804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22805 <bp-sym.h> and <bp-asm.h>.
22806 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22808 <bp-sym.h> and <bp-asm.h>.
22809 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22812 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22814 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22817 2013-03-05 David S. Miller <davem@davemloft.net>
22819 * po/es.po: Update from translation team.
22821 2013-03-05 Andreas Jaeger <aj@suse.de>
22823 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22824 <bits/mman-linux.h>.
22825 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22827 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22828 <bits/mman-linux.h> to end of file.
22829 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22831 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22832 <bits/mman-linux.h> to end of file.
22833 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22835 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22836 <bits/mman-linux.h> to end of file.
22838 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22839 (MCL_CURRENT, MCL_FUTURE): Define here.
22841 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22844 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22846 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22848 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22850 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22851 fourth parameter needed for rt_sigprocmask syscall.
22852 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22853 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22854 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22855 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22856 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22857 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22859 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22862 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22863 comment about bounded pointers.
22864 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22865 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22867 2013-03-04 Andreas Jaeger <aj@suse.de>
22869 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22870 common definitions.
22872 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22873 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22874 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22875 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22876 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22877 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22879 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22882 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22883 __ieee754_sqrl instead of __sqrl.
22885 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22887 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22888 * sysdeps/powerpc/fpu_control.h: ... here.
22889 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22890 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22891 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22892 * sysdeps/powerpc/bits/mathinline.h: ... here.
22894 2013-03-01 Roland McGrath <roland@hack.frob.com>
22896 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22897 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22898 to just [NEED_DL_SYSINFO_DSO].
22899 * elf/dl-support.c: Likewise.
22900 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22901 * elf/rtld.c (dl_main): Likewise.
22902 * elf/setup-vdso.h (setup_vdso): Likewise.
22903 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22904 * sysdeps/unix/sysv/linux/dl-sysdep.c
22905 (_dl_discover_osversion): Likewise.
22907 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22909 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22910 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22912 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22914 * NEWS: Mention libm performance improvements and non-x86 PI
22917 * csu/libc-start.c (__pthread_initialize_minimal): Change
22918 function arguments.
22919 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22921 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22924 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22925 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22926 <bp-sym.h> and <bp-asm.h>.
22927 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22928 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22930 (memcpy): Don't use BP_SYM.
22931 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22933 (__mpn_add_n): Don't use BP_SYM.
22934 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22935 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22937 (__mpn_addmul_1): Don't use BP_SYM.
22938 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22939 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22941 (_setjmp): Don't use BP_SYM.
22942 (__novmx_setjmp): Likewise.
22943 (__GI__setjmp): Likewise.
22944 (__vmx_setjmp): Likewise.
22945 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22947 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22948 (__bzero): Don't use BP_SYM.
22949 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22950 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22951 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22952 <bp-sym.h> and <bp-asm.h>.
22953 (memcpy): Don't use BP_SYM.
22954 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22955 <bp-sym.h> and <bp-asm.h>.
22956 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22957 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22958 <bp-sym.h> and <bp-asm.h>.
22959 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22960 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22962 (__mpn_lshift): Don't use BP_SYM.
22963 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22964 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22966 (memset): Don't use BP_SYM.
22967 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22968 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22969 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22971 (__mpn_mul_1): Don't use BP_SYM.
22972 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22973 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22974 <bp-sym.h> and <bp-asm.h>.
22975 (memcmp): Don't use BP_SYM.
22976 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22977 <bp-sym.h> and <bp-asm.h>.
22978 (memcpy): Don't use BP_SYM.
22979 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22980 <bp-sym.h> and <bp-asm.h>.
22981 (memset): Don't use BP_SYM.
22982 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22983 <bp-sym.h> and <bp-asm.h>.
22984 (strncmp): Don't use BP_SYM.
22985 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22986 <bp-sym.h> and <bp-asm.h>.
22987 (memcpy): Don't use BP_SYM.
22988 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22989 <bp-sym.h> and <bp-asm.h>.
22990 (memset): Don't use BP_SYM.
22991 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22992 <bp-sym.h> and <bp-asm.h>.
22993 (__memchr): Don't use BP_SYM.
22994 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22995 <bp-sym.h> and <bp-asm.h>.
22996 (memcmp): Don't use BP_SYM.
22997 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22998 <bp-sym.h> and <bp-asm.h>.
22999 (memcpy): Don't use BP_SYM.
23000 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23001 <bp-sym.h> and <bp-asm.h>.
23002 (__mempcpy): Don't use BP_SYM.
23003 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23004 <bp-sym.h> and <bp-asm.h>.
23005 (__memrchr): Don't use BP_SYM.
23006 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23007 <bp-sym.h> and <bp-asm.h>.
23008 (memset): Don't use BP_SYM.
23009 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23010 <bp-sym.h> and <bp-asm.h>.
23011 (__rawmemchr): Don't use BP_SYM.
23012 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23013 <bp-sym.h> and <bp-asm.h>.
23014 (__STRCMP): Don't use BP_SYM.
23015 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23016 <bp-sym.h> and <bp-asm.h>.
23017 (strchr): Don't use BP_SYM.
23018 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23019 <bp-sym.h> and <bp-asm.h>.
23020 (__strchrnul): Don't use BP_SYM.
23021 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23022 <bp-sym.h> and <bp-asm.h>.
23023 (strlen): Don't use BP_SYM.
23024 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23025 <bp-sym.h> and <bp-asm.h>.
23026 (strncmp): Don't use BP_SYM.
23027 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23028 <bp-sym.h> and <bp-asm.h>.
23029 (__strnlen): Don't use BP_SYM.
23030 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23032 (__mpn_rshift): Don't use BP_SYM.
23033 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23034 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23035 <bp-sym.h> and <bp-asm.h>.
23036 (__sigsetjmp): Don't use BP_SYM.
23037 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23038 (L(start_addresses)): Don't use BP_SYM.
23039 (_start): Likewise.
23040 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23042 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23043 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23044 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23045 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23047 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23048 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23049 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23050 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23052 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23054 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23055 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23057 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23059 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23060 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23061 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23063 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23065 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23067 (strncmp): Don't use BP_SYM,
23068 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23070 (__mpn_sub_n): Don't use BP_SYM.
23071 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23072 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23074 (__mpn_submul_1): Don't use BP_SYM.
23075 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23077 <bp-sym.h> and <bp-asm.h>.
23078 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23080 <bp-sym.h> and <bp-asm.h>.
23081 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23084 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23087 Use ZK to minimize writes to Z.
23088 (sub_magnitudes): Simplify code a bit.
23089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23090 Use ZK to minimize writes to Z.
23091 (sub_magnitudes): Simplify code a bit.
23093 2013-02-27 Roland McGrath <roland@hack.frob.com>
23095 * csu/gmon-start.c: Add special exception to license text.
23097 2013-02-27 Richard Henderson <rth@redhat.com>
23099 * scripts/config.guess: Update from config.git.
23100 * scripts/config.sub: Likewise.
23102 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23104 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23106 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23108 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23110 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23112 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23114 2013-02-26 Roland McGrath <roland@hack.frob.com>
23116 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23117 [$(build-shared = yes].
23119 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23121 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23122 (__mul): Reduce iterations for calculating mantissa.
23124 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23126 (__mpranred): Likewise.
23129 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23130 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23132 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23134 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23135 Define __attribute__.
23137 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23139 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23141 * posix/regex_internal.h (__attribute): Remove.
23142 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23143 (re_string_context_at): Likewise.
23144 (bitset_not): Use __attribute__ and mark function as possibly
23146 (bitset_merge): Likewise.
23147 (bitset_mask): Likewise.
23148 (re_string_char_size_at): Likewise.
23149 (re_string_wchar_at): Likewise.
23150 (re_string_elem_size_at): Likewise.
23152 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23154 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23158 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23162 (denorm): Likewise.
23163 (__dbl_mp): Likewise.
23164 (add_magnitudes): Likewise.
23165 (sub_magnitudes): Likewise.
23169 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23172 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23175 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23179 up changes with default code.
23180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23183 2013-02-24 Allan McRae <allan@archlinux.org>
23185 * manual/socket.texi (The Internet Namespace): Order menu items
23186 to match that in the file.
23188 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23189 node listing of the info page menu.
23191 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23194 * sysdeps/i386/bp-asm.h: Remove file.
23195 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23196 (PARMS): Do not use macros from bp-asm.h.
23200 (__mpn_add_n): Do not use BP_SYM
23201 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23203 (PARMS): Do not use macros from bp-asm.h.
23206 (__mpn_addmul_1): Do not use BP_SYM
23207 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23209 (PARMS): Do not use macros from bp-asm.h.
23210 (SIGMSK): Likewise.
23211 (_setjmp): Likewise. Do not use BP_SYM.
23212 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23214 (PARMS): Do not use macros from bp-asm.h.
23215 (SIGMSK): Likewise.
23216 (setjmp): Likewise. Do not use BP_SYM.
23217 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23219 (PARMS): Do not use macros from bp-asm.h.
23220 (__frexp): Do not use BP_SYM.
23222 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23224 (PARMS): Do not use macros from bp-asm.h.
23225 (__frexpf): Do not use BP_SYM.
23226 (frexpf): Likewise.
23227 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23229 (PARMS): Do not use macros from bp-asm.h.
23230 (__frexpl): Do not use BP_SYM.
23231 (frexpl): Likewise.
23232 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23234 (PARMS): Do not use macros from bp-asm.h.
23235 (__remquo): Do not use BP_SYM.
23236 (remquo): Likewise.
23237 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23239 (PARMS): Do not use macros from bp-asm.h.
23240 (__remquof): Do not use BP_SYM.
23241 (remquof): Likewise.
23242 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23244 (PARMS): Do not use macros from bp-asm.h.
23245 (__remquol): Do not use BP_SYM.
23246 (remquol): Likewise.
23247 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23249 (PARMS): Do not use macros from bp-asm.h.
23252 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23253 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23255 (PARMS): Do not use macros from bp-asm.h.
23256 (strlen): Do not use BP_SYM.
23257 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23259 (PARMS): Do not use macros from bp-asm.h.
23263 (__mpn_add_n): Do not use BP_SYM.
23264 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23266 (PARMS): Do not use macros from bp-asm.h.
23269 (__mpn_addmul_1): Do not use BP_SYM.
23270 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23273 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23275 (PARMS): Do not use macros from bp-asm.h.
23278 (__mpn_lshift): Do not use BP_SYM.
23279 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23281 (PARMS): Do not use macros from bp-asm.h.
23285 (memcpy): Likewise. Do not use BP_SYM.
23286 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23287 libc_hidden_def and weak_alias.
23288 (mempcpy): Do not use BP_SYM in weak_alias.
23289 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23291 (PARMS): Do not use macros from bp-asm.h.
23294 [!BZERO_P] (CHR): Likewise.
23295 (memset): Likewise. Do not use BP_SYM.
23296 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23298 (PARMS): Do not use macros from bp-asm.h.
23301 (__mpn_mul_1): Do not use BP_SYM.
23302 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23304 (PARMS): Do not use macros from bp-asm.h.
23307 (__mpn_rshift): Do not use BP_SYM.
23308 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23310 (PARMS): Do not use macros from bp-asm.h.
23313 (strchr): Likewise. Do not use BP_SYM.
23314 (index): Do not use BP_SYM in weak_alias.
23315 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23317 (PARMS): Do not use macros from bp-asm.h.
23320 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23321 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23323 (PARMS): Do not use macros from bp-asm.h.
23324 (strlen): Do not use BP_SYM.
23325 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23327 (PARMS): Do not use macros from bp-asm.h.
23331 (__mpn_sub_n): Do not use BP_SYM.
23332 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23334 (PARMS): Do not use macros from bp-asm.h.
23337 (__mpn_submul_1): Do not use BP_SYM.
23338 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23340 (PARMS): Do not use macros from bp-asm.h.
23344 (__mpn_add_n): Do not use BP_SYM.
23345 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23348 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23350 (PARMS): Do not use macros from bp-asm.h.
23353 (memcmp): Do not use BP_SYM.
23354 (bcmp): Do not use BP_SYM in weak_alias.
23355 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23357 (PARMS): Do not use macros from bp-asm.h.
23361 (memcpy): Likewise. Do not use BP_SYM.
23362 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23364 (PARMS): Do not use macros from bp-asm.h.
23368 (memmove): Likewise. Do not use BP_SYM.
23369 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23371 (PARMS): Do not use macros from bp-asm.h.
23375 (__mempcpy): Likewise. Do not use BP_SYM.
23376 (mempcpy): Do not use BP_SYM in weak_alias.
23377 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23379 (PARMS): Do not use macros from bp-asm.h.
23382 [!BZERO_P] (CHR): Likewise.
23383 (memset): Likewise. Do not use BP_SYM.
23384 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23386 (PARMS): Do not use macros from bp-asm.h.
23388 (strcmp): Do not use BP_SYM.
23389 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23391 (PARMS): Do not use macros from bp-asm.h.
23394 [USE_AS_STRTOK_R] (SAVE): Likewise.
23395 (FUNCTION): Likewise. Do not use BP_SYM.
23396 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23398 (strtok_r): Likewise.
23399 (__GI___strtok_r): Likewise.
23400 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23401 (PARMS): Do not use macros from bp-asm.h.
23404 (__mpn_lshift): Do not use BP_SYM.
23405 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23406 (PARMS): Do not use macros from bp-asm.h.
23409 (__memchr): Do not use BP_SYM.
23410 (memchr): Do not use BP_SYM in weak_alias.
23411 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23412 (PARMS): Do not use macros from bp-asm.h.
23415 (memcmp): Do not use BP_SYM.
23416 (bcmp): Do not use BP_SYM in weak_alias.
23417 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23418 (PARMS): Do not use macros from bp-asm.h.
23421 (__mpn_mul_1): Do not use BP_SYM.
23422 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23424 (PARMS): Do not use macros from bp-asm.h.
23427 (__rawmemchr): Do not use BP_SYM.
23428 (rawmemchr): Do not use BP_SYM in weak_alias.
23429 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23430 (PARMS): Do not use macros from bp-asm.h.
23433 (__mpn_rshift): Do not use BP_SYM.
23434 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23435 (PARMS): Do not use macros from bp-asm.h.
23436 (SIGMSK): Likewise.
23437 (__sigsetjmp): Likewise. Do not use BP_SYM.
23438 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23439 (_start): Do not use BP_SYM.
23440 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23441 (PARMS): Do not use macros from bp-asm.h.
23444 (__stpcpy): Likewise. Do not use BP_SYM.
23445 (stpcpy): Do not use BP_SYM in weak_alias.
23446 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23448 (PARMS): Do not use macros from bp-asm.h.
23452 (__stpncpy): Likewise. Do not use BP_SYM.
23453 (stpncpy): Do not use BP_SYM in weak_alias.
23454 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23455 (PARMS): Do not use macros from bp-asm.h.
23458 (strchr): Likewise. Do not use BP_SYM.
23459 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23461 (PARMS): Do not use macros from bp-asm.h.
23464 (__strchrnul): Likewise. Do not use BP_SYM.
23465 (strchrnul): Do not use BP_SYM in weak_alias.
23466 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23468 (PARMS): Do not use macros from bp-asm.h.
23470 (strcspn): Do not use BP_SYM.
23471 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23473 (PARMS): Do not use macros from bp-asm.h.
23476 (strpbrk): Likewise. Do not use BP_SYM.
23477 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23479 (PARMS): Do not use macros from bp-asm.h.
23482 (strrchr): Likewise. Do not use BP_SYM.
23483 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23484 (PARMS): Do not use macros from bp-asm.h.
23486 (strspn): Do not use BP_SYM.
23487 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23488 (PARMS): Do not use macros from bp-asm.h.
23492 (FUNCTION): Likewise. Do not use BP_SYM.
23493 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23495 (strtok_r): Likewise.
23496 (__GI___strtok_r): Likewise.
23497 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23498 (PARMS): Do not use macros from bp-asm.h.
23502 (__mpn_sub_n): Do not use BP_SYM.
23503 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23505 (PARMS): Do not use macros from bp-asm.h.
23508 (__mpn_submul_1): Do not use BP_SYM.
23509 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23511 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23513 (PARMS): Do not use macros from bp-asm.h.
23518 (__clone): Do not use BP_SYM.
23519 (clone): Do not use BP_SYM in weak_alias.
23520 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23522 (PARMS): Do not use macros from bp-asm.h.
23524 (__mmap64): Do not use BP_SYM.
23525 (mmap64): Do not use BP_SYM in weak_alias.
23526 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23527 <bp-sym.h> and <bp-asm.h>.
23528 (PARMS): Do not use macros from bp-asm.h.
23529 (__posix_fadvise64_l64): Do not use BP_SYM.
23530 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23531 (PARMS): Do not use macros from bp-asm.h.
23533 (semtimedop): Do not use BP_SYM.
23534 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23537 2013-02-21 Allan McRae <allan@archlinux.org>
23539 * manual/message.texi (Charset conversion in gettext):
23540 Move @end statement to beginning of line.
23542 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23549 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23550 (denorm): Likewise.
23551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23554 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23556 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23557 tail-call to the resolved function if pltexit isn't needed.
23559 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23562 or Y being zero as being unlikely.
23563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23566 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23568 * manual/nss.texi (System Databases and Name Service Switch):
23569 Remove frobnicate @pxref.
23571 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23573 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23574 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23576 2013-02-20 Petr Machata <pmachata@redhat.com>
23578 * elf/elf.h (R_ARM_TARGET1): New macro.
23579 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23580 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23581 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23582 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23583 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23584 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23585 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23586 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23587 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23588 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23589 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23590 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23591 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23592 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23593 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23594 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23595 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23596 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23597 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23598 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23599 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23600 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23601 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23602 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23603 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23604 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23605 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23606 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23607 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23608 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23609 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23610 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23611 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23612 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23613 (R_ARM_THM_GOT_BREL12): Likewise.
23614 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23615 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23616 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23617 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23618 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23619 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23620 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23621 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23622 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23624 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23626 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23627 __attribute_used__ to __attribute__ ((unused)).
23629 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23631 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23634 comment formatting.
23635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23637 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23640 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23642 (ENTER): Remove both macro definitions.
23644 (CHECK_BOUNDS_LOW): Likewise.
23645 (CHECK_BOUNDS_HIGH): Likewise.
23646 (CHECK_BOUNDS_BOTH): Likewise.
23647 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23648 (RETURN_BOUNDED_POINTER): Likewise.
23649 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23650 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23651 (POP_ERRNO_LOCATION_RETURN): Likewise.
23652 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23653 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23654 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23656 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23657 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23658 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23659 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23660 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23661 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23662 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23663 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23664 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23665 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23666 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23667 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23668 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23669 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23671 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23672 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23674 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23675 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23676 * sysdeps/i386/i586/memset.S (memset): Likewise.
23677 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23678 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23679 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23681 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23682 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23683 Change uses of L(2) to L(out).
23684 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23685 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23686 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23687 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23688 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23690 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23691 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23693 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23694 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23695 (RETURN): Do not use macro LEAVE.
23696 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23697 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23698 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23699 * sysdeps/i386/i686/memset.S (memset): Likewise.
23700 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23701 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23702 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23703 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23705 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23706 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23707 L(1_2) and L(1_3) into L(1).
23708 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23709 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23710 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23711 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23712 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23713 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23714 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23715 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23716 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23718 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23719 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23720 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23721 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23722 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23723 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23724 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23725 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23726 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23727 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23728 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23729 * sysdeps/i386/strspn.S (strspn): Likewise.
23730 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23732 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23733 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23734 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23735 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23736 L(1_3) into L(1_1).
23737 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23738 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23739 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23741 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23743 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23745 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23748 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23750 * math/atest-exp.c (exp_mpn): Remove ROUND.
23751 * math/atest-exp2.c (exp_mpn): Likewise.
23752 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23754 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23755 * stdlib/tst-tls-atexit-lib.c: Likewise.
23756 * stdlib/tst-tls-atexit.c: Likewise.
23758 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23760 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23761 and __attribute_alloc_size__.
23763 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23765 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23766 __attribute_alloc_size__.
23767 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23768 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23770 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23772 * include/programs/xmalloc.h: New file.
23773 * catgets/gencat.c: Include it.
23774 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23775 * elf/pldd.c: Likewise.
23776 * iconv/iconv_charmap.c: Likewise.
23777 * iconv/iconvconfig.c: Likewise.
23778 * iconv/strtab.c: Likewise.
23779 * locale/programs/locale.c: Likewise.
23780 * locale/programs/localedef.h: Likewise.
23781 * locale/programs/simple-hash.c: Likewise.
23782 * nscd/nscd.h: Likewise.
23783 * nss/makedb.c: Likewise.
23784 * sysdeps/generic/ldconfig.h: Likewise.
23786 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23788 * Versions.def: Add GLIBC_2.18.
23789 * include/link.h (struct link_map): New member l_tls_dtor_count.
23790 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23791 (__call_tls_dtors): Likewise.
23792 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23793 __cxa_thread_atexit_impl.
23794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23802 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23810 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23811 (tests): Add test case tst-tls-atexit.
23812 (modules-names): Add shared library for tst-tls-atexit.
23813 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23814 (GLIBC_PRIVATE): Add __call_tls_dtors.
23815 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23817 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23818 * stdlib/tst-tls-atexit.c: New test case.
23819 * stdlib/tst-tls-atexit-lib.c: New test case.
23821 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23823 * elf/Versions (ld): Add _dl_find_dso_for_object.
23824 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23825 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23826 (dl_open_worker): Use _dl_find_dso_for_object.
23827 * elf/dl-sym.c (do_sym): Likewise.
23828 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23830 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23832 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23833 Syntactic changes only.
23834 (_dl_runtime_profile): Do a tail-call to the resolved function.
23836 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23839 * sysdeps/x86_64/bp-asm.h: Remove file.
23840 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23841 <bp-sym.h> and <bp-asm.h>.
23842 (__clone): Do not use BP_SYM.
23843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23844 <bp-sym.h> and <bp-asm.h>.
23845 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23846 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23848 (_setjmp): Do not use BP_SYM.
23849 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23851 (setjmp): Do not use BP_SYM.
23852 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23854 (mempcpy): Do not use BP_SYM in weak_alias.
23855 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23857 (strchr): Do not use BP_SYM.
23858 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23860 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23861 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23862 (_start): Do not use BP_SYM.
23863 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23865 (strcat): Do not use BP_SYM.
23866 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23868 (STRCMP): Do not use BP_SYM.
23869 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23871 (STRCPY): Do not use BP_SYM.
23872 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23874 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23876 (FUNCTION): Do not use BP_SYM.
23877 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23879 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23881 2013-02-17 Andreas Jaeger <aj@suse.de>
23883 * time/Versions: Sort entries.
23884 * string/Versions: Likewise.
23885 * resolv/Versions: Likewise.
23886 * posix/Versions: Likewise.
23887 * iconv/Versions: Likewise.
23888 * elf/Versions: Likewise.
23889 * wcsmbs/Versions: Likewise.
23891 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23893 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23894 loop termination condition.
23896 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23897 variable to calculate EZ.
23900 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23901 the lower precision input.
23903 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23906 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23907 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23908 (run-via-rtld-prefix): Do not handle %-bp tests.
23909 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23910 (all-object-suffixes): Remove .ob.
23911 (bppfx): Remove variable.
23912 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23913 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23914 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23915 [$(build-bounded) = yes] (libtype.ob): Likewise.
23916 * Makerules (elide-routines.ob): Remove variable.
23917 (do-tests-clean): Do not handle *-bp.out.
23918 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23919 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23920 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23921 (tests): Do not include $(tests-bp.out).
23922 (xtests): Do not include $(xtests-bp.out).
23923 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23924 [$(build-bounded) = yes] ($(addprefix
23925 $(objpfx),$(binaries-bounded))): Remove rule.
23926 ($(objpfx)%-bp.out): Remove rule.
23927 * config.make.in (build-bounded): Remove variable.
23928 * crypt/Makefile [$(build-bounded) = yes]
23929 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23930 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23931 append to variable.
23932 [$(build-bounded) = yes] (install-lib): Likewise.
23933 [$(build-bounded) = yes] (generated): Likewise.
23934 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23936 * intl/Makefile [$(build-bounded) = yes]
23937 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23938 * math/Makefile [$(build-bounded) = yes]
23939 ($(tests:%=$(objpfx)%-bp): Likewise.
23940 * misc/Makefile [$(build-bounded) = yes]
23941 ($(objpfx)tst-tsearch-bp): Likewise.
23942 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23943 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23945 * string/Makefile (o-objects.ob): Remove variable.
23946 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23947 (CFLAGS-.ob): Remove variable.
23948 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23949 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23950 both definitions of variable.
23951 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23952 (ASFLAGS-.ob): Remove variable.
23954 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23957 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23958 Remove __BOUNDED_POINTERS__ from condition.
23959 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23960 * string/bits/string2.h [!__NO_STRING_INLINES &&
23961 !__BOUNDED_POINTERS__]: Likewise.
23962 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23964 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23965 Remove conditional code.
23966 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23967 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23968 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23972 * csu/libc-start.c: Do not include <bp-sym.h>.
23973 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23974 * elf/dl-open.c: Do not include <bp-sym.h>.
23975 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23976 * math/fegetenv.c: Do not include <bp-sym.h>.
23977 (fegetenv): Do not use BP_SYM in versioned symbols.
23978 * nptl/sysdeps/pthread/bits/libc-lockP.h
23979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23982 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23984 (__pthread_mutex_destroy): Likewise.
23985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23986 (__pthread_mutex_lock): Likewise.
23987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23988 (__pthread_mutex_trylock): Likewise.
23989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23990 (__pthread_mutex_unlock): Likewise.
23991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23992 (__pthread_mutexattr_init): Likewise.
23993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23994 (__pthread_mutexattr_destroy): Likewise.
23995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23996 (__pthread_mutexattr_settype): Likewise.
23997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23998 (__pthread_rwlock_init): Likewise.
23999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24000 (__pthread_rwlock_destroy): Likewise.
24001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24002 (__pthread_rwlock_rdlock): Likewise.
24003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24004 (__pthread_rwlock_tryrdlock): Likewise.
24005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24006 (__pthread_rwlock_wrlock): Likewise.
24007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24008 (__pthread_rwlock_trywrlock): Likewise.
24009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24010 (__pthread_rwlock_unlock): Likewise.
24011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24012 (__pthread_key_create): Likewise.
24013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24014 (__pthread_setspecific): Likewise.
24015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24016 (__pthread_getspecific): Likewise.
24017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24020 (_pthread_cleanup_push_defer): Likewise.
24021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24022 (_pthread_cleanup_pop_restore): Likewise.
24023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24024 (pthread_setcancelstate): Likewise.
24025 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24027 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24028 (memchr): Do not use BP_SYM in weak_alias.
24029 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24030 (fegetenv): Do not use BP_SYM in versioned symbols.
24031 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24032 (fesetenv): Do not use BP_SYM in versioned symbols.
24033 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24034 (feupdateenv): Do not use BP_SYM in versioned symbols.
24035 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24036 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24037 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24038 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24039 (open64): Do not use BP_SYM in weak_alias.
24040 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24041 (fegetenv): Do not use BP_SYM in versioned symbols.
24042 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24043 (fesetenv): Do not use BP_SYM in versioned symbols.
24044 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24045 (feupdateenv): Do not use BP_SYM in versioned symbols.
24046 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24047 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24048 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24049 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24050 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24051 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24052 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24054 (__libc_start_main): Do not use BP_SYM.
24056 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24059 redundant return line.
24061 (denorm): Likewise.
24062 (dbl_mp): Likewise.
24063 (sub_magnitudes): Likewise.
24069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24071 (denorm): Likewise.
24072 (dbl_mp): Likewise.
24073 (sub_magnitudes): Likewise.
24080 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24082 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24083 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24086 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24087 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24089 of __mul for squares.
24090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24094 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24095 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24097 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24100 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24102 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24103 prototype or function definition. Rename ubp_* variables and
24104 parameters. Remove argv definitions conditional on
24105 [__BOUNDED_POINTERS__].
24106 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24107 * elf/dl-runtime.c (_dl_fixup): Likewise.
24108 * include/set-hooks.h (RUN_HOOK): Likewise.
24109 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24111 * string/strcpy.c (strcpy): Do not use __unbounded.
24112 * sysdeps/generic/frame.h (struct layout): Likewise.
24113 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24114 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24115 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24116 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24117 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24118 (__backtrace): Likewise.
24119 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24121 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24122 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24123 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24125 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24126 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24127 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24128 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24129 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24130 Do not use __unbounded.
24131 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24132 Rename __unboundedrlimits parameter to rlimits in prototype.
24133 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24134 Do not use __unbounded.
24135 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24136 not use __ptrvalue.
24137 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24138 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24139 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24140 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24141 __ptrvalue or __unbounded.
24142 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24143 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24145 (__new_msgctl): Do not use __ptrvalue.
24146 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24148 (__libc_msgrcv): Do not use __ptrvalue.
24149 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24150 startup_info): Do not use __unbounded.
24151 (__libc_start_main): Likewise. Rename ubp_* variables and
24152 parameters. Remove argv definitions conditional on
24153 [__BOUNDED_POINTERS__].
24154 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24156 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24158 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24160 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24162 (__new_shmctl): Do not use __ptrvalue.
24163 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24164 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24166 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24167 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24168 (__libc_sigaction): Likewise.
24169 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24170 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24172 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24174 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24176 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24178 * string/mempcpy.c: Implement by calling memcpy.
24180 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24187 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24188 values in the mantissa.
24190 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24191 minimize writes to Z.
24192 (sub_magnitudes): Simplify code a bit.
24194 2013-02-12 Roland McGrath <roland@hack.frob.com>
24196 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24197 from the message. The linker prefixes all warnings with that already.
24199 2013-02-12 Andreas Schwab <schwab@suse.de>
24202 * posix/regexec.c (extend_buffers): Add parameter min_len.
24203 (check_matching): Pass minimum needed length.
24204 (clean_state_log_if_needed): Likewise.
24205 (get_subexp): Likewise.
24206 * posix/Makefile (tests): Add bug-regex34.
24207 (bug-regex34-ENV): Define.
24208 * posix/bug-regex34.c: New file.
24211 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24212 elements compare against the byte sequence of it, not its name.
24213 * posix/Makefile (tests): Add bug-regex35.
24214 (bug-regex35-ENV): Define.
24215 * posix/bug-regex35.c: New file.
24217 2013-02-11 Tom de Vries <tom@codesourcery.com>
24219 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24221 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24222 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24223 (CHECK_EOL): Add undef.
24225 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24227 * bits/stdlib-bsearch.h: New file.
24228 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24229 * stdlib/stdlib.h: Likewise.
24231 2013-02-11 Roland McGrath <roland@hack.frob.com>
24233 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24234 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24236 * manual/search.texi (Array Search Function): Add missing const in
24238 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24239 declaration to use rlim_t.
24240 (Basic Scheduling Functions): Remove erroneous const from
24241 sched_getparam prototype. Remove erroneous * from
24242 sched_get_priority_max and sched_get_priority_min prototypes.
24243 (Resource Usage): Fix summary @comment on vtimes to refer to
24244 sys/vtimes.h rather than vtimes.h.
24245 Add missing *s in vtimes prototype.
24246 (Limits on Resources): Fix ulimit prototype to return long int.
24247 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24248 prototypes to use long int rather than double.
24249 (BSD Random): Fix initstate and setstate to use char *, not void *.
24250 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24251 prototype to make second argument 'struct aiocb64 *const[]'.
24252 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24253 (Status of AIO Operations): Remove erroneous const in aio_return and
24254 aio_return64 prototypes.
24255 (Synchronizing I/O): Fix sync prototype to return void.
24256 * manual/startup.texi (Suboptions): Remove an erroneous const in
24257 getsubopt prototype.
24258 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24259 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24260 use size_t rather than int.
24261 (Scanning All Users): Likewise for getpwent_r.
24262 (Setting Groups): Add missing const to setgroups prototype.
24263 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24264 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24265 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24266 'const void *' rather than 'const char *'.
24267 (Host Address Functions): Likewise for inet_ntop.
24268 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24269 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24270 ssize_t for return value.
24271 (Sending Data): Likewise for send, sendto, sendmsg.
24272 (Socket Option Functions): Add a missing const in setsockopt prototype.
24273 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24274 use wchar_t for the argument.
24275 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24276 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24278 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24279 double/float/long double for second argument.
24280 Fix return types of significand, significandf, significandl.
24281 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24282 argument in fchmod prototype.
24283 (File Owner): Use uid_t and gid_t in fchown prototype.
24284 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24285 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24286 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24287 use 'const struct dirent **' as argument types to CMP function pointer
24289 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24290 (File Times): Fix summary magic @comment for struct utimbuf and utime
24291 to refer to utime.h, not time.h.
24292 * manual/string.texi (Argz Functions): Add missing const in
24293 argz_extract and argz_next prototypes.
24294 (Finding Tokens in a String): Likewise for basename.
24295 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24296 (Copying and Concatenation): Fix typo in wmemmove prototype.
24297 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24298 (Signal Stack): Remove erroneous const in sigstack prototype.
24299 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24301 (Simple Calendar Time): Likewise for stime.
24302 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24304 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24305 say sys/sysctl.h instead.
24306 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24307 and vsyslog prototypes.
24309 2013-02-11 Tom de Vries <tom@codesourcery.com>
24311 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24314 2013-02-11 Roland McGrath <roland@hack.frob.com>
24316 * misc/sys/mman.h: Fix typo in mremap comment.
24318 2013-02-08 Roland McGrath <roland@hack.frob.com>
24320 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24321 the '\0' terminator.
24323 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24326 * debug/segfault.c: Don't include <bp-checks.h>.
24327 * sysdeps/generic/bp-checks.h: Remove file.
24328 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24329 (__GETDENTS): Don't use CHECK_N.
24330 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24331 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24332 (__getgroups): Don't use CHECK_N.
24333 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24334 (setgroups): Don't use CHECK_N.
24335 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24336 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24337 (__libc_msgrcv): Don't use CHECK_N.
24338 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24339 (__libc_msgsnd): Don't use CHECK_N.
24340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24342 (__libc_pread): Don't use CHECK_N.
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24344 include <bp-checks.h>.
24345 (__libc_pread64): Don't use CHECK_N.
24346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24347 include <bp-checks.h>.
24348 (__libc_pwrite): Don't use CHECK_N.
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24350 include <bp-checks.h>.
24351 (__libc_pwrite64): Don't use CHECK_N.
24352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24354 (__libc_pread): Don't use CHECK_N.
24355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24356 include <bp-checks.h>.
24357 (__libc_pread64): Don't use CHECK_N.
24358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24359 include <bp-checks.h>.
24360 (__libc_pwrite): Don't use CHECK_N.
24361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24362 include <bp-checks.h>.
24363 (__libc_pwrite64): Don't use CHECK_N.
24364 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24365 (do_pread): Don't use CHECK_N.
24366 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24367 (do_pread64): Don't use CHECK_N.
24368 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24369 (do_pwrite): Don't use CHECK_N.
24370 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24371 (do_pwrite64): Don't use CHECK_N.
24372 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24373 (__libc_readv): Don't use CHECK_N.
24374 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24375 (semop): Don't use CHECK_N.
24376 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24378 (semtimedop): Don't use CHECK_N.
24379 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24380 (__libc_pread): Don't use CHECK_N.
24381 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24383 (__libc_pread64): Don't use CHECK_N.
24384 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24386 (__libc_pwrite): Don't use CHECK_N.
24387 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24389 (__libc_pwrite64): Don't use CHECK_N.
24390 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24392 (__libc_msgrcv): Don't use CHECK_N.
24393 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24394 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24395 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24396 (__libc_writev): Don't use CHECK_N.
24398 2013-02-08 Roland McGrath <roland@hack.frob.com>
24400 * string/strcpy.c: Removed unused variable.
24402 * Makeconfig (+sysdep-includes): Define with := rather than =.
24403 Use an existing include/ subdir of each sysdeps dir before it.
24405 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24407 * nscd/connection.c (register_traced_file): Comment function.
24408 [HAVE_INOTIFY] (union __inev): Define.
24409 [HAVE_INOTIFY] (inotify_check_files): New function.
24410 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24411 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24413 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24415 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24417 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24418 loaded if not already and that a failure is permanent.
24420 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24423 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24424 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24426 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24429 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24430 (CHECK_1_NULL_OK): Likewise.
24431 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24432 (__fxstat): Do not use CHECK_1.
24433 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24435 (___fxstat64): Do not use CHECK_1.
24436 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24438 (__fxstatat): Do not use CHECK_1.
24439 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24441 (__fxstatat64): Do not use CHECK_1.
24442 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24444 (__fxstat): Do not use CHECK_1.
24445 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24447 (__fxstatat): Do not use CHECK_1.
24448 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24450 (__getresgid): Do not use CHECK_1.
24451 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24453 (__getresuid): Do not use CHECK_1.
24454 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24456 (__lxstat): Do not use CHECK_1.
24457 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24459 (__old_msgctl): Do not use CHECK_1.
24460 (__new_msgctl): Likewise.
24461 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24463 (__new_setrlimit): Do not use CHECK_1.
24464 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24466 (__old_shmctl): Do not use CHECK_1.
24467 (__new_shmctl): Likewise.
24468 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24470 (__xstat): Do not use CHECK_1.
24471 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24472 (__lxstat): Do not use CHECK_1.
24473 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24475 (___lxstat64): Do not use CHECK_1.
24476 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24477 (__old_msgctl): Do not use CHECK_1.
24478 (__new_msgctl): Likewise.
24479 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24481 (__gettimeofday): Do not use CHECK_1.
24482 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24483 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24484 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24486 (__gettimeofday): Do not use CHECK_1.
24487 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24488 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24489 (__new_shmctl): Do not use CHECK_1.
24490 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24492 (do_sigtimedwait): Do not use CHECK_1.
24493 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24495 (do_sigwaitinfo): Do not use CHECK_1.
24496 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24498 (msgctl): Do not use CHECK_1.
24499 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24501 (shmctl): Do not use CHECK_1.
24502 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24503 (ustat): Do not use CHECK_1.
24504 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24506 (__fxstat): Do not use CHECK_1.
24507 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24509 (__fxstatat): Do not use CHECK_1.
24510 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24512 (__lxstat): Do not use CHECK_1.
24513 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24515 (__xstat): Do not use CHECK_1.
24516 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24517 (__xstat): Do not use CHECK_1.
24518 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24519 (___xstat64): Do not use CHECK_1.
24522 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24524 (CHECK_BOUNDS_HIGH): Likewise.
24525 * string/strcpy.c: Do not include <bp-checks.h>.
24526 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24528 2013-02-07 Roland McGrath <roland@hack.frob.com>
24530 * nscd/nscd-client.h (__nscd_drop_map_ref):
24531 Add __attribute__ ((unused)).
24532 * nis/nss-nisplus.h (niserr2nss): Likewise.
24534 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24535 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24537 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24538 Remove inline keyword.
24539 * include/rounding-mode.h (round_away): Likewise.
24540 * libio/wfileops.c (adjust_wide_data): Likewise.
24541 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24542 (__m128i_strloadu_tolower): Likewise.
24543 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24544 (__m128i_strloadu_tolower): Likewise.
24545 * time/mktime.c (ydhms_diff): Likewise.
24546 * locale/elem-hash.h (elem_hash): Likewise.
24547 * locale/setlocale.c (setdata): Likewise.
24548 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24549 (re_string_wchar_at): Likewise.
24550 (bitset_not, bitset_merge, bitset_mask): Likewise.
24551 [!(__GNUC__ > 3)] (inline): Remove macro.
24552 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24553 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24554 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24555 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24556 * string/memcmp.c (memcmp_bytes): Likewise.
24557 * locale/programs/locarchive.c (compute_hashval): Likewise.
24558 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24559 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24560 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24561 * nss/getent.c (print_rpc, print_protocols): Likewise.
24562 (print_passwd, print_group, print_aliases): Likewise.
24563 * nis/nss-nisplus.h (niserr2nss): Likewise.
24564 * nscd/connections.c (restart_p): Likewise.
24565 Change return type to bool.
24567 2013-02-05 Roland McGrath <roland@hack.frob.com>
24569 * Makeconfig (all-Depend-files): Add existing
24570 $(sorted-subdirs:=/Depend) files.
24571 (all-subdirs): Remove nss.
24572 * sysdeps/unix/inet/Subdirs: Add it here instead.
24573 * hesiod/Depend: New file.
24575 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24576 instead of calling alloca.
24578 * io/lseek.c (__lseek): Rename to __libc_lseek.
24579 Define __lseek as an alias.
24581 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24583 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24585 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24586 else clause and remove check for non-standard endianness.
24588 2013-02-04 David S. Miller <davem@davemloft.net>
24590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24592 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24595 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24596 (__ubp_memchr): Remove prototype.
24597 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24598 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24599 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24600 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24601 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24603 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24604 (__ubp_memchr): Likewise.
24605 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24606 (__ubp_memchr): Likewise.
24607 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24608 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24609 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24610 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24612 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24613 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24614 (__getcwd): Do not use CHECK_STRING.
24615 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24617 (__real_chown): Do not use CHECK_STRING.
24618 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24620 (fchownat): Do not use CHECK_STRING.
24621 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24623 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24625 (__lchown): Do not use CHECK_STRING.
24626 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24627 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24628 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24629 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24631 include <bp-checks.h>.
24632 (truncate64): Do not use CHECK_STRING.
24633 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24635 (__real_chown): Do not use CHECK_STRING.
24636 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24638 (__lchown): Do not use CHECK_STRING.
24639 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24641 (__chown): Do not use CHECK_STRING.
24642 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24644 (truncate64): Do not use CHECK_STRING.
24645 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24647 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24648 (__xmknod): Do not use CHECK_STRING.
24649 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24651 (__xmknodat): Do not use CHECK_STRING.
24652 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24653 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24655 2013-02-04 Andreas Schwab <schwab@suse.de>
24658 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24659 * include/netdb.h: Likewise for h_errno.
24660 * elf/tst-stackguard1.c: Include <tls.h>.
24662 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24664 * elf/link.h (struct link_map): Extend the l_addr comment.
24665 * include/link.h (struct link_map): Likewise.
24667 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24670 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24671 (BOUNDED_1): Remove macro.
24672 * debug/backtrace.c: Don't include <bp-checks.h>.
24673 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24674 (__backtrace): Likewise.
24675 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24677 (__backtrace): Don't use BOUNDED_1.
24678 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24680 (__backtrace): Don't use BOUNDED_1.
24681 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24682 (__backtrace): Don't use BOUNDED_1.
24683 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24684 (shmat): Don't use BOUNDED_N.
24686 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24689 * sysdeps/generic/bp-start.h: Remove file.
24690 * csu/libc-start.c: Don't include <bp-start.h>.
24691 (LIBC_START_MAIN): Set up __environ directly instead of using
24692 INIT_ARGV_and_ENVIRON.
24693 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24697 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24699 (CHECK_FCNTL): Likewise.
24700 (CHECK_N_PAGES): Likewise.
24703 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24705 (CHECK_SIGSET_NULL_OK): Likewise.
24706 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24708 (sigpending): Don't use CHECK_SIGSET.
24709 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24711 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24712 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24714 (do_sigsuspend): Don't use CHECK_SIGSET.
24715 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24717 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24718 (do_sigwait): Don't use CHECK_SIGSET.
24719 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24721 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24722 include <bp-checks.h>.
24723 (sigpending): Don't use CHECK_SIGSET.
24724 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24725 include <bp-checks.h>.
24726 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24727 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24729 (sigpending): Don't use CHECK_SIGSET.
24730 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24732 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24735 * sysdeps/generic/bp-semctl.h: Remove file.
24736 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24737 <bp-checks.h> and <bp-semctl.h>.
24738 (__old_semctl): Don't use CHECK_SEMCTL.
24739 (__new_semctl): Likewise.
24740 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24742 (__old_semctl): Don't use CHECK_SEMCTL.
24743 (__new_semctl): Likewise.
24744 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24745 <bp-checks.h> and <bp-semctl.h>.
24746 (__old_semctl): Don't use CHECK_SEMCTL.
24747 (__new_semctl): Likewise.
24748 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24749 <bp-checks.h> and <bp-semctl.h>.
24750 (semctl): Don't use CHECK_SEMCTL.
24753 * Makerules (elide-bp-thunks): Remove variable.
24754 (elide-routines.oS): Don't use $(elide-bp-thunks).
24755 (elide-routines.os): Likewise.
24756 (elide-routines.o): Likewise.
24757 (elide-routines.op): Likewise.
24758 (elide-routines.og): Likewise.
24759 (objects): Don't use $(bp-thunks).
24760 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24762 (common-generated): Do not add s-proto-bp.d.
24763 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24766 Do not generate makefile rules for bounded-pointer thunks.
24767 * sysdeps/generic/bp-thunks.h: Remove file.
24768 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24769 * sysdeps/unix/s-proto-bp.S: Likewise.
24772 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24773 parts of result separately when argument is not close to line from
24774 -i to i and one part of argument is small.
24775 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24776 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24777 * math/libm-test.inc (cacos_test): Add more tests.
24778 (casin_test): Likewise.
24779 (casinh_test): Likewise.
24780 * sysdeps/i386/fpu/libm-test-ulps: Update.
24781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24783 2013-01-31 David S. Miller <davem@davemloft.net>
24785 * po/de.po: Update from translation team.
24787 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24789 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24791 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24793 * configure.in (_AC_PROG_CC_C89): New definition.
24794 * configure: Regenerate.
24796 * configure.in (AC_PROG_CPP): New definition.
24797 * configure: Regenerate.
24799 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24801 * debug/tst-backtrace.h: New file.
24802 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24803 (ret): Remove variable.
24805 (FAIL): Remove macro.
24806 (NO_INLINE): Likewise.
24807 (fn1): Use match function instead of strstr.
24808 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24809 (ret): Remove variable.
24811 (FAIL): Remove macro.
24812 (NO_INLINE): Likewise.
24813 (fn): Use match function instead of strstr.
24814 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24815 (ret): Remove variable.
24817 (FAIL): Remove macro.
24818 (NO_INLINE): Likewise.
24819 (handle_signal): Use match function instead of strstr.
24820 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24821 (ret): Remove variable.
24823 (FAIL): Remove macro.
24824 (NO_INLINE): Likewise.
24825 (handle_signal): Use match function instead of strstr.
24827 2013-01-23 Roland McGrath <roland@hack.frob.com>
24829 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24831 2013-01-23 David S. Miller <davem@davemloft.net>
24833 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24834 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24835 argument of CAS if possible.
24836 * sysdeps/sparc/sparc64/bits/atomic.h
24837 (__arch_compare_and_exchange_val_32_acq): Likewise.
24838 (__arch_compare_and_exchange_val_64_acq): Likewise.
24840 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24842 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24843 * sysdeps/posix/ulimit.c: ... this.
24844 Include <limits.h>.
24845 * sysdeps/unix/bsd/ulimit.c: Remove file.
24847 2013-01-23 Adam Conrad <adconrad@0c3.net>
24849 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24850 (LDFLAGS-tst-array5): Likewise.
24852 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24855 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24856 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24857 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24858 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24860 2013-01-21 David S. Miller <davem@davemloft.net>
24862 * sysdeps/sparc/backtrace.c: New file.
24863 * sysdeps/sparc/sparc32/backtrace.h: New file.
24864 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24865 * sysdeps/sparc/sparc64/backtrace.h: New file.
24866 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24867 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24870 2013-01-21 Andreas Schwab <schwab@suse.de>
24873 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24876 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24882 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24883 Mark Mitchell <mark@codesourcery.com>
24884 Tom de Vries <tom@codesourcery.com>
24885 Paul Pluzhnikov <ppluzhnikov@google.com>
24887 * debug/tst-backtrace2.c: New file.
24888 * debug/tst-backtrace3.c: Likewise.
24889 * debug/tst-backtrace4.c: Likewise.
24890 * debug/tst-backtrace5.c: Likewise.
24891 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24892 (CFLAGS-tst-backtrace3.c): Likewise.
24893 (CFLAGS-tst-backtrace4.c): Likewise.
24894 (CFLAGS-tst-backtrace5.c): Likewise.
24895 (LDFLAGS-tst-backtrace2): Likewise.
24896 (LDFLAGS-tst-backtrace3): Likewise.
24897 (LDFLAGS-tst-backtrace4): Likewise.
24898 (LDFLAGS-tst-backtrace5): Likewise.
24899 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24900 tst-backtrace4 and tst-backtrace5.
24902 2013-01-18 Anton Blanchard <anton@samba.org>
24903 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24905 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24906 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24907 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24908 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24910 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24911 "+r" and remove output regs list as redundant. Add explicit inline
24912 asm to specify register of return val to work around compiler codegen
24913 bug. Remove (int) cast on return value. Add return type parameter to
24914 use in macro so that this macro does not truncate return value for
24916 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24917 pass to INTERNAL_VSYSCALL_NCS.
24918 (INLINE_VSYSCALL): Add 'long int' as return type to
24919 INTERNAL_VSYSCALL_NCS macro invocation.
24920 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24921 INTERNAL_VSYSCALL_NCS macro invocation.
24922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24924 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24927 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24928 Fix application of SIMD FP exception mask.
24930 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24931 mp_no from a power of two.
24932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24933 __mpexp_twomm1. Use __pow_mp.
24935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24938 2013-01-17 David S. Miller <davem@davemloft.net>
24940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24942 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24945 * include/complex.h: Condition contents on [!_COMPLEX_H].
24946 (__kernel_casinhf): New prototype.
24947 (__kernel_casinh): Likewise.
24948 (__kernel_casinhl): Likewise.
24949 * math/Makefile (libm_calls): Add k_casinh.
24950 * math/k_casinh.c: New file.
24951 * math/k_casinhf.c: Likewise.
24952 * math/k_casinhl.c: Likewise.
24953 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24954 finite nonzero arguments.
24955 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24956 finite nonzero arguments.
24957 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24958 finite nonzero arguments.
24959 * math/s_casinh.c: Do not include <float.h>.
24960 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24961 * math/s_casinhf.c: Do not include <float.h>.
24962 (__casinhf): Move code for finite nonzero arguments to
24964 * math/s_casinhl.c: Do not include <float.h>.
24965 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24967 (__casinhl): Move code for finite nonzero arguments to
24969 * math/libm-test.inc (cacos_test): Add more tests.
24970 * sysdeps/i386/fpu/libm-test-ulps: Update.
24971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24973 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24975 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24976 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24977 [!HAVE_MREMAP]: Remove [defined linux] case.
24978 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24980 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24982 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24984 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24986 * elf/elf.h (R_386_SIZE32): New relocation.
24987 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24989 (elf_machine_rela): Likewise.
24990 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24991 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24993 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24995 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24996 (FP_FAST_FMA): Do not define.
24997 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24998 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24999 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25000 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25001 !_SOFT_FLOAT]: Likewise.
25002 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25003 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25005 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25006 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25007 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25008 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25009 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25010 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25013 2013-01-16 Andreas Schwab <schwab@suse.de>
25016 * include/stdlib.h (__mktemp): Add declaration.
25017 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25018 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25020 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25022 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25024 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25025 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25026 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25028 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25029 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25031 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25033 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25034 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25035 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25037 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25038 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25040 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25042 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25044 2013-01-15 David S. Miller <davem@davemloft.net>
25046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25047 trunc{,f} to libm-sysdep_routes.
25048 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25058 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25059 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25060 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25061 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25062 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25063 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25066 nearbyint{,f} to libm-sysdep_routes.
25067 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25078 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25080 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25081 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25083 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25084 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25085 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25087 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25088 libc_feholdexcept and libc_fesetenv.
25090 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25092 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25094 2013-01-14 David S. Miller <davem@davemloft.net>
25096 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25097 (SPARC_ASM_VIS2_IFUNC): Likewise.
25098 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25100 use of 'siam' instruction.
25101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25121 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25134 routines to libm-sysdep_routines.
25135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25138 fdim/fdimf to libm-sysdep_routines.
25139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25147 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25148 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25149 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25150 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25152 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25154 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25155 to optimize copies.
25157 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25162 local variable MPTWO.
25163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25166 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25168 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25171 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25173 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25175 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25177 * manual/pattern.texi (glob_t): Document gl_flags.
25178 (glob64_t): Likewise.
25180 2013-01-11 David S. Miller <davem@davemloft.net>
25182 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25183 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25184 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25185 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25186 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25187 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25188 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25189 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25190 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25191 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25192 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25193 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25194 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25196 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25197 sparc V9 rather than using V8 code.
25198 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25199 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25201 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25203 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25206 2013-01-11 Roland McGrath <roland@hack.frob.com>
25208 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25209 not in the main loop.
25210 * configure: Regenerated.
25212 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25214 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25215 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25217 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25218 [!__GLIBC_HAVE_LONG_LONG] case.
25219 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25220 condition to just #else.
25221 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25222 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25223 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25224 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25226 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25227 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25228 #elif condition to just #else.
25229 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25230 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25231 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25232 #elif condition to just #else.
25234 2013-01-11 Steve Ellcey <sellcey@mips.com>
25236 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25237 (EF_MIPS_ARCH_64): Fix value.
25238 (EF_MIPS_ARCH_32R2): New.
25239 (EF_MIPS_ARCH_64R2): New.
25241 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25243 * Makeconfig (+link-pie-before-libc): New.
25244 (+link-pie-after-libc): Likewise.
25245 (+link-pie-tests): Likewise.
25246 (+link-pie): Rewritten.
25247 (link-before-libc): Remove $(config-LDFLAGS).
25248 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25249 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25250 (config-LDFLAGS): Renamed to ...
25251 (rtld-LDFLAGS): This.
25252 (rtld-tests-LDFLAGS): New macro.
25253 (link-libc-rpath-link): Likewise.
25254 (link-libc-tests-rpath-link): Likewise.
25255 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25256 (link-libc): Prepand $(link-libc-rpath-link).
25257 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25258 (test-program-prefix): New macro.
25259 (test-via-rtld-prefix): Likewise.
25260 (test-program-cmd): Likewise.
25261 (host-test-program-cmd): Likewise.
25262 * Makefile ($(common-objpfx)testrun.sh): Replace
25263 $(run-program-prefix) with $(test-program-prefix).
25264 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25266 ($(common-objpfx)shlib.lds): Likewise.
25267 (build-module-helper): Likewise.
25268 ($(common-objpfx)format.lds): Likewise.
25269 * Rules (binaries-pie-tests): New.
25270 (binaries-pie-notests): Likewise.
25271 (binaries-pie): Rewritten.
25272 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25273 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25274 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25275 (make-test-out): Replace $(host-built-program-cmd) with
25276 $(host-test-program-cmd).
25277 * config.make.in (build-hardcoded-path-in-tests): New variable.
25278 * configure.in (--enable-hardcoded-path-in-tests): New configure
25280 (hardcoded_path_in_tests): New AC_SUBST.
25281 * configure: Regenerated.
25282 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25283 $(built-program-cmd) with $(test-program-cmd).
25284 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25285 (test_program_cmd): This.
25286 * elf/Makefile ($(objpfx)order.out): Run test with
25287 $(test-program-prefix).
25288 ($(objpfx)order2.out): Likewise.
25289 ($(objpfx)tst-initorder.out): Likewise.
25290 ($(objpfx)tst-initorder2.out): Likewise.
25291 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25292 $(test-program-cmd).
25293 ($(objpfx)tst-array1-static.out): Likewise.
25294 ($(objpfx)tst-array2.out): Likewise.
25295 ($(objpfx)tst-array3.out): Likewise.
25296 ($(objpfx)tst-array4.out): Likewise.
25297 ($(objpfx)tst-array5.out): Likewise.
25298 ($(objpfx)tst-array5-static.out): Likewise.
25299 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25300 $(test-program-cmd).
25301 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25302 $(run-program-prefix) with $(test-program-prefix).
25303 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25304 (test_program_prefix): This.
25305 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25306 $(run-program-prefix) with $(test-program-prefix).
25307 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25308 (test_program_prefix): This.
25309 * iconvdata/tst-tables.sh: Likewise.
25310 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25311 $(run-program-prefix) with $(test-program-prefix).
25312 ($(objpfx)tst-translit.out): Likewise.
25313 ($(objpfx)tst-gettext2.out): Likewise.
25314 ($(objpfx)tst-gettext4.out): Likewise.
25315 ($(objpfx)tst-gettext6.out): Likewise.
25316 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25317 (test_program_prefix): This.
25318 * intl/tst-gettext2.sh: Likewise.
25319 * intl/tst-gettext4.sh Likewise.
25320 * intl/tst-gettext6.sh: Likewise.
25321 * intl/tst-translit.sh: Likewise.
25322 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25323 with $(test-program-cmd).
25324 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25325 $(run-program-prefix) with $(test-program-prefix).
25326 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25327 (test_program_prefix): This.
25328 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25329 $(run-program-prefix) with $(test-program-prefix).
25330 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25331 (test_program_prefix): This.
25332 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25333 * posix/Makefile ($(objpfx)globtest.out): Replace
25334 $(run-via-rtld-prefix) and $(test-wrapper) with
25335 $(test-program-prefix) and $(test-via-rtld-prefix).
25336 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25337 $(test-program-prefix).
25338 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25339 $(host-test-program-cmd).
25340 (tst-spawn-ARGS): Likewise.
25341 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25342 $(test-program-prefix).
25343 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25344 (test_via_rtld_prefix): This.
25345 (test_wrapper): Renamed to ...
25346 (test_program_prefix): This.
25347 (run_program_prefix): Replaced by test_program_prefix.
25348 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25349 (test_program_prefix): This.
25350 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25351 with $(host-test-program-cmd).
25352 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25353 $(run-program-prefix) with $(test-program-prefix).
25354 ($(objpfx)tst-printf.out): Likewise.
25355 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25356 $(test-program-cmd).
25357 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25358 (test_program_prefix): This.
25359 * stdio-common/tst-unbputc.sh: Likewise.
25360 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25361 $(run-program-prefix) with $(test-program-prefix).
25362 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25363 (test_program_prefix): This.
25364 * string/Makefile ($(objpfx)tst-svc.out): Replace
25365 $(built-program-cmd) with $(test-program-cmd).
25367 2013-01-11 Andreas Jaeger <aj@suse.de>
25370 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25371 value. Sync with Linux 3.7.
25373 2013-01-10 David S. Miller <davem@davemloft.net>
25375 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25376 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25377 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25379 2013-01-10 Roland McGrath <roland@hack.frob.com>
25381 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25383 * configure: Regenerated.
25385 2013-01-10 David S. Miller <davem@davemloft.net>
25387 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25388 sparc V9 rather than using V8 code.
25389 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25390 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25392 2013-01-10 Roland McGrath <roland@hack.frob.com>
25394 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25395 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25396 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25397 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25398 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25399 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25400 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25401 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25402 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25403 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25404 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25405 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25406 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25407 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25408 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25409 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25410 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25411 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25412 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25413 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25414 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25415 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25416 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25417 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25418 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25419 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25420 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25422 2013-01-10 David S. Miller <davem@davemloft.net>
25424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25426 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25428 * posix/Makefile (tests-static): New variable.
25429 (tests): Add $(tests-static).
25430 (tst-exec-static-ARGS): New variable.
25431 (tst-spawn-static-ARGS): Likewise.
25432 * posix/tst-exec-static.c: New file.
25433 * posix/tst-spawn-static.c: Likewise.
25434 * posix/tst-exec.c: Support run directly.
25435 * posix/tst-spawn.c: Likewise.
25437 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25439 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25441 * math/bits/mathcalls.h (llrint): Likewise.
25442 (llround): Likewise.
25443 * stdlib/stdlib.h (struct drand48_data): Likewise.
25444 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25445 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25446 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25448 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25450 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25451 (elf_greg_t): Likewise.
25452 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25453 (__jmp_buf): Likewise.
25454 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25456 (llrint): Likewise, for all definitions.
25457 (llrintl): Likewise.
25459 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25460 Remove [__GNUC__] condition.
25461 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25462 condition to just [__USE_ISOC99].
25463 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25465 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25468 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25469 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25471 (_POSIX_V6_ILP32_OFF32): Likewise.
25472 (_XBS5_ILP32_OFF32): Likewise.
25473 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25474 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25476 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25478 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25481 doubles __mpexp_twomm1. Adjust usage.
25482 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25485 2013-01-10 Andreas Schwab <schwab@suse.de>
25488 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25489 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25491 2013-01-09 David S. Miller <davem@davemloft.net>
25494 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25495 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25496 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25497 (TCP_FASTOPEN): Define.
25498 (tcp_repair_opt): New structure.
25499 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25501 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25502 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25503 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25504 (tcp_cookie_transactions): New structure.
25506 2013-01-09 Anton Blanchard <anton@samba.org>
25508 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25509 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25510 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25511 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25513 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25515 * include/features.h (__USE_ANSI): Remove.
25517 2013-01-09 Roland McGrath <roland@hack.frob.com>
25519 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25521 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25523 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25525 * sysdeps/s390/fpu/libm-test-ulps: Update.
25527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25529 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25533 (denorm): Likewise.
25534 (__mp_dbl): Likewise.
25535 (__dbl_mp): Likewise.
25536 (add_magnitudes): Likewise.
25537 (sub_magnitudes): Likewise.
25543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25547 (denorm): Likewise.
25548 (__mp_dbl): Likewise.
25549 (__dbl_mp): Likewise.
25550 (add_magnitudes): Likewise.
25551 (sub_magnitudes): Likewise.
25557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25561 (denorm): Likewise.
25562 (__mp_dbl): Likewise.
25563 (__dbl_mp): Likewise.
25564 (add_magnitudes): Likewise.
25565 (sub_magnitudes): Likewise.
25572 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25574 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25575 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25576 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25577 2 && __USE_EXTERN_INLINES]: Likewise.
25579 2013-01-08 Andreas Jaeger <aj@suse.de>
25582 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25584 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25585 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25587 2013-01-07 Anton Blanchard <anton@samba.org>
25589 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25590 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25591 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25592 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25593 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25594 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25595 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25596 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25598 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25599 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25600 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25601 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25602 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25603 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25604 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25605 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25606 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25607 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25608 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25609 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25610 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25611 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25612 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25613 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25614 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25615 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25616 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25617 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25618 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25619 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25621 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25622 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25623 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25624 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25625 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25626 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25627 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25628 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25629 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25630 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25631 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25633 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25635 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25636 (__MALLOC_PMT): Likewise.
25637 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25638 [__GNUC__], only on [_LIBC].
25639 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25640 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25641 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25642 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25643 forward declaration.
25644 (realloc_hook_ini): Likewise.
25645 (memalign_hook_ini): Likewise.
25646 (__libc_memalign): Do not use __MALLOC_PMT in variable
25648 (__libc_valloc): Likewise.
25649 (__libc_pvalloc): Likewise.
25650 (__libc_calloc): Likewise.
25651 (__posix_memalign): Likewise.
25654 * math/s_casinh.c: Include <float.h>.
25655 (__casinh): Do not do computation with squaring and square root
25656 for large arguments.
25657 * math/s_casinhf.c: Include <float.h>.
25658 (__casinhf): Do not do computation with squaring and square root
25659 for large arguments.
25660 * math/s_casinhl.c: Include <float.h>.
25661 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25662 (__casinhl): Do not do computation with squaring and square root
25663 for large arguments.
25664 * math/libm-test.inc (casin_test): Add more tests.
25665 (casinh_test): Likewise.
25666 * sysdeps/i386/fpu/libm-test-ulps: Update.
25667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25669 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25671 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25672 (__x86_64_raw_data_cache_size): Likewise.
25673 (__x86_64_data_cache_size_half): Likewise.
25674 (__x86_64_raw_data_cache_size_half): Likewise.
25675 (__x86_64_shared_cache_size): Likewise.
25676 (__x86_64_raw_shared_cache_size): Likewise.
25677 (__x86_64_shared_cache_size_half): Likewise.
25678 (__x86_64_raw_shared_cache_size_half): Likewise.
25679 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25681 (__x86_data_cache_size): This.
25682 (__x86_64_raw_data_cache_size): Renamed to ...
25683 (__x86_raw_data_cache_size): This.
25684 (__x86_64_data_cache_size_half): Renamed to ...
25685 (__x86_data_cache_size_half): This.
25686 (__x86_64_raw_data_cache_size_half): Renamed to ...
25687 (__x86_raw_data_cache_size_half): This.
25688 (__x86_64_shared_cache_size): Renamed to ...
25689 (__x86_shared_cache_size): This.
25690 (__x86_64_raw_shared_cache_size): Renamed to ...
25691 (__x86_raw_shared_cache_size): This.
25692 (__x86_64_shared_cache_size_half): Renamed to ...
25693 (__x86_shared_cache_size_half): This.
25694 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25695 (__x86_raw_shared_cache_size_half): This.
25696 * sysdeps/x86_64/memcpy.S: Updated.
25697 * sysdeps/x86_64/memset.S: Likewise.
25698 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25699 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25700 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25702 2013-01-04 David S. Miller <davem@davemloft.net>
25704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25706 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25708 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25709 1 to avoid redefinition warning.
25710 (__USE_GNU): Don't define.
25711 (init_signaling_nan): Protoize.
25713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25715 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25717 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25719 (__cpymn): Likewise.
25720 (norm): Remove commented code.
25721 (denorm): Likewise.
25722 (__mp_dbl): Likewise.
25724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25725 (__cpymn): Likewise.
25726 (norm): Remove commented code.
25727 (denorm): Likewise.
25728 (__mp_dbl): Likewise.
25731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25732 mp_no value for 1.0 and 2.0.
25733 (norm): Use RADIXI instead of radixi.d.
25734 (denorm): Likewise.
25735 (__mul): Use 0.0 instead of zero.d.
25736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25737 mp_no value for 1.0 and 2.0.
25738 (norm): Use RADIXI instead of radixi.d.
25739 (denorm): Likewise.
25740 (__mul): Use 0.0 instead of zero.d.
25742 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25745 * math/s_casinh.c (__casinh): Reduce finite argument to first
25746 quadrant then set signs of results at the end.
25747 * math/s_casinhf.c (__casinhf): Likewise.
25748 * math/s_casinhl.c (__casinhl): Likewise.
25749 * math/libm-test.inc (casin_test): Add more tests.
25750 (casinh_test): Likewise.
25751 * sysdeps/i386/fpu/libm-test-ulps: Update.
25752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25754 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25756 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25758 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25760 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25762 (denorm): Likewise.
25763 (__mp_dbl): Likewise.
25766 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25767 and adjust the header comment.
25769 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25770 variable name from declaration.
25772 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25775 Initialize COMMON_CPUID_INDEX_7 element.
25776 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25777 (CPUID_RTM): Likewise.
25778 (HAS_RTM): Likewise.
25779 (COMMON_CPUID_INDEX_7): New enum.
25781 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25784 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25785 size is zero, record memory as freed.
25787 2013-01-03 Andreas Jaeger <aj@suse.de>
25789 * po/ia.po: Add new Interlingua translation.
25791 2012-01-03 Allan McRae <allan@archlinux.org>
25793 * locale/programs/localedef.c: Fix description of '--posix' flag.
25795 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25797 * NEWS: Update dates in second copyright notice.
25798 * README: Update copyright dates in example.
25799 * manual/libc.texinfo: Update copyright dates.
25800 * scripts/test-installation.pl: Update copyright date in --version
25803 * hurd/ctty-input.c: Fix copyright notice formatting.
25804 * hurd/ctty-output.c: Likewise.
25805 * hurd/dtable.c: Likewise.
25806 * hurd/hurd-raise.c: Likewise.
25807 * hurd/hurdprio.c: Likewise.
25808 * hurd/msgportdemux.c: Likewise.
25809 * misc/sys/file.h: Likewise.
25810 * misc/sys/ioctl.h: Likewise.
25811 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25812 * sysdeps/mach/hurd/chdir.c: Likewise.
25813 * sysdeps/mach/hurd/fchdir.c: Likewise.
25814 * sysdeps/mach/hurd/rename.c: Likewise.
25815 * sysdeps/mach/hurd/rmdir.c: Likewise.
25816 * sysdeps/mach/hurd/seekdir.c: Likewise.
25817 * sysdeps/mach/hurd/setsid.c: Likewise.
25818 * sysdeps/posix/wait3.c: Likewise.
25820 * All files with FSF copyright notices: Update copyright dates
25821 using scripts/update-copyrights.
25822 * intl/plural.c: Regenerated.
25823 * locale/programs/charmap-kw.h: Likewise.
25824 * locale/programs/locfile-kw.h: Likewise.
25826 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25828 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25831 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25832 calculation loop and add branch prediction.
25834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25835 check access beyond bounds of m1np.
25837 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25839 (__inv): Remove local variable MPTWO to use the global
25841 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25844 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25845 MP3HALFS static const.
25847 2013-01-01 David S. Miller <davem@davemloft.net>
25849 * po/ca.po: Update from translation team.
25851 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25853 * scripts/update-copyrights: New file.
25854 * Makeconfig: Reformat copyright notice.
25855 * ctype/ctype.h: Likewise.
25856 * debug/swprintf_chk.c: Likewise.
25857 * elf/dl-cache.c: Likewise.
25858 * elf/dl-debug.c: Likewise.
25859 * elf/dl-object.c: Likewise.
25860 * grp/initgroups.c: Likewise.
25861 * hurd/Makefile: Likewise.
25862 * hurd/hurd/signal.h: Likewise.
25863 * hurd/hurdfault.c: Likewise.
25864 * hurd/hurdioctl.c: Likewise.
25865 * hurd/hurdlookup.c: Likewise.
25866 * hurd/intr-msg.c: Likewise.
25867 * iconv/gconv_open.c: Likewise.
25868 * libio/swprintf.c: Likewise.
25869 * locale/lc-ctype.c: Likewise.
25870 * locale/nl_langinfo.c: Likewise.
25871 * mach/Machrules: Likewise.
25872 * mach/Makefile: Likewise.
25873 * malloc/obstack.h: Likewise.
25874 * manual/Makefile: Likewise.
25875 * manual/tsort.awk: Likewise.
25876 * misc/bits/stab.def: Likewise.
25877 * nis/nis_print_group_entry.c: Likewise.
25878 * nis/nis_table.c: Likewise.
25879 * nis/nss_compat/compat-pwd.c: Likewise.
25880 * nis/nss_compat/compat-spwd.c: Likewise.
25881 * po/Makefile: Likewise.
25882 * posix/fnmatch.c: Likewise.
25883 * posix/regex.h: Likewise.
25884 * resolv/Makefile: Likewise.
25885 * resolv/nss_dns/dns-network.c: Likewise.
25886 * resolv/res_hconf.c: Likewise.
25887 * scripts/gen-sorted.awk: Likewise.
25888 * soft-fp/soft-fp.h: Likewise.
25889 * stdio-common/printf.h: Likewise.
25890 * stdlib/monetary.h: Likewise.
25891 * stdlib/random.c: Likewise.
25892 * stdlib/random_r.c: Likewise.
25893 * sysdeps/generic/Makefile: Likewise.
25894 * sysdeps/gnu/Makefile: Likewise.
25895 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25896 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25897 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25899 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25902 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25903 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25905 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25906 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25907 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25908 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25909 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25910 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25911 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25912 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25913 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25914 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25915 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25916 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25917 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25919 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25923 * sysdeps/mach/hurd/errnos.awk: Likewise.
25924 * sysdeps/mach/hurd/fork.c: Likewise.
25925 * sysdeps/mach/hurd/getcwd.c: Likewise.
25926 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25927 * sysdeps/mach/hurd/mmap.c: Likewise.
25928 * sysdeps/mach/hurd/utimes.c: Likewise.
25929 * sysdeps/mach/hurd/xmknod.c: Likewise.
25930 * sysdeps/posix/profil.c: Likewise.
25931 * sysdeps/posix/readdir_r.c: Likewise.
25932 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25933 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25934 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25935 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25937 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25938 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25939 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25941 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25942 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25943 * sysdeps/pthread/lio_listio.c: Likewise.
25944 * sysdeps/sparc/dl-procinfo.h: Likewise.
25945 * sysdeps/unix/i386/sysdep.S: Likewise.
25946 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25947 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25948 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25949 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25951 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25952 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25953 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25954 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25955 * sysdeps/wordsize-32/divdi3.c: Likewise.
25956 * time/sys/time.h: Likewise.
25957 * wcsmbs/Makefile: Likewise.
25959 2013-01-01 David S. Miller <davem@davemloft.net>
25961 * po/fr.po: Update from translation team.
25963 * catgets/gencat.c: Update copyright year.
25964 * csu/version.c: Likewise.
25965 * debug/catchsegv.sh: Likewise.
25966 * debug/pcprofiledump.c: Likewise.
25967 * debug/xtrace.sh: Likewise.
25968 * elf/ldconfig.c: Likewise.
25969 * elf/ldd.bash.in: Likewise.
25970 * elf/pldd.c: Likewise.
25971 * elf/sotruss.ksh: Likewise.
25972 * elf/sprof.c: Likewise.
25973 * iconv/iconv_prog.c: Likewise.
25974 * iconv/iconvconfig.c: Likewise.
25975 * locale/programs/locale.c: Likewise.
25976 * locale/programs/localedef.c: Likewise.
25977 * login/programs/pt_chown.c: Likewise.
25978 * malloc/memusage.sh: Likewise.
25979 * malloc/memusagestat.c: Likewise.
25980 * malloc/mtrace.pl: Likewise.
25981 * nscd/nscd.c: Likewise.
25982 * nss/getent.c: Likewise.
25983 * nss/makedb.c: Likewise.
25984 * posix/getconf.c: Likewise.
25986 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25988 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25991 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25993 * math/bits/mathcalls.h (modf): Use __nonnull.
25995 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25997 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25998 (split): Use macro CN instead of the bare value.
25999 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26001 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26002 instead of the bare value.
26003 (power1): Likewise.
26005 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26007 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26009 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26011 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26013 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26014 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26015 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26016 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26018 2012-12-28 Andreas Jaeger <aj@suse.de>
26020 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26021 values are from Linux 3.7.
26023 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26024 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26026 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26028 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26031 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26033 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26034 variables with preprocessor constants.
26035 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26036 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26037 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26039 2012-12-27 Bruno Haible <bruno@clisp.org>
26042 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26045 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26047 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26048 and use variable directly.
26049 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26051 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26053 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26054 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26056 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26058 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26059 include directive. Remove local variable MPONE.
26060 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26061 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26062 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26064 2012-12-25 David S. Miller <davem@davemloft.net>
26066 * version.h (RELEASE): Set to "development".
26067 (VERSION): Set to "2.17.90".
26068 * NEWS: Add 2.18 section.
26070 2012-12-21 David S. Miller <davem@davemloft.net>
26072 * po/hr.po: Update from translation team.
26074 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26076 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26078 2012-12-19 Steve Ellcey <sellcey@mips.com>
26080 * NEWS: Mention new memcpy for MIPS.
26082 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26084 * manual/contrib.texi (Contributors): Spelling correction.
26086 2012-12-15 David S. Miller <davem@davemloft.net>
26088 * po/ru.po: Update from translation team.
26090 2012-12-13 David S. Miller <davem@davemloft.net>
26092 * NEWS: Mention IFUNC testsuite enhancements.
26094 * po/pl.po: Update from translation team.
26095 * po/bg.po: Likewise.
26097 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26098 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26100 2012-12-11 David S. Miller <davem@davemloft.net>
26102 * po/sv.po: Update from translation team.
26104 * po/vi.po: Update from translation team.
26106 * po/cs.po: Update from translation team.
26108 * po/de.po: Update from translation team.
26109 * po/eo.po: Likewise.
26110 * po/nl.po: Likewise.
26112 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26115 * manual/argp.texi (Argp Helper Functions): Move node to follow
26116 Argp Parsing State.
26119 * manual/conf.texi (Limits on File System Capacity): Mention if
26120 terminating null is included in the max size.
26122 2012-12-10 Andreas Jaeger <aj@suse.de>
26124 * po/cs.po: Update from translation team.
26126 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26128 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26129 void pointer and cast to uintptr_t.
26130 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26132 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26133 * sysdeps/s390/s390-64/memset.S: Likewise.
26135 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26138 * menual/message.texi (Message Translation): Fix typos.
26139 (Helper programs for gettext): Likewise.
26141 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26144 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26147 2012-12-07 David S. Miller <davem@davemloft.net>
26149 * po/libc.pot: Update.
26151 2012-12-07 Richard Henderson <rth@redhat.com>
26154 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26155 normal/normal case to before the switch.
26156 (_FP_DIV): Likewise.
26158 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26159 Mike Frysinger <vapier@gentoo.org>
26161 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26162 check for __NR_fadvise64_64.
26164 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26166 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26167 0, not just to plain "0" as a statement.
26168 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26171 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26173 * NEWS: Use sourceware.org in Bugzilla URL.
26175 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26178 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26180 * stdio-common/tst-put-error.c (do_test): Add newline to the
26181 padded test to ensure flush.
26183 2012-12-05 Jeff Law <law@redhat.com>
26185 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26187 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26189 * README: Don't refer to ports add-on as distributed separately.
26190 Mention AArch64 in list of systems supported in the ports add-on.
26192 * LICENSES: Add more non-FSF copyright and license notices.
26194 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26197 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26199 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26200 10000 as width of padded output.
26202 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26204 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26206 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26207 variable LX with __attribute__ ((unused)).
26208 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26210 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26212 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26213 with __attribute__ ((unused)).
26215 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26217 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26219 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26221 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26222 (CFLAGS-nldbl-acos.c): New variable.
26223 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26224 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26225 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26226 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26227 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26228 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26229 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26230 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26231 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26232 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26233 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26234 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26235 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26236 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26237 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26238 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26239 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26240 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26241 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26242 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26243 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26244 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26245 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26246 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26247 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26248 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26249 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26250 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26251 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26252 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26253 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26254 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26255 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26256 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26257 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26258 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26259 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26260 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26261 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26262 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26263 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26264 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26265 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26266 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26267 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26268 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26269 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26270 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26271 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26272 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26273 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26274 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26275 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26276 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26277 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26278 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26279 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26280 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26281 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26282 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26283 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26284 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26285 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26286 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26287 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26288 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26289 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26290 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26291 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26292 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26293 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26294 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26295 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26296 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26297 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26298 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26299 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26300 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26301 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26302 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26303 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26304 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26305 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26306 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26307 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26308 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26309 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26310 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26311 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26312 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26313 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26314 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26315 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26316 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26317 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26318 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26319 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26322 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26325 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26326 whole low double instead of just low 47 bits when splitting values
26329 2012-12-03 Allan McRae <allan@archlinux.org>
26331 * manual/stdio.texi (Predefined Printf Handlers): Remove
26332 @hsep and @vsep usage.
26334 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26336 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26337 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26339 2012-12-03 Jeff Law <law@redhat.com>
26341 * time/sys/time.h (settimeofday): Do not mark TV argument
26344 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26346 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26347 when currently writing and seek to current position when not.
26348 * libio/Makefile (tests): Remove bug-fclose1.
26349 * libio/bug-fclose1.c: Delete.
26351 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26353 * manual/arith.texi (feenableexcept): Fix typo.
26354 (fedisableexcept): Likewise.
26356 2012-11-30 Roland McGrath <roland@hack.frob.com>
26358 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26359 second, differently-typed declaration, rather than a cast.
26361 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26363 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26364 * include/rpc/svc.h: ... here.
26366 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26369 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26370 depending n and resplen2 to catch cases where answer
26373 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26375 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26376 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26378 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26380 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26382 2012-11-29 Roland McGrath <roland@hack.frob.com>
26384 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26386 2012-11-28 Jeff Law <law@redhat.com>
26389 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26390 dataset_temporary. Track alloca usage into alloca_used.
26391 If dataset is large allocate and release it via malloc/free.
26393 2012-06-04 Florian Weimer <fweimer@redhat.com>
26396 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26398 2012-11-28 David S. Miller <davem@davemloft.net>
26400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26402 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26405 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26406 of pi/2 rounded to nearest to 64 bits.
26407 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26408 nearest to 64 bits.
26409 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26412 2012-11-28 Jeff Law <law@redhat.com>
26413 Martin Osvald <mosvald@redhat.com>
26416 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26417 * sunrpc/svc.c: Include time.h.
26418 (__svc_accept_failed): New function.
26419 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26420 any reason other than EINTR, call __svc_accept_failed.
26421 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26422 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26424 2012-11-28 Andreas Schwab <schwab@suse.de>
26426 * scripts/abilist.awk: Also handle indirect functions in .opd
26429 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26432 * sysdeps/x86/fpu/powl_helper.c: New file.
26433 * sysdeps/x86/fpu/Makefile: Likewise.
26434 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26436 (__ieee754_powl): Use __powl_helper for finite arguments except
26437 integer exponents below 8.
26438 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26440 (__ieee754_powl): Use __powl_helper for finite arguments except
26441 integer exponents below 8.
26442 * math/libm-test.inc (pow_test): Add more tests and enable some
26443 previously disabled tests.
26444 * sysdeps/i386/fpu/libm-test-ulps: Update.
26445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26447 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26448 Carlos O'Donell <carlos_odonell@mentor.com>
26450 * nss/makedb.c (is_prime): Assert that input is odd and greater
26451 than 4. Note that fact in a comment too.
26452 (next_prime): Add 4 to input.
26454 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26457 * libio/Makefile (tests): Add test case tst-fwrite-error.
26458 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26459 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26460 * libio/tst-fwrite-error.c: New test case.
26462 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26464 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26465 before casting to void *.
26466 * include/libc-internal.h (__pointer_type): New macro.
26467 (__integer_if_pointer_type_sub): Likewise.
26468 (__integer_if_pointer_type): Likewise.
26469 (cast_to_integer): Likewise.
26470 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26471 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26472 before casting to atomic64_t.
26473 (atomic_exchange_acq): Likewise.
26474 (__arch_exchange_and_add_body): Likewise.
26475 (__arch_add_body): Likewise.
26476 (atomic_add_negative): Likewise.
26477 (atomic_add_zero): Likewise.
26479 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26481 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26482 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26483 (add_fdes): Likewise.
26484 (linear_search_fdes): Likewise.
26485 (binary_search_unencoded_fdes): Likewise.
26487 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26489 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26491 2012-11-24 Adam Conrad <adconrad@0c3.net>
26493 * configure.in: Autodetect C++ header directories.
26494 * configure: Regenerated.
26496 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26498 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26500 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26504 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26506 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26507 LDBL_MANT_DIG == 106]: Disable some tests.
26508 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26510 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26514 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26515 input for small inputs. Return +/- pi/2 for large inputs.
26516 * math/libm-test.inc (atan_test): Add more tests.
26518 * sysdeps/generic/unwind-dw2-fde-glibc.c
26519 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26520 __attribute__ ((unused)).
26523 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26524 x * y if x and y are nonzero and z is zero.
26527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26528 nonzero exponents with absolute value below 0x1p-117 to +/-
26532 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26533 up arguments below 2**-450, not just those below 2**-500.
26534 * math/libm-test.inc (hypot_test): Add another test.
26537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26538 Return a+b for ratio over 2**120, not 2**60.
26539 * math/libm-test.inc (hypot_test): Add another test.
26541 * math/libm-test.inc (clog_test): Use
26542 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26543 (clog10_test): Likewise.
26546 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26548 2012-11-22 Andreas Schwab <schwab@suse.de>
26550 * sysdeps/i386/fpu/libm-test-ulps: Update.
26552 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26554 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26555 printf output with newline.
26557 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26560 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26561 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26562 -z nodlopen, -z initfirst and -z execstack support.
26563 * configure: Regenerated.
26565 * elf/elf.h (DF_1_NODIRECT): New macro.
26566 (DF_1_IGNMULDEF): Likewise.
26567 (DF_1_NOKSYMS): Likewise.
26568 (DF_1_NOHDR): Likewise.
26569 (DF_1_EDITED): Likewise.
26570 (DF_1_NORELOC): Likewise.
26571 (DF_1_SYMINTPOSE): Likewise.
26572 (DF_1_GLOBAUDIT): Likewise.
26573 (DF_1_SINGLETON): Likewise.
26574 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26575 DT_1_SUPPORTED_MASK bits.
26576 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26578 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26580 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26582 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26584 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26587 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26588 (sendmmsg): Move declarations...
26589 * socket/sys/socket.h: ... here.
26590 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26591 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26593 * socket/recvmmsg.c: ... this new file.
26594 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26595 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26596 definition of __sendmmsg hidden.
26597 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26598 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26599 Move ENOSYS stub into and include it from...
26600 * socket/sendmmsg.c: ... this new file.
26601 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26602 (sysdep_routines): Move recvmmsg and sendmmsg...
26603 * socket/Makefile (routines): ... here.
26604 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26605 (GLIBC_PRIVATE): Add __sendmmsg.
26606 * include/sys/socket.h (__sendmmsg): Add declarations.
26607 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26610 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26612 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26613 variable I1 with __attribute__ ((unused)).
26614 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26616 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26618 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26619 DUMMY variables with __attribute__ ((unused)).
26621 * bits/byteswap.h: Include <bits/types.h>.
26622 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26624 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26626 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26627 string_t. Do not manually set errno.
26628 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26629 length with __strnlen. Make sure to both set errno and return it on
26632 2012-11-19 David S. Miller <davem@davemloft.net>
26634 With help from Joseph Myers.
26635 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26636 very large arguments properly.
26637 * math/libm-test.inc (atan_test): New tests.
26638 (atan2_test): New tests.
26639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26642 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26645 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26648 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26649 [POSIX] (EADDRNOTAVAIL): Likewise.
26650 [POSIX] (EAFNOSUPPORT): Likewise.
26651 [POSIX] (EALREADY): Likewise.
26652 [POSIX] (ECONNABORTED): Likewise.
26653 [POSIX] (ECONNREFUSED): Likewise.
26654 [POSIX] (ECONNRESET): Likewise.
26655 [POSIX] (EDESTADDRREQ): Likewise.
26656 [POSIX] (EDQUOT): Likewise.
26657 [POSIX] (EHOSTUNREACH): Likewise.
26658 [POSIX] (EIDRM): Likewise.
26659 [POSIX] (EISCONN): Likewise.
26660 [POSIX] (ELOOP): Likewise.
26661 [POSIX] (EMULTIHOP): Likewise.
26662 [POSIX] (ENETDOWN): Likewise.
26663 [POSIX] (ENETUNREACH): Likewise.
26664 [POSIX] (ENOBUFS): Likewise.
26665 [POSIX] (ENODATA): Likewise.
26666 [POSIX] (ENOLINK): Likewise.
26667 [POSIX] (ENOMSG): Likewise.
26668 [POSIX] (ENOPROTOOPT): Likewise.
26669 [POSIX] (ENOSR): Likewise.
26670 [POSIX] (ENOSTR): Likewise.
26671 [POSIX] (ENOTCONN): Likewise.
26672 [POSIX] (ENOTSOCK): Likewise.
26673 [POSIX] (EOPNOTSUPP): Likewise.
26674 [POSIX] (EOVERFLOW): Likewise.
26675 [POSIX] (EPROTO): Likewise.
26676 [POSIX] (EPROTONOSUPPORT): Likewise.
26677 [POSIX] (EPROTOTYPE): Likewise.
26678 [POSIX] (ESTALE): Likewise.
26679 [POSIX] (ETIME): Likewise.
26680 [POSIX] (ETXTBSY): Likewise.
26681 [POSIX] (EWOULDBLOCK): Likewise.
26682 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26683 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26684 [POSIX] (SEEK_CUR): Likewise.
26685 [POSIX] (SEEK_END): Likewise.
26686 [POSIX || UNIX98] (mode_t): Do not require.
26687 [POSIX] (off_t): Likewise.
26688 [POSIX] (pid_t): Likewise.
26689 [POSIX] (sys/stat.h): Do not allow header.
26690 [POSIX] (unistd.h): Likewise.
26691 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26692 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26693 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26694 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26696 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26697 sigevent): Specify elements.
26698 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26700 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26701 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26703 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26704 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26705 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26706 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26707 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26708 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26709 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26710 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26711 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26712 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26713 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26714 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26715 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26716 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26718 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26720 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26722 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26724 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26725 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26726 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26727 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26728 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26729 Specify lower bound on value.
26730 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26731 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26732 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26733 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26734 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26735 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26736 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26737 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26739 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26741 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26742 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26743 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26744 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26745 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26746 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26747 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26748 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26749 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26750 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26751 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26752 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26753 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26754 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26755 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26756 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26758 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26760 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26761 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26762 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26763 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26764 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26765 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26767 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26768 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26769 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26770 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26771 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26772 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26773 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26775 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26776 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26777 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26778 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26779 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26780 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26781 specify as optional.
26782 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26783 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26784 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26785 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26786 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26787 [XPG3] (NL_LANGMAX): Likewise.
26788 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26789 [POSIX || XPG3] (NL_NMAX): Likewise.
26790 [POSIX || XPG3] (NL_SETMAX): Likewise.
26791 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26792 [XPG3] (NZERO): Likewise.
26793 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26794 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26795 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26796 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26797 (REG_ERANGE): Expect.
26798 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26800 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26801 Use (void) in prototype.
26802 [POSIX] (*_t): Allow.
26803 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26804 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26805 (WRDE_BADVAL): Expect.
26807 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26809 [XPG3 || XPG4] (O_RSYNC): Likewise.
26810 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26812 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26813 [XPG3 || XPG4] (sigqueue): Likewise.
26814 [XPG3 || XPG4] (sigtimedwait): Likewise.
26815 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26816 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26817 [XPG3 || XPG4] (vsnprintf): Likewise.
26818 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26820 [XPG3 || XPG4] (blksize_t): Likewise.
26821 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26823 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26824 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26825 [XPG3 || XPG4] (struct itimerspec): Likewise.
26826 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26827 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26828 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26829 [XPG3 || XPG4] (clockid_t): Likewise.
26830 [XPG3 || XPG4] (timer_t): Likewise.
26831 [XPG3 || XPG4] (clock_getres): Likewise.
26832 [XPG3 || XPG4] (clock_gettime): Likewise.
26833 [XPG3 || XPG4] (clock_settime): Likewise.
26834 [XPG3 || XPG4] (nanosleep): Likewise.
26835 [XPG3 || XPG4] (timer_create): Likewise.
26836 [XPG3 || XPG4] (timer_delete): Likewise.
26837 [XPG3 || XPG4] (timer_gettime): Likewise.
26838 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26839 [XPG3 || XPG4] (timer_settime): Likewise.
26840 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26841 [XPG3 || XPG4] (getlogin_r): Likewise.
26842 [XPG3 || XPG4] (pread): Likewise.
26843 [XPG3 || XPG4] (pthread_atfork): Likewise.
26844 [XPG3 || XPG4] (pwrite): Likewise.
26847 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26850 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26852 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26853 finalizing MALLSTREAM.
26855 * sysdeps/mach/hurd/syncfs.c: New file.
26857 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26860 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26861 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26862 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26863 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26864 (_nss_dns_gethostbyname4_r): Likewise.
26865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26866 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26868 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26871 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26873 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26875 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26876 * elf/cache.c (print_entry): Print ",AArch64" for
26879 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26880 * elf/cache.c (print_entry): Print ",hard-float" for
26883 2012-11-18 David S. Miller <davem@davemloft.net>
26885 With help from Joseph Myers.
26886 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26888 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26890 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26891 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26893 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26894 * math/libm-test.inc (y0_test): New tests.
26895 (y1_test): New tests.
26896 * sysdeps/i386/fpu/libm-test-ulps: Update.
26897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26900 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26902 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26904 * configure: Regenerated.
26906 2012-11-17 David S. Miller <davem@davemloft.net>
26909 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26910 nonzero exponents with absolute value below 0x1p-128 to +/-
26913 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26915 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26917 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26919 * posix/getconf-speclist.c: New file.
26920 * posix/posix-envs.def: Likewise.
26921 * posix/confstr.c (START_ENV_GROUP): New macro.
26922 (END_ENV_GROUP): Likewise.
26923 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26924 (KNOWN_PRESENT_ENV_STRING): Likewise.
26925 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26926 (UNKNOWN_ENVIRONMENT): Likewise.
26927 (confstr): Include posix-envs.def instead of handling
26928 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26929 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26930 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26931 (END_ENV_GROUP): Likewise.
26932 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26933 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26934 (UNKNOWN_ENVIRONMENT): Likewise.
26935 (__sysconf): Include posix-envs.def instead of handling associated
26936 cases directly here.
26937 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26938 preprocessing getconf-speclist.c rather than running getconf or
26939 generating empty file.
26941 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26943 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26945 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26948 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26950 2012-11-16 David S. Miller <davem@davemloft.net>
26952 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26953 smaller than LDBL_EPSILON/2.0L, just return xm1.
26955 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26957 * elf/tst-array1.c (init): Set constructor priority to 1000.
26958 (fini): Set destructor priority to 1000.
26959 * elf/tst-array2dep.c: Likewise.
26961 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26964 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26965 (_IO_new_file_xsputn): Also return EOF if none of the input
26966 data was written when overflow failed.
26967 * libio/iopadn.c (_IO_padn): Likewise.
26968 * libio/iowpadn.c (_IO_wpadn): Likewise.
26969 * stdio-common/tst-put-error.c: Add copyright notice.
26970 (do_test): Add case for printing padded string.
26971 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26972 _IO_padn returned error.
26973 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26974 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26977 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26979 * libio/libioP.h: Add comment note that the references to C++
26980 bits are now obsolete.
26982 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26984 * math/libm-test.inc (check_complex): Use asprintf.
26986 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26988 * debug/pcprofiledump.c (print_version): Update copyright year.
26989 * malloc/memusagestat.c (print_version): Likewise.
26991 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26994 * elf/Makefile (tests): Add tst-audit8.
26995 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26996 ($(objpfx)tst-audit8.out): New target.
26997 (tst-audit8-ENV): New variable.
26998 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26999 audit if l_reloc_result is NULL.
27000 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27001 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27002 * elf/tst-audit8.c: New file.
27004 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27006 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27007 * misc/Makefile (CFLAGS-select.c): Define.
27008 * posix/Makefile (CFLAGS-pause.c): Define.
27010 2012-11-13 David S. Miller <davem@davemloft.net>
27012 * crypt/Makefile: Move test targets after toplevel Rules
27013 inclusion. Grab any necessary sysdep routines when linking.
27014 * crypt/md5.c (md5_process_block): Remove define, we will always
27015 name it __md5_process_block.
27016 (md5_finish_ctx): Update md5_process_block call.
27017 (md5_stream): Likewise.
27018 (md5_process_bytes): Likewise.
27019 (md5_process_block): Rename to __md5_process_block and move to ...
27020 * crypt/md5-block.c: ... here.
27021 * crypt/sha256.c (sha256_process_block): Move to ...
27022 * crypt/sha256-block.c: ... here.
27023 * crypt/sha512.c (sha512_process_block): Move to ...
27024 * crypt/sha512-block.c: ... here.
27025 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27027 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27028 * sysdeps/sparc/sparc64/multiarch/Makefile
27029 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27031 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27032 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27034 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27035 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27036 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27037 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27038 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27039 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27040 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27041 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27042 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27044 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27045 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27047 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27049 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27051 * timezone/tzselect.ksh: Update from tzcode git revision
27052 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27053 * timezone/zdump.c: Likewise.
27054 * timezone/zic.c: Likewise.
27055 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27056 in TZVERSION setting, not $(PKGVERSION).
27057 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27058 REPORT_BUGS_TO settings.
27061 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27064 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27066 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27067 detection to immediately after _FP_ROUND().
27068 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27071 2012-11-11 David S. Miller <davem@davemloft.net>
27073 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27075 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27076 __close rather than their public counterparts.
27078 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27080 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27082 [UNIX98] (sem_timedwait): Do not expect.
27083 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27084 [XPG4 || UNIX98] (sockatmark): Do not expect.
27085 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27086 (clock_getcpuclockid): Do not expect.
27087 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27088 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27090 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27091 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27092 [UNIX98] (vwscanf): Likewise.
27093 [UNIX98] (vswscanf): Likewise.
27095 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27097 * timezone/version.h: Remove file.
27098 * timezone/README: Do not refer to version.h.
27099 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27100 $(objpfx)version.h.
27101 ($(objpfx)zdump.o): Likewise.
27102 ($(objpfx)version.h): New target.
27104 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27106 * timezone/README: Don't mention modification to tzselect.ksh.
27107 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27108 work on unmodified tzselect.ksh. Substitute version numbers in
27111 * Makefile (format-me): Remove.
27112 (INSTALL): Adjust indentation. Use commands directly instead of
27113 using $(format-me).
27115 * aclocal.m4 (ACX_PKGVERSION): New macro.
27116 (ACX_BUGURL): Likewise.
27117 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27118 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27119 (REPORT_BUGS_TO): Likewise.
27120 * configure: Regenerated.
27121 * config.h.in (PKGVERSION): New macro.
27122 (REPORT_BUGS_TO): Likewise.
27123 * config.make.in (PKGVERSION): New variable.
27124 (PKGVERSION_TEXI): Likewise.
27125 (REPORT_BUGS_TO): Likewise.
27126 (REPORT_BUGS_TEXI): Likewise.
27127 * Makefile (format-me): Use -I$(common-objpfx)manual.
27128 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27129 ($(common-objpfx)manual/%): New target.
27130 (manual/%): Remove target.
27131 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27132 (print_version): Use PKGVERSION.
27133 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27134 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27135 and REPORT_BUGS_TO.
27136 ($(objpfx)xtrace): Likewise.
27137 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27138 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27139 (print_version): Use PKGVERSION.
27140 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27141 (do_version): Use PKGVERSION.
27142 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27144 (common-ldd-rewrite): Likewise.
27145 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27146 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27147 (print_version): Use PKGVERSION.
27148 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27149 * elf/pldd.c (argp_program_bug_address): Remove variable.
27150 (more_help): New function.
27151 (argp): Use more_help.
27152 (print_version): Use PKGVERSION.
27153 * elf/sln.c (main): Use PKGVERSION.
27154 (usage): Use REPORT_BUGS_TO.
27155 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27156 (top level): Use PKGVERSION.
27157 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27158 (print_version): Use PKGVERSION.
27159 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27160 (print_version): Use PKGVERSION.
27161 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27162 (print_version): Use PKGVERSION.
27163 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27164 (print_version): Use PKGVERSION.
27165 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27166 (print_version): Use PKGVERSION.
27167 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27168 (print_version): Use PKGVERSION.
27169 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27171 ($(objpfx)memusage): Likewise.
27172 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27173 (do_version): Use PKGVERSION.
27174 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27175 (print_version): Use PKGVERSION.
27176 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27177 ($PKGVERSION): New variable.
27178 ($REPORT_BUGS_TO): Likewise.
27179 (usage): Use $REPORT_BUGS_TO.
27180 (top level): Use $PKGVERSION.
27181 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27182 ($(objpfx)pkgvers.texi): New rule.
27183 ($(objpfx)stamp-pkgvers): Likewise.
27184 * manual/install.texi: Include pkgvers.texi.
27185 (--with-pkgversion): Document new configure option.
27186 (--with-bugurl): Likewise.
27187 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27188 than necessarily for this particular distribution. Use
27189 REPORT_BUGS_TO for where to report bugs.
27190 * INSTALL: Regenerated.
27191 * manual/libc.texinfo: Include pkgvers.texi.
27192 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27193 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27194 (print_version): Use PKGVERSION.
27195 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27196 (print_version): Use PKGVERSION.
27197 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27198 (print_version): Use PKGVERSION.
27199 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27200 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27202 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27203 (print_version): Use PKGVERSION.
27204 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27205 (print_version): Use PKGVERSION.
27206 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27209 * timezone/checktab.awk: Update from tzcode 2012i.
27210 * timezone/ialloc.c: Likewise.
27211 * timezone/private.h: Likewise.
27212 * timezone/scheck.c: Likewise.
27213 * timezone/tzfile.h: Likewise.
27214 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27215 (TZVERSION): Hardcode tzcode version number.
27216 * timezone/zdump.c: Update from tzcode 2012i.
27217 * timezone/zic.c: Likewise.
27218 * timezone/version.h: New file.
27219 * timezone/README: Describe version.h. Update upstream location.
27222 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27223 (mktemp): Enable declaration.
27224 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27225 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27226 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27227 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27229 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27235 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27237 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27241 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27242 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27243 for copies of such integer values.
27244 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27245 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27247 2012-11-09 Andreas Jaeger <aj@suse.de>
27249 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27250 definitions and declarations that are provided by
27251 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27253 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27255 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27256 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27257 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27260 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27262 * elf/elf.h: Update comment before AArch64 relocations.
27264 2012-11-07 David S. Miller <davem@davemloft.net>
27266 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27267 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27268 (__start_context): Declare.
27269 (__makecontext_ret): Delete.
27270 (__makecontext): Hook up __start_context instead of
27272 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27273 (sysdep_routines): Add __start_context when in stdlib.
27275 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27277 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27278 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27279 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27281 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27282 (READELF): New variable. Use it instead of hardcoded "readelf".
27284 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27286 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27287 * sysdeps/x86/Makefile: Here.
27288 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27289 * sysdeps/x86/tst-xmmymm.sh: This.
27291 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27293 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27295 [UNIX98] (pthread_barrier_t): Do not expect.
27296 [UNIX98] (pthread_barrierattr_t): Likewise.
27297 [UNIX98] (pthread_spinlock_t): Likewise.
27298 [UNIX98] (pthread_barrier_destroy): Likewise.
27299 [UNIX98] (pthread_barrier_init): Likewise.
27300 [UNIX98] (pthread_barrier_wait): Likewise.
27301 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27302 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27303 [UNIX98] (pthread_barrierattr_init): Likewise.
27304 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27305 [UNIX98] (pthread_getcpuclockid): Likewise.
27306 [UNIX98] (pthread_mutex_timedlock): Likewise.
27307 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27308 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27309 [UNIX98] (pthread_sigmask): Likewise.
27310 [UNIX98] (pthread_spin_destroy): Likewise.
27311 [UNIX98] (pthread_spin_init): Likewise.
27312 [UNIX98] (pthread_spin_lock): Likewise.
27313 [UNIX98] (pthread_spin_trylock): Likewise.
27314 [UNIX98] (pthread_spin_unlock): Likewise.
27315 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27317 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27318 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27319 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27320 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27321 [XPG3 || XPG4] (pthread_key_t): Likewise.
27322 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27323 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27324 [XPG3 || XPG4] (pthread_once_t): Likewise.
27325 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27326 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27327 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27328 [XPG3 || XPG4] (pthread_t): Likewise.
27330 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27332 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27334 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27335 Change function return type to int.
27337 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27338 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27339 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27340 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27341 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27342 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27343 [!POSIX] (posix_madvise): Likewise.
27344 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27346 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27347 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27348 (mode_t): Likewise.
27349 (posix_mem_offset): Likewise.
27350 (posix_typed_mem_get_info): Likewise.
27351 (posix_typed_mem_open): Likewise.
27353 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27354 Change condition to [XOPEN2K8].
27356 * conform/conformtest.pl: Preprocess allow-header data with -x c
27357 instead of from stdin.
27358 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27359 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27360 [C99-based standards] (cerfc): Likewise.
27361 [C99-based standards] (cexp2): Likewise.
27362 [C99-based standards] (cexpm1): Likewise.
27363 [C99-based standards] (clog10): Likewise.
27364 [C99-based standards] (clog1p): Likewise.
27365 [C99-based standards] (clog2): Likewise.
27366 [C99-based standards] (clgamma): Likewise.
27367 [C99-based standards] (ctgamma): Likewise.
27368 [C99-based standards] (cerff): Likewise.
27369 [C99-based standards] (cerfcf): Likewise.
27370 [C99-based standards] (cexp2f): Likewise.
27371 [C99-based standards] (cexpm1f): Likewise.
27372 [C99-based standards] (clog10f): Likewise.
27373 [C99-based standards] (clog1pf): Likewise.
27374 [C99-based standards] (clog2f): Likewise.
27375 [C99-based standards] (clgammaf): Likewise.
27376 [C99-based standards] (ctgammaf): Likewise.
27377 [C99-based standards] (cerfl): Likewise.
27378 [C99-based standards] (cerfcl): Likewise.
27379 [C99-based standards] (cexp2l): Likewise.
27380 [C99-based standards] (cexpm1l): Likewise.
27381 [C99-based standards] (clog10l): Likewise.
27382 [C99-based standards] (clog1pl): Likewise.
27383 [C99-based standards] (clog2l): Likewise.
27384 [C99-based standards] (clgammal): Likewise.
27385 [C99-based standards] (ctgammal): Likewise.
27386 * conform/data/inttypes.h-data [C99-based standards]: Include
27387 stdint.h-data. Remove all expectations for stdint.h contents.
27388 [C99-based standards] (PRI*): Do not allow.
27389 [C99-based standards] (SCN*): Likewise.
27390 [C99-based standards] (*_t): Likewise.
27391 [C99-based-standards] (PRId8): Expect macro.
27392 [C99-based-standards] (PRIi8): Likewise.
27393 [C99-based-standards] (PRIo8): Likewise.
27394 [C99-based-standards] (PRIu8): Likewise.
27395 [C99-based-standards] (PRIx8): Likewise.
27396 [C99-based-standards] (PRIX8): Likewise.
27397 [C99-based-standards] (SCNd8): Likewise.
27398 [C99-based-standards] (SCNi8): Likewise.
27399 [C99-based-standards] (SCNo8): Likewise.
27400 [C99-based-standards] (SCNu8): Likewise.
27401 [C99-based-standards] (SCNx8): Likewise.
27402 [C99-based-standards] (PRIdLEAST8): Likewise.
27403 [C99-based-standards] (PRIiLEAST8): Likewise.
27404 [C99-based-standards] (PRIoLEAST8): Likewise.
27405 [C99-based-standards] (PRIuLEAST8): Likewise.
27406 [C99-based-standards] (PRIxLEAST8): Likewise.
27407 [C99-based-standards] (PRIXLEAST8): Likewise.
27408 [C99-based-standards] (SCNdLEAST8): Likewise.
27409 [C99-based-standards] (SCNiLEAST8): Likewise.
27410 [C99-based-standards] (SCNoLEAST8): Likewise.
27411 [C99-based-standards] (SCNuLEAST8): Likewise.
27412 [C99-based-standards] (SCNxLEAST8): Likewise.
27413 [C99-based-standards] (PRIdFAST8): Likewise.
27414 [C99-based-standards] (PRIiFAST8): Likewise.
27415 [C99-based-standards] (PRIoFAST8): Likewise.
27416 [C99-based-standards] (PRIuFAST8): Likewise.
27417 [C99-based-standards] (PRIxFAST8): Likewise.
27418 [C99-based-standards] (PRIXFAST8): Likewise.
27419 [C99-based-standards] (SCNdFAST8): Likewise.
27420 [C99-based-standards] (SCNiFAST8): Likewise.
27421 [C99-based-standards] (SCNoFAST8): Likewise.
27422 [C99-based-standards] (SCNuFAST8): Likewise.
27423 [C99-based-standards] (SCNxFAST8): Likewise.
27424 [C99-based-standards] (PRId16): Likewise.
27425 [C99-based-standards] (PRIi16): Likewise.
27426 [C99-based-standards] (PRIo16): Likewise.
27427 [C99-based-standards] (PRIu16): Likewise.
27428 [C99-based-standards] (PRIx16): Likewise.
27429 [C99-based-standards] (PRIX16): Likewise.
27430 [C99-based-standards] (SCNd16): Likewise.
27431 [C99-based-standards] (SCNi16): Likewise.
27432 [C99-based-standards] (SCNo16): Likewise.
27433 [C99-based-standards] (SCNu16): Likewise.
27434 [C99-based-standards] (SCNx16): Likewise.
27435 [C99-based-standards] (PRIdLEAST16): Likewise.
27436 [C99-based-standards] (PRIiLEAST16): Likewise.
27437 [C99-based-standards] (PRIoLEAST16): Likewise.
27438 [C99-based-standards] (PRIuLEAST16): Likewise.
27439 [C99-based-standards] (PRIxLEAST16): Likewise.
27440 [C99-based-standards] (PRIXLEAST16): Likewise.
27441 [C99-based-standards] (SCNdLEAST16): Likewise.
27442 [C99-based-standards] (SCNiLEAST16): Likewise.
27443 [C99-based-standards] (SCNoLEAST16): Likewise.
27444 [C99-based-standards] (SCNuLEAST16): Likewise.
27445 [C99-based-standards] (SCNxLEAST16): Likewise.
27446 [C99-based-standards] (PRIdFAST16): Likewise.
27447 [C99-based-standards] (PRIiFAST16): Likewise.
27448 [C99-based-standards] (PRIoFAST16): Likewise.
27449 [C99-based-standards] (PRIuFAST16): Likewise.
27450 [C99-based-standards] (PRIxFAST16): Likewise.
27451 [C99-based-standards] (PRIXFAST16): Likewise.
27452 [C99-based-standards] (SCNdFAST16): Likewise.
27453 [C99-based-standards] (SCNiFAST16): Likewise.
27454 [C99-based-standards] (SCNoFAST16): Likewise.
27455 [C99-based-standards] (SCNuFAST16): Likewise.
27456 [C99-based-standards] (SCNxFAST16): Likewise.
27457 [C99-based-standards] (PRId32): Likewise.
27458 [C99-based-standards] (PRIi32): Likewise.
27459 [C99-based-standards] (PRIo32): Likewise.
27460 [C99-based-standards] (PRIu32): Likewise.
27461 [C99-based-standards] (PRIx32): Likewise.
27462 [C99-based-standards] (PRIX32): Likewise.
27463 [C99-based-standards] (SCNd32): Likewise.
27464 [C99-based-standards] (SCNi32): Likewise.
27465 [C99-based-standards] (SCNo32): Likewise.
27466 [C99-based-standards] (SCNu32): Likewise.
27467 [C99-based-standards] (SCNx32): Likewise.
27468 [C99-based-standards] (PRIdLEAST32): Likewise.
27469 [C99-based-standards] (PRIiLEAST32): Likewise.
27470 [C99-based-standards] (PRIoLEAST32): Likewise.
27471 [C99-based-standards] (PRIuLEAST32): Likewise.
27472 [C99-based-standards] (PRIxLEAST32): Likewise.
27473 [C99-based-standards] (PRIXLEAST32): Likewise.
27474 [C99-based-standards] (SCNdLEAST32): Likewise.
27475 [C99-based-standards] (SCNiLEAST32): Likewise.
27476 [C99-based-standards] (SCNoLEAST32): Likewise.
27477 [C99-based-standards] (SCNuLEAST32): Likewise.
27478 [C99-based-standards] (SCNxLEAST32): Likewise.
27479 [C99-based-standards] (PRIdFAST32): Likewise.
27480 [C99-based-standards] (PRIiFAST32): Likewise.
27481 [C99-based-standards] (PRIoFAST32): Likewise.
27482 [C99-based-standards] (PRIuFAST32): Likewise.
27483 [C99-based-standards] (PRIxFAST32): Likewise.
27484 [C99-based-standards] (PRIXFAST32): Likewise.
27485 [C99-based-standards] (SCNdFAST32): Likewise.
27486 [C99-based-standards] (SCNiFAST32): Likewise.
27487 [C99-based-standards] (SCNoFAST32): Likewise.
27488 [C99-based-standards] (SCNuFAST32): Likewise.
27489 [C99-based-standards] (SCNxFAST32): Likewise.
27490 [C99-based-standards] (PRId64): Likewise.
27491 [C99-based-standards] (PRIi64): Likewise.
27492 [C99-based-standards] (PRIo64): Likewise.
27493 [C99-based-standards] (PRIu64): Likewise.
27494 [C99-based-standards] (PRIx64): Likewise.
27495 [C99-based-standards] (PRIX64): Likewise.
27496 [C99-based-standards] (SCNd64): Likewise.
27497 [C99-based-standards] (SCNi64): Likewise.
27498 [C99-based-standards] (SCNo64): Likewise.
27499 [C99-based-standards] (SCNu64): Likewise.
27500 [C99-based-standards] (SCNx64): Likewise.
27501 [C99-based-standards] (PRIdLEAST64): Likewise.
27502 [C99-based-standards] (PRIiLEAST64): Likewise.
27503 [C99-based-standards] (PRIoLEAST64): Likewise.
27504 [C99-based-standards] (PRIuLEAST64): Likewise.
27505 [C99-based-standards] (PRIxLEAST64): Likewise.
27506 [C99-based-standards] (PRIXLEAST64): Likewise.
27507 [C99-based-standards] (SCNdLEAST64): Likewise.
27508 [C99-based-standards] (SCNiLEAST64): Likewise.
27509 [C99-based-standards] (SCNoLEAST64): Likewise.
27510 [C99-based-standards] (SCNuLEAST64): Likewise.
27511 [C99-based-standards] (SCNxLEAST64): Likewise.
27512 [C99-based-standards] (PRIdFAST64): Likewise.
27513 [C99-based-standards] (PRIiFAST64): Likewise.
27514 [C99-based-standards] (PRIoFAST64): Likewise.
27515 [C99-based-standards] (PRIuFAST64): Likewise.
27516 [C99-based-standards] (PRIxFAST64): Likewise.
27517 [C99-based-standards] (PRIXFAST64): Likewise.
27518 [C99-based-standards] (SCNdFAST64): Likewise.
27519 [C99-based-standards] (SCNiFAST64): Likewise.
27520 [C99-based-standards] (SCNoFAST64): Likewise.
27521 [C99-based-standards] (SCNuFAST64): Likewise.
27522 [C99-based-standards] (SCNxFAST64): Likewise.
27523 [C99-based-standards] (PRIdMAX): Likewise.
27524 [C99-based-standards] (PRIiMAX): Likewise.
27525 [C99-based-standards] (PRIoMAX): Likewise.
27526 [C99-based-standards] (PRIuMAX): Likewise.
27527 [C99-based-standards] (PRIxMAX): Likewise.
27528 [C99-based-standards] (PRIXMAX): Likewise.
27529 [C99-based-standards] (SCNdMAX): Likewise.
27530 [C99-based-standards] (SCNiMAX): Likewise.
27531 [C99-based-standards] (SCNoMAX): Likewise.
27532 [C99-based-standards] (SCNuMAX): Likewise.
27533 [C99-based-standards] (SCNxMAX): Likewise.
27534 [C99-based-standards] (PRIdPTR): Likewise.
27535 [C99-based-standards] (PRIiPTR): Likewise.
27536 [C99-based-standards] (PRIoPTR): Likewise.
27537 [C99-based-standards] (PRIuPTR): Likewise.
27538 [C99-based-standards] (PRIxPTR): Likewise.
27539 [C99-based-standards] (PRIXPTR): Likewise.
27540 [C99-based-standards] (SCNdPTR): Likewise.
27541 [C99-based-standards] (SCNiPTR): Likewise.
27542 [C99-based-standards] (SCNoPTR): Likewise.
27543 [C99-based-standards] (SCNuPTR): Likewise.
27544 [C99-based-standards] (SCNxPTR): Likewise.
27545 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27547 * conform/data/stdint.h-data: Update comments to clarify
27549 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27551 [C99-based standards] (INT8_MAX): Likewise.
27552 [C99-based standards] (INT16_MIN): Likewise.
27553 [C99-based standards] (INT16_MAX): Likewise.
27554 [C99-based standards] (INT32_MIN): Likewise.
27555 [C99-based standards] (INT32_MAX): Likewise.
27556 [C99-based standards] (INT64_MIN): Likewise.
27557 [C99-based standards] (INT64_MAX): Likewise.
27558 [C99-based standards] (UINT8_MAX): Likewise.
27559 [C99-based standards] (UINT16_MAX): Likewise.
27560 [C99-based standards] (UINT32_MAX): Likewise.
27561 [C99-based standards] (UINT64_MAX): Likewise.
27562 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27563 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27564 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27565 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27566 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27567 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27568 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27569 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27570 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27571 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27572 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27573 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27574 [C99-based standards] (INT_FAST8_MIN): Likewise.
27575 [C99-based standards] (INT_FAST8_MAX): Likewise.
27576 [C99-based standards] (INT_FAST16_MIN): Likewise.
27577 [C99-based standards] (INT_FAST16_MAX): Likewise.
27578 [C99-based standards] (INT_FAST32_MIN): Likewise.
27579 [C99-based standards] (INT_FAST32_MAX): Likewise.
27580 [C99-based standards] (INT_FAST64_MIN): Likewise.
27581 [C99-based standards] (INT_FAST64_MAX): Likewise.
27582 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27583 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27584 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27585 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27586 [C99-based standards] (INTPTR_MIN): Likewise.
27587 [C99-based standards] (INTPTR_MAX): Likewise.
27588 [C99-based standards] (UINTPTR_MAX): Likewise.
27589 [C99-based standards] (INTMAX_MIN): Likewise.
27590 [C99-based standards] (INTMAX_MAX): Likewise.
27591 [C99-based standards] (UINTMAX_MAX): Likewise.
27592 [C99-based standards] (PTRDIFF_MIN): Likewise.
27593 [C99-based standards] (PTRDIFF_MAX): Likewise.
27594 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27595 [C99-based standards] (SIZE_MAX): Likewise.
27596 [C99-based standards] (WCHAR_MAX): Likewise.
27597 [C99-based standards] (WINT_MAX): Likewise.
27598 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27599 constraint on value.
27600 [C99-based standards] (WCHAR_MIN): Likewise.
27601 [C99-based standards] (WINT_MIN): Likewise.
27602 [C99-based standards] (*_t): Allow.
27603 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27604 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27605 Include math.h-data and complex.h-data. Remove all expectations
27606 of math.h and complex.h contents.
27607 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27609 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27610 (struct tm): Expect tag.
27611 [C99-based-standards] (wcstof): Expect function.
27612 [C99-based-standards] (wcstold): Likewise.
27613 [C99-based-standards] (wcstoll): Likewise.
27614 [C99-based-standards] (wcstoull): Likewise.
27615 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27616 macro-int-constant. Specify type.
27617 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27618 constraint on value.
27619 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27621 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27623 [ISO C standards]: Do not allow headers.
27624 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27625 wcs[abcdefghijklmnopqrstuvwxyz]*.
27626 [ISO C standards] (*_t): Do not allow.
27627 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27629 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27630 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27632 [ISO C standards]: Do not allow headers.
27633 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27634 is[abcdefghijklmnopqrstuvwxyz]*.
27635 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27636 to[abcdefghijklmnopqrstuvwxyz]*.
27637 [ISO C standards] (*_t): Do not allow.
27638 * conform/data/stdalign.h-data: New file.
27639 * conform/data/stdbool.h-data: Likewise.
27640 * conform/data/stdnoreturn.h-data: Likewise.
27642 2012-11-07 Roland McGrath <roland@hack.frob.com>
27645 * manual/filesys.texi (Directory Entries): Typo fix.
27646 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27648 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27650 * elf/elf.h (EM_AARCH64): New macro.
27651 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27652 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27653 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27654 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27655 (R_AARCH64_TLSDESC): Likewise.
27656 (NT_ARM_TLS): Likewise.
27657 (NT_ARM_HW_BREAK): Likewise.
27658 (NT_ARM_HW_WATCH): Likewise.
27660 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27663 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27664 (__ieee754_powl): Saturate nonzero exponents with absolute value
27665 below 0x1p-79 to +/- 0x1p-79.
27666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27667 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27668 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27669 nonzero exponents with absolute value below 0x1p-32 to +/-
27671 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27672 (__ieee754_powl): Saturate nonzero exponents with absolute value
27673 below 0x1p-79 to +/- 0x1p-79.
27674 * math/libm-test.inc (pow_test): Add more tests.
27676 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27678 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27679 _dl_s390_cap_flags with kernel. Increase string length.
27680 (_dl_s390_platforms): Add z196 and zEC12.
27682 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27684 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27685 Change XOPEN21K to XOPEN2K.
27687 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27689 * string/memmove.c: Use memcpy when possible.
27691 2012-11-06 Andreas Jaeger <aj@suse.de>
27693 * po/eo.po: Update from translation team.
27695 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27699 exponent and small x and y exponents, scale x or y up. Increase
27700 by 2 the exponent used in scaling up.
27701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27702 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27703 * math/libm-test.inc (fma_test): Add more tests.
27704 (fma_test_towardzero): Likewise.
27705 (fma_test_downward): Likewise.
27706 (fma_test_upward): Likewise.
27708 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27711 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27715 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27716 namespace for names of struct fields.
27717 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27719 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27720 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27722 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27725 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27727 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27729 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27733 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27736 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27740 definitely overflow as x * y not x * y + z.
27741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27742 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27743 * math/libm-test.inc (fma_test): Add more tests.
27744 (fma_test_towardzero): Likewise.
27745 (fma_test_downward): Likewise.
27746 (fma_test_upward): Likewise.
27748 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27752 * include/stub-tag.h: Remove file.
27753 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27755 * manual/maint.texi (Porting): Don't reference it.
27756 * Makerules ($(objpfx)stubs): Likewise.
27757 * dirent/closedir.c: Don't include <stub-tag.h>.
27758 * dirent/dirfd.c: Likewise.
27759 * dirent/fdopendir.c: Likewise.
27760 * dirent/getdents.c: Likewise.
27761 * dirent/getdents64.c: Likewise.
27762 * dirent/opendir.c: Likewise.
27763 * dirent/readdir.c: Likewise.
27764 * dirent/readdir64.c: Likewise.
27765 * dirent/readdir64_r.c: Likewise.
27766 * dirent/readdir_r.c: Likewise.
27767 * dirent/rewinddir.c: Likewise.
27768 * dirent/seekdir.c: Likewise.
27769 * dirent/telldir.c: Likewise.
27770 * gmon/profil.c: Likewise.
27771 * grp/setgroups.c: Likewise.
27772 * inet/if_index.c: Likewise.
27773 * io/access.c: Likewise.
27774 * io/chdir.c: Likewise.
27775 * io/chmod.c: Likewise.
27776 * io/chown.c: Likewise.
27777 * io/close.c: Likewise.
27778 * io/dup.c: Likewise.
27779 * io/dup2.c: Likewise.
27780 * io/dup3.c: Likewise.
27781 * io/euidaccess.c: Likewise.
27782 * io/faccessat.c: Likewise.
27783 * io/fchdir.c: Likewise.
27784 * io/fchmod.c: Likewise.
27785 * io/fchmodat.c: Likewise.
27786 * io/fchown.c: Likewise.
27787 * io/fchownat.c: Likewise.
27788 * io/fcntl.c: Likewise.
27789 * io/flock.c: Likewise.
27790 * io/fstatfs.c: Likewise.
27791 * io/fstatfs64.c: Likewise.
27792 * io/fstatvfs.c: Likewise.
27793 * io/fstatvfs64.c: Likewise.
27794 * io/futimens.c: Likewise.
27795 * io/fxstat.c: Likewise.
27796 * io/fxstat64.c: Likewise.
27797 * io/fxstatat.c: Likewise.
27798 * io/fxstatat64.c: Likewise.
27799 * io/getcwd.c: Likewise.
27800 * io/isatty.c: Likewise.
27801 * io/lchmod.c: Likewise.
27802 * io/lchown.c: Likewise.
27803 * io/link.c: Likewise.
27804 * io/linkat.c: Likewise.
27805 * io/lseek.c: Likewise.
27806 * io/lseek64.c: Likewise.
27807 * io/lxstat64.c: Likewise.
27808 * io/mkdir.c: Likewise.
27809 * io/mkdirat.c: Likewise.
27810 * io/mkfifo.c: Likewise.
27811 * io/mkfifoat.c: Likewise.
27812 * io/open.c: Likewise.
27813 * io/open64.c: Likewise.
27814 * io/openat.c: Likewise.
27815 * io/openat64.c: Likewise.
27816 * io/pipe.c: Likewise.
27817 * io/pipe2.c: Likewise.
27818 * io/poll.c: Likewise.
27819 * io/posix_fadvise.c: Likewise.
27820 * io/posix_fadvise64.c: Likewise.
27821 * io/posix_fallocate.c: Likewise.
27822 * io/posix_fallocate64.c: Likewise.
27823 * io/read.c: Likewise.
27824 * io/readlink.c: Likewise.
27825 * io/readlinkat.c: Likewise.
27826 * io/rmdir.c: Likewise.
27827 * io/sendfile.c: Likewise.
27828 * io/sendfile64.c: Likewise.
27829 * io/statfs.c: Likewise.
27830 * io/statfs64.c: Likewise.
27831 * io/statvfs.c: Likewise.
27832 * io/statvfs64.c: Likewise.
27833 * io/symlink.c: Likewise.
27834 * io/symlinkat.c: Likewise.
27835 * io/ttyname.c: Likewise.
27836 * io/ttyname_r.c: Likewise.
27837 * io/umask.c: Likewise.
27838 * io/unlink.c: Likewise.
27839 * io/unlinkat.c: Likewise.
27840 * io/utime.c: Likewise.
27841 * io/utimensat.c: Likewise.
27842 * io/write.c: Likewise.
27843 * io/xmknod.c: Likewise.
27844 * io/xmknodat.c: Likewise.
27845 * io/xstat.c: Likewise.
27846 * io/xstat64.c: Likewise.
27847 * login/getpt.c: Likewise.
27848 * login/grantpt.c: Likewise.
27849 * login/unlockpt.c: Likewise.
27850 * math/e_acoshl.c: Likewise.
27851 * math/e_acosl.c: Likewise.
27852 * math/e_asinl.c: Likewise.
27853 * math/e_atan2l.c: Likewise.
27854 * math/e_atanhl.c: Likewise.
27855 * math/e_coshl.c: Likewise.
27856 * math/e_expl.c: Likewise.
27857 * math/e_fmodl.c: Likewise.
27858 * math/e_gammal_r.c: Likewise.
27859 * math/e_hypotl.c: Likewise.
27860 * math/e_j0l.c: Likewise.
27861 * math/e_j1l.c: Likewise.
27862 * math/e_jnl.c: Likewise.
27863 * math/e_lgammal_r.c: Likewise.
27864 * math/e_log10l.c: Likewise.
27865 * math/e_log2l.c: Likewise.
27866 * math/e_logl.c: Likewise.
27867 * math/e_powl.c: Likewise.
27868 * math/e_rem_pio2l.c: Likewise.
27869 * math/e_sinhl.c: Likewise.
27870 * math/e_sqrtl.c: Likewise.
27871 * math/fclrexcpt.c: Likewise.
27872 * math/fedisblxcpt.c: Likewise.
27873 * math/feenablxcpt.c: Likewise.
27874 * math/fegetenv.c: Likewise.
27875 * math/fegetexcept.c: Likewise.
27876 * math/fegetround.c: Likewise.
27877 * math/feholdexcpt.c: Likewise.
27878 * math/fesetenv.c: Likewise.
27879 * math/fesetround.c: Likewise.
27880 * math/feupdateenv.c: Likewise.
27881 * math/fgetexcptflg.c: Likewise.
27882 * math/fraiseexcpt.c: Likewise.
27883 * math/fsetexcptflg.c: Likewise.
27884 * math/ftestexcept.c: Likewise.
27885 * math/k_cosl.c: Likewise.
27886 * math/k_rem_pio2l.c: Likewise.
27887 * math/k_sinl.c: Likewise.
27888 * math/k_tanl.c: Likewise.
27889 * math/s_asinhl.c: Likewise.
27890 * math/s_atanl.c: Likewise.
27891 * math/s_cbrtl.c: Likewise.
27892 * math/s_erfl.c: Likewise.
27893 * math/s_expm1l.c: Likewise.
27894 * math/s_log1pl.c: Likewise.
27895 * math/s_tanhl.c: Likewise.
27896 * misc/acct.c: Likewise.
27897 * misc/brk.c: Likewise.
27898 * misc/chflags.c: Likewise.
27899 * misc/chroot.c: Likewise.
27900 * misc/fchflags.c: Likewise.
27901 * misc/fgetxattr.c: Likewise.
27902 * misc/flistxattr.c: Likewise.
27903 * misc/fremovexattr.c: Likewise.
27904 * misc/fsetxattr.c: Likewise.
27905 * misc/fsync.c: Likewise.
27906 * misc/ftruncate.c: Likewise.
27907 * misc/futimes.c: Likewise.
27908 * misc/futimesat.c: Likewise.
27909 * misc/getdomain.c: Likewise.
27910 * misc/getdtsz.c: Likewise.
27911 * misc/gethostid.c: Likewise.
27912 * misc/gethostname.c: Likewise.
27913 * misc/getloadavg.c: Likewise.
27914 * misc/getpagesize.c: Likewise.
27915 * misc/getsysstats.c: Likewise.
27916 * misc/getxattr.c: Likewise.
27917 * misc/gtty.c: Likewise.
27918 * misc/ioctl.c: Likewise.
27919 * misc/lgetxattr.c: Likewise.
27920 * misc/listxattr.c: Likewise.
27921 * misc/llistxattr.c: Likewise.
27922 * misc/lremovexattr.c: Likewise.
27923 * misc/lsetxattr.c: Likewise.
27924 * misc/lutimes.c: Likewise.
27925 * misc/madvise.c: Likewise.
27926 * misc/mincore.c: Likewise.
27927 * misc/mlock.c: Likewise.
27928 * misc/mlockall.c: Likewise.
27929 * misc/mmap.c: Likewise.
27930 * misc/mprotect.c: Likewise.
27931 * misc/msync.c: Likewise.
27932 * misc/munlock.c: Likewise.
27933 * misc/munlockall.c: Likewise.
27934 * misc/munmap.c: Likewise.
27935 * misc/preadv.c: Likewise.
27936 * misc/preadv64.c: Likewise.
27937 * misc/ptrace.c: Likewise.
27938 * misc/pwritev.c: Likewise.
27939 * misc/pwritev64.c: Likewise.
27940 * misc/readv.c: Likewise.
27941 * misc/reboot.c: Likewise.
27942 * misc/remap_file_pages.c: Likewise.
27943 * misc/removexattr.c: Likewise.
27944 * misc/revoke.c: Likewise.
27945 * misc/select.c: Likewise.
27946 * misc/setdomain.c: Likewise.
27947 * misc/setegid.c: Likewise.
27948 * misc/seteuid.c: Likewise.
27949 * misc/sethostid.c: Likewise.
27950 * misc/sethostname.c: Likewise.
27951 * misc/setregid.c: Likewise.
27952 * misc/setreuid.c: Likewise.
27953 * misc/setxattr.c: Likewise.
27954 * misc/sstk.c: Likewise.
27955 * misc/stty.c: Likewise.
27956 * misc/swapoff.c: Likewise.
27957 * misc/swapon.c: Likewise.
27958 * misc/sync.c: Likewise.
27959 * misc/syncfs.c: Likewise.
27960 * misc/syscall.c: Likewise.
27961 * misc/truncate.c: Likewise.
27962 * misc/ualarm.c: Likewise.
27963 * misc/usleep.c: Likewise.
27964 * misc/ustat.c: Likewise.
27965 * misc/utimes.c: Likewise.
27966 * misc/vhangup.c: Likewise.
27967 * misc/writev.c: Likewise.
27968 * posix/_exit.c: Likewise.
27969 * posix/alarm.c: Likewise.
27970 * posix/execve.c: Likewise.
27971 * posix/fexecve.c: Likewise.
27972 * posix/fork.c: Likewise.
27973 * posix/fpathconf.c: Likewise.
27974 * posix/getaddrinfo.c: Likewise.
27975 * posix/getegid.c: Likewise.
27976 * posix/geteuid.c: Likewise.
27977 * posix/getgid.c: Likewise.
27978 * posix/getgroups.c: Likewise.
27979 * posix/getlogin.c: Likewise.
27980 * posix/getlogin_r.c: Likewise.
27981 * posix/getpgid.c: Likewise.
27982 * posix/getpid.c: Likewise.
27983 * posix/getppid.c: Likewise.
27984 * posix/getresgid.c: Likewise.
27985 * posix/getresuid.c: Likewise.
27986 * posix/getsid.c: Likewise.
27987 * posix/getuid.c: Likewise.
27988 * posix/glob64.c: Likewise.
27989 * posix/nanosleep.c: Likewise.
27990 * posix/pathconf.c: Likewise.
27991 * posix/pause.c: Likewise.
27992 * posix/posix_madvise.c: Likewise.
27993 * posix/pread.c: Likewise.
27994 * posix/pread64.c: Likewise.
27995 * posix/pwrite.c: Likewise.
27996 * posix/pwrite64.c: Likewise.
27997 * posix/sched_getaffinity.c: Likewise.
27998 * posix/sched_getp.c: Likewise.
27999 * posix/sched_gets.c: Likewise.
28000 * posix/sched_primax.c: Likewise.
28001 * posix/sched_primin.c: Likewise.
28002 * posix/sched_rr_gi.c: Likewise.
28003 * posix/sched_setaffinity.c: Likewise.
28004 * posix/sched_setp.c: Likewise.
28005 * posix/sched_sets.c: Likewise.
28006 * posix/sched_yield.c: Likewise.
28007 * posix/setgid.c: Likewise.
28008 * posix/setlogin.c: Likewise.
28009 * posix/setpgid.c: Likewise.
28010 * posix/setresgid.c: Likewise.
28011 * posix/setresuid.c: Likewise.
28012 * posix/setsid.c: Likewise.
28013 * posix/setuid.c: Likewise.
28014 * posix/sleep.c: Likewise.
28015 * posix/spawni.c: Likewise.
28016 * posix/sysconf.c: Likewise.
28017 * posix/times.c: Likewise.
28018 * posix/wait.c: Likewise.
28019 * posix/wait3.c: Likewise.
28020 * posix/wait4.c: Likewise.
28021 * posix/waitpid.c: Likewise.
28022 * resolv/gai_sigqueue.c: Likewise.
28023 * resource/getpriority.c: Likewise.
28024 * resource/getrlimit.c: Likewise.
28025 * resource/getrusage.c: Likewise.
28026 * resource/nice.c: Likewise.
28027 * resource/setpriority.c: Likewise.
28028 * resource/setrlimit.c: Likewise.
28029 * resource/ulimit.c: Likewise.
28030 * rt/aio_cancel.c: Likewise.
28031 * rt/aio_fsync.c: Likewise.
28032 * rt/aio_read.c: Likewise.
28033 * rt/aio_sigqueue.c: Likewise.
28034 * rt/aio_suspend.c: Likewise.
28035 * rt/aio_write.c: Likewise.
28036 * rt/clock_getres.c: Likewise.
28037 * rt/clock_gettime.c: Likewise.
28038 * rt/clock_nanosleep.c: Likewise.
28039 * rt/clock_settime.c: Likewise.
28040 * rt/lio_listio.c: Likewise.
28041 * rt/mq_close.c: Likewise.
28042 * rt/mq_getattr.c: Likewise.
28043 * rt/mq_notify.c: Likewise.
28044 * rt/mq_open.c: Likewise.
28045 * rt/mq_receive.c: Likewise.
28046 * rt/mq_send.c: Likewise.
28047 * rt/mq_setattr.c: Likewise.
28048 * rt/mq_timedreceive.c: Likewise.
28049 * rt/mq_timedsend.c: Likewise.
28050 * rt/mq_unlink.c: Likewise.
28051 * rt/shm_open.c: Likewise.
28052 * rt/shm_unlink.c: Likewise.
28053 * rt/timer_create.c: Likewise.
28054 * rt/timer_delete.c: Likewise.
28055 * rt/timer_getoverr.c: Likewise.
28056 * rt/timer_gettime.c: Likewise.
28057 * rt/timer_settime.c: Likewise.
28058 * setjmp/__longjmp.c: Likewise.
28059 * setjmp/setjmp.c: Likewise.
28060 * signal/kill.c: Likewise.
28061 * signal/killpg.c: Likewise.
28062 * signal/raise.c: Likewise.
28063 * signal/sigaction.c: Likewise.
28064 * signal/sigaltstack.c: Likewise.
28065 * signal/sigblock.c: Likewise.
28066 * signal/sigignore.c: Likewise.
28067 * signal/sigintr.c: Likewise.
28068 * signal/signal.c: Likewise.
28069 * signal/sigpause.c: Likewise.
28070 * signal/sigpending.c: Likewise.
28071 * signal/sigqueue.c: Likewise.
28072 * signal/sigreturn.c: Likewise.
28073 * signal/sigset.c: Likewise.
28074 * signal/sigsetmask.c: Likewise.
28075 * signal/sigstack.c: Likewise.
28076 * signal/sigsuspend.c: Likewise.
28077 * signal/sigtimedwait.c: Likewise.
28078 * signal/sigvec.c: Likewise.
28079 * signal/sigwait.c: Likewise.
28080 * signal/sigwaitinfo.c: Likewise.
28081 * signal/sysv_signal.c: Likewise.
28082 * socket/accept.c: Likewise.
28083 * socket/accept4.c: Likewise.
28084 * socket/bind.c: Likewise.
28085 * socket/connect.c: Likewise.
28086 * socket/getpeername.c: Likewise.
28087 * socket/getsockname.c: Likewise.
28088 * socket/getsockopt.c: Likewise.
28089 * socket/isfdtype.c: Likewise.
28090 * socket/listen.c: Likewise.
28091 * socket/recv.c: Likewise.
28092 * socket/recvfrom.c: Likewise.
28093 * socket/recvmsg.c: Likewise.
28094 * socket/send.c: Likewise.
28095 * socket/sendmsg.c: Likewise.
28096 * socket/sendto.c: Likewise.
28097 * socket/setsockopt.c: Likewise.
28098 * socket/shutdown.c: Likewise.
28099 * socket/sockatmark.c: Likewise.
28100 * socket/socket.c: Likewise.
28101 * socket/socketpair.c: Likewise.
28102 * stdio-common/ctermid.c: Likewise.
28103 * stdio-common/cuserid.c: Likewise.
28104 * stdio-common/remove.c: Likewise.
28105 * stdio-common/rename.c: Likewise.
28106 * stdio-common/renameat.c: Likewise.
28107 * stdio-common/tempname.c: Likewise.
28108 * stdlib/getcontext.c: Likewise.
28109 * stdlib/makecontext.c: Likewise.
28110 * stdlib/setcontext.c: Likewise.
28111 * stdlib/swapcontext.c: Likewise.
28112 * stdlib/system.c: Likewise.
28113 * streams/fattach.c: Likewise.
28114 * streams/fdetach.c: Likewise.
28115 * streams/getmsg.c: Likewise.
28116 * streams/getpmsg.c: Likewise.
28117 * streams/putmsg.c: Likewise.
28118 * streams/putpmsg.c: Likewise.
28119 * sysdeps/unix/bsd/getpt.c: Likewise.
28120 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28121 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28122 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28125 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28126 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28127 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28128 * sysvipc/msgctl.c: Likewise.
28129 * sysvipc/msgget.c: Likewise.
28130 * sysvipc/msgrcv.c: Likewise.
28131 * sysvipc/msgsnd.c: Likewise.
28132 * sysvipc/semctl.c: Likewise.
28133 * sysvipc/semget.c: Likewise.
28134 * sysvipc/semop.c: Likewise.
28135 * sysvipc/semtimedop.c: Likewise.
28136 * sysvipc/shmat.c: Likewise.
28137 * sysvipc/shmctl.c: Likewise.
28138 * sysvipc/shmdt.c: Likewise.
28139 * sysvipc/shmget.c: Likewise.
28140 * termios/tcdrain.c: Likewise.
28141 * termios/tcflow.c: Likewise.
28142 * termios/tcflush.c: Likewise.
28143 * termios/tcgetattr.c: Likewise.
28144 * termios/tcgetpgrp.c: Likewise.
28145 * termios/tcsendbrk.c: Likewise.
28146 * termios/tcsetattr.c: Likewise.
28147 * termios/tcsetpgrp.c: Likewise.
28148 * time/adjtime.c: Likewise.
28149 * time/clock.c: Likewise.
28150 * time/getitimer.c: Likewise.
28151 * time/gettimeofday.c: Likewise.
28152 * time/setitimer.c: Likewise.
28153 * time/settimeofday.c: Likewise.
28154 * time/stime.c: Likewise.
28155 * time/time.c: Likewise.
28157 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28159 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28162 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28164 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28166 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28170 FE_TONEAREST before applying Dekker multiplication and Knuth
28171 addition. Clear inexact exceptions and check for exact zero
28172 results afterwards.
28173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28174 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28175 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28176 * math/libm-test.inc (fma_test): Add more tests.
28177 (fma_test_towardzero): Likewise.
28178 (fma_test_downward): Likewise.
28179 (fma_test_upward): Likewise.
28180 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28182 (libc_fesetround): New macro.
28183 (libc_fesetroundf): Likewise.
28184 (libc_fesetroundl): Likewise.
28185 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28187 (libc_fesetround_387): Likewise.
28188 (libc_fesetroundf): New macro.
28189 (libc_fesetround): Likewise.
28190 (libc_fesetroundl): Likewise.
28191 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28193 (libc_fesetroundf): New macro.
28194 (libc_fesetround): Likewise.
28195 (libc_fesetroundl): Likewise.
28196 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28197 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28198 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28200 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28201 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28203 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28204 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28206 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28210 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28211 integer constant usable in #if and use that to give value to enum
28213 (FE_DIVBYZERO): Likewise.
28214 (FE_UNDERFLOW): Likewise.
28215 (FE_OVERFLOW): Likewise.
28216 (FE_INVALID): Likewise.
28217 (FE_INVALID_SNAN): Likewise.
28218 (FE_INVALID_ISI): Likewise.
28219 (FE_INVALID_IDI): Likewise.
28220 (FE_INVALID_ZDZ): Likewise.
28221 (FE_INVALID_IMZ): Likewise.
28222 (FE_INVALID_COMPARE): Likewise.
28223 (FE_INVALID_SOFTWARE): Likewise.
28224 (FE_INVALID_SQRT): Likewise.
28225 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28226 (FE_TONEAREST): Likewise.
28227 (FE_TOWARDZERO): Likewise.
28228 (FE_UPWARD): Likewise.
28229 (FE_DOWNWARD): Likewise.
28230 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28231 (FE_DIVBYZERO): Likewise.
28232 (FE_OVERFLOW): Likewise.
28233 (FE_UNDERFLOW): Likewise.
28234 (FE_INEXACT): Likewise.
28235 (FE_TONEAREST): Likewise.
28236 (FE_DOWNWARD): Likewise.
28237 (FE_UPWARD): Likewise.
28238 (FE_TOWARDZERO): Likewise.
28239 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28240 (FE_UNDERFLOW): Likewise.
28241 (FE_OVERFLOW): Likewise.
28242 (FE_DIVBYZERO): Likewise.
28243 (FE_INVALID): Likewise.
28244 (FE_TONEAREST): Likewise.
28245 (FE_TOWARDZERO): Likewise.
28246 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28247 (FE_OVERFLOW): Likewise.
28248 (FE_UNDERFLOW): Likewise.
28249 (FE_DIVBYZERO): Likewise.
28250 (FE_INEXACT): Likewise.
28251 (FE_TONEAREST): Likewise.
28252 (FE_TOWARDZERO): Likewise.
28253 (FE_UPWARD): Likewise.
28254 (FE_DOWNWARD): Likewise.
28255 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28256 (FE_DIVBYZERO): Likewise.
28257 (FE_OVERFLOW): Likewise.
28258 (FE_UNDERFLOW): Likewise.
28259 (FE_INEXACT): Likewise.
28260 (FE_TONEAREST): Likewise.
28261 (FE_DOWNWARD): Likewise.
28262 (FE_UPWARD): Likewise.
28263 (FE_TOWARDZERO): Likewise.
28265 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28267 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28269 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28271 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28272 commands. Quote $PWD.
28273 (blacklist_exports): Don't use remove_newlines. Replace "declare
28275 (remove_newlines): Remove.
28277 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28279 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28280 * stdlib/stdlib.h (atof): Moved to ...
28281 * include/bits/stdlib-float.h: Here. New file.
28282 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28283 * stdlib/bits/stdlib-float.h: New file.
28284 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28286 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28289 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28291 * conform/conformtest.pl (@headers): Add fenv.h.
28292 * conform/data/fenv.h-data: New file.
28293 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28294 include of <math/fenv.h>.
28296 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28297 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28298 && !UNIX98]. Enables tests for XOPEN2K8.
28299 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28300 POSIX2008]: Likewise.
28302 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28303 (struct rusage): Do not expect type or its members.
28306 * math/math.h (FP_NAN): Define macro to integer constant usable in
28307 #if and use that to give value to enum constant.
28308 (FP_INFINITE): Likewise.
28309 (FP_ZERO): Likewise.
28310 (FP_SUBNORMAL): Likewise.
28311 (FP_NORMAL): Likewise.
28313 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28315 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28316 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28319 2012-11-02 Roland McGrath <roland@hack.frob.com>
28321 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28322 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28323 autoconf-time if not.
28324 * configure.in: Remove AC_PREREQ.
28326 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28328 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28329 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28330 of the internal implementation.
28332 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28334 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28335 except include of <misc/sys/syslog.h>.
28337 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28340 function returns with a NULL context exit with zero.
28342 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28344 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28346 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28348 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28349 (run_program_cmd): This.
28350 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28351 (tst_langinfo): New variable. Use it.
28353 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28355 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28356 floating point opcodes.
28358 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28360 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28363 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28365 * sysdeps/mach/hurd/powerpc: Remove directory.
28366 * sysdeps/mach/powerpc: Likewise.
28368 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28370 * scripts/check-local-headers.sh: Ignore c++ headers.
28372 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28374 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28375 __libc_cleanup_region_start argument.
28377 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28382 x * y using scaling, not as x * y + z.
28383 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28384 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28385 * math/libm-test.inc (fma_test): Add more tests.
28386 (fma_test_towardzero): Likewise.
28387 (fma_test_downward): Likewise.
28388 (fma_test_upward): Likewise.
28390 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28392 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28394 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28396 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28399 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28401 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28403 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28410 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28413 Fix the order of the list for glibc 2.17.
28414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28417 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28421 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28424 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28425 for low part of x being zero before using __atanl (y).
28426 * math/libm-test.inc (atan2_test): Add another test.
28428 * manual/install.texi (Configuring and compiling): Document
28429 general use of test-wrapper and test-wrapper-env.
28430 * INSTALL: Regenerated.
28432 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28433 (__fma): Do not extract and scale down low bits on after-rounding
28434 systems when result rounded to normal precision would have normal
28436 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28437 (__fmal): Do not extract and scale down low bits on after-rounding
28438 systems when result rounded to normal precision would have normal
28440 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28441 (__fmal): Do not extract and scale down low bits on after-rounding
28442 systems when result rounded to normal precision would have normal
28444 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28446 (fma_test): Add more tests.
28447 (fma_test_towardzero): Likewise.
28448 (fma_test_downward): Likewise.
28449 (fma_test_upward): Likewise.
28451 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28453 * sysdeps/i386/tininess.h: Renamed to ...
28454 * sysdeps/x86/tininess.h: This.
28455 * sysdeps/x86_64/tininess.h: Removed.
28457 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28459 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28460 input. Use $(build-program-cmd).
28461 ($(objpfx)tst-array1-static.out): Likewise.
28462 ($(objpfx)tst-array2.out): Likewise.
28463 ($(objpfx)tst-array3.out): Likewise.
28464 ($(objpfx)tst-array4.out): Likewise.
28465 ($(objpfx)tst-array5.out): Likewise.
28466 ($(objpfx)tst-array5-static.out): Likewise.
28468 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28470 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28473 * nss/nsswitch.h (nss_interface_function): Provide new
28474 macro for use with NSS functions.
28475 * grp/initgroups.c: Use new macro.
28476 * nss/getXXbyYY.c: Likewise.
28477 * nss/getXXbyYY_r.c: Likewise.
28478 * nss/getXXent.c: Likewise.
28479 * nss/getXXent_r.c: Likewise.
28480 * sysdeps/posix/getaddrinfo.c: Likewise.
28482 2012-10-30 Andreas Jaeger <aj@suse.de>
28484 * po/ru.po: Update Russion translation from translation project.
28486 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28491 result and shift together with sticky bit instead of replicating
28492 round-to-nearest rounding.
28493 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28494 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28495 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28496 missing underflow exceptions.
28497 (fma_test_towardzero): Add more tests.
28498 (fma_test_downward): Likewise.
28499 (fma_test_upward): Likewise.
28502 * sysdeps/generic/tininess.h: New file.
28503 * sysdeps/i386/tininess.h: Likewise.
28504 * sysdeps/sh/tininess.h: Likewise.
28505 * sysdeps/x86_64/tininess.h: Likewise.
28506 * stdlib/tst-strtod-underflow.c: Likewise.
28507 * stdlib/tst-tininess.c: Likewise.
28508 * stdlib/strtod_l.c: Include <tininess.h>.
28509 (round_and_return): Do not set errno for exact underflow cases.
28510 Force an underflow exception when setting errno for underflow.
28511 Determine underflow based on rounding to normal precision if
28512 TININESS_AFTER_ROUNDING.
28513 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28514 ERANGE for exact underflow cases.
28515 * stdlib/Makefile (tests): Add tst-tininess and
28516 tst-strtod-underflow.
28517 ($(objpfx)tst-tininess): Use $(link-libm).
28518 ($(objpfx)tst-strtod-underflow): Likewise.
28520 2012-10-30 Andreas Jaeger <aj@suse.de>
28523 * elf/Makefile (tests): Remove conditional for have-initfini-array
28524 since this is now always required and the variable does not exist
28526 (tests-static): Likewise.
28527 (modules-names): Likewise.
28529 * po/eo.po: Add Esperanto translation from translation project.
28531 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28532 merged with constructor/destructor.
28533 (init_array): Likewise.
28534 * elf/tst-array2dep.c (fini_array): Likewise.
28535 (init_array): Likewise.
28537 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28539 * manual/message.texi: Delete @cartouche tags.
28541 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28543 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28545 * sysdeps/mach/hurd/fsync.c: Likewise.
28547 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28548 [_POSIX_REALTIME_SIGNALS]: Change condition to
28549 [_POSIX_REALTIME_SIGNALS > 0].
28551 2012-10-27 Andreas Jaeger <aj@suse.de>
28553 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28554 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28556 [__WORDSIZE != 64]: Likewise.
28558 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28560 * iconvdata/tst-table.sh: Remove ${SHELL}.
28561 * iconvdata/tst-tables.sh: Likewise.
28563 2012-10-25 David S. Miller <davem@davemloft.net>
28565 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28566 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28571 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28572 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28573 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28576 2012-10-25 Roland McGrath <roland@hack.frob.com>
28578 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28579 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28582 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28583 Jim Blandy <jimb@codesourcery.com>
28585 * scripts/cross-test-ssh.sh: New file.
28586 * manual/install.texi (Configuring and compiling): Document use of
28588 * INSTALL: Regenerated.
28590 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28592 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28595 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28597 * Makeconfig (run-program-prefix): Fix comment.
28599 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28600 Jim Blandy <jimb@codesourcery.com>
28602 * Makeconfig (test-wrapper): New variable,
28603 (test-wrapper-env): Likewise.
28604 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28605 (run-built-tests): Define to yes.
28606 (run-program-prefix): Use $(test-wrapper).
28607 (built-program-cmd): Likewise.
28608 * Rules (make-test-out): Use $(test-wrapper-env) and
28609 $(host-built-program-cmd).
28610 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28611 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28613 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28614 $(test-wrapper-env) to tst-rtld-load-self.sh.
28615 ($(objpfx)order2.out): Use $(test-wrapper).
28616 ($(objpfx)tst-initorder.out): Likewise.
28617 ($(objpfx)tst-initorder2.out): Likewise.
28618 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28619 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28620 (test_wrapper_env): New variable. Use it to run ld.so.
28621 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28622 Use it to run ld.so.
28623 (test_wrapper_env): Likewise.
28624 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28625 $(test-wrapper) to run-iconv-test.sh.
28626 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28627 (ICONV): Use $test_wrapper.
28628 * posix/Makefile ($(objpfx)globtest.out): Pass
28629 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28630 globtest.sh, not $(run-program-prefix).
28631 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28632 (test_wrapper): Likewise.
28633 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28634 set together with run_via_rtld_prefix.
28635 (run_program_prefix): Define in terms of test_wrapper and
28636 run_via_rtld_prefix.
28638 2012-10-24 Roland McGrath <roland@hack.frob.com>
28640 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28641 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28645 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28646 Declare __clock_getres, __clock_gettime, __clock_settime,
28647 __clock_nanosleep, and __clock_getcpuclockid.
28648 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28649 Remove librt_hidden_def (clock_gettime).
28650 * sysdeps/unix/clock_gettime.c: Likewise.
28651 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28652 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28653 * rt/clock_getres.c: Define __clock_getres as an alias.
28654 * sysdeps/posix/clock_getres.c: Likewise.
28655 * rt/clock_settime.c: Define __clock_settime as an alias.
28656 * sysdeps/unix/clock_settime.c: Likewise.
28657 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28658 * sysdeps/unix/clock_nanosleep.c: Likewise.
28659 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28660 * rt/clock-compat.c: New file.
28661 * rt/Makefile (librt-routines): Add clock-compat and move
28662 $(clock-routines) to ...
28663 (routines): ... here, new variable.
28664 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28665 Don't add get_clockfreq here.
28666 * rt/Versions (libc: GLIBC_2.17): New version set.
28667 Add clock_* symbols here.
28668 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28669 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28670 (GLIBC_2.17): Add clock_* symbols.
28671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28673 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28682 * NEWS: Mention the move.
28684 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28685 Use __open, __read, __close rather than their public counterparts.
28686 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28687 (__get_clockfreq_via_cpuinfo): Likewise.
28688 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28689 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28691 * config.h.in (HAVE_IFUNC): New #undef.
28692 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28694 * configure: Regenerated.
28696 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28698 * configure.in: Move READELF check to start of file.
28699 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28700 libc_cv_asm_gnu_indirect_function in the process.
28701 * configure: Regenerated.
28703 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28705 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28706 send the output to /dev/null.
28707 (libc_cv_cc_with_libunwind): Likewise.
28708 (libc_cv_as_noexecstack): Likewise.
28709 * configure: Regenerate.
28711 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28713 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28715 * posix/globtest.sh (TMPDIR): Do not set.
28716 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28717 (testout): Likewise.
28719 2012-10-24 Andreas Jaeger <aj@suse.de>
28721 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28722 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28723 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28724 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28725 posix_fadvise64, posix_fallocate64.
28727 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28728 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28729 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28731 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28733 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28736 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28737 <bits/fcntl-linux.h>.
28738 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28741 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28742 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28743 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28744 [__WORDSIZE != 64]: Likewise.
28746 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28748 * Makeconfig (run-built-tests): New variable.
28749 * Rules [$(cross-compiling) = yes]: Change condition to
28750 [$(run-built-tests) = no].
28751 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28752 to [$(run-built-tests) = yes].
28753 * elf/Makefile [$(cross-compiling) = no]: Likewise
28754 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28755 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28756 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28757 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28758 * io/Makefile [$(cross-compiling) = no]: Likewise.
28759 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28760 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28761 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28762 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28763 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28764 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28765 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28766 * string/Makefile [$(cross-compiling) = no]: Likewise.
28768 * posix/Makefile ($(objpfx)globtest.out): Pass
28769 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28770 $(rtld-installed-name).
28771 * posix/globtest.sh (elf_objpfx): Remove variable.
28772 (rtld_installed_name): Likewise.
28773 (library_path): Likewise.
28774 (run_program_prefix): New variable. Use for running globtest
28777 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28778 Joseph Myers <joseph@codesourcery.com>
28780 * Makeconfig (host-built-program-cmd): New variable.
28781 * elf/Makefile (tst-stackguard1-ARGS): Use
28782 $(host-built-program-cmd).
28783 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28784 (tst-spawn-ARGS): Likewise.
28785 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28787 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28788 Jim Blandy <jimb@codesourcery.com>
28790 * Makeconfig (run-via-rtld-prefix): New variable.
28791 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28792 (built-program-cmd): Likewise.
28794 2012-10-22 Andreas Jaeger <aj@suse.de>
28796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28797 __O_RSYNC if it exists, otherwise to O_SYNC.
28799 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28800 Joseph Myers <joseph@codesourcery.com>
28802 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28804 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28806 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28809 2012-10-22 Andreas Jaeger <aj@suse.de>
28811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28813 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28816 bits/fcntl-linux.h.
28818 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28819 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28826 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28827 Joseph Myers <joseph@codesourcery.com>
28829 * config.make.in (NM): New variable.
28831 2012-10-21 Andreas Jaeger <aj@suse.de>
28833 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28834 definitions and declarations that are provided by
28835 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28837 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28840 * elf/Makefile (tests-static): Add tst-leaks1-static.
28841 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28842 ($(objpfx)tst-leaks1-static): New rule.
28843 ($(objpfx)tst-leaks1-static-mem): Likewise.
28844 (tst-leaks1-static-ENV): New macro.
28845 * elf/dl-open.c (dl_open_worker): Check the main application
28846 only if SHARED is defined.
28847 * elf/tst-leaks1-static.c: New file.
28849 2012-10-20 Andreas Jaeger <aj@suse.de>
28851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28852 generic values for Linux.
28853 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28854 and declarations that are provided by <bits/fcntl-linux.h> and
28855 include <bits/fcntl-linux.h>.
28856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28859 2012-10-20 Roland McGrath <roland@hack.frob.com>
28861 * io/fcntl.h: Move include of <bits/types.h> to the top and
28862 include it unconditionally.
28864 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28866 * wcsmbs/Makefile (tests-ifunc): New variable.
28867 (tests): Add $(tests-ifunc).
28868 * wcsmbs/test-wcschr-ifunc.c: New file.
28869 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28870 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28871 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28872 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28873 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28875 * string/Makefile (tests-ifunc): New variable.
28876 (tests): Add $(tests-ifunc).
28877 * string/test-memccpy.c (TEST_NAME): New macro.
28878 * string/test-memchr.c (TEST_NAME): Likewise.
28879 * string/test-memcmp.c (TEST_NAME): Likewise.
28880 * string/test-memcpy.c (TEST_NAME): Likewise.
28881 * string/test-memmem.c (TEST_NAME): Likewise.
28882 * string/test-memmove.c (TEST_NAME): Likewise.
28883 * string/test-memset.c (TEST_NAME): Likewise.
28884 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28885 * string/test-stpcpy.c (TEST_NAME): Likewise.
28886 * string/test-stpncpy.c (TEST_NAME): Likewise.
28887 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28888 * string/test-strcasestr.c (TEST_NAME): Likewise.
28889 * string/test-strcat.c (TEST_NAME): Likewise.
28890 * string/test-strchr.c (TEST_NAME): Likewise.
28891 * string/test-strcmp.c(TEST_NAME): Likewise.
28892 * string/test-strcpy.c (TEST_NAME): Likewise.
28893 * string/test-strcspn.c (TEST_NAME): Likewise.
28894 * string/test-strlen.c (TEST_NAME): Likewise.
28895 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28896 * string/test-strncmp.c (TEST_NAME): Likewise.
28897 * string/test-strncpy.c (TEST_NAME): Likewise.
28898 * string/test-strnlen.c (TEST_NAME): Likewise.
28899 * string/test-strpbrk.c (TEST_NAME): Likewise.
28900 * string/test-strrchr.c (TEST_NAME): Likewise.
28901 * string/test-strspn.c (TEST_NAME): Likewise.
28902 * string/test-strstr.c (TEST_NAME): Likewise.
28903 * string/test-bcopy-ifunc.c: New file.
28904 * string/test-bzero-ifunc.c: Likewise.
28905 * string/test-memccpy-ifunc.c: Likewise.
28906 * string/test-memchr-ifunc.c: Likewise.
28907 * string/test-memcmp-ifunc.c: Likewise.
28908 * string/test-memcpy-ifunc.c: Likewise.
28909 * string/test-memmem-ifunc.c: Likewise.
28910 * string/test-memmove-ifunc.c: Likewise.
28911 * string/test-mempcpy-ifunc.c: Likewise.
28912 * string/test-memset-ifunc.c: Likewise.
28913 * string/test-rawmemchr-ifunc.c: Likewise.
28914 * string/test-stpcpy-ifunc.c: Likewise.
28915 * string/test-stpncpy-ifunc.c: Likewise.
28916 * string/test-strcasecmp-ifunc.c: Likewise.
28917 * string/test-strcasestr-ifunc.c: Likewise.
28918 * string/test-strcat-ifunc.c: Likewise.
28919 * string/test-strchr-ifunc.c: Likewise.
28920 * string/test-strchrnul-ifunc.c: Likewise.
28921 * string/test-strcmp-ifunc.c: Likewise.
28922 * string/test-strcpy-ifunc.c: Likewise.
28923 * string/test-strcspn-ifunc.c: Likewise.
28924 * string/test-strlen-ifunc.c: Likewise.
28925 * string/test-strncasecmp-ifunc.c: Likewise.
28926 * string/test-strncat-ifunc.c: Likewise.
28927 * string/test-strncmp-ifunc.c: Likewise.
28928 * string/test-strncpy-ifunc.c: Likewise.
28929 * string/test-strnlen-ifunc.c: Likewise.
28930 * string/test-strpbrk-ifunc.c: Likewise.
28931 * string/test-strrchr-ifunc.c: Likewise.
28932 * string/test-strspn-ifunc.c: Likewise.
28933 * string/test-strstr-ifunc.c: Likewise.
28935 * debug/Makefile (tests-ifunc): New variable.
28936 (tests): Add $(tests-ifunc).
28937 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28938 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28939 * debug/test-stpcpy_chk-ifunc.c: New file.
28940 * debug/test-strcpy_chk-ifunc.c: Likewise.
28942 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28945 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28946 header is not read in.
28948 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28950 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28951 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28952 directly. Pass built executable to script as
28953 $(built-program-cmd).
28954 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28955 $testprogram without using LD_LIBRARY_PATH and $ldso.
28957 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28958 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28959 $(rtld-installed-name).
28960 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28961 (rtld_installed_name): Likewise.
28962 (library_path): Likewise.
28963 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28964 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28965 $(run-program-prefix) to tst-tables.sh.
28966 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28967 it to run tst-table-from and tst-table-to.
28968 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28969 Pass it to tst-table.sh.
28970 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28971 $(run-program-prefix) to tst-gettext.sh.
28972 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28974 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28976 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28977 to run tst-gettext.
28978 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28979 to run tst-gettext2.
28980 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28981 to run tst-translit.
28982 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28983 $(run-program-prefix) to tst-mtrace.sh.
28984 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28986 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28987 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28988 $(rtld-installed-name).
28989 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28990 (rtld_installed_name): Likewise.
28991 (run_program_prefix): New variable. Use it to run wordexp-test.
28993 * Makeconfig (ARCH): Remove all definitions.
28994 (machine): Likewise.
28995 [ARCH]: Remove conditional code.
28996 [!objdir]: Give error.
28997 [!objdir] (objpfx): Remove.
28998 [!objdir] (common-objpfx): Likewise.
28999 [!objdir] (common-objdir): Likewise.
29000 * configure.in (config_makefile): Remove. Hardcode Makefile in
29001 AC_CONFIG_FILES call.
29002 * configure: Regenerated.
29005 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29007 (testout): Likewise.
29009 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29010 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29011 $(rtld-installed-name).
29012 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29013 (rtld_installed_name): Likwise.
29014 (runit): Remove function.
29015 (run_getconf): New variable, Use it for running getconf binary.
29017 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29020 * string/test-memmem.c (check_result): New function.
29021 (do_one_test): Use it.
29022 (check1): New function.
29023 (test_main): Use it.
29025 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29027 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29029 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29031 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29032 (_G_LSEEK64): Likewise.
29033 (_G_MMAP64): Likewise.
29034 (_G_FSTAT64): Likewise.
29035 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29036 (_G_LSEEK64): Likewise.
29037 (_G_MMAP64): Likewise.
29038 (_G_FSTAT64): Likewise.
29039 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29040 unconditional. Call __mmap64 directly.
29041 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29042 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29043 __lseek64 directly.
29044 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29045 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29047 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29048 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29049 __lseek64 directly.
29050 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29051 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29052 __lseek64 directly.
29053 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29054 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29055 __lseek64 directly.
29056 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29057 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29058 __fxstat64 directly.
29059 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29060 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29062 (freopen64) [!_G_OPEN64]: Remove conditional code.
29063 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29065 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29066 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29068 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29069 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29071 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29072 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29074 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29075 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29077 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29078 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29080 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29081 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29083 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29085 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29088 * manual/memory.texi (Malloc Tunable Parameters): Add note
29089 about free list pointers overwriting some perturb bytes.
29090 Wording suggested by Roland McGrath.
29092 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29094 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29095 (lgamma_test): Likewise.
29096 (tgamma_test): Likewise.
29098 2012-10-16 Florian Weimer <fweimer@redhat.com>
29101 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29102 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29104 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29106 * NEWS: Mention BZ #14716.
29107 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29108 when removing AVAILABLE1_USES_J macro.
29110 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29112 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29113 (__bswap_64): __uint64_t for unsigned 64-bit int.
29115 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29117 * include/string.h (memmem): Declare libc hidden alias.
29118 * string/memmem.c (memmem): Define libc hidden alias.
29119 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29120 __read, __close instead of open, read, close.
29122 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29125 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29127 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29128 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29129 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29131 (__rawmemchr_sse2): Likewise.
29132 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29133 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29134 (__strchr_sse2): Likewise.
29135 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29136 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29137 (__strcasecmp_sse2): Likewise.
29138 (__strncasecmp_sse2): Likewise.
29139 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29140 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29141 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29142 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29143 (__strrchr_sse2): Likewise.
29144 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29146 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29147 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29148 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29149 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29150 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29151 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29152 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29153 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29154 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29155 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29156 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29157 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29158 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29159 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29160 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29161 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29162 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29163 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29164 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29165 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29166 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29167 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29168 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29169 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29170 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29171 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29172 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29173 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29174 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29175 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29177 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29179 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29180 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29181 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29182 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29184 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29186 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29187 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29188 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29189 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29191 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29192 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29193 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29194 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29195 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29196 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29197 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29198 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29199 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29200 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29201 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29202 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29203 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29204 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29205 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29206 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29207 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29208 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29209 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29210 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29211 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29212 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29213 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29214 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29215 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29216 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29217 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29218 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29219 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29220 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29221 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29222 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29223 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29224 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29225 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29226 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29227 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29228 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29229 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29230 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29231 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29233 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29234 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29235 * include/ifunc-impl-list.h: New file.
29236 * misc/ifunc-impl-list.c: Likewise.
29237 * misc/Makefile (routines): Add ifunc-impl-list.
29238 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29239 * string/test-string.h: Include <ifunc-impl-list.h>.
29240 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29241 TEST_NAME]: New variables.
29242 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29244 (test_init): Call __libc_ifunc_impl_list to initialize
29245 func_list if TEST_IFUNC and TEST_NAME are defined.
29247 * string/Makefile (strop-tests): Add bcopy and bzero.
29248 * string/test-bcopy.c: New file.
29249 * string/test-bzero.c: Likewise.
29250 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29252 * string/test-memset.c: Support bzero test if TEST_BZERO is
29254 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29256 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29258 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29261 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29263 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29264 * configure: Regenerated.
29266 * Makeconfig (+link-static-before-libc): Don't include
29267 $(link-static-libc).
29269 * libio/libio.h (_IO_pos_t): Remove.
29271 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29273 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29276 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29278 * crypt/crypt-entry.c: Include fips-private.h.
29279 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29280 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29281 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29282 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29284 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29286 * crypt/crypt-private.h: Include stdbool.h.
29287 (_ufc_setup_salt_r): Return bool.
29288 * crypt/crypt-entry.c: Include errno.h.
29289 (__crypt_r): Return NULL with EINVAL for bad salt.
29290 * crypt/crypt_util.c (bad_for_salt): New.
29291 (_ufc_setup_salt_r): Check that salt is long enough and within
29292 the specified alphabet.
29293 * crypt/badsalttest.c: New file.
29294 * crypt/Makefile (tests): Add it.
29295 ($(objpfx)badsalttest): New.
29297 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29299 * NEWS: Add entry for BZ #14602.
29301 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29303 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29305 * math/libm-test.inc: Update comment listing what functions and
29307 (isgreater_test): New function.
29308 (isgreaterequal_test): Likewise.
29309 (isless_test): Likewise.
29310 (islessequal_test): Likewise.
29311 (islessgreater_test): Likewise.
29312 (isunordered_test): Likewise.
29313 (main): Call the new functions.
29315 2012-10-09 Roland McGrath <roland@hack.frob.com>
29317 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29318 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29319 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29320 * sysdeps/i386/configure: Regenerated.
29321 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29322 * sysdeps/mach/configure: Regenerated.
29323 * sysdeps/mach/hurd/configure: Regenerated.
29324 * sysdeps/powerpc/configure: Regenerated.
29325 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29326 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29327 * sysdeps/s390/s390-32/configure: Regenerated.
29328 * sysdeps/s390/s390-64/configure: Regenerated.
29329 * sysdeps/sh/configure: Regenerated.
29330 * sysdeps/sparc/configure: Regenerated.
29331 * sysdeps/unix/sysv/linux/configure: Regenerated.
29332 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29333 * sysdeps/x86_64/configure: Regenerated.
29335 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29336 defined. Don't check if MAP is NULL.
29338 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29340 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29341 (_G_stat64): Likewise.
29342 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29343 (_G_stat64): Likewise.
29344 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29345 instead of struct _G_stat64.
29346 * libio/fileops.c (mmap_remap_check): Likewise.
29347 (decide_maybe_mmap): Likewise.
29348 (_IO_new_file_seekoff): Likewise.
29349 (_IO_file_stat): Likewise.
29350 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29352 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29353 instead of struct _G_stat64.
29354 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29356 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29359 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29361 (CHECK_EOL): New macro.
29362 (two_way_short_needle): Check beginning of haystack for EOL. Use
29364 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29365 Replace with CHECK_EOL.
29366 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29367 Replace with CHECK_EOL.
29369 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29371 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29373 * math/libm-test.inc: Update comment listing what functions and
29375 (finite_test): New function.
29376 (isinf_test): Likewise.
29377 (isnan_test): Likewise.
29378 (fpclassify_test): Test subnormal input.
29379 (isfinite_test): Likewise.
29380 (isnormal_test): Likewise.
29381 (main): Call the new functions.
29383 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29386 * Makerules (%.dynsym): Force C locale when running
29387 $(OBJDUMP) --dynamic-syms.
29389 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29391 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29394 2012-10-06 David S. Miller <davem@davemloft.net>
29396 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29397 upper 32-bits of the length value in %o2 since we use branch-on-register
29398 tests which consider the entire 64-bit register.
29400 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29402 * string/test-strstr.c (check2): Add a test for page boundary.
29404 2012-10-05 David S. Miller <davem@davemloft.net>
29406 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29407 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29409 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29411 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29412 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29413 and bzero when HWCAP_SPARC_CRYPTO is present.
29415 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29418 * string/test-strstr.c (check2): New function.
29419 (test_main): Call check2.
29421 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29423 * string/bug-strcasestr1.c (do_test): Moved to ...
29424 * string/test-strcasestr.c (check1): Here. New function.
29425 (do_one_test): Break out result checking code into ...
29426 (check_result): This. New function.
29427 (do_one_test): Call check_result.
29428 (test_main): Call check1.
29429 * string/bug-strchr1.c (do_test): Moved to ...
29430 * string/test-strchr.c (check1): Here. New function.
29431 (do_one_test): Break out result checking code into ...
29432 (check_result): This. New function.
29433 (do_one_test): Call check_result.
29434 (test_main): Call check1.
29435 * string/bug-strstr1.c (main): Moved to ...
29436 * string/test-strstr.c (check1): Here. New function.
29437 (do_one_test): Break out result checking code into ...
29438 (check_result): This. New function.
29439 (do_one_test): Call check_result.
29440 (test_main): Call check1.
29441 * string/bug-strcasestr1.c: Removed.
29442 * string/bug-strchr1.c: Likewise.
29443 * string/bug-strstr1.c: Likewise.
29445 * elf/Makefile (dl-routines): Add hwcaps.
29446 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29447 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29448 (_dl_important_hwcaps): Moved to ...
29449 * elf/dl-hwcaps.c: Here. New file.
29450 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29453 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29454 if IS_IN_rtld isn't defined.
29456 * elf/dl-support.c (_dl_sysinfo_map): New.
29457 Include "get-dynamic-info.h" and "setup-vdso.h".
29458 (_dl_non_dynamic_init): Call setup_vdso.
29459 * elf/dynamic-link.h: Don't include <assert.h>.
29460 (elf_get_dynamic_info): Moved to ...
29461 * elf/get-dynamic-info.h: Here. New file.
29462 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29463 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29464 * elf/setup-vdso.h: Here. New file.
29465 * elf/rtld.c: Include "setup-vdso.h".
29466 (dl_main): Call setup_vdso.
29468 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29470 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29471 creal in comment listing functions tested. List finite, isinf,
29472 isnan, isless, islessequal, isgreater, isgreaterequal,
29473 islessgreater, isunordered, lgamma_r and pow10 as functions and
29474 macros not tested. Mention which functions not tested are aliases
29475 for other functions. Fix typo. Note that signs of NaNs are not
29478 * scripts/config.guess: Update from config.git.
29479 * scripts/config.sub: Likewise.
29481 2012-10-04 Roland McGrath <roland@hack.frob.com>
29483 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29484 * misc/madvise.c (madvise): Renamed to __madvise.
29485 Make madvise a weak alias.
29486 * include/sys/mman.h: Declare __madvise.
29487 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29488 * sysdeps/unix/syscalls.list
29489 (madvise): Make __madvise the strong name, and madvise a weak alias.
29490 * sysdeps/unix/sysv/linux/syscalls.list
29491 (madvise, mmap): Remove redundant entries.
29492 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29493 * malloc/malloc.c (mtrim): Likewise.
29494 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29496 2012-10-03 Roland McGrath <roland@hack.frob.com>
29498 * sysdeps/mach/hurd/dl-cache.c: File removed.
29499 * config.h.in (USE_LDCONFIG): New #undef.
29500 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29501 * configure: Regenerated.
29502 * elf/Makefile (dl-routines): Add dl-cache only under
29503 [$(use-ldconfig) = yes].
29504 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29505 cache on [USE_LDCONFIG].
29506 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29508 * elf/rtld.c (dl_main): Likewise.
29510 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29512 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29513 _SC_LEVEL4_CACHE_LINESIZE.
29515 2012-10-03 Roland McGrath <roland@hack.frob.com>
29517 * sysdeps/unix/bsd/confstr.h: File removed.
29519 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29521 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29524 2012-10-02 Roland McGrath <roland@hack.frob.com>
29526 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29527 Make 'mapoff' field ElfW(Off) rather than off_t.
29529 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29531 * nscd/Makefile: Remove nscd-cflags and all its users.
29532 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29533 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29536 * malloc.c (malloc_printerr): Clarify error message.
29538 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29542 Set bit_FMA_Usable if FMA is supported.
29543 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29545 (bit_FMA4_Usable): Updated.
29546 (index_FMA_Usable): New macro.
29547 (CPUID_FMA): Likewise
29548 (HAS_FMA): Defined with bit_FMA_Usable.
29550 2012-10-01 Roland McGrath <roland@hack.frob.com>
29552 * bits/types.h (__swblk_t): Type removed.
29553 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29554 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29556 (__SWBLK_T_TYPE): Likewise.
29557 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29558 (__SWBLK_T_TYPE): Likewise.
29559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29560 (__SWBLK_T_TYPE): Likewise.
29561 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29562 (__SWBLK_T_TYPE): Likewise.
29564 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29565 Honza Horak <hhorak@redhat.com>
29567 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29568 (xdr_mapname): Use YPMAXMAP as maxsize.
29569 (xdr_peername): Use YPMAXPEER as maxsize.
29570 (xdr_keydat): Use YPAXRECORD as maxsize.
29571 (xdr_valdat): Use YPMAXRECORD as maxsize.
29573 2012-10-01 Roland McGrath <roland@hack.frob.com>
29575 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29577 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29578 * csu/init-first.c: ... here.
29579 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29580 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29581 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29582 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29583 * sysdeps/i386/init-first.c: File removed.
29584 * sysdeps/sh/init-first.c: File removed.
29586 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29590 if x * y might underflow to zero and z is zero.
29591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29592 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29593 * math/libm-test.inc (min_subnorm_value): New variable.
29594 (fma_test): Add more tests.
29595 (fma_test_towardzero): Likewise.
29596 (fma_test_downward): Likewise
29597 (fma_test_upward): Likewise.
29598 (initialize): Set min_subnorm_value.
29600 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29605 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29606 mode for addition resulting in exact zero.
29607 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29610 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29611 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29612 * math/libm-test.inc (fma_test): Add more tests.
29613 (fma_test_towardzero): New function.
29614 (fma_test_downward): Likewise.
29615 (fma_test_upward): Likewise.
29616 (main): Call the new functions.
29618 2012-09-28 David S. Miller <davem@davemloft.net>
29620 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29622 2012-09-28 Roland McGrath <roland@hack.frob.com>
29624 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29625 instead of SIGALRM.
29627 * sysdeps/gnu/_G_config.h: Moved to ...
29628 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29629 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29630 * sysdeps/generic/_G_config.h: ... here.
29632 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29634 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29636 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29637 Conditionalize target on [libnss_test1.so-version].
29639 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29641 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29642 (elfobjdir): Move out of conditionals.
29644 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29645 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29646 (__nss_lookup_function): Conditionalize label remove_from_tree on
29647 [!DO_STATIC_NSS || SHARED], matching its only use.
29649 2012-09-28 David S. Miller <davem@davemloft.net>
29651 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29652 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29654 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29656 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29658 when HWCAP_SPARC_CRYPTO is present.
29660 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29662 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29664 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29667 * stdio-common/vfprintf.c (process_string_arg): Revert
29670 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29672 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29674 * stdio-common/tst-sprintf.c: Include <locale.h>
29675 (main): Test sprintf's handling of incomplete multibyte
29678 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29680 * elf/dl-runtime.c (VERSYMIDX): Removed.
29681 * elf/dl-version.c (VERSYMIDX): Likewise.
29682 * elf/do-rel.h (VERSYMIDX): Likewise.
29683 (VALIDX): Likewise.
29684 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29685 * elf/rtld.c (VALIDX): Likewise.
29686 (ADDRIDX): Likewise.
29687 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29688 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29689 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29690 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29691 (VALIDX): Likewise.
29692 (ADDRIDX): Likewise.
29694 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29696 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29698 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29701 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29703 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29704 addresses are in the same scope as 192.0.2/24.
29705 * posix/gai.conf: Document new scope table defaults.
29707 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29710 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29711 for ftell. Compute offsets from write pointers instead.
29712 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29714 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29717 * libio/Makefile (tests): New test case tst-fseek.
29718 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29719 combination works in wide mode.
29720 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29721 state when the external buffer state changes.
29723 2012-09-27 David S. Miller <davem@davemloft.net>
29726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29727 pass reloc->r_addend in as the 'high' argument to
29728 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29732 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29734 * rt/tst-aio2.c: Include <pthread.h>.
29735 * rt/tst-aio3.c: Likewise.
29737 2012-09-27 Steve Ellcey <sellcey@mips.com>
29739 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29741 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29743 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29744 contents on [SHARED].
29746 2012-09-26 Marek Polacek <polacek@redhat.com>
29750 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29751 for C++ and GCC <4.3 as well as for non GCC compilers.
29753 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29757 2012-09-25 Roland McGrath <roland@hack.frob.com>
29759 * Makefile.in (all, install): Declare with .PHONY.
29760 Reported by Michael Hope <michael.hope@linaro.org>.
29762 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29764 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29765 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29767 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29769 (sydep_routines): Add the new and the internal functions.
29770 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29771 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29773 (GLIBC_2.17): Add the new function.
29774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29775 (GLIBC_2.17): Likewise.
29776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29777 (GLIBC_2.17): Likewise.
29778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29779 (GLIBC_2.17): Likewise.
29780 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29782 2012-09-25 Alan Modra <amodra@gmail.com>
29784 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29785 Add release barrier before setting once_control to say
29786 initialisation is done. Add hints on lwarx. Use macro in
29788 (clear_once_control): Add release barrier.
29790 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29793 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29795 * math/s_clog10.c (__clog10): Likewise.
29796 * math/s_clog10f.c (__clog10f): Likewise.
29797 * math/s_clog10l.c (__clog10l): Likewise.
29798 * math/s_clogf.c (__clogf): Likewise.
29799 * math/s_clogl.c (__clogl): Likewise.
29800 * math/Makefile (libm-calls): Add x2y2m1.
29801 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29802 (__x2y2m1): Likewise.
29803 (__x2y2m1l): Likewise.
29804 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29805 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29806 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29807 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29808 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29809 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29810 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29811 * sysdeps/i386/fpu/libm-test-ulps: Update.
29812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29815 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29816 int as type of variable DEPTH.
29817 (glob): Use size_t instead of int as type of variables NEWCOUNT
29820 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29822 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29823 Add s_sincosf-sse2.
29824 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29825 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29826 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29827 macros for using routine as __sincosf_ia32.
29828 Use macro for function declaration and weak_alias.
29829 * sysdeps/i386/fpu/libm-test-ulps: Update.
29831 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29834 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29835 subnormal argument.
29836 * math/s_cexpf.c (__cexpf): Likewise.
29837 * math/s_csinf.c (__csinf): Likewise.
29838 * math/s_csinhf.c (__csinhf): Likewise.
29839 * math/s_ctanf.c (__ctanf): Likewise.
29840 * math/s_ctanhf.c (__ctanhf): Likewise.
29841 * math/s_ccosh.c (__ccoshf): Likewise.
29842 * math/s_cexp.c (__cexpl): Likewise.
29843 * math/s_csin.c (__csin): Likewise.
29844 * math/s_csinh.c (__csinh): Likewise.
29845 * math/s_ctan.c (__ctan): Likewise.
29846 * math/s_ctanh.c (ctanh): Likewise.
29847 * math/s_ccoshl.c (__ccoshl): Likewise.
29848 * math/s_cexpl.c (__cexpl): Likewise.
29849 * math/s_csinl.c (__csinl): Likewise.
29850 * math/s_csinhl.c (__csinhl): Likewise.
29851 * math/s_ctanl.c (__ctanl): Likewise.
29852 * math/s_ctanhl.c (__ctanhl): Likewise.
29854 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29856 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29857 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29858 (_IO_off_t): Define to __off_t, not _G_off_t.
29859 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29860 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29861 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29862 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29863 type of __dummy and __dummy2 fields.
29864 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29865 (_G_ssize_t): Likewise.
29866 (_G_off_t): Likewise.
29867 (_G_pid_t): Likewise.
29868 (_G_uid_t): Likewise.
29869 (_G_wchar_t): Likewise.
29870 (_G_wint_t): Likewise.
29871 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29872 (_G_ssize_t): Likewise.
29873 (_G_off_t): Likewise.
29874 (_G_pid_t): Likewise.
29875 (_G_uid_t): Likewise.
29876 (_G_wchar_t): Likewise.
29877 (_G_wint_t): Likewise.
29878 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29879 (_G_ssize_t): Likewise.
29880 (_G_off_t): Likewise.
29881 (_G_pid_t): Likewise.
29882 (_G_uid_t): Likewise.
29883 (_G_wchar_t): Likewise.
29884 (_G_wint_t): Likewise.
29886 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29888 * malloc/arena.c: Include malloc-sysdep.h.
29889 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29890 is sufficient to shrink the heap or an unmap is needed.
29891 * sysdeps/generic/malloc-sysdep.h: New file. Define
29892 new function check_may_shrink_heap.
29893 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29894 new function check_may_shrink_heap.
29896 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29898 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29901 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29903 * catgets/test-gencat.sh: Add "set -e".
29904 * elf/tst-pathopt.sh: Likewise.
29905 * grp/tst_fgetgrent.sh: Likewise.
29906 * iconvdata/run-iconv-test.sh: Likewise.
29907 * intl/tst-gettext.sh: Likewise.
29908 * intl/tst-gettext2.sh: Likewise.
29909 * intl/tst-gettext4.sh: Likewise.
29910 * intl/tst-gettext6.sh: Likewise.
29911 * intl/tst-translit.sh: Likewise.
29912 * io/ftwtest-sh: Likewise.
29913 * libio/test-freopen.sh: Likewise.
29914 * malloc/tst-mtrace.sh: Likewise.
29915 * posix/globtest.sh: Likewise.
29916 * posix/tst-getconf.sh: Likewise.
29917 * posix/wordexp-tst.sh: Likewise.
29918 * stdio-common/tst-printf.sh: Likewise.
29919 * stdio-common/tst-unbputc.sh: Likewise.
29920 * stdlib/tst-fmtmsg.sh: Likewise.
29921 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29922 * catgets/Makefile: Do not specify -e option when running
29923 testsuite shell scripts.
29924 * elf/Makefile: Likewise.
29925 * grp/Makefile: Likewise.
29926 * iconvdata/Makefile: Likewise.
29927 * intl/Makefile: Likewise.
29928 * io/Makefile: Likewise.
29929 * libio/Makefile: Likewise.
29930 * malloc/Makefile: Likewise.
29931 * posix/Makefile: Likewise.
29932 * stdio-common/Makefile: Likewise.
29933 * stdlib/Makefile: Likewise.
29934 * sysdeps/x86_64/Makefile: Likewise.
29936 * io/ftwtest-sh: Add copyright header.
29937 * posix/globtest.sh: Likewise.
29938 * posix/tst-getconf.sh: Likewise.
29939 * posix/wordexp-tst.sh: Likewise.
29940 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29942 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29945 * Makeconfig (+link): Defined as $(+link-static) if
29946 $(build-shared) isn't yes.
29947 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29949 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29951 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29954 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29955 new chunk size with MALLOC_ALIGN_MASK.
29957 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29960 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29962 (__printf_fphex): Determine rounding using get_rounding_mode and
29964 * stdio-common/tst-printf-round.c (struct hex_test): New
29966 (hex_tests): New variable.
29967 (test_hex_in_one_mode): New function.
29968 (do_test): Also run tests for hex float output.
29970 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29972 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29973 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29974 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29975 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29976 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29977 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29978 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29979 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29981 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29983 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29984 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29985 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29986 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29988 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29991 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29993 * elf/tst-rtld-load-self.sh: New test.
29994 * elf/Makefile: Run it.
29996 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29998 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29999 (tst-writev-ENV): Remove.
30000 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30002 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30004 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30006 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30008 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30010 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30012 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30013 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30014 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30017 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30020 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30021 * config.make.in (have-cpp-asm-debuginfo): Removed.
30022 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30023 * configure: Regenerated.
30025 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30028 * stdio-common/printf_fp.c: Include <stdbool.h> and
30030 (___printf_fp): Determine rounding using get_rounding_mode and
30032 * stdio-common/tst-printf-round.c: New file.
30033 * stdio-common/Makefile (tests): Add tst-printf-round.
30034 (link-libm): New variable.
30035 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30037 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30040 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30041 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30043 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30046 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30048 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30049 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30050 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30051 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30053 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30056 * include/rounding-mode.h: New file.
30057 * sysdeps/generic/get-rounding-mode.h: Likewise.
30058 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30059 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30060 (MAX_VALUE): New macro.
30061 (MIN_VALUE): Likewise.
30062 (overflow_value): New function.
30063 (underflow_value): Likewise.
30064 (round_and_return): Use overflow_value and underflow_value to
30065 determine return values in overflow and underflow cases. Use
30066 round_away to determine rounding depending on rounding mode.
30067 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30068 determine return values in overflow and underflow cases.
30069 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30070 (struct test_results): New structure.
30071 (struct test): Use struct test_results to store expected results
30072 for all rounding modes.
30073 (TEST): Include expected results for all rounding modes.
30074 (test_in_one_mode): New function.
30075 (do_test): Use test_in_one_mode to compute and check results.
30076 Check results for all rounding modes.
30077 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30080 2012-12-09 Allan McRae <allan@archlinux.org>
30082 * sysdeps/i386/fpu/libm-test-ulps: Update
30084 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30086 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30087 (_G_int32_t): Likewise.
30088 (_G_uint16_t): Likewise.
30089 (_G_uint32_t): Likewise.
30090 (_G_HAVE_BOOL): Likewise.
30091 (_G_HAVE_ATEXIT): Likewise.
30092 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30093 (_G_HAVE_IO_FILE_OPEN): Likewise.
30094 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30095 (_G_int32_t): Likewise.
30096 (_G_uint16_t): Likewise.
30097 (_G_uint32_t): Likewise.
30098 (_G_HAVE_BOOL): Likewise.
30099 (_G_HAVE_ATEXIT): Likewise.
30100 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30101 (_G_HAVE_IO_FILE_OPEN): Likewise.
30102 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30103 (_G_int32_t): Likewise.
30104 (_G_uint16_t): Likewise.
30105 (_G_uint32_t): Likewise.
30106 (_G_HAVE_BOOL): Likewise.
30107 (_G_HAVE_ATEXIT): Likewise.
30108 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30109 (_G_HAVE_IO_FILE_OPEN): Likewise.
30111 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30113 * csu/libc-tls.c: Update copyright years.
30115 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30117 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30118 [!_G_USING_THUNKS]: Remove conditional code.
30119 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30120 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30122 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30123 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30124 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30125 (_G_VTABLE_LABEL_PREFIX): Likewise.
30126 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30127 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30128 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30129 (_G_VTABLE_LABEL_PREFIX): Likewise.
30130 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30131 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30132 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30133 (_G_VTABLE_LABEL_PREFIX): Likewise.
30134 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30136 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30138 * libio/Makefile: Include ../Makeconfig before tests.
30139 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30140 only if $(build-shared) is yes.
30142 * iconv/gconv_db.c: Update copyright years.
30144 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30146 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30147 unwind info if defined PIC. Fix special cases description.
30148 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30150 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30152 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30154 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30156 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30158 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30161 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30162 (LDLIBS-tst-chk4): This.
30163 (LDFLAGS-tst-chk5): Renamed to ...
30164 (LDLIBS-tst-chk5): This.
30165 (LDFLAGS-tst-chk6): Renamed to ...
30166 (LDLIBS-tst-chk6): This.
30167 (LDFLAGS-tst-lfschk4): Renamed to ...
30168 (LDLIBS-tst-lfschk4): This.
30169 (LDFLAGS-tst-lfschk5): Renamed to ...
30170 (LDLIBS-tst-lfschk5): This.
30171 (LDFLAGS-tst-lfschk6): Renamed to ...
30172 (LDLIBS-tst-lfschk6): This.
30174 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30175 on $(common-objpfx)soversions.mk.
30177 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30180 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30183 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30185 * malloc/arena.c (arena_get_retry): New function that gets
30186 another arena for the caller to try its request on.
30187 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30188 current arena cannot fulfill the request.
30189 (__libc_memalign): Likewise.
30190 (__libc_memalign): Likewise.
30191 (__libc_pvalloc): Likewise.
30192 (__libc_calloc): Likewise.
30194 2012-09-05 John Tobey <john.tobey@gmail.com>
30197 * manual/arith.texi (Operations on Complex): Fix description
30198 of carg branch cut.
30200 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30203 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30207 * manual/memory.texi (Memory): Make order of menu items match
30210 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30212 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30213 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30214 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30216 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30218 * csu/libc-tls.c (static_dtv): Renamed to ...
30219 (_dl_static_dtv): This. Make it global.
30220 (_dl_initial_dtv): Removed.
30221 (__libc_setup_tls): Updated.
30222 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30223 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30226 2012-09-06 Petr Machata <pmachata@redhat.com>
30228 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30229 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30230 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30231 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30233 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30236 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30237 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30240 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30243 * Makeconfig (link-static-before-libc): Replace $(+prector)
30245 (link-static-after-libc): Replace $(+postctor) with
30247 (link-bounded): Replace $(+prector)/$(+postctor) with
30248 $(+prectorT)/$(+postctorT).
30249 (+prectorT): New macro.
30250 (+postctorT): Likewise.
30252 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30254 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30255 (round_str): Handle values above the maximum for IBM long double
30257 * stdlib/tst-strtod-round.c (tests): Regenerated.
30259 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30261 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30263 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30264 zarch_nohighgprs around the zarch optimized routines.
30265 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30266 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30270 2012-09-05 David S. Miller <davem@davemloft.net>
30272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30274 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30275 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30276 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30277 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30280 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30282 * malloc/arena.c: Fold copyright years.
30283 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30285 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30287 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30289 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30291 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30293 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30295 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30296 change internal state upon failure.
30298 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30300 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30301 * malloc/memusage.c (mmap): Likewise.
30302 (mmap64, mremap): Likewise. Adjust name in comment.
30304 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30306 * libio/fileops.c: Fix typos in comments.
30307 * libio/oldfileops.c: Likewise.
30308 * libio/wfileops.c: Likewise.
30310 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30313 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30314 (tst-malloc-usable-ENV): Set environment for test case.
30315 * malloc/hooks.c (malloc_check_get_size): New function to get
30317 * malloc/malloc.c (musable): Use malloc_check_get_size.
30318 * malloc/tst-malloc-usable.c: New test case.
30320 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30322 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30324 2012-09-05 Allan McRae <allan@archlinux.org>
30327 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30328 determine header location.
30329 * configure: Regenerated.
30331 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30333 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30335 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30336 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30338 (test): Regenerate.
30340 2012-09-04 David S. Miller <davem@davemloft.net>
30342 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30343 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30344 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30346 2012-09-04 Florian Weimer <fweimer@redhat.com>
30348 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30351 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30353 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30356 * libio/iogetdelim.c: Include <limits.h>.
30357 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30358 + len + 1 would overflow.
30360 2012-09-03 Andreas Jaeger <aj@suse.de>
30362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30363 * sysdeps/i386/fpu/libm-test-ulps: Update.
30365 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30367 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30368 Add s_sinf-sse2, s_conf-sse2.
30370 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30371 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30372 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30373 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30375 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30376 for using routine as __sinf_ia32.
30377 Use macro for function declaration and weak_alias.
30378 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30379 for using routine as __cosf_ia32.
30380 Use macro for function declaration and weak_alias.
30382 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30383 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30385 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30386 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30389 * math/libm-test.inc (cos_test): Add more test cases.
30390 (sin_test): Likewise.
30391 (sincos_test): Likewise.
30393 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30395 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30396 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30398 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30400 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30403 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30404 first element of the GOT.
30405 (elf_machine_load_address): Return the difference between
30406 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30408 2012-09-01 Allan McRae <allan@archlinux.org>
30411 * configure.in (AWK): Require gawk version 3.0 or later.
30412 * configure: Regenerated.
30414 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30416 * sysdeps/unix/sysv/linux/kernel-features.h
30417 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30418 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30419 [__NR_clock_getres]: Make code unconditional.
30420 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30421 (clock_getcpuclockid): Remove code left unreachable by removal of
30423 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30424 code unconditional.
30425 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30426 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30427 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30428 Make code unconditional.
30429 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30430 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30431 * sysdeps/unix/sysv/linux/clock_settime.c
30432 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30434 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30435 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30437 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30440 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30441 scripts/test-installation.pl.
30443 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30444 and $ld_so_version if it is set.
30446 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30449 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30450 failure if reading from procfs failed.
30451 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30453 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30455 * sysdeps/unix/sysv/linux/kernel-features.h
30456 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30457 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30458 Remove conditional code.
30459 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30460 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30461 Remove conditional code.
30462 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30463 * sysdeps/unix/sysv/linux/i386/fxstat.c
30464 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30465 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30466 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30467 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30468 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30469 * sysdeps/unix/sysv/linux/i386/lxstat.c
30470 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30471 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30472 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30473 Remove conditional code.
30474 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30475 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30476 Remove conditional code.
30477 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30478 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30479 <kernel-features.h>.
30480 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30482 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30483 Remove conditional code.
30484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30485 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30486 Remove conditional.
30488 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30491 * NEWS: Add fixed bug number.
30493 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30496 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30497 underflowing exponent in case of negative sign.
30498 * stdlib/tst-strtod-round-data: Add more tests.
30499 * stdlib/tst-strtod-round.c (tests): Regenerated.
30502 * stdlib/strtod_l.c (NDIG): Remove.
30503 (HEXNDIG): Likewise.
30504 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30505 smallest representable value.
30506 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30507 lie within an exact representation of 1/2 ulp of the result.
30508 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30510 (TENS_P9_IDX): Define unconditionally.
30511 (TENS_P9_SIZE): Likewise.
30512 (TENS_P10_IDX): Likewise.
30513 (TENS_P10_SIZE): Likewise.
30514 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30515 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30516 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30517 entries for 10^2^13 and 10^2^14.
30518 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30519 (TENS_P13_IDX): Define.
30520 (TENS_P13_SIZE): Likewise.
30521 (TENS_P14_IDX): Likewise.
30522 (TENS_P14_SIZE): Likewise.
30523 (_fpioconst_pow10): Change array size to
30524 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30526 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30527 1024]: Add entries for 10^2^13 and 10^2^14.
30528 [LAST_POW10 > _LAST_POW10]: Remove #error.
30529 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30530 (_fpioconst_pow10): Change array size to
30531 FPIOCONST_POW10_ARRAY_SIZE.
30532 * stdlib/gen-fpioconst.c: New file.
30533 * stdlib/gen-tst-strtod-round.c: Likewise.
30534 * stdlib/tst-strtod-round-data: Likewise.
30535 * stdlib/tst-strtod-round.c: Likewise.
30536 * stdlib/Makefile (tests): Add tst-strtod-round.
30539 * stdlib/strtod_l.c: Include <stdint.h>.
30540 (NDEBUG): Do not define.
30541 (round_and_return): Change EXPONENT parameter to type intmax_t.
30542 Rearrange calculations to avoid internal overflow possibilities.
30543 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30544 Rearrange calculations to avoid internal overflow possibilities.
30545 Assert that number fits inside MPNSIZE limbs.
30546 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30547 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30548 calculations and add assertions to avoid internal overflow
30549 possibilities. Add casts to avoid signed/unsigned operations.
30550 * stdlib/tst-strtod-overflow.c: New file.
30551 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30553 2012-08-25 Marek Polacek <polacek@redhat.com>
30555 * time/time.h: Fix some typos in comments.
30557 2012-08-23 Roland McGrath <roland@hack.frob.com>
30559 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30560 * posix/tst-rfc3484-2.c: Likewise.
30561 * posix/tst-rfc3484-3.c: Likewise.
30563 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30565 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30566 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30568 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30570 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30571 #include of fxstatat64.c.
30573 2012-08-22 Roland McGrath <roland@hack.frob.com>
30575 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30576 * shadow/getspent_r.c: Likewise.
30577 * shadow/getspnam.c: Likewise.
30578 * shadow/getspnam_r.c: Likewise.
30579 * gshadow/getsgent.c: Likewise.
30580 * gshadow/getsgent_r.c: Likewise.
30581 * gshadow/getsgnam.c: Likewise.
30582 * gshadow/getsgnam_r.c: Likewise.
30583 * inet/getnetbyad.c: Likewise.
30584 * inet/getnetbyad_r.c: Likewise.
30585 * inet/getnetbynm.c: Likewise.
30586 * inet/getnetbynm_r.c: Likewise.
30587 * inet/getnetent.c: Likewise.
30588 * inet/getnetent_r.c: Likewise.
30589 * inet/getproto.c: Likewise.
30590 * inet/getproto_r.c: Likewise.
30591 * inet/getprtent.c: Likewise.
30592 * inet/getprtent_r.c: Likewise.
30593 * inet/getprtname.c: Likewise.
30594 * inet/getprtname_r.c: Likewise.
30595 * inet/getrpcbyname.c: Likewise.
30596 * inet/getrpcbyname_r.c: Likewise.
30597 * inet/getrpcbynumber.c: Likewise.
30598 * inet/getrpcbynumber_r.c: Likewise.
30599 * inet/getrpcent.c: Likewise.
30600 * inet/getrpcent_r.c: Likewise.
30601 * inet/getaliasent.c: Likewise.
30602 * inet/getaliasent_r.c: Likewise.
30603 * inet/getaliasname.c: Likewise.
30604 * inet/getaliasname_r.c: Likewise.
30605 * nscd/getgrgid_r.c: Likewise.
30606 * nscd/getgrnam_r.c: Likewise.
30607 * nscd/gethstbyad_r.c: Likewise.
30608 * nscd/gethstbynm3_r.c: Likewise.
30609 * nscd/getpwnam_r.c: Likewise.
30610 * nscd/getpwuid_r.c: Likewise.
30611 * nscd/getsrvbynm_r.c: Likewise.
30612 * nscd/getsrvbypt_r.c: Likewise.
30613 * nscd/gai.c: Likewise.
30615 * configure.in (build_nscd): New substituted variable, set
30616 by --disable-build-nscd and defaults to $use_nscd.
30617 * configure: Regenerated.
30618 * config.make.in (build-nscd): New substituted variable.
30619 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30620 Change conditional to require [$(build-nscd) = yes] as well.
30621 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30624 * configure.in (use_nscd): New substituted variable, set by
30625 --disable-nscd. If enabled, define USE_NSCD.
30626 * configure: Regenerated.
30627 * config.h.in: Add USE_NSCD.
30628 * config.make.in (use-nscd): New substituted variable.
30629 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30630 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30631 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30632 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30633 (CFLAGS-getgrnam_r.c): Likewise.
30634 (CFLAGS-initgroups.c): Likewise.
30635 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30636 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30638 * inet/getnetgrent_r.c
30639 (nscd_setnetgrent): New function, broken out of ...
30640 (setnetgrent): ... here. Call it.
30641 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30642 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30643 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30644 * nscd/Makefile (routines, aux): Move definitions after include of
30645 Makeconfig. Conditionalize on [$(use-nscd) != no].
30646 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30647 Conditionalize on [USE_NSCD].
30648 (is_nscd, nscd_init_cb): Likewise.
30649 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30650 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30651 * nss/nss_db/db-init.c: Likewise.
30652 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30654 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30655 (make_request): Use it.
30656 (cache_valid_p): New function.
30657 (__check_pf): Use it.
30658 * NEWS: Add item for --disable-nscd.
30660 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30662 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30663 to support sed >= 4.2.1-20-ga9bf076.
30664 * configure: Regenerated.
30666 2012-08-22 Roland McGrath <roland@hack.frob.com>
30668 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30669 Conditionalize whole body on [IREL].
30671 2012-08-22 Jeff Law <law@redhat.com>
30674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30675 if the family is PF_UNSPEC.
30677 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30679 * Makerules (lib-version): Rename from V.
30680 (install-lib-nosubdir): Change V to lib-version.
30682 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30685 * powerpc32/power6/wcschr.c: New file.
30686 * powerpc32/power6/wcscpy.c: New file.
30687 * powerpc32/power6/wcsrchr.c: New file.
30688 * powerpc64/power6/wcschr.c: New file.
30689 * powerpc64/power6/wcscpy.c: New file.
30690 * powerpc64/power6/wcsrchr.c: New file.
30692 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30694 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30695 (two_way_short_needle): Use it.
30696 * string/strstr.c (AVAILABLE1_USES_J): Define.
30697 * string/strcasestr.c: Likewise.
30699 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30701 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30704 * NEWS: Add an entry.
30705 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30706 define their defaults.
30707 (two_way_short_needle): Detect end-of-string on-the-fly.
30708 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30709 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30710 * string/bug-strcasestr1.c: New test.
30711 * string/Makefile: Run it.
30713 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30716 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30717 the first character.
30719 2012-08-21 Roland McGrath <roland@hack.frob.com>
30721 * csu/elf-init.c (__libc_csu_irel): Function removed.
30722 * csu/libc-start.c (apply_irel): New function.
30723 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30725 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30727 * sysdeps/unix/sysv/linux/kernel-features.h
30728 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30729 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30730 <kernel-features.h>.
30731 [__NR_fadvise64_64]: Make code unconditional.
30732 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30733 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30734 !__NR_fadvise64_64)]: Likewise.
30735 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30736 !__NR_fadvise64_64))]: Likewise.
30737 [__NR_fadvise64]: Make code unconditional.
30738 [!__NR_fadvise64]: Remove conditional code.
30739 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30740 <kernel-features.h>.
30741 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30743 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30746 not include <kernel-features.h>.
30747 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30749 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30751 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30752 include <kernel-features.h>.
30753 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30755 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30758 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30760 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30761 slight instruction rearrangements per scrollpipe analysis.
30762 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30764 2012-08-20 Roland McGrath <roland@hack.frob.com>
30766 * manual/syslog.texi (syslog; vsyslog, closelog):
30767 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30768 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30770 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30771 DSOCAPS to match condition on defining it.
30773 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30775 * sysdeps/unix/sysv/linux/kernel-features.h
30776 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30778 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30779 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30781 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30782 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30784 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30785 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30787 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30788 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30790 * sysdeps/unix/sysv/linux/kernel-features.h
30791 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30792 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30794 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30795 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30796 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30797 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30798 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30799 Make code unconditional.
30800 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30801 (__mmap64) [!__NR_mmap2]: Likewise.
30802 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30803 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30804 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30805 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30806 [__NR_mmap2]: Make code unconditional.
30807 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30808 (__mmap64) [!__NR_mmap2]: Likewise.
30810 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30812 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30814 2012-08-18 Andreas Jaeger <aj@suse.de>
30816 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30818 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30820 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30821 * include/unistd.h (__have_sock_cloexec): Likewise.
30822 (__have_pipe2): Likewise.
30823 (__have_dup3): Likewise.
30825 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30828 * include/unistd.h (__have_pipe2): Change define into an extern int.
30829 (__have_dup3): Likewise.
30830 * socket/have_sock_cloexec.c: Include fcntl.h.
30831 (__have_pipe2): New variable.
30832 (__have_dup3): Likewise.
30834 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30836 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30838 2012-08-17 Marek Polacek <polacek@redhat.com>
30840 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30841 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30843 2012-08-17 Roland McGrath <roland@hack.frob.com>
30845 * configure.in: Add AC_SUBST for sysheaders.
30846 * configure: Regenerated.
30847 * config.make.in (sysheaders): New substituted variable.
30849 * sysdeps/unix/mkfifo.c: Moved ...
30850 * sysdeps/posix/mkfifo.c: ... here.
30851 * sysdeps/unix/mkfifoat.c: Moved ...
30852 * sysdeps/posix/mkfifoat.c: ... here.
30854 * sysdeps/unix/utime.c: Moved ...
30855 * sysdeps/posix/utime.c: ... here.
30857 * sysdeps/unix/time.c: Moved ...
30858 * sysdeps/posix/time.c: ... here.
30859 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30860 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30862 * sysdeps/unix/nice.c: Moved ...
30863 * sysdeps/posix/nice.c: ... here.
30865 * sysdeps/unix/alarm.c: Moved ...
30866 * sysdeps/posix/alarm.c: ... here.
30868 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30870 2012-08-17 Jeff Law <law@redhat.com>
30872 * intl/Makefile (codeset_mo): New variable.
30873 ($(codeset_mo)): New target.
30874 (tst-codeset.out): Depend on that. Remove explicit rule.
30875 (tst-gettext3.out, tst-gettext5.out): Likewise.
30876 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30877 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30878 * intl/tst-codeset.sh: Remove.
30879 * intl/tst-gettext3.sh: Likewise.
30880 * intl/tst-gettext5.sh: Likewise.
30882 2012-08-17 Roland McGrath <roland@hack.frob.com>
30884 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30885 * sysdeps/unix/syscalls.list: ... here.
30887 * sysdeps/posix/getaddrinfo.c
30888 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30889 (gaiconf_init, gaiconf_reload): Use them.
30890 [!_STATBUF_ST_NSEC]
30891 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30892 Define using time_t rather than struct timespec.
30894 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30895 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30897 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30899 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30900 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30903 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30904 __libc_cleanup_push argument.
30906 * bits/param.h: New file.
30907 * misc/sys/param.h: New file.
30908 * include/sys/param.h: New file.
30909 * misc/Makefile (headers): Add bits/param.h.
30910 * sysdeps/generic/sys/param.h: File removed.
30911 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30912 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30913 * sysdeps/mach/hurd/bits/param.h: New file.
30914 * sysdeps/mach/hurd/sys/param.h: File removed.
30916 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30919 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30921 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30922 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30925 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30926 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30927 rather than -D_IO_MTSAFE_IO conditionally.
30928 * stdio-common/Makefile (CPPFLAGS): Likewise.
30929 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30930 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30931 Use $(libio-mtsafe).
30932 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30933 of -D_IO_MTSAFE_IO.
30934 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30935 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30936 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30937 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30938 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30939 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30940 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30941 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30942 (CFLAGS-fread_u_chk.c): Likewise.
30943 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30944 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30945 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30946 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30947 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30948 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30949 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30950 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30951 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30953 * libio/Makefile: Test [$(libc-reentrant) = yes]
30954 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30957 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30958 * sysdeps/pthread/configure: File removed.
30959 * sysdeps/pthread/Makeconfig: New file.
30960 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30961 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30963 2012-08-16 Gary Benson <gbenson@redhat.com>
30965 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30966 unmapping the first object in a namespace.
30968 2012-08-16 Roland McGrath <roland@hack.frob.com>
30970 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30971 (__internal_setnetgrent): ... this. Add internal_function to
30972 definition. Add libc_hidden_def.
30973 (setnetgrent): Update caller.
30974 (internal_endnetgrent): Renamed to ...
30975 (__internal_endnetgrent): ... this. Add internal_function to
30976 definition. Add libc_hidden_def.
30977 (endnetgrent): Update caller.
30978 (internal_getnetgrent_r): Renamed to ...
30979 (__internal_getnetgrent_r): ... this. Add internal_function to
30980 definition. Add libc_hidden_def.
30981 (__getnetgrent_r): Update caller.
30982 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30984 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30986 * stdlib/longlong.h: Update from GCC.
30988 2012-08-16 Roland McGrath <roland@hack.frob.com>
30990 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30991 on _QL, which is set by umul_ppmm but never used.
30992 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30993 variables, which are set by GMP macros but never used.
30994 * stdio-common/_itowa.c (_itowa): Likewise.
30995 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30996 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30998 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31000 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31001 struct La_sh_regs is not constant.
31002 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31003 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31004 and struct La_sparc64_regs are not constant.
31006 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31008 * sysdeps/unix/sysv/linux/kernel-features.h
31009 (__ASSUME_POSIX_TIMERS): Remove.
31010 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31011 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31012 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31013 Make code unconditional.
31014 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31015 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31016 Make code unconditional.
31017 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31018 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31019 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31020 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31021 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31022 Make code unconditional.
31023 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31024 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31025 (__libc_missing_posix_timers): Remove.
31027 2012-08-15 Roland McGrath <roland@hack.frob.com>
31029 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31030 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31032 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31034 * elf/dl-sym.c: Include <stdlib.h>.
31036 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31037 constants, which avoids warnings in 32-bit builds.
31039 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31040 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31042 * misc/lseek.c: File moved to ...
31043 * io/lseek.c: ... here.
31045 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31047 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31048 shifting LEN more than 31 bits at once.
31050 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31053 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31054 segmentation fault for a case of two empty input strings.
31055 * string/test-strncasecmp.c (check1): Renamed to...
31056 (bz12205): ...this.
31057 (bz14195): Add new testcase for two empty input strings and N > 0.
31058 (test_main): Call new testcase, adapt for renamed function.
31060 2012-08-15 Andreas Jaeger <aj@suse.de>
31063 * crypt/md5test2.c: New test, based on test supplied by Serge
31064 Belyshev <belyshev@depni.sinp.msu.ru>.
31065 * crypt/Makefile (xtests): Add md5test-giant..
31066 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31068 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31071 * crypt/md5.c (md5_process_block): Don't assume the buffer
31072 length is less than 2**32.
31073 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31074 length is less than 2**64.
31076 2012-08-15 Roland McGrath <roland@hack.frob.com>
31078 * string/str-two-way.h: Include <sys/param.h>.
31079 (MAX): Macro removed.
31081 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31082 Move #define and #undef of memmove to just before and after
31083 including <string.h>.
31085 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31086 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31087 and after including <string.h>. Move declarations of
31088 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31089 to before #include "string/memmove.c".
31091 * include/dirent.h: Declare __getdirentries.
31093 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31094 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31096 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31098 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31099 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31100 * sysdeps/i386/configure: Regenerated.
31101 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31102 STABS_CURRENT_FILE, and STABS_FUN.
31103 (END): Remove call to STABS_FUN_END.
31104 (STABS_CURRENT_FILE1): Delete.
31105 (STABS_CURRENT_FILE): Likewise.
31106 (STABS_FUN): Likewise.
31107 (STABS_FUN_END): Likewise.
31108 (STABS_FUN2): Likewise.
31109 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31110 * sysdeps/x86_64/configure: Regenerated.
31112 2012-08-14 Roland McGrath <roland@hack.frob.com>
31114 * elf/dl-open.c: Include <atomic.h>.
31115 * elf/dl-lookup.c: Likewise.
31117 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31119 * sysdeps/unix/sysv/linux/kernel-features.h
31120 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31121 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31123 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31125 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31126 condition on __ASSUME_CLONE_THREAD_FLAGS.
31128 2012-08-14 Andreas Jaeger <aj@suse.de>
31130 * sysdeps/i386/fpu/libm-test-ulps: Update.
31132 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31134 * include/atomic.h (atomic_exchange_and_add): Split into ...
31135 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31138 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31142 2012-08-13 Jeff Law <law@redhat.com>
31144 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31145 null byte in the output string.
31147 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31149 * sysdeps/unix/sysv/linux/kernel-features.h
31150 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31151 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31152 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31153 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31154 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31155 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31156 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31158 2012-08-09 Jeff Law <law@redhat.com>
31161 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31162 When avoid_arena is set, don't retry in the that arena. Pick the
31163 next one, whatever it might be.
31164 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31165 (arena_lock): Pass in new parameter to arena_get2.
31166 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31168 (__libc_malloc): Unify retrying after main arena failure with
31169 __libc_memalign version.
31170 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31172 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31175 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31176 to __redirect_strstr.
31177 (__strstr_sse42): Use typeof __redirect_strstr.
31178 (__strstr_ia32): Likewise.
31179 (__libc_strstr): New prototype.
31180 (strstr): Renamed to ...
31181 (__libc_strstr): This.
31182 (strstr): New strong alias of __libc_strstr.
31183 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31184 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31187 (__libc_time): New prototype.
31188 (time_ifunc): Replace time with __libc_time.
31189 (time): New strong alias and hidden definition of __libc_time.
31190 (__GI_time): Remove strong alias.
31191 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31192 Include <stddef.h>.
31193 (memmove): Redefined to __redirect_memmove.
31194 (__memmove_sse2): Use typeof __redirect_memmove.
31195 (__memmove_ssse3): Likewise.
31196 (__memmove_ssse3_back): Likewise.
31197 (__libc_memmove): New prototype.
31198 (memmove): Renamed to ...
31199 (__libc_memmove): This.
31200 (memmove): New strong alias of __libc_memmove.
31202 2012-08-08 Mark Salter <msalter@redhat.com>
31205 (R_MN10300_TLS_GD): Define.
31206 (R_MN10300_TLS_LD): Likewise.
31207 (R_MN10300_TLS_LDO): Likewise.
31208 (R_MN10300_TLS_GOTIE): Likewise.
31209 (R_MN10300_TLS_IE): Likewise.
31210 (R_MN10300_TLS_LE): Likewise.
31211 (R_MN10300_TLS_DTPMOD): Likewise.
31212 (R_MN10300_TLS_DTPOFF): Likewise.
31213 (R_MN10300_TLS_TPOFF): Likewise.
31214 (R_MN10300_SYM_DIFF): Likewise.
31215 (R_MN10300_ALIGN): Likewise.
31216 (R_MN10300_NUM): Update.
31218 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31220 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31223 2012-08-08 Roland McGrath <roland@hack.frob.com>
31225 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31227 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31228 sysdeps/unix -> sysdeps/posix move.
31229 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31231 2012-08-07 Allan McRae <allan@archlinux.org>
31234 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31235 (SUNOS_CPP): Likewise.
31236 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31238 (open_input): Call CPP using execvp.
31240 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31242 * sysdeps/unix/sysv/linux/kernel-features.h
31243 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31244 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31245 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31246 (__ASSUME_WAITID_SYSCALL): Likewise.
31247 * sysdeps/unix/sysv/linux/dl-execstack.c
31248 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31249 code unconditional.
31250 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31252 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31253 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31254 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31256 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31258 [__ASSUME_WAITID_SYSCALL]: Likewise.
31259 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31261 2012-08-07 Roland McGrath <roland@hack.frob.com>
31263 * sysdeps/unix/closedir.c: Renamed to ...
31264 * sysdeps/posix/closedir.c: ... here.
31265 * sysdeps/unix/dirfd.c: Renamed to ...
31266 * sysdeps/posix/dirfd.c: ... here.
31267 * sysdeps/unix/dirstream.h: Renamed to ...
31268 * sysdeps/posix/dirstream.h: ... here.
31269 * sysdeps/unix/fdopendir.c: Renamed to ...
31270 * sysdeps/posix/fdopendir.c: ... here.
31271 * sysdeps/unix/opendir.c: Renamed to ...
31272 * sysdeps/posix/opendir.c: ... here.
31273 * sysdeps/unix/readdir.c: Renamed to ...
31274 * sysdeps/posix/readdir.c: ... here.
31275 * sysdeps/unix/readdir_r.c: Renamed to ...
31276 * sysdeps/posix/readdir_r.c: ... here.
31277 * sysdeps/unix/rewinddir.c: Renamed to ...
31278 * sysdeps/posix/rewinddir.c: ... here.
31279 * sysdeps/unix/seekdir.c: Renamed to ...
31280 * sysdeps/posix/seekdir.c: ... here.
31281 * sysdeps/unix/telldir.c: Renamed to ...
31282 * sysdeps/posix/telldir.c: ... here.
31283 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31284 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31285 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31286 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31288 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31289 * bits/fcntl.h: ... here.
31291 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31293 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31294 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31295 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31296 (struct flock): Move l_start, l_len to the beginning.
31297 Use __pid_t for l_pid.
31298 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31299 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31300 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31301 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31302 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31303 [__USE_LARGEFILE64] (struct flock64): New type.
31304 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31306 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31307 * bits/dirent.h: ... here.
31309 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31310 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31312 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31315 Change from 2.6.0 to 2.6.16.
31316 * sysdeps/unix/sysv/linux/configure: Regenerated.
31317 * sysdeps/unix/sysv/linux/kernel-features.h
31318 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31319 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31321 (__ASSUME_UTIMES): Likewise.
31322 (__ASSUME_CLONE_STOPPED): Remove.
31323 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31324 architectures, not kernel version.
31325 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31326 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31327 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31328 (__ASSUME_WAITID_SYSCALL): Likewise.
31329 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31330 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31331 * README: State 2.6.16 as minimum Linux kernel version. Do not
31332 refer to older versions.
31334 2012-08-06 Roland McGrath <roland@hack.frob.com>
31336 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31337 Define alphasort64 as an alias.
31338 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31339 Define versionsort64 as an alias.
31340 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31341 Define scandir64 as an alias.
31342 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31343 Define scandirat64 as an alias.
31344 * dirent/alphasort64.c (alphasort64):
31345 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31346 * dirent/versionsort64.c: Likewise.
31347 * dirent/scandir64.c: Likewise.
31348 * dirent/scandirat64.c: Likewise.
31349 * sysdeps/wordsize-64/alphasort.c: File removed.
31350 * sysdeps/wordsize-64/alphasort64.c: File removed.
31351 * sysdeps/wordsize-64/scandir.c: File removed.
31352 * sysdeps/wordsize-64/scandir64.c: File removed.
31353 * sysdeps/wordsize-64/scandirat.c: File removed.
31354 * sysdeps/wordsize-64/scandirat64.c: File removed.
31355 * sysdeps/wordsize-64/versionsort.c: File removed.
31356 * sysdeps/wordsize-64/versionsort64.c: File removed.
31357 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31358 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31359 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31360 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31361 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31362 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31363 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31364 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31366 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31368 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31370 [defined __arch64__ || defined __sparcv9]
31371 (__INO_T_MATCHES_INO64_T): New macro.
31372 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31373 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31374 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31375 * sysdeps/unix/sysv/linux/bits/dirent.h
31376 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31377 (_DIRENT_MATCHES_DIRENT64): New macro.
31379 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31380 Define lockf64 as an alias.
31381 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31382 Define fseeko64 as an alias.
31383 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31384 Define ftello64 as an alias.
31385 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31386 Define _IO_fgetpos64 and fgetpos64 as aliases.
31387 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31388 Define _IO_fsetpos64 and fsetpos64 as aliases.
31389 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31390 Conditionalize body on this.
31391 * libio/fseeko64.c: Likewise.
31392 * libio/ftello64.c: Likewise.
31393 * libio/iofgetpos64.c: Likewise.
31394 * libio/iofsetpos64.c: Likewise.
31395 * sysdeps/wordsize-64/lockf.c: File removed.
31396 * sysdeps/wordsize-64/lockf64.c: File removed.
31397 * sysdeps/wordsize-64/fseeko.c: File removed.
31398 * sysdeps/wordsize-64/fseeko64.c: File removed.
31399 * sysdeps/wordsize-64/ftello.c: File removed.
31400 * sysdeps/wordsize-64/ftello64.c: File removed.
31401 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31402 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31403 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31404 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31405 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31406 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31407 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31408 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31409 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31410 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31411 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31412 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31413 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31414 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31416 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31417 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31418 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31419 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31420 [defined __arch64__ || defined __sparcv9]
31421 (__OFF_T_MATCHES_OFF64_T): New macro.
31422 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31423 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31425 (__OFF_T_MATCHES_OFF64_T): New macro.
31427 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31429 * stdlib/secure-getenv.c (__secure_getenv): Replace
31430 GLIBC_2_16 with GLIBC_2_17.
31432 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31434 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31435 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31437 2012-08-03 David S. Miller <davem@davemloft.net>
31439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31441 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31443 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31445 (__ASSUME_CORRECT_SI_PID): Likewise.
31446 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31447 (__ASSUME_TMPFS_NAME): Likewise.
31448 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31449 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31450 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31451 (HAVE_AUX_SECURE): Make definition unconditional.
31452 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31453 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31455 2012-08-03 Roland McGrath <roland@hack.frob.com>
31457 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31458 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31459 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31460 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31461 __eloop_threshold instead of SYMLOOP_MAX.
31463 * sysdeps/generic/eloop-threshold.h: New file.
31464 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31466 * elf/chroot_canon.c (chroot_canon): Likewise.
31468 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31471 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31472 Change to 2.6.0 everywhere.
31473 * sysdeps/unix/sysv/linux/configure: Regenerated.
31474 * sysdeps/unix/sysv/linux/kernel-features.h
31475 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31476 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31478 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31479 (__ASSUME_FUTEX_REQUEUE): Remove.
31480 (__ASSUME_STATFS64): Define unconditionally.
31481 (__ASSUME_AT_SECURE): Likewise.
31482 (__ASSUME_CORRECT_SI_PID): Likewise.
31483 (__ASSUME_TGKILL): Define without depending on kernel version for
31485 (__ASSUME_UTIMES): Likewise.
31486 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31488 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31489 (__ASSUME_TMPFS_NAME): Likewise.
31490 * README: Update reference to Linux kernel versions.
31492 2012-08-02 Marek Polacek <polacek@redhat.com>
31495 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31496 libc_cv_asm_type_prefix with %.
31497 * configure: Regenerated.
31498 * include/libc-symbols.h: Remove comment about
31499 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31500 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31501 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31502 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31503 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31504 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31505 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31506 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31507 * elf/tst-unique2mod1.c: Likewise.
31508 * elf/tst-unique1mod2.c: Likewise.
31509 * elf/tst-unique1mod1.c: Likewise.
31510 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31511 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31512 Replace ASM_TYPE_DIRECTIVE with .type.
31513 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31514 * sysdeps/i386/sysdep.h: Likewise.
31515 * sysdeps/x86_64/sysdep.h: Likewise.
31516 * sysdeps/sh/sysdep.h: Likewise.
31517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31518 Do not define ASM_TYPE_DIRECTIVE.
31519 * sysdeps/powerpc/sysdep.h: Likewise.
31520 * sysdeps/powerpc/powerpc32/sysdep.h:
31521 Replace ASM_TYPE_DIRECTIVE with .type.
31522 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31523 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31524 * sysdeps/i386/fpu/e_powf.S: Likewise.
31525 * sysdeps/i386/fpu/e_expl.S: Likewise.
31526 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31527 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31528 * sysdeps/i386/fpu/e_pow.S: Likewise.
31529 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31530 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31531 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31532 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31533 * sysdeps/i386/fpu/e_log2.S: Likewise.
31534 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31535 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31536 * sysdeps/i386/fpu/e_powl.S: Likewise.
31537 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31538 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31539 * sysdeps/i386/fpu/e_logl.S: Likewise.
31540 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31541 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31542 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31543 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31544 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31545 * sysdeps/i386/fpu/e_log.S: Likewise.
31546 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31547 * sysdeps/i386/fpu/e_logf.S: Likewise.
31548 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31549 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31550 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31551 * sysdeps/i386/fpu/e_log10.S: Likewise.
31552 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31553 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31554 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31555 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31556 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31557 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31558 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31559 * sysdeps/i386/i686/strtok.S: Likewise.
31560 * sysdeps/i386/i386-mcount.S: Likewise.
31561 * sysdeps/i386/strtok.S: Likewise.
31562 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31563 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31564 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31565 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31566 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31567 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31568 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31569 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31570 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31571 * sysdeps/x86_64/_mcount.S: Likewise.
31572 * sysdeps/x86_64/strtok.S: Likewise.
31573 * sysdeps/sh/_mcount.S: Likewise.
31575 2012-08-01 Roland McGrath <roland@hack.frob.com>
31577 * libio/iofopen.c: Include <fcntl.h>.
31578 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31579 (_IO_fopen64, fopen64): Define as aliases.
31580 * libio/iofopen64.c: Include <fcntl.h>.
31581 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31582 Conditionalize body on this.
31583 * sysdeps/wordsize-64/iofopen.c: File removed.
31584 * sysdeps/wordsize-64/iofopen64.c: File removed.
31586 2012-08-01 Marek Polacek <polacek@redhat.com>
31588 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31589 Use dlfcn directly instead of a variable.
31590 (binfmt-subdir): Do not define.
31593 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31595 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31596 Remove all definitions.
31597 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31598 <kernel-features.h>.
31599 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31600 (miss_F_GETOWN_EX): Remove all definitions.
31601 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31603 [!__ASSUME_FCNTL64]: Remove conditional code.
31604 [__ASSUME_FCNTL64]: Make code unconditional.
31605 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31606 <kernel-features.h>.
31607 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31608 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31609 (lockf64) [__NR_fcntl64]: Make code unconditional.
31610 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31612 * sysdeps/unix/sysv/linux/kernel-features.h
31613 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31614 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31615 Make code unconditional.
31616 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31617 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31619 [__NR_vfork]: Make code unconditional.
31620 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31621 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31623 [__NR_vfork]: Make code unconditional.
31624 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31625 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31627 2012-08-01 Roland McGrath <roland@hack.frob.com>
31629 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31630 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31632 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31633 Define mkstemp64 as an alias.
31634 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31635 Define mkstemps64 as an alias.
31636 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31637 Define mkostemp64 as an alias.
31638 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31639 Define mkostemps64 as an alias.
31640 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31641 Conditionalize body on this.
31642 * misc/mkostemp64.c: Likewise.
31643 * misc/mkostemps64.c: Likewise.
31644 * misc/mkstemps64.c: Likewise.
31645 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31646 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31647 * sysdeps/wordsize-64/mkostemp.c: File removed.
31648 * sysdeps/wordsize-64/mkstemp.c: File removed.
31649 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31650 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31651 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31652 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31655 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31656 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31657 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31658 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31660 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31661 compat_symbol macros from <shlib-compat.h> rather than the underlying
31662 default_symbol_version and symbol_version macros, so that DEFAULT
31663 lines in shlib-versions are respected.
31664 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31666 2012-08-01 Florian Weimer <fweimer@redhat.com>
31668 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31669 Declare with warn_unused_result.
31670 (setgid, setregid, setegid, setresgid): Likewise.
31671 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31673 * WUR-REPORT: Remove set*id functions.
31675 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31677 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31679 2012-07-31 Roland McGrath <roland@hack.frob.com>
31682 * include/sys/socket.h (__libc_accept, __libc_accept4):
31683 Add attribute_hidden.
31684 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31686 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31688 * inet/getnetgrent_r.c (setup): Likewise.
31690 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31692 2012-07-31 David S. Miller <davem@davemloft.net>
31694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31696 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31699 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31700 value between 1.0 and 2.0 and smaller part has absolute value less
31702 * math/s_clog10.c (__clog10): Likewise.
31703 * math/s_clog10f.c (__clog10f): Likewise.
31704 * math/s_clog10l.c (__clog10l): Likewise.
31705 * math/s_clogf.c (__clogf): Likewise.
31706 * math/s_clogl.c (__clogl): Likewise.
31707 * math/libm-test.inc (clog_test): Add more tests.
31708 (clog10_test): Likewise.
31709 * sysdeps/i386/fpu/libm-test-ulps: Update.
31710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31712 2012-07-31 Florian Weimer <fweimer@redhat.com>
31714 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31715 Exit with zero in case no suitable GID is found, and write a
31716 message to standard error.
31718 2012-07-30 Roland McGrath <roland@hack.frob.com>
31720 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31722 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31723 (MAXPATHLEN): Removed.
31724 (NOGROUP, NODEV): New macros.
31725 (setbit, clrbit, isset, isclr): New macros.
31726 (howmany, roundup, powerof2): New macros.
31727 (DEV_BSIZE): New macro.
31729 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31730 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31732 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31733 definition on [!__NO_LONG_DOUBLE_MATH].
31735 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31736 PTR_MANGLE and PTR_DEMANGLE.
31738 * socket/accept4.c (accept4): Rename to __libc_accept4.
31739 Define accept4 as a weak alias.
31741 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31742 on [_DIRENT_HAVE_D_TYPE].
31743 * io/ftw.c (ftw_dir): Likewise.
31745 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31747 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31749 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31750 Use the BSD numbers rather than the arbitrary ones we had.
31751 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31752 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31753 (SIGXCPU, SIGXFSZ): New macros.
31756 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31757 initializer on [_LIBC_REENTRANT].
31759 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31760 definitions inside [_POSIX_MAPPED_FILES].
31762 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31764 * dirent/opendir.c: Include <fcntl.h>.
31766 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31767 (__libc_getspecific): Likewise.
31768 (__libc_key_create): Likewise.
31770 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31771 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31772 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31773 (tmpfile64): Define as alias.
31774 * sysdeps/wordsize-64/tmpfile.c: File removed.
31775 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31776 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31777 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31779 * stdio-common/vfscanf.c: Include <stdbool.h>.
31780 * nss/makedb.c: Likewise.
31781 * stdio-common/_i18n_number.h: Likewise.
31782 * argp/argp-help.c: Likewise.
31783 * posix/wordexp.c: Likewise.
31784 * sysdeps/posix/spawni.c: Likewise.
31785 * nss/nss_files/files-initgroups.c: Likewise.
31786 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31787 * nss/nss_files/files-initgroups.c: Likewise.
31788 * nss/nss_db/db-netgrp.c: Likewise.
31789 * nss/nss_db/db-initgroups.c: Likewise.
31790 * io/fchmodat.c: Include <sys/stat.h>.
31792 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31793 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31795 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31798 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31799 Add multiple inclusion protection.
31801 2012-07-27 David S. Miller <davem@davemloft.net>
31803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31805 2012-07-27 Gary Benson <gbenson@redhat.com>
31808 * elf/rtld.c: Include <stap-probe.h>.
31809 (dl_main): Added static probes "init_start" and "init_complete".
31810 * elf/dl-load.c: Include <stap-probe.h>.
31811 (lose): Take new parameter "nsid".
31812 Added static probe "map_failed".
31813 (_dl_map_object_from_fd): Pass namespace id to lose.
31814 Added static probe "map_start".
31815 (open_verify): Pass namespace id to lose.
31816 * elf/dl-open.c: Include <stap-probe.h>.
31817 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31818 and "reloc_complete".
31819 * elf/dl-close.c: Include <stap-probe.h>.
31820 (_dl_close_worker): Added static probes "unmap_start" and
31822 * elf/rtld-debugger-interface.txt: New file documenting the above.
31824 2012-07-26 Roland McGrath <roland@hack.frob.com>
31826 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31827 rather than a string variable.
31828 * sunrpc/rpc_main.c (h_output): Likewise.
31829 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31831 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31833 * inet/check_native.c: New file.
31835 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31838 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31839 if larger part has absolute value 1.0.
31840 * math/s_clog10.c (__clog10): Likewise.
31841 * math/s_clog10f.c (__clog10f): Likewise.
31842 * math/s_clog10l.c (__clog10l): Likewise.
31843 * math/s_clogf.c (__clogf): Likewise.
31844 * math/s_clogl.c (__clogl): Likewise.
31845 * math/libm-test.inc (clog_test): Add more tests.
31846 (clog10_test): Likewise.
31847 * sysdeps/i386/fpu/libm-test-ulps: Update.
31848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31850 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31851 (pltexit): Likewise.
31852 (La_regs): Likewise.
31853 (La_retval): Likewise.
31854 (int_retval): Likewise.
31855 Update #error for removed macros to refer only to definitions in
31857 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31859 (pltexit): Likewise.
31860 (La_regs): Likewise.
31861 (La_retval): Likewise.
31862 (int_retval): Likewise.
31863 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31865 (pltexit): Likewise.
31866 (La_regs): Likewise.
31867 (La_retval): Likewise.
31868 (int_retval): Likewise.
31869 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31871 (pltexit): Likewise.
31872 (La_regs): Likewise.
31873 (La_retval): Likewise.
31874 (int_retval): Likewise.
31875 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31877 (pltexit): Likewise.
31878 (La_regs): Likewise.
31879 (La_retval): Likewise.
31880 (int_retval): Likewise.
31881 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31883 (pltexit): Likewise.
31884 (La_regs): Likewise.
31885 (La_retval): Likewise.
31886 (int_retval): Likewise.
31887 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31889 (pltexit): Likewise.
31890 (La_regs): Likewise.
31891 (La_retval): Likewise.
31892 (int_retval): Likewise.
31893 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31894 macro definitions in tst-audit.h.
31895 * sysdeps/i386/tst-audit.h: New file.
31896 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31897 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31898 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31899 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31900 * sysdeps/sh/tst-audit.h: Likewise.
31901 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31902 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31903 * sysdeps/x86_64/tst-audit.h: Likewise.
31905 2012-07-26 Andreas Jaeger <aj@suse.de>
31907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31910 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31911 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31912 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31914 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31915 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31916 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31918 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31921 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31923 (si_call_addr, si_syscall, si_arch): Define new macro.
31924 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31926 (si_call_addr, si_syscall, si_arch): Define new marcro.
31927 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31929 (si_call_addr, si_syscall, si_arch): Define new macro.
31930 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31932 (si_call_addr, si_syscall, si_arch): Define new macro.
31934 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31937 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31938 Change to 2.4.21 where previously 2.4.1.
31939 * sysdeps/unix/sysv/linux/configure: Regenerated.
31940 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31941 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31942 Linux kernel version.
31943 (__ASSUME_STD_AUXV): Remove.
31944 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31946 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31947 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31948 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31949 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31950 (__ASSUME_NETLINK_SUPPORT): Likewise.
31951 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31952 (__no_netlink_support): Remove conditional definition.
31953 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31955 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31956 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31957 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31958 (if_nameindex_ioctl): Remove.
31959 (if_nameindex_netlink): Do not handle __no_netlink_support.
31960 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31962 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31963 Remove conditional code.
31964 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31966 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31968 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31969 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31970 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31972 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31973 [!__ASSUME_STD_AUXV]: Remove conditional code.
31974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31975 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31976 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31978 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31979 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31981 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31983 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31984 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31986 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31988 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31991 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31994 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31995 code unconditional.
31996 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31998 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32000 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32003 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32005 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32008 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32009 code unconditional.
32010 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32012 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32014 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32017 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32018 code unconditional.
32019 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32021 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32023 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32026 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32028 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32029 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32030 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32031 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32032 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32033 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32034 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32035 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32036 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32037 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32038 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32039 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32040 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32041 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32042 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32043 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32044 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32045 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32046 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32048 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32049 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32050 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32052 2012-07-25 Florian Weimer <fweimer@redhat.com>
32054 * Versions.def: Add GLIBC_2.17.
32055 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32056 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32057 Introduce __libc_secure_getenv.
32058 * stdlib/Versions (2.17): Add secure_getenv
32059 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32060 * stdlib/secure-getenv.c: Rename __secure_getenv to
32061 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32062 symbol __secure_getenv for GLIBC_2.0.
32063 * stdlib/tst-secure-getenv.c: New.
32064 * stdlib/Makefile (tests): Add testcase.
32065 * manual/startup.texi (Environment Access): Document
32067 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32068 __libc_secure_getenv.
32069 * inet/ruserpass.c (ruserpass): Likewise.
32070 * malloc/mtrace.c (mtrace): Likewise.
32071 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32072 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32073 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32074 * sysdeps/posix/tempname.c: Likewise. Evaluate
32075 HAVE_SECURE_GETENV.
32076 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32077 __secure_getenv to __libc_secure_getenv.
32078 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32085 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32091 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32093 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32094 (struct La_i86_retval): Likewise.
32095 (struct La_x86_64_regs): Likewise.
32096 (struct La_x86_64_retval): Likewise.
32097 (struct La_x32_regs): Likewise.
32098 (struct La_x32_retval): Likewise.
32099 (struct La_ppc32_regs): Likewise.
32100 (struct La_ppc32_retval): Likewise.
32101 (struct La_ppc64_regs): Likewise.
32102 (struct La_ppc64_retval): Likewise.
32103 (struct La_sh_regs): Likewise.
32104 (struct La_sh_retval): Likewise.
32105 (struct La_s390_32_regs): Likewise.
32106 (struct La_s390_32_retval): Likewise.
32107 (struct La_s390_64_regs): Likewise.
32108 (struct La_s390_64_retval): Likewise.
32109 (struct La_sparc32_regs): Likewise.
32110 (struct La_sparc32_retval): Likewise.
32111 (struct La_sparc64_regs): Likewise.
32112 (struct La_sparc64_retval): Likewise.
32113 (struct audit_ifaces): Remove architecture-specific pltenter and
32115 * sysdeps/i386/ldsodefs.h: New file.
32116 * sysdeps/powerpc/ldsodefs.h: Likewise.
32117 * sysdeps/s390/ldsodefs.h: Likewise.
32118 * sysdeps/sh/ldsodefs.h: Likewise.
32119 * sysdeps/sparc/ldsodefs.h: Likewise.
32120 * sysdeps/x86_64/ldsodefs.h: Likewise.
32122 2012-07-25 Marek Polacek <polacek@redhat.com>
32125 * math/libm-test.inc (yn_test): Add another test.
32126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32127 to ERANGE when the result is +-Inf.
32128 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32129 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32130 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32131 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32133 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32135 * conform/data/time.h-data (NULL): Use macro-constant. Require
32137 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32139 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32141 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32143 * configure.in <sysdeps resolving>: Correct printing
32145 * configure: Regenerate.
32147 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32149 * math/w_ilogb.c: Include <limits.h>.
32150 * math/w_ilogbl.c: Likewise.
32152 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32154 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32155 va_copy. Document allowing for unavailable va_copy only as
32156 pre-C99 compatibility.
32157 * manual/string.texi (Copying and Concatenation): Use va_copy
32158 instead of __va_copy in concat example.
32160 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32162 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32163 (__sendto): Use create_address_port. Initialize APORT and deallocate
32166 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32167 with O_NOLINK passed to __file_name_lookup.
32169 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32170 with O_NOLINK passed to __file_name_lookup.
32172 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32173 negative N or less than NGIDS.
32175 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32176 type to string_t. Set ERANGE as errno and return it if NAME is not big
32177 enough. Use memcpy instead of strncpy.
32179 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32181 * elf/Makefile (check-data): Remove.
32182 (localplt.data): New vpath directive.
32183 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32184 instead of $(check-data).
32185 * scripts/data/localplt-generic.data: Move to ...
32186 * sysdeps/generic/localplt.data: ... here.
32187 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32188 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32189 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32192 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32195 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32198 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32201 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32204 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32208 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32210 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32211 PPC32 and PPC64 files.
32212 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32213 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32215 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32217 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32218 __makecontext_ret to ...
32219 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32220 ... here and call exit if uc_link is NULL. New file.
32221 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32222 __makecontext_ret.S.
32223 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32224 __makecontext_ret to ...
32225 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32226 ... here and call exit if uc_link is NULL. New file.
32227 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32228 __makecontext_ret.S.
32230 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32232 * elf/elf.h (R_390_IRELATIVE): New definition.
32233 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32234 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32235 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32236 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32237 (elf_machine_lazy_rel): Likewise.
32238 * sysdeps/s390/dl-irel.h: New file.
32239 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32240 * sysdeps/s390/s390-64/memset.S: New asm code.
32241 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32242 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32243 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32244 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32245 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32246 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32247 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32248 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32249 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32250 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32251 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32252 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32253 * sysdeps/s390/s390-32/memset.S: New asm code.
32254 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32256 2012-07-17 Marek Polacek <polacek@redhat.com>
32259 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32260 * sysdeps/s390/s390-64/configure.in: Likewise.
32261 * sysdeps/sparc/configure.in: Likewise.
32262 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32263 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32264 * sysdeps/i386/configure.in: Likewise.
32265 * sysdeps/x86_64/configure.in: Likewise.
32266 * sysdeps/sh/configure.in: Likewise.
32267 * sysdeps/s390/s390-32/configure: Regenerated.
32268 * sysdeps/s390/s390-64/configure: Likewise.
32269 * sysdeps/x86_64/configure: Likewise.
32270 * sysdeps/sh/configure: Likewise.
32271 * sysdeps/powerpc/powerpc64/configure: Likewise.
32272 * sysdeps/powerpc/powerpc32/configure: Likewise.
32273 * sysdeps/sparc/configure: Likwise.
32274 * sysdeps/i386/configure: Likewise.
32276 * elf/dl-open.c: Comment fixes.
32278 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32280 * Makefile [CXX] (check-data): Remove.
32281 [CXX] (c++-types.data): New vpath directive.
32282 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32283 vpath. Do not allow for C++ type data being missing.
32284 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32285 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32286 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32287 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32288 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32289 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32290 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32293 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32296 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32299 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32302 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32305 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32308 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32311 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32314 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32315 definitions to architecture-specific files.
32316 (TLS_IE): Likewise.
32317 (TLS_LD): Likewise.
32318 (TLS_GD): Likewise.
32319 * sysdeps/i386/tls-macros.h: New file.
32320 * sysdeps/powerpc/tls-macros.h: Likewise.
32321 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32322 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32323 * sysdeps/sh/tls-macros.h: Likewise.
32324 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32325 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32326 * sysdeps/x86_64/tls-macros.h: Likewise.
32328 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32330 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32331 zero value for regular exit case.
32333 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32334 (__start_context): Preserve zero value for regular exit case.
32336 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32337 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32339 * manual/setjmp.texi (setcontext): Clarify normal process
32340 termination when uc_link is the null pointer.
32341 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32344 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32346 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32347 preprocessor. Test for each exception mask separately.
32349 2012-07-16 Andreas Jaeger <aj@suse.de>
32351 * po/ru.po: Update from translation team.
32353 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32355 * conform/data/string.h-data (NULL): Use macro-constant. Require
32357 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32358 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32359 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32360 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32363 2012-07-13 Andreas Jaeger <aj@suse.de>
32365 * po/fr.po: Update from translation team.
32367 2012-07-12 Marek Polacek <polacek@redhat.com>
32370 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32371 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32374 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32377 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32378 Change to 2.4.1 where previously 2.4.0.
32379 * sysdeps/unix/sysv/linux/configure: Regenerated.
32380 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32381 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32383 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32384 (__ASSUME_AT_CLKTCK): Remove.
32385 (__ASSUME_AT_PAGESIZE): Likewise.
32386 (__ASSUME_AT_XID): Likewise.
32387 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32388 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32389 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32391 (HAVE_AUX_PAGESIZE): Likewise.
32392 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32393 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32394 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32396 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32400 the temporary buffer used to invoke __gethostbyname2_r,
32401 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32402 host_data / struct gaih_addrtuple.
32403 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32404 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32405 header file nss/nsswitch.h.
32406 * nss/nsswitch.h (global scope): Add definition of implementation
32407 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32408 resolv/nss_dns/dns-host.c).
32410 2012-07-11 Andreas Jaeger <aj@suse.de>
32412 * po/fr.po: Update from translation team.
32414 * po/sv.po: Update from translation team
32415 * po/fr.po: Another update from translation team.
32417 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32419 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32420 for subnormals or multiply small sinh result by itself.
32421 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32424 2012-07-11 David S. Miller <davem@davemloft.net>
32426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32428 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32431 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32432 (INTERNAL_MARK): Shift it here.
32434 2012-07-10 Marek Polacek <polacek@redhat.com>
32437 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32438 libc_cv_asm_global_directive with .globl.
32439 * configure: Regenerated.
32440 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32442 * sysdeps/i386/configure: Regenerated.
32443 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32445 * sysdeps/x86_64/configure: Regenerated.
32446 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32447 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32448 * elf/tst-unique2mod2.c: Likewise.
32449 * elf/tst-unique2mod1.c: Likewise.
32450 * elf/tst-unique1mod2.c: Likewise.
32451 * elf/tst-unique1mod1.c: Likewise.
32452 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32453 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32454 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32455 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32456 * sysdeps/mach/sysdep.h: Likewise.
32457 * sysdeps/i386/sysdep.h: Likewise.
32458 * sysdeps/i386/i386-mcount.S: Likewise.
32459 * sysdeps/x86_64/_mcount.S: Likewise.
32460 * sysdeps/x86_64/sysdep.h: Likewise.
32461 * sysdeps/sh/_mcount.S: Likewise.
32462 * sysdeps/sh/sysdep.h: Likewise.
32463 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32464 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32465 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32466 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32467 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32468 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32469 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32470 * locale/localeinfo.h: Likewise.
32471 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32472 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32474 2012-07-09 Roland McGrath <roland@hack.frob.com>
32477 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32479 * manual/message.texi (The Uniforum approach): Likewise.
32480 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32481 (glibc iconv Implementation): Likewise.
32483 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32486 * math/s_clog.c (__clog): Avoid scaling a value down where that
32487 could result in underflow.
32488 * math/s_clog10.c (__clog10): Likewise.
32489 * math/s_clog10f.c (__clog10f): Likewise.
32490 * math/s_clog10l.c (__clog10l): Likewise.
32491 * math/s_clogf.c (__clogf): Likewise.
32492 * math/s_clogl.c (__clogl): Likewise.
32493 * math/libm-test.inc (clog_test): Add more tests.
32494 (clog10_test): Likewise.
32495 * sysdeps/i386/fpu/libm-test-ulps: Update.
32496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32498 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32501 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32502 by 7 not 8 to examine high bit of fractional part.
32505 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32506 for call to __mcount_internal.
32507 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32508 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32509 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32511 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32514 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32515 approximation for values within 0x1p-13f of an odd multiple of
32517 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32518 exception. Add more tests.
32519 * sysdeps/i386/fpu/libm-test-ulps: Update.
32522 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32523 inputs and return -1 for them. Do not check for +Inf in case not
32524 reachable for +Inf.
32525 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32526 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32527 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32528 and return -1 for them. Do not check for +Inf in case not
32529 reachable for +Inf.
32530 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32532 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32533 and return -1 for them. Do not check for +Inf in case not
32534 reachable for +Inf.
32535 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32536 spurious underflow.
32537 * sysdeps/i386/fpu/libm-test-ulps: Update.
32538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32540 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32542 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32544 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32548 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32549 could result in spurious underflow. Scale down values above
32550 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32551 * math/s_csqrtf.c (__csqrtf): Likewise.
32552 * math/s_csqrtl.c (__csqrtl): Likewise.
32553 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32554 spurious underflow.
32555 * sysdeps/i386/fpu/libm-test-ulps: Update.
32556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32558 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32560 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32562 * catgets/xopen-msg.awk: New file.
32563 * catgets/xopen-msg.sed: Removed.
32565 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32567 * intl/po2test.awk: New file.
32568 * intl/po2test.sed: Removed.
32570 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32573 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32574 or multiply small sinh result by itself.
32575 * math/s_ctanf.c (__ctanf): Likewise.
32576 * math/s_ctanh.c (__ctanh): Likewise.
32577 * math/s_ctanhf.c (__ctanhf): Likewise.
32578 * math/s_ctanhl.c (__ctanhl): Likewise.
32579 * math/s_ctanl.c (__ctanl): Likewise.
32580 * math/libm-test.inc (ctan_test_tonearest): New function.
32581 (ctan_test_towardzero): Likewise.
32582 (ctan_test_downward): Likewise.
32583 (ctan_test_upward): Likewise.
32584 (ctanh_test_tonearest): Likewise.
32585 (ctanh_test_towardzero): Likewise.
32586 (ctanh_test_downward): Likewise.
32587 (ctanh_test_upward): Likewise.
32588 (main): Call these new functions.
32589 * sysdeps/i386/fpu/libm-test-ulps: Update.
32590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32592 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32594 * .gitignore: Delete /ports entry.
32596 2012-07-03 Andreas Jaeger <aj@suse.de>
32598 * po/bg.po: Update from translation team.
32599 * po/cs.po: Likewise.
32600 * po/de.po: Likewise.
32601 * po/hr.po: Likewise.
32602 * po/nl.pl: Likewise.
32603 * po/pl.po: Likewise.
32604 * po/vi.po: Likewise.
32606 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32608 * Makeconfig [!+link] (+link-before-libc): New variable.
32609 [!+link] (+link-after-libc): Likewise.
32610 [!+link] (+link-tests): Likewise.
32611 [!+link] (+link): Define in terms of $(+link-before-libc) and
32612 $(+link-after-libc).
32613 [!+link-static] (+link-static-before-libc): New variable.
32614 [!+link-static] (+link-static-after-libc): Likewise.
32615 [!+link-static] (+link-static-tests): Likewise.
32616 [!+link-static] (+link-static): Define in terms of
32617 $(+link-static-before-libc) and $(+link-static-after-libc).
32618 [build-shared] (link-libc-before-gnulib): New variable.
32619 [build-shared] (link-libc-tests): Likewise.
32620 [build-shared] (link-libc): Define in terms of
32621 $(link-libc-before-gnulib).
32622 [!build-shared] (link-libc-tests): New variable.
32623 (link-libc-static-tests): New variable.
32624 [!gnulib] (gnulib-arch): New variable.
32625 [!gnulib] (gnulib-tests): Likewise.
32626 [!gnulib] (static-gnulib-arch): Likewise.
32627 [!gnulib] (static-gnulib-tests): Likewise.
32628 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32629 Define with "=" instead of ":=".
32630 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32631 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32632 * Rules (binaries-all-notests): New variable.
32633 (binaries-all-tests): Likewise.
32634 (binaries-static-notests): Likewise.
32635 (binaries-static-tests): Likewise.
32636 (binaries-all): Define using $(binaries-all-notests) and
32637 $(binaries-all-tests).
32638 (binaries-static): Define using $(binaries-static-notests) and
32639 $(binaries-static-tests).
32640 (binaries-shared-tests): New variable.
32641 (binaries-shared-notests): Likewise.
32642 (binaries-shared): Remove variable.
32643 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32644 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32645 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32646 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32647 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32648 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32649 * elf/Makefile (sln-modules): New variable.
32650 (extra-objs): Add $(sln-modules:=.o).
32651 (ldconfig-modules): Add static-stubs.
32652 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32653 * elf/static-stubs.c: New file.
32656 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32657 by 7 not 8 to examine high bit of fractional part. Use volatile
32658 variables when splitting into final array of floats if
32659 __FLT_EVAL_METHOD__ != 0.
32660 * math/libm-test.inc (cos_test): Add another test.
32661 (sin_test): Likewise.
32662 * sysdeps/i386/fpu/libm-test-ulps: Update.
32665 * math/libm-test.inc (cosh_test): Add more tests.
32667 * version.h (RELEASE): Set to "development".
32668 (VERSION): Set to "2.16.90".
32670 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32672 * NEWS: Update copyright. Remove last-updated date.
32673 Mention math library bug fixes and timezone data changes.
32674 * README: Mention GNU/Hurd, x32, and HPPA support status.
32676 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32678 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32680 2012-06-27 Andreas Jaeger <aj@suse.de>
32682 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32684 2012-06-25 Andreas Jaeger <aj@suse.de>
32686 * sysdeps/s390/fpu/libm-test-ulps: Update.
32688 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32689 Thomas Schwinge <thomas@codesourcery.com>
32691 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32692 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32693 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32696 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32698 * sysdeps/mach/start.c: Remove file.
32699 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32700 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32701 * sysdeps/sh/init-first.c: Likewise.
32703 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32704 registers for frame unwinding purposes, add CFI directives.
32705 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32706 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32707 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32710 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32711 __fortify_fail returning.
32712 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32714 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32715 sysdeps/sh/____longjmp_chk.S.
32716 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32717 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32718 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32719 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32721 * sysdeps/sh/abort-instr.h: New file.
32722 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32723 process in case exit returns.
32725 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32726 initialize the GOT register before use.
32728 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32729 calculation of ARGC > 4.
32731 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32732 meaningful names to some local labels.
32734 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32735 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32737 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32738 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32739 (__arch_compare_and_exchange_val_16_acq): Likewise.
32740 (__arch_compare_and_exchange_val_32_acq): Likewise.
32741 (atomic_exchange_and_add): Fix gUSA sequence.
32742 (atomic_add): Likewise.
32743 (atomic_add_negative): Likewise.
32744 (atomic_add_zero): Likewise.
32745 (atomic_bit_test_set): Likewise.
32747 2012-06-22 Andreas Schwab <schwab@redhat.com>
32750 * include/link.h (struct link_map): Add l_free_initfini.
32751 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32753 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32754 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32755 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32758 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32760 * configure.in: Use AC_LANG_SOURCE.
32761 * configure: Regenerate.
32763 2012-06-22 Roland McGrath <roland@hack.frob.com>
32765 * configure.in (libc_cv_localstatedir): New substituted variable.
32766 * configure: Regenerated.
32767 * config.make.in (localstatedir): New variable, substituted from
32768 libc_cv_localstatedir.
32769 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32770 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32771 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32772 * sysdeps/gnu/configure: Regenerated.
32774 2012-06-21 Jeff Law <law@redhat.com>
32777 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32778 free. Simplify list management for _LIBC case.
32780 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32783 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32784 Clear sign bit of 64-bit integer value before comparing against
32787 * sysdeps/mach/configure: Regenerated.
32789 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32792 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32794 2012-06-21 Jeff Law <law@redhat.com>
32797 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32798 uint16_t for elements in the "seen" array to avoid char overflows.
32799 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32800 * elf/dl-open.c (dl_open_worker): Likewise.
32802 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32804 * scripts/list-sources.sh: Scan PORTS for translations.
32805 * po/libc.pot: Regenerated.
32807 2012-06-21 Andreas Jaeger <aj@suse.de>
32810 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32812 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32813 * bits/byteswap-16.h (__bswap_16): Likewise.
32814 * bits/byteswap.h (__bswap_constant_16): Likewise.
32816 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32819 * sysdeps/i386/fpu_control.h: Removed.
32820 * sysdeps/x86_64/fpu_control.h: Moved to ...
32821 * sysdeps/x86/fpu_control.h: Here.
32823 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32824 (_FPU_SETCW): Likewise.
32826 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32829 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32830 * sysdeps/x86/fpu/bits/mathinline.h: This.
32831 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32835 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32836 functions if __x86_64__ is defined.
32838 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32840 * string/endian.h: Add !__ASSEMBLER__ condition for including
32841 conversion interfaces.
32843 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32847 of ABS(x) in calculating zero to negative powers other than odd
32849 * math/libm-test.inc (pow_test): Add more tests.
32851 2012-06-15 Andreas Jaeger <aj@suse.de>
32853 * manual/contrib.texi (Contributors): Update entry of Liubov
32854 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32857 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32859 * string/string.h: Add __wur to GNU version of strerror_r.
32861 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32864 * string/Makefile (tests): Add tst-strtok_r.
32865 * string/tst-strtok_r.c: New file.
32866 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32867 RAX_LP/RDX_LP on SAVE_PTR.
32869 2012-06-14 Roland McGrath <roland@hack.frob.com>
32871 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32873 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32875 * libm_test.inc (csqrt_test): Allow more spurious underflow
32877 (j0_test): Likewise.
32878 (j1_test): Likewise.
32879 (y0_test): Likewise.
32880 (y1_test): Likewise.
32882 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32884 * po/Makefile (libc.pot): Use UTF-8 charset.
32886 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32889 Suppress sign-conversion warning from FD_SET.
32890 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32891 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32892 not unsigned long int.
32893 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32895 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32899 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32900 __extern_always_inline instead of __extern_inline.
32901 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32902 (__signbit): Likewise.
32903 (__signbitl): Support C++ namespace.
32904 (lrintf): New inline function.
32906 (llrintf): Likewise.
32907 (llrint): Likewise.
32917 (floorf): Likewise.
32918 (nearbyint): Likewise.
32919 (nearbyintf): Likewise.
32921 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32923 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32924 non-default versions.
32926 2012-06-11 Roland McGrath <roland@hack.frob.com>
32929 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32931 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32933 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32934 (FE_UPWARD, FE_DOWNWARD): Don't define.
32935 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32936 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32938 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32940 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32941 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32943 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32945 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32946 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32947 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32948 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32950 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32953 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32954 * sysdeps/i386/fpu/Implies: New file.
32955 * sysdeps/x86_64/fpu/Implies: Likewise.
32956 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32957 * sysdeps/x86/fpu/bits/fenv.h: This.
32959 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32962 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32965 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32966 character 0xffff that matches the last element of the
32969 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32971 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32974 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32976 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32977 values higher than 25.6283.
32979 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32981 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32982 subnormal exponent extraction and add some __builtin_expect.
32983 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32984 Fix for subnormal mantissa calculation.
32986 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32988 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32989 cpu2 is -1 and errno is not ENOSYS.
32991 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32994 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32995 * sysdeps/x86/bits/string.h: This.
32996 * sysdeps/x86_64/bits/string.h: Removed.
32998 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32999 if not compiling for x86-64, but compiling for >= i486.
33001 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33002 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33004 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33005 New macro from Linux kernel 3.4.0.
33006 (FP_XSTATE_MAGIC2): Likewise.
33007 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33008 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33009 (struct _fpx_sw_bytes): New struct.
33010 (struct _xsave_hdr): Likewise.
33011 (struct _ymmh_state): Likewise.
33012 (struct _xstate): Likewise.
33014 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33015 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33017 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33018 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33019 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33021 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33022 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33023 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33024 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33025 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33026 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33028 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33031 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33032 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33033 (sysdep_headers): Include sys/platform/ppc.h.
33034 * sysdeps/powerpc/test-gettimebase.c: Test for
33035 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33036 * manual/Makefile (appendices): Include platform.texi.
33037 * manual/contrib.texi (Contributors): Update @node pointers.
33038 * manual/maint.texi (Maintenance): Likewise.
33039 (Platform): New node.
33040 * manual/platform.texi: New file. Document the new features.
33042 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33043 Jakub Jelinek <jakub@redhat.com>
33046 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33047 where __builtin_expect is unavailable.
33049 2012-06-03 David S. Miller <davem@davemloft.net>
33051 * stdlib/longlong.h: Updated from GCC.
33053 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33056 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33057 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33060 (GLIBC_2.16): Likewise.
33062 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33064 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33066 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33069 (default-abi): New variable.
33070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33071 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33073 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33075 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33077 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33080 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33081 definition. Document in comment.
33083 2012-06-01 David S. Miller <davem@davemloft.net>
33085 * stdlib/longlong.h: Updated from GCC.
33087 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33090 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33091 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33092 sys/debugreg.h sys/io.h here.
33093 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33094 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33096 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33097 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33098 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33099 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33100 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33101 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33103 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33104 Define only if __x86_64__ is defined.
33106 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33109 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33110 Use int64_t for variable i.
33111 * math/libm-test.inc (fmod_test): Add more tests.
33113 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33114 z computation is not scheduled after fetestexcept.
33115 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33116 Use math_force_eval instead of asm to ensure calculation scheduled
33117 before exception test.
33118 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33119 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33121 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33124 computation is not scheduled after fetestexcept.
33126 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33129 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33130 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33132 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33134 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33135 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33137 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33140 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33142 (__WCHAR_MIN): Support __WORDSIZE == 64.
33143 (__WCHAR_MAX): Likewise.
33145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33146 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33149 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33150 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33153 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33154 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33156 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33157 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33159 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33160 Defined to 1 if __x86_64__ isn't defined.
33161 (_STAT_VER_LINUX_OLD): New.
33162 (st_atime): Remove duplicate.
33163 (st_mtime): Likewise.
33164 (st_ctime): Likewise.
33166 2012-05-31 David S. Miller <davem@davemloft.net>
33168 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33171 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33173 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33177 * elf/dl-reloc.c: Include <_itoa.h>.
33178 (_dl_reloc_bad_type): Remove use of INTUSE.
33179 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33180 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33181 * stdio-common/psiginfo.c (psiginfo): Likewise.
33182 * stdio-common/psignal.c (psignal): Likewise.
33183 * string/strsignal.c (strsignal): Likewise.
33184 * include/signal.h (_sys_siglist): Declare hidden proto.
33185 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33186 INTVARDEF with libc_hidden_data_def.
33187 * stdio-common/itoa-udigits.c: Likewise.
33188 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33189 (_itoa_lower_digits_internal): Remove declaration.
33190 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33191 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33192 (_sys_sigabbrev_internal): Remove aliases.
33193 (_sys_siglist): Define hidden alias.
33195 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33200 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33203 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33204 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33206 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33207 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33208 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33209 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33210 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33211 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33213 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33214 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33215 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33217 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33225 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33227 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33229 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33230 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33231 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33232 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33233 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33234 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33236 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33237 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33239 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33240 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33244 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33246 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33247 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33249 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33251 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33252 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33253 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33255 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33257 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33259 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33261 * math/math.h (M_El): Use two more decimal places.
33262 (M_LOG2El): Likewise.
33263 (M_LOG10El): Likewise.
33264 (M_LN2l): Likewise.
33265 (M_LN10l): Likewise.
33267 (M_PI_2l): Likewise.
33268 (M_PI_4l): Likewise.
33269 (M_1_PIl): Likewise.
33270 (M_2_PIl): Likewise.
33271 (M_2_SQRTPIl): Likewise.
33272 (M_SQRT2l): Likewise.
33273 (M_SQRT1_2l): Likewise.
33275 2012-05-31 David S. Miller <davem@davemloft.net>
33277 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33278 values between float registers.
33279 * sysdeps/sparc/sparc64/memset.S: Likewise.
33280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33282 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33284 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33285 -D_FORTIFY_SOURCE=1.
33286 (CPPFLAGS-tst-longjmp_chk.c): Define.
33287 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33288 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33289 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33290 CFLAGS-tst-wchar-h.c.
33292 2012-05-31 Marek Polacek <polacek@redhat.com>
33295 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33296 __endmntent_internal): Remove declaration.
33297 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33298 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33299 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33301 2012-05-30 David S. Miller <davem@davemloft.net>
33303 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33304 (___Q_simulate_exceptions): Use real FP ops rather than writing
33306 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33309 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33312 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33313 * sysdeps/x86/bits/xtitypes.h: This.
33315 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33316 * sysdeps/x86/bits/wordsize.h: This.
33318 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33319 * sysdeps/x86/bits/huge_vall.h: This.
33321 * sysdeps/i386/bits/select.h: Removed.
33322 * sysdeps/x86_64/bits/select.h: Renamed to ...
33323 * sysdeps/x86/bits/select.h: This.
33325 * sysdeps/i386/bits/setjmp.h: Removed.
33326 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33327 * sysdeps/x86/bits/setjmp.h: This.
33329 * sysdeps/i386/bits/mathdef.h: Removed.
33330 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33331 * sysdeps/x86/bits/mathdef.h: This.
33333 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33336 * include/sys/socket.h (__connect_internal)
33337 (__libc_sa_len_internal): Remove declaration.
33338 (__connect, __libc_sa_len): Declare hidden_proto.
33339 (SA_LEN): Remove use of INTUSE.
33340 * socket/connect.c: Add libc_hidden_def.
33341 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33342 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33343 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33345 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33346 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33347 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33348 of adding _internal alias.
33350 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33353 * sysdeps/i386/bits/link.h: Removed.
33354 * sysdeps/i386/bits/linkmap.h: Likewise.
33355 * sysdeps/x86_64/bits/link.h: Renamed to ...
33356 * sysdeps/x86/bits/link.h: This.
33357 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33358 * sysdeps/x86/bits/linkmap.h: This.
33360 * sysdeps/i386/bits/endian.h: Removed.
33361 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33362 * sysdeps/x86/bits/endian.h: This.
33364 * sysdeps/i386/bits/byteswap.h: Removed.
33365 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33366 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33367 * sysdeps/x86/bits/byteswap.h: This.
33368 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33369 * sysdeps/x86/bits/byteswap-16.h: This.
33370 * sysdeps/i386/Implies: Add x86.
33371 * sysdeps/x86_64/Implies: Likewise.
33373 2012-05-30 David S. Miller <davem@davemloft.net>
33375 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33376 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33377 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33378 (FP_TRAPPING_EXCEPTIONS): Define.
33379 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33380 (FP_TRAPPING_EXCEPTIONS): Define.
33381 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33382 subnormals only when inexact has been signalled or underflow
33383 exceptions are enabled.
33384 (_FP_PACK_CANONICAL): Likewise.
33386 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33389 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33390 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33392 2012-05-30 Richard Henderson <rth@twiddle.net>
33394 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33395 with #ifndef NOT_IN_libc.
33397 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33398 marked to avoid plt entry.
33400 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33403 * Makeconfig (default-abi): New macro.
33404 (abi-includes): Likewise.
33405 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33406 $(abi-$(default-abi)-lib-soname) for soname if defined.
33407 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33409 * Makefile (installed-stubs): Likewise.
33410 * include/stubs-biarch.h: Removed.
33411 * scripts/lib-names.awk: Only handle one library at a time.
33412 * scripts/soversions.awk: Remove WORDSIZE support.
33413 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33415 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33417 (syscall-list-default-condition): Likewise.
33418 (syscall-list-default-condition): Likewise.
33419 (syscall-list-includes): Likewise.
33420 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33421 syscall-list-* with abi-*. Handle undefined abi-variants.
33422 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33423 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33424 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33425 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33426 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33427 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33429 (syscall-list-32-options): Likewise.
33430 (syscall-list-32-condition): Likewise.
33431 (syscall-list-64-options): Likewise.
33432 (syscall-list-64-condition): Likewise.
33433 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33435 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33438 (abi-64-ld-soname): New macro.
33439 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33440 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33443 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33444 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33446 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33448 * sysdeps/unix/sysv/linux/kernel-features.h
33449 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33450 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33451 include <kernel-features.h>.
33452 [!__NR_ftruncate64]: Remove conditional code.
33453 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33454 [__NR_ftruncate64]: Make code unconditional.
33455 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33456 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33457 include <kernel-features.h>.
33458 [!__NR_ftruncate64]: Remove conditional code.
33459 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33460 [__NR_ftruncate64]: Make code unconditional.
33461 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33463 include <kernel-features.h>.
33464 [!__NR_ftruncate64]: Remove conditional code.
33465 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33466 [__NR_ftruncate64]: Make code unconditional.
33467 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33469 include <kernel-features.h>.
33470 [!__NR_ftruncate64]: Remove conditional code.
33471 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33472 [__NR_ftruncate64]: Make code unconditional.
33473 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33475 * configure.in (libc_cv_fpie): Weaken to a compile test using
33476 LIBC_TRY_CC_OPTION.
33477 * configure: Regenerated.
33479 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33494 2012-05-27 David S. Miller <davem@davemloft.net>
33496 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33498 (__Q_simulate_exceptions): Return void. Change to simulate
33499 exceptions by writing into the %fsr.
33500 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33501 (__Qp_handle_exceptions): Likewise.
33503 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33504 __Qp_handle_exceptions.
33505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33506 __Qp_handle_exceptions.
33507 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33508 as unused and give dummy FP_RND_NEAREST initializer.
33509 (FP_INHIBIT_RESULTS): Define.
33510 (___Q_simulate_exceptions): Update declaration.
33511 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33513 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33514 as unused and give dummy FP_RND_NEAREST initializer.
33515 (__Qp_handle_exceptions): Update declaration.
33516 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33519 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33521 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33522 the temporary FPU control word.
33523 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33524 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33525 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33526 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33527 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33528 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33529 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33530 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33531 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33532 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33533 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33535 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33537 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33540 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33542 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33543 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33544 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33545 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33547 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33548 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33551 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33553 * po/h.po: Update from translation team.
33555 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33557 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33559 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33560 handling of denormals.
33561 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33562 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33563 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33564 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33566 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33570 2012-05-26 Marek Polacek <polacek@redhat.com>
33573 * math/libm-test.inc (fma_test): Don't always expect underflow
33576 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33579 * elf/tst-execstack.c: Include stackinfo.h.
33580 (do_test): Adjust test case to ensure that pthread_getattr_np
33581 behaviour remains the same after marking stack executable.
33583 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33585 * sysdeps/unix/sysv/linux/kernel-features.h
33586 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33587 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33589 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33590 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33591 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33593 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33594 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33596 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33598 * configure.in: Define the default includes to being none.
33599 * configure: Regenerated.
33601 2012-05-25 Roland McGrath <roland@hack.frob.com>
33603 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33604 * sysdeps/x86_64/setjmp.S: Likewise.
33605 * sysdeps/i386/bsd-setjmp.S: Likewise.
33606 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33607 * sysdeps/i386/setjmp.S: Likewise.
33608 * sysdeps/i386/__longjmp.S: Likewise.
33609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33610 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33612 * include/stap-probe.h: New file.
33613 * configure.in: Handle --enable-systemtap.
33614 * configure: Regenerated.
33615 * config.h.in (USE_STAP_PROBE): New #undef.
33616 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33617 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33618 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33620 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33623 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33624 to 2.4.0 where earlier.
33625 * sysdeps/unix/sysv/linux/configure: Regenerated.
33626 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33627 <kernel-features.h>.
33628 [__ASSUME_32BITUIDS]: Make code unconditional.
33629 [!__ASSUME_32BITUIDS]: Remove conditional code.
33630 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33631 <kernel-features.h>.
33632 [__ASSUME_32BITUIDS]: Make code unconditional.
33633 [!__ASSUME_32BITUIDS]: Remove conditional code.
33634 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33635 [__ASSUME_32BITUIDS]: Make code unconditional.
33636 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33637 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33638 <kernel-features.h>.
33639 [__ASSUME_32BITUIDS]: Make code unconditional.
33640 [!__ASSUME_32BITUIDS]: Remove conditional code.
33641 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33642 <kernel-features.h>.
33643 [__ASSUME_32BITUIDS]: Make code unconditional.
33644 [!__ASSUME_32BITUIDS]: Remove conditional code.
33645 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33646 <kernel-features.h>.
33647 [__ASSUME_32BITUIDS]: Make code unconditional.
33648 [!__ASSUME_32BITUIDS]: Remove conditional code.
33649 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33650 <kernel-features.h>.
33651 [__ASSUME_32BITUIDS]: Make code unconditional.
33652 [!__ASSUME_32BITUIDS]: Remove conditional code.
33653 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33654 <kernel-features.h>.
33655 [__ASSUME_32BITUIDS]: Make code unconditional.
33656 [!__ASSUME_32BITUIDS]: Remove conditional code.
33657 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33658 <kernel-features.h>.
33659 [__ASSUME_32BITUIDS]: Make code unconditional.
33660 [!__ASSUME_32BITUIDS]: Remove conditional code.
33661 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33662 <kernel-features.h>.
33663 [__ASSUME_32BITUIDS]: Make code unconditional.
33664 [!__ASSUME_32BITUIDS]: Remove conditional code.
33665 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33666 <kernel-features.h>.
33667 [__ASSUME_32BITUIDS]: Make code unconditional.
33668 [!__ASSUME_32BITUIDS]: Remove conditional code.
33669 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33670 <kernel-features.h>.
33671 [__ASSUME_32BITUIDS]: Make code unconditional.
33672 [!__ASSUME_32BITUIDS]: Remove conditional code.
33673 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33674 <kernel-features.h>.
33675 [__ASSUME_32BITUIDS]: Make code unconditional.
33676 [!__ASSUME_32BITUIDS]: Remove conditional code.
33677 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33678 <kernel-features.h>.
33679 [__NR_setresgid] (__setresgid): Do not declare.
33680 [__ASSUME_32BITUIDS]: Make code unconditional.
33681 [!__ASSUME_32BITUIDS]: Remove conditional code.
33682 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33683 <kernel-features.h>.
33684 [__NR_setresuid] (__setresuid): Do not declare.
33685 [__ASSUME_32BITUIDS]: Make code unconditional.
33686 [!__ASSUME_32BITUIDS]: Remove conditional code.
33687 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33688 <kernel-features.h>.
33689 [__ASSUME_32BITUIDS]: Make code unconditional.
33690 [!__ASSUME_32BITUIDS]: Remove conditional code.
33691 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33692 <kernel-features.h>.
33693 [__ASSUME_32BITUIDS]: Make code unconditional.
33694 [!__ASSUME_32BITUIDS]: Remove conditional code.
33695 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33696 <kernel-features.h>.
33697 [__ASSUME_32BITUIDS]: Make code unconditional.
33698 [!__ASSUME_32BITUIDS]: Remove conditional code.
33699 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33700 <kernel-features.h>.
33701 [__ASSUME_32BITUIDS]: Make code unconditional.
33702 [!__ASSUME_32BITUIDS]: Remove conditional code.
33703 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33704 <kernel-features.h>.
33705 [__ASSUME_32BITUIDS]: Make code unconditional.
33706 [!__ASSUME_32BITUIDS]: Remove conditional code.
33707 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33708 <kernel-features.h>.
33709 [__ASSUME_32BITUIDS]: Make code unconditional.
33710 [!__ASSUME_32BITUIDS]: Remove conditional code.
33711 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33712 <kernel-features.h>.
33713 [__ASSUME_32BITUIDS]: Make code unconditional.
33714 [!__ASSUME_32BITUIDS]: Remove conditional code.
33715 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33716 <kernel-features.h>.
33717 [__ASSUME_32BITUIDS]: Make code unconditional.
33718 [!__ASSUME_32BITUIDS]: Remove conditional code.
33719 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33720 <kernel-features.h>.
33721 [__ASSUME_32BITUIDS]: Make code unconditional.
33722 [!__ASSUME_32BITUIDS]: Remove conditional code.
33723 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33724 <kernel-features.h>.
33725 [__ASSUME_32BITUIDS]: Make code unconditional.
33726 [!__ASSUME_32BITUIDS]: Remove conditional code.
33727 * sysdeps/unix/sysv/linux/kernel-features.h
33728 (__ASSUME_SETRESUID_SYSCALL): Remove.
33729 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33730 (__ASSUME_32BITUIDS): Likewise.
33731 (__ASSUME_LDT_WORKS): Likewise.
33732 (__ASSUME_O_DIRECTORY): Likewise.
33733 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33734 architecture but not kernel version.
33735 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33736 (__ASSUME_MMAP2_SYSCALL): Likewise.
33737 (__ASSUME_STAT64_SYSCALL): Likewise.
33738 (__ASSUME_IPC64): Likewise.
33739 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33740 <kernel-features.h>.
33741 [__ASSUME_32BITUIDS]: Make code unconditional.
33742 [!__ASSUME_32BITUIDS]: Remove conditional code.
33743 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33744 <kernel-features.h>.
33745 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33746 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33747 132096]: Remove conditional code.
33748 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33749 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33750 <kernel-features.h>.
33751 [__ASSUME_32BITUIDS]: Make code unconditional.
33752 [!__ASSUME_32BITUIDS]: Remove conditional code.
33753 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33754 <kernel-features.h>.
33755 [__ASSUME_32BITUIDS]: Make code unconditional.
33756 [!__ASSUME_32BITUIDS]: Remove conditional code.
33757 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33758 <kernel-features.h>.
33759 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33761 (__setresgid): Do not declare.
33762 [__ASSUME_32BITUIDS]: Make code unconditional.
33763 [!__ASSUME_32BITUIDS]: Remove conditional code.
33764 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33765 <kernel-features.h>.
33766 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33768 (__setresuid): Do not declare.
33769 [__ASSUME_32BITUIDS]: Make code unconditional.
33770 [!__ASSUME_32BITUIDS]: Remove conditional code.
33771 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33772 <kernel-features.h>.
33773 [__ASSUME_32BITUIDS]: Make code unconditional.
33774 [!__ASSUME_32BITUIDS]: Remove conditional code.
33775 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33776 <kernel-features.h>.
33777 [__ASSUME_32BITUIDS]: Make code unconditional.
33778 [!__ASSUME_32BITUIDS]: Remove conditional code.
33780 2012-05-25 Richard Henderson <rth@twiddle.net>
33782 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33783 dl_hwcap to ifunc resolver.
33784 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33786 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33787 dl_hwcap to ifunc resolver.
33788 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33790 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33793 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33794 for |x| <= 2**-26, not 2**-57.
33795 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33798 2012-05-24 Jeff Law <law@redhat.com>
33800 * stdio-common/Makefile (tests): Add bug25.
33801 * stdio-common/bug25.c: New test.
33803 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33806 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33807 multiple of MALLOC_ALIGNMENT in size.
33808 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33810 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33812 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33814 (FILENAME_MAX): Use macro-int-constant.
33815 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33816 (_IOFBF): Use macro-int-constant.
33817 (_IOLBF): Likewise.
33818 (_IONBF): Likewise.
33819 (SEEK_CUR): Likewise.
33820 (SEEK_END): Likewise.
33821 (SEEK_SET): Likewise.
33822 (TMP_MAX): Likewise.
33823 (EOF): Use macro-int-constant. Require < 0.
33824 (NULL): Use macro-constant. Require == 0.
33825 (stdin): Require type to be FILE *.
33826 (stdout): Likewise.
33827 (stderr): Likewise.
33828 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33829 macro-int-constant.
33830 (EXIT_SUCCESS): Likewise.
33831 (NULL): Use macro-constant. Require == 0.
33832 (RAND_MAX): Use macro-int-constant.
33833 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33834 [C99-based standards] (strtof): Require function.
33835 [C99-based standards] (strtold): Likewise.
33836 [C99-based standards] (strtoll): Likewise.
33837 [C99-based standards] (strtoull): Likewise.
33838 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33839 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33840 [ISO || ISO99 || ISO11] (math.h): Likewise.
33841 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33842 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33845 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33848 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33849 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33850 * intl/dgettext.c (DCGETTEXT): Likewise.
33851 * intl/gettext.c (DCGETTEXT): Likewise.
33852 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33853 * posix/regex_internal.h (gettext): Likewise.
33854 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33855 Remove declaration.
33856 * include/argz.h (__argz_count_internal)
33857 (__argz_stringify_internal): Remove declaration.
33858 (__argz_count, __argz_stringify): Declare hidden proto.
33859 * intl/dcgettext.c: Remove use of INTDEF.
33860 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33861 * string/argz-stringify.c: Likewise.
33862 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33863 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33864 Declare hidden proto.
33865 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33866 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33867 Declare hidden proto.
33868 * include/stdio.h (__asprintf_internal): Don't declare.
33869 (__asprintf): Don't define as macro. Declare hidden proto.
33870 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33871 (__fsetlocking): Declare hidden proto.
33872 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33873 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33875 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33876 (_IO_setlinebuf): Remove use of INTUSE.
33877 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33878 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33879 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33880 Remove declaration.
33881 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33882 (_IO_do_flush): Remove use of INTUSE.
33883 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33884 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33885 (_IO_adjust_column, _IO_least_wmarker)
33886 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33887 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33888 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33889 (_IO_default_doallocate, _IO_wdefault_doallocate)
33890 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33891 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33892 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33893 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33894 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33895 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33896 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33897 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33898 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33899 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33900 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33901 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33902 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33904 (_IO_flush_all_internal, _IO_adjust_column_internal)
33905 (_IO_default_uflow_internal, _IO_default_finish_internal)
33906 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33907 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33908 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33909 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33910 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33911 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33912 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33913 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33914 (_IO_file_close_internal, _IO_file_close_it_internal)
33915 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33916 (_IO_file_init_internal, _IO_file_attach_internal)
33917 (_IO_file_fopen_internal, _IO_file_read_internal)
33918 (_IO_file_sync_internal, _IO_file_seek_internal)
33919 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33920 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33921 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33922 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33923 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33924 (_IO_list_all_internal, _IO_link_in_internal)
33925 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33926 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33927 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33928 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33929 (_IO_do_write_internal, _IO_padn_internal)
33930 (_IO_getline_info_internal, _IO_getline_internal)
33931 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33932 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33933 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33934 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33935 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33936 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33937 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33938 with libc_hidden_ver, remove use of INTUSE.
33939 * libio/genops.c: Likewise.
33940 * libio/freopen.c: Likewise.
33941 * libio/freopen64.c: Likewise.
33942 * libio/iofclose.c: Likewise.
33943 * libio/iofdopen.c: Likewise.
33944 * libio/iofflush.c: Likewise.
33945 * libio/iofflush_u.c: Likewise.
33946 * libio/iofgets.c: Likewise.
33947 * libio/iofgets_u.c: Likewise.
33948 * libio/iofopen.c: Likewise.
33949 * libio/iofopncook.c: Likewise.
33950 * libio/iofread.c: Likewise.
33951 * libio/iofread_u.c: Likewise.
33952 * libio/ioftell.c: Likewise.
33953 * libio/iofwrite.c: Likewise.
33954 * libio/iogetline.c: Likewise.
33955 * libio/iogets.c: Likewise.
33956 * libio/iogetwline.c: Likewise.
33957 * libio/iopadn.c: Likewise.
33958 * libio/iopopen.c: Likewise.
33959 * libio/ioseekoff.c: Likewise.
33960 * libio/ioseekpos.c: Likewise.
33961 * libio/iosetbuffer.c: Likewise.
33962 * libio/iosetvbuf.c: Likewise.
33963 * libio/ioungetc.c: Likewise.
33964 * libio/ioungetwc.c: Likewise.
33965 * libio/iovdprintf.c: Likewise.
33966 * libio/iovsprintf.c: Likewise.
33967 * libio/iovsscanf.c: Likewise.
33968 * libio/memstream.c: Likewise.
33969 * libio/obprintf.c: Likewise.
33970 * libio/oldfileops.c: Likewise.
33971 * libio/oldiofclose.c: Likewise.
33972 * libio/oldiofdopen.c: Likewise.
33973 * libio/oldiofopen.c: Likewise.
33974 * libio/oldiopopen.c: Likewise.
33975 * libio/oldstdfiles.c: Likewise.
33976 * libio/putc.c: Likewise.
33977 * libio/setbuf.c: Likewise.
33978 * libio/setlinebuf.c: Likewise.
33979 * libio/stdfiles.c: Likewise.
33980 * libio/strops.c: Likewise.
33981 * libio/vasprintf.c: Likewise.
33982 * libio/vscanf.c: Likewise.
33983 * libio/vsnprintf.c: Likewise.
33984 * libio/vswprintf.c: Likewise.
33985 * libio/wfiledoalloc.c: Likewise.
33986 * libio/wfileops.c: Likewise.
33987 * libio/wgenops.c: Likewise.
33988 * libio/wmemstream.c: Likewise.
33989 * libio/wstrops.c: Likewise.
33990 * libio/__fpurge.c: Likewise.
33991 * libio/__fsetlocking.c: Likewise.
33992 * assert/assert.c: Likewise.
33993 * debug/fgets_chk.c: Likewise.
33994 * debug/fgets_u_chk.c: Likewise.
33995 * debug/fread_chk.c: Likewise.
33996 * debug/fread_u_chk.c: Likewise.
33997 * debug/gets_chk.c: Likewise.
33998 * debug/obprintf_chk.c: Likewise.
33999 * debug/vasprintf_chk.c: Likewise.
34000 * debug/vdprintf_chk.c: Likewise.
34001 * debug/vsnprintf_chk.c: Likewise.
34002 * debug/vsprintf_chk.c: Likewise.
34003 * malloc/mtrace.c: Likewise.
34004 * misc/error.c: Likewise.
34005 * misc/syslog.c: Likewise.
34006 * stdio-common/asprintf.c: Likewise.
34007 * stdio-common/fxprintf.c: Likewise.
34008 * stdio-common/getw.c: Likewise.
34009 * stdio-common/isoc99_fscanf.c: Likewise.
34010 * stdio-common/isoc99_scanf.c: Likewise.
34011 * stdio-common/isoc99_vfscanf.c: Likewise.
34012 * stdio-common/isoc99_vscanf.c: Likewise.
34013 * stdio-common/isoc99_vsscanf.c: Likewise.
34014 * stdio-common/printf-prs.c: Likewise.
34015 * stdio-common/printf_fp.c: Likewise.
34016 * stdio-common/printf_fphex.c: Likewise.
34017 * stdio-common/printf_size.c: Likewise.
34018 * stdio-common/putw.c: Likewise.
34019 * stdio-common/scanf.c: Likewise.
34020 * stdio-common/sprintf.c: Likewise.
34021 * stdio-common/tmpfile.c: Likewise.
34022 * stdio-common/vfprintf.c: Likewise.
34023 * stdio-common/vfscanf.c: Likewise.
34024 * stdlib/strfmon_l.c: Likewise.
34025 * sunrpc/openchild.c: Likewise.
34026 * sunrpc/xdr_stdio.c: Likewise.
34027 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34028 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34030 2012-05-24 Roland McGrath <roland@hack.frob.com>
34032 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34034 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34035 in the third column, to generate for the shared library an IFUNC
34036 that uses _dl_vdso_vsym.
34037 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34038 * Makeconfig (object-suffixes-noshared): New variable.
34040 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34041 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34042 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34043 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34046 * include/sys/time.h (__gettimeofday): Remove macro.
34047 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34048 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34050 (__gettimeofday): Add libc_hidden_def.
34051 (gettimeofday): Add libc_hidden_weak.
34052 * sysdeps/mach/gettimeofday.c: Likewise.
34053 * sysdeps/posix/gettimeofday.c: Likewise.
34054 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34055 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34056 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34057 (__gettimeofday_internal): Remove strong_alias.
34058 (__gettimeofday): Add libc_hidden_def.
34059 (gettimeofday): Add libc_hidden_weak.
34060 * sysdeps/unix/syscalls.list (gettimeofday):
34061 Remove __gettimeofday_internal alias.
34063 2012-05-24 Daniel Jacobowitz <drow@false.org>
34064 H.J. Lu <hongjiu.lu@intel.com>
34067 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34068 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34069 (largebin_index_32_big): New.
34070 (largebin_index): Use it for 16-byte alignment.
34071 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34072 correction with front_misalign.
34074 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34102 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34103 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34105 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34109 * math/libm-test.inc (exp_test): Add test from bug 14036.
34110 (pow_test): Add test from bug 10846.
34112 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34114 (special_function): Do not include flags in test name.
34115 (parse_args): Likewise.
34116 * sysdeps/i386/fpu/libm-test-ulps: Update.
34117 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34118 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34119 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34122 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34124 * math/libm-test.inc ("Philosophy"): Update comment about
34126 (UNDERFLOW_EXCEPTION): New macro.
34127 (UNDERFLOW_EXCEPTION_OK): Likewise.
34128 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34129 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34130 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34131 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34132 (INVALID_EXCEPTION_OK): Update value.
34133 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34134 (OVERFLOW_EXCEPTION_OK): Likewise.
34135 (IGNORE_ZERO_INF_SIGN): Likewise.
34136 (test_exceptions): Handle underflow exceptions.
34137 (acos_test): Update for underflow exception expectations.
34138 (cexp_test): Likewise.
34139 (clog_test): Likewise.
34140 (clog10_test): Likewise.
34141 (csqrt_test): Likewise.
34142 (ctan_test): Likewise.
34143 (ctanh_test): Likewise.
34144 (exp_test): Likewise.
34145 (exp10_test): Likewise.
34146 (exp2_test): Likewise.
34147 (expm1_test): Likewise.
34148 (fma_test): Likewise.
34149 (j0_test): Likewise.
34150 (jn_test): Likewise.
34151 (nexttoward_test): Likewise.
34152 (pow_test): Likewise.
34153 (scalbn_test): Likewise.
34154 (scalbln_test): Likewise.
34155 (tan_test): Likewise.
34156 (y1_test): Likewise.
34157 * sysdeps/i386/fpu/libm-test-ulps: Update.
34158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34160 2012-05-23 David S. Miller <davem@davemloft.net>
34162 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34163 (__libc_sigaction): Remove unused local variables.
34165 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34167 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34169 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34171 mktime: avoid signed integer overflow
34172 * time/mktime.c (__mktime_internal): Do not mishandle the case
34173 where diff == INT_MIN.
34175 mktime: simplify computation of average
34176 * time/mktime.c (ranged_convert): Use new time_t_avg function
34177 instead of rolling our own (probably-slower) code.
34179 mktime: do not assume signed right shift propagates sign bit
34180 * time/mktime.c (isdst_differ): New static function.
34181 (__mktime_internal): No need to normalize tm_isdst now.
34182 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34185 mktime: merge another wrapv change from gnulib
34186 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34187 from some compilers.
34189 mktime: remove incorrect attempt at unusual arithmetics
34190 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34191 The code didn't really work on such machines anyway.
34192 (TYPE_MINIMUM): Assume two's complement.
34193 (twos_complement_arithmetic): Verify that long_int and time_t
34194 are two's complement (or unsigned, in the latter case).
34196 mktime: check signed shifts on long_int and time_t, too
34197 * time/mktime.c (SHR): Check that shifts work as desired
34198 on the types long_int and time_t too, as SHR is used on
34201 mktime: do not assume 'long' is wide enough
34202 * time/mktime.c (verify): Move decl up.
34203 (long_int): New type.
34204 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34205 to remove assumption in the code that 'long' is wide enough to
34206 store year values. This assumption is not true on x32 and on
34207 some non-glibc platforms.
34209 mktime: merge wrapv change from gnulib
34210 * time/mktime.c (WRAPV): New macro.
34211 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34212 (guess_time_tm, __mktime_internal): Do not assume that signed
34213 integer overflow wraps around; modern compilers generate code
34214 where this assumption is no longer valid.
34216 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34218 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34219 Replace "jmp L(pseudo_end)" with "ret".
34220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34223 2012-05-23 Andreas Jaeger <aj@suse.de>
34225 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34226 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34228 2012-05-23 Andreas Jaeger <aj@suse.de>
34229 Maximilian Attems <max@stro.at>
34231 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34234 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34236 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34237 code so that pseudo_end is just ret and the stack pointer is
34238 correct also for static library in error case.
34240 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34242 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34243 move to syscalls.list.
34244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34249 * manual/install.texi (Running make install): Do not mention Linux
34250 kernel version for which pt_chown is not needed.
34251 (Linux): Do not mention problems with nscd with 2.0 kernels.
34252 * INSTALL: Regenerated.
34254 2012-05-23 Andreas Jaeger <aj@suse.de>
34256 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34257 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34259 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34260 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34261 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34262 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34263 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34264 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34265 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34266 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34268 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34269 * sysdeps/unix/sysv/linux/bits/in.h
34270 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34272 2012-05-22 Roland McGrath <roland@hack.frob.com>
34274 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34275 (PREPARE_VERSION): Just use assert instead, it will be elided
34276 under [NDEBUG] anyway.
34278 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34280 * sysdeps/unix/sysv/linux/Makefile: Include
34281 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34282 (sysdep_routines): Remove sysctl.
34283 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34284 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34285 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34286 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34287 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34289 2012-05-22 Andreas Jaeger <aj@suse.de>
34291 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34292 that pseudo_end is just ret and the stack pointer is correct also
34293 for static library in error case.
34295 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34298 * nss/nsswitch.c (defconfig_entries): New variable.
34299 (__nss_database_lookup): Don't leak defconfig entries.
34300 (nss_parse_service_list): Don't leak on error paths.
34301 (free_database_entries): New function.
34302 (free_defconfig): New function.
34303 (free_mem): Move common code to free_database_entries.
34305 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34307 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34309 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34311 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34312 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34315 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34316 (INTERNAL_SYSCALL_TYPES): Likewise.
34317 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34318 (LOAD_REGS_TYPES_[1-6]): Likewise.
34319 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34320 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34322 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34325 copysignl for GLIBC_2_0.
34326 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34327 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34329 logbl for GLIBC_2_0.
34330 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34331 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34333 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34335 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34336 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34338 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34341 * time/mktime.c: Update copyright years.
34343 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34345 mktime: merge comment-quoting-style change from gnulib
34346 * time/mktime.c: Quote 'like this' in comments.
34347 The GNU coding standards suggest that we no longer quote `like this',
34348 as "`" and "'" are typically rendered asymmetrically nowadays.
34349 The typical gnulib style is to quote 'like this' when quoting
34350 code, and "like this" when quoting English.
34352 * time/mktime.c (compile-command): Add "-I.".
34354 mktime: merge mktime-internal.h change from gnulib
34355 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34357 mktime: merge time_r change from gnulib
34358 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34360 mktime: merge DEBUG change from gnulib
34361 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34362 case system <time.h> has a #define.
34364 mktime: merge <sys/types.h> change from gnulib
34365 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34366 since <time.t> is now guaranteed to define time_t.
34368 mktime: merge HAVE_CONFIG_H change from gnulib
34369 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34371 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34376 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34378 (struct rusage): Use anonymous union to pad each field to
34381 2012-05-21 David S. Miller <davem@davemloft.net>
34383 * Makefules (o-iterator): Remove .s cases.
34384 (compile-command.s): Delete.
34385 (COMPILE.s): Delete.
34386 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34388 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34390 * configure.in (libc_cv_predef_stack_protector): Only consider
34391 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34392 * configure: Regenerated.
34394 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34397 New macro. Use R*LP on int and pointer.
34398 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34399 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34400 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34401 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34403 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34404 [__WORDSIZE_TIME64_COMPAT32] instead of
34405 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34406 (struct utmp): Likewise.
34407 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34408 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34410 (__WORDSIZE_TIME64_COMPAT32): This.
34411 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34412 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34413 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34414 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34415 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34416 (__WORDSIZE_TIME64_COMPAT32): New macro.
34418 2012-05-21 Andreas Jaeger <aj@suse.de>
34420 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34421 only if [SHARED]. Add prototype for __wcschr_ia32.
34423 2012-05-21 Roland McGrath <roland@hack.frob.com>
34425 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34426 of %rbp unmolested in the jmp_buf while mangling the low bits.
34427 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34428 unmolested high bits of %rbp while demangling the low bits.
34429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34431 2012-05-21 Andreas Jaeger <aj@suse.de>
34433 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34434 * sunrpc/svc_simple.c: Use it for registerrpc.
34435 * sunrpc/xcrypt.c: Use it for passwd2des.
34437 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34439 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34441 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34442 Don't define if [__SYSCALL_WORDSIZE != 32].
34443 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34446 2012-05-21 Bruno Haible <bruno@clisp.org>
34447 Andreas Jaeger <aj@suse.de>
34449 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34450 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34451 inptr and inend for must_buffer_ch.
34452 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34453 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34454 * stdio-common/Makefile (tests): Remove bug15.
34455 (bug15-ENV): Remove macro.
34456 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34459 2012-05-19 Andreas Jaeger <aj@suse.de>
34460 Roland McGrath <roland@hack.frob.com>
34462 * manual/contrib.texi: Completely rewritten. It contains now an
34463 alphabetical list of contributors and their contributions.
34465 2012-05-21 Richard Henderson <rth@twiddle.net>
34467 * misc/getauxval.c (__getauxval): Use unsigned long int.
34468 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34469 (getauxval): Use unsigned long int.
34471 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34473 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34475 2012-05-21 Roland McGrath <roland@hack.frob.com>
34477 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34478 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34479 __alignof__ (long double).
34481 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34485 2012-05-20 Richard Henderson <rth@twiddle.net>
34487 * misc/getauxval.c: New file.
34488 * misc/sys/auxv.h: New file.
34489 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34490 (routines): Add getauxval.
34491 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34492 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34493 * elf/dl-sysdep.c (_dl_auxv): Remove.
34494 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34495 * elf/dl-support.c (_dl_auxv): New variable.
34496 (_dl_aux_init): Initialize it.
34497 * manual/startup.texi (Auxiliary Vector): New node.
34498 * sysdeps/generic/bits/hwcap.h: New file.
34499 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34500 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34501 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34502 * sysdeps/sparc/sysdep.h: ... here. Include it.
34503 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34504 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34516 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34520 2012-05-19 David S. Miller <davem@davemloft.net>
34522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34524 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34527 * math/s_ccosh.c: Include <float.h>
34528 (__ccosh): Avoid internal overflow calculating sinh and cosh
34529 values before multiplying by sin and cos values.
34530 * math/s_ccoshf.c: Likewise.
34531 * math/s_ccoshl.c: Likewise.
34532 * math/s_csin.c: Likewise.
34533 * math/s_csinf.c: Likewise.
34534 * math/s_csinl.c: Likewise.
34535 * math/s_csinh.c: Likewise.
34536 * math/s_csinhf.c: Likewise.
34537 * math/s_csinhl.c: Likewise.
34538 * math/libm-test.inc (ccos_test): Add more tests.
34539 (ccosh_test): Likewise.
34540 (csin_test): Likewise.
34541 (csinh_test): Likewise.
34542 * sysdeps/i386/fpu/libm-test-ulps: Update.
34543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34545 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34547 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34548 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34550 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34552 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34554 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34555 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34556 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34557 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34558 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34559 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34560 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34561 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34562 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34563 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34564 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34565 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34566 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34567 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34568 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34569 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34570 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34571 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34572 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34573 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34574 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34575 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34576 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34577 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34578 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34579 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34580 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34581 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34582 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34583 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34584 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34586 2012-05-18 Andreas Jaeger <aj@suse.de>
34588 * csu/.gitignore: Delete.
34590 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34592 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34593 (timex): Use __syscall_slong_t.
34595 2012-05-18 Andreas Jaeger <aj@suse.de>
34596 Carlos O'Donell <carlos_odonell@mentor.com>
34598 * manual/install.texi (Configuring and compiling): Update
34599 description about files modified in the source directory.
34600 * INSTALL: Regenerated.
34602 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34604 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34605 value. Use "or" to set return value to -1.
34606 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34607 negate return value.
34609 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34611 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34612 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34613 failure if the compiler has Graphite support disabled.
34614 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34616 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34617 (CFLAGS-memmove.c): Likewise.
34618 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34621 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34623 * sysdeps/x86_64/x32/_itoa.h: New file.
34625 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34626 getdents system call only if kernel and user dirents have the
34627 same d_ino and d_off.
34629 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34630 LLONG_MAX != LONG_MAX.
34631 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34632 (_fitoa_word): Likewise.
34634 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34636 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34637 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34638 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34640 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34641 include <bits/wordsize.h>. Check __x86_64__ instead of
34643 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34644 if __x86_64__ is defined. Use anonymous union on fpstate.
34646 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34649 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34651 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34652 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34653 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34654 Refer to _rtld_local_ro instead of _rtld_global_ro.
34655 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34657 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34659 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34661 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34662 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34663 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34665 * sysdeps/powerpc/powerpc32/dl-machine.c
34666 (__elf_machine_runtime_setup) [PROF]: Don't reference
34669 2012-05-18 Andreas Jaeger <aj@suse.de>
34671 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34672 function only available for GCCs before 3.4 since GCC 3.4
34673 introduced a builtin.
34675 (llrintf): Likewise.
34676 (llrint): Likewise.
34683 (nearbyint): Likewise.
34684 (nearbyintf): Likewise.
34688 (floorf): Likewise.
34690 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34692 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34693 on both fields and cast pointer to __syscall_ulong_t.
34695 * bits/types.h (__fsword_t): New type.
34696 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34697 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34698 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34699 (__FSWORD_T_TYPE): Likewise.
34700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34701 (__FSWORD_T_TYPE): Likewise.
34702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34703 (__FSWORD_T_TYPE): Likewise.
34704 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34705 (__FSWORD_T_TYPE): Likewise.
34706 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34707 __SWORD_TYPE with __fsword_t.
34708 (statfs64): Likewise.
34710 2012-05-17 David S. Miller <davem@davemloft.net>
34712 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34714 2012-05-17 Andreas Jaeger <aj@suse.de>
34716 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34719 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34721 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34723 2012-05-17 Andreas Jaeger <aj@suse.de>
34725 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34728 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34730 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34732 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34734 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34735 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34737 2012-05-17 Andreas Jaeger <aj@suse.de>
34738 Carlos O'Donell <carlos_odonell@mentor.com>
34741 * sysdeps/x86_64/multiarch/init-arch.h
34742 (bit_YMM_Usable): Rename to...
34743 (bit_AVX_Usable): ... this.
34744 (bit_FMA4_Usable): New macro.
34745 (bit_XMM_state): New macro.
34746 (bit_YMM_state): New macro.
34747 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34748 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34749 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34750 (CPUID_OSXSAVE): New macro.
34751 (CPUID_AVX): New macro.
34752 (CPUID_FMA4): New macro.
34753 (index_YMM_Usable): Rename to...
34754 (index_AVX_Usable): ... this.
34755 (HAS_AVX): Use HAS_ARCH_FEATURE.
34756 (HAS_FMA4): Likewise.
34757 (HAS_YMM_USABLE): Remove.
34758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34759 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34761 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34762 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34763 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34764 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34765 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34767 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34769 * math/libm-test.c: Support platforms without multiple rounding modes.
34770 * math/bug-nextafter.c: Support platforms without FP exceptions.
34771 * math/bug-nexttoward.c: Likewise.
34772 * math/test-fenv.c: Likewise.
34773 * math/test-misc.c: Likewise.
34774 * stdlib/bug-getcontext.c: Likewise.
34776 2012-05-17 Andreas Jaeger <aj@suse.de>
34778 * manual/examples/search.c (critter_cmp): Change signature to
34780 * manual/string.texi (Collation Functions): Likewise.
34782 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34784 * bits/types.h: Fold copyright years.
34785 * bits/typesizes.h: Likewise.
34786 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34787 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34790 * time/time.h: Likewise.
34792 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34795 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34796 in instead of returning them. Return void.
34797 (__libc_mallinfo): Accumulate over all arenas.
34798 (__malloc_stats): Adjust for change in int_mallinfo interface.
34800 2012-05-16 Roland McGrath <roland@hack.frob.com>
34803 * configure.in (NM): Add AC_CHECK_TOOL for it.
34804 (libc_extra_cflags): New substituted variable.
34805 Check for -fstack-protector being used implicitly.
34806 * configure: Regenerated.
34807 * config.make.in (config-extra-cflags): New variable,
34808 gets @libc_extra_cflags@.
34809 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34812 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34813 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34814 * configure: Regenerated.
34815 * config.make.in (CPPUNDEFS): New substituted variable.
34816 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34817 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34818 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34820 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34822 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34823 (mq_attr): Use __syscall_slong_t.
34825 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34827 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34828 Check __x86_64__ instead of __WORDSIZE.
34829 (_STAT_VER_LINUX): Likewise.
34830 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34831 __syscall_ulong_t and __syscall_slong_t.
34832 (stat64): Likewise.
34834 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34836 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34838 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34840 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34842 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34844 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34847 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34848 include <bits/wordsize.h>. Check __x86_64__ instead of
34850 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34852 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34854 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34855 include <bits/wordsize.h>. Check __x86_64__ instead of
34857 (user_regs_struct): Use "__extension__ unsigned long long"
34858 instead of "unsigned long" if __x86_64__ is defined.
34859 (user): Likewise. Pad after pointer field if __ILP32__ is
34862 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34864 * configure.in (makeinfo): Require version 4.5 or later. Allow
34866 * configure: Regenerated.
34867 * manual/install.texi (texinfo): Increase version requirement to
34869 * INSTALL: Regenerated.
34871 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34873 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34875 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34877 * sysdeps/x86_64/x32/ffs.c: New file.
34879 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34881 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34882 defined. Use __syscall_ulong_t.
34883 (shminfo): Use __syscall_ulong_t.
34884 (shm_info): Likewise.
34886 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34889 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34891 (msgqnum_t): Use __syscall_ulong_t.
34892 (msglen_t): Likewise.
34893 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34896 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34897 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34899 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34901 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34902 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34904 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34907 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34908 include <bits/wordsize.h>. Check __x86_64__ instead of
34911 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34912 "unsigned long long int" if __x86_64__ is defined.
34913 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34915 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34916 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34917 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34919 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34921 (GET_PC): Cast to uintptr_t first.
34922 (GET_FRAME): Likewise.
34923 (GET_STACK): Likewise.
34925 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34926 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34927 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34928 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34929 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34930 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34931 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34932 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34933 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34934 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34935 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34936 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34937 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34938 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34939 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34940 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34941 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34942 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34943 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34944 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34945 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34946 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34947 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34948 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34949 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34950 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34951 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34952 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34953 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34955 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34957 * Makerules (+depfiles): Also collect depfiles from .oS in
34959 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34960 .oS, $(libnldbl-routines)).
34962 * Makerules (native-compile-mkdep-flags): Define.
34963 * sunrpc/Makefile (extra-objs): Add $(addprefix
34964 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34965 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34966 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34967 calling $(make-target-directory).
34969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34971 * bits/types.h (__snseconds_t): Removed.
34972 * time/time.h (struct timespec): Replace __snseconds_t with
34974 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34975 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34977 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34978 (__SNSECONDS_T_TYPE): Likewise.
34979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34980 (__SNSECONDS_T_TYPE): Likewise.
34981 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34982 (__SNSECONDS_T_TYPE): Likewise.
34984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34986 * sysdeps/mach/hurd/bits/typesizes.h
34987 (__SYSCALL_SLONG_TYPE): New macro.
34988 (__SYSCALL_ULONG_TYPE): Likewise.
34990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34992 * bits/types.h (__syscall_slong_t): New type.
34993 (__syscall_ulong_t): Likewise.
34995 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34996 (__SYSCALL_ULONG_TYPE): Likewise.
34997 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34998 (__SYSCALL_SLONG_TYPE): Likewise.
34999 (__SYSCALL_ULONG_TYPE): Likewise.
35000 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35001 (__SYSCALL_SLONG_TYPE): Likewise.
35002 (__SYSCALL_ULONG_TYPE): Likewise.
35003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35004 (__SYSCALL_SLONG_TYPE): Likewise.
35005 (__SYSCALL_ULONG_TYPE): Likewise.
35007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35009 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35010 Add sigaltstack-offsets.sym.
35011 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35012 <sigaltstack-offsets.h>.
35013 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35014 longjmp_msg pointer.
35015 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35016 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35018 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35020 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35022 * elf/stackguard-macros.h: Remove file.
35023 * sysdeps/generic/stackguard-macros.h: New file.
35024 * sysdeps/i386/stackguard-macros.h: Likewise.
35025 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35026 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35027 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35028 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35029 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35030 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35031 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35032 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35033 <elf/stackguard-macros.h>.
35036 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35037 __aligned__ in attribute.
35038 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35039 (gregset_t): Likewise.
35041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35043 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35044 * sysdeps/x86_64/64/Implies-after: Here. New file.
35045 * sysdeps/x86_64/x32/Implies-after: New file.
35047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35049 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35050 and access return value for _dl_profile_fixup. Use R10_LP to
35053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35055 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35057 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35059 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35060 * sysdeps/x86_64/x32/sysdep.h: New file.
35062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35064 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35065 * sysdeps/x86_64/setjmp.S: Likewise.
35067 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35069 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35070 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35071 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35072 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35073 remove unused global constant.
35075 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35077 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35078 include of <not-cancel.h>.
35080 2012-05-15 Roland McGrath <roland@hack.frob.com>
35082 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35084 2012-05-15 Jeff Law <law@redhat.com>
35085 Andreas Jaeger <aj@suse.de>
35088 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35090 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35091 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35092 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35093 code changing __hst_map_handle.map.
35095 2012-05-15 Roland McGrath <roland@hack.frob.com>
35097 * configure.in (sysnames): Look for Implies-before and Implies-after
35099 * configure: Regenerated.
35101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35103 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35104 8-byte data alignment with LP_SIZE alignment.
35106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35108 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35113 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35117 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35118 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35119 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35121 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35125 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35126 (stackinfo_sub_sp): Likewise.
35128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35135 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35145 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35149 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35150 into R11_LP and load __x86_64_shared_cache_size_half into
35153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35155 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35158 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35160 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35162 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35164 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35166 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35167 powerpc32/power7/fpu/s_logb.c via #include.
35168 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35169 powerpc32/power7/fpu/s_logbf.c via #include.
35170 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35171 powerpc32/power7/fpu/s_logbl.c via #include.
35173 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35175 * README.libm: Remove file.
35177 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35179 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35180 count for x32. Use R*_LP and omit operand-size suffix.
35182 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35184 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35185 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35186 * sysdeps/x86_64/x32/shlib-versions: New file.
35188 2012-05-14 Roland McGrath <roland@hack.frob.com>
35190 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35191 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35192 Use _dl_fatal_printf instead.
35194 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35196 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35197 set if not set by the user. Do not allow for being unset.
35198 * sysdeps/unix/sysv/linux/configure: Regenerated.
35200 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35202 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35203 the `q' suffix from lea and replace .quad with ASM_ADDR.
35205 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35208 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35210 (PTR_DEMANGLE): Likewise.
35212 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35214 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35216 (ASM_ADDR): Likewise.
35217 (RAX_LP): Likewise.
35218 (RBP_LP): Likewise.
35219 (RBX_LP): Likewise.
35220 (RCX_LP): Likewise.
35221 (RDI_LP): Likewise.
35222 (RSI_LP): Likewise.
35223 (RSP_LP): Likewise.
35226 (R10_LP): Likewise.
35227 (R10_LP): Likewise.
35228 (R11_LP): Likewise.
35229 (R12_LP): Likewise.
35230 (R13_LP): Likewise.
35231 (R14_LP): Likewise.
35232 (R15_LP): Likewise.
35234 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35236 * sysdeps/x86_64/x32/dl-machine.h: New file.
35238 2012-05-14 Andreas Jaeger <aj@suse.de>
35240 * manual/Makefile (subdir): Remove export of subdir.
35241 (all): Remove target.
35242 (.PHONY): Remove all from list.
35243 (mkinstalldirs): Remove.
35244 (.PHONY): Remove installdirs from list.
35245 ($(inst_infodir)/libc.info): Use make-target-directory.
35246 (installdirs): Remove.
35247 (subdir_%): Remove.
35248 (glibc-targets): Remove.
35251 ($(objpfx)stubs ../po/manual.pot): Remove.
35252 ($(objpfx)stamp%): Remove.
35253 (make-target-directory): Remove.
35254 (subdir_install): Remove.
35255 (routines): Remove.
35262 * manual/.gitignore: Remove, it's not needed anymore.
35263 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35265 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35267 (texis): Renamed to $(objpfx)texis.
35268 (texis-path): New, contains path to generated files.
35269 (chapters.%): Use texis-path for complete path, add extra argument
35271 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35272 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35273 (summary,texi, stamp-summary): Use complete path of
35274 files. Generate files in build dir.
35275 (dir-add.texi): Build in build dir.
35276 (libm-err.texi,stamp-libm-err): Likewise.
35277 (version.texi, stamp-version): Likewise.
35278 (.%c.texi): Likewise.
35279 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35280 (mostlyclean): Remove target.
35281 (realclean): Remove target.
35282 (generated): Add new variable with contents from mostlyclean and
35283 realclean, remove entries duplicated in common-mostlyclean, add
35284 stamp-libm-err and stamp-version.
35285 (generated-dirs): Add libc directory.
35286 ($(inst_infodir)/libc.info): Install files from build dir.
35288 * manual/install.texi (Configuring and compiling): Adjust since
35289 the info files are not part of the tar ball anymore.
35291 2012-05-14 Andreas Jaeger <aj@suse.de>
35293 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35296 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35300 to 2.2.0 where earlier.
35301 * sysdeps/unix/sysv/linux/configure: Regenerated.
35302 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35303 Remove conditional code.
35304 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35305 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35306 Remove conditional code.
35307 [!__NR_lchown]: Likewise.
35308 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35309 [__NR_lchown]: Likewise.
35310 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35311 comment referencing __ASSUME_LCHOWN_SYSCALL.
35312 * sysdeps/unix/sysv/linux/i386/sigaction.c
35313 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35314 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35315 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35316 Remove conditional code.
35317 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35318 (__protocol_available): Remove #if 0 code.
35319 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35321 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35322 * sysdeps/unix/sysv/linux/kernel-features.h
35323 (__ASSUME_GETCWD_SYSCALL): Don't define.
35324 (__ASSUME_REALTIME_SIGNALS): Likewise.
35325 (__ASSUME_PREAD_SYSCALL): Likewise.
35326 (__ASSUME_PWRITE_SYSCALL): Likewise.
35327 (__ASSUME_POLL_SYSCALL): Likewise.
35328 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35329 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35331 (__ASSUME_SIOCGIFNAME): Don't define.
35332 (__ASSUME_MSG_NOSIGNAL): Likewise.
35333 (__ASSUME_SENDFILE): Define unconditionally.
35334 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35335 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35337 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35338 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35339 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35340 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35341 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35342 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35343 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35345 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35348 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35351 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35354 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35357 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35360 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35363 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35366 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35368 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35369 Remove conditional code.
35370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35371 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35372 Remove conditional code.
35373 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35374 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35375 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35376 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35377 Remove conditional code.
35378 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35379 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35380 Remove conditional code.
35381 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35382 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35383 Remove conditional code.
35384 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35385 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35386 Remove conditional code.
35387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35388 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35389 Remove conditional code.
35390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35391 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35392 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35394 * sysdeps/unix/sysv/linux/sigaction.c
35395 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35396 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35397 * sysdeps/unix/sysv/linux/sigpending.c
35398 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35399 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35400 * sysdeps/unix/sysv/linux/sigprocmask.c
35401 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35402 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35403 * sysdeps/unix/sysv/linux/sigsuspend.c
35404 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35405 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35406 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35407 (__libc_missing_rt_sigs): Remove.
35408 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35409 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35410 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35411 Remove conditional code.
35412 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35413 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35415 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35416 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35417 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35418 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35420 2012-05-14 Andreas Jaeger <aj@suse.de>
35422 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35423 it's not used in glibc.
35424 (__coshm1): Likewise.
35425 (__acosh1p): Likewise.
35428 * manual/string.texi (Copying and Concatenation): Add missing
35429 variable in concat example.
35430 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35432 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35435 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35436 __builtin_clzl with __builtin_clzll.
35438 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35441 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35444 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35446 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35447 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35448 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35449 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35451 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35453 * NEWS: Update ia64 info.
35455 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35457 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35460 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35462 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35463 * sysdeps/unix/syscalls.list (dup3): Likewise.
35464 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35465 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35467 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35469 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35470 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35472 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35474 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35476 (TLS_IE): Use mov/add instead of movq/addq to load thread
35478 (TLS_GD_PREFIX): New.
35481 2012-05-11 David S. Miller <davem@davemloft.net>
35483 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35484 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35485 (_FPU_SETCW): Likewise.
35487 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35489 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35490 is 32-byte aligned.
35492 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35495 * iconvdata/gb18030.c: Update tables.
35496 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35497 characters specially.
35498 (BODY for TO_LOOP): Add encoding of missing ranges.
35500 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35503 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35504 * sysdeps/mach/hurd/dup3.c: Likewise.
35505 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35506 * sysdeps/powerpc/memmove.c:: Likewise.
35508 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35511 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35513 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35515 * elf/elf.h (R_X86_64_RELATIVE64): New.
35516 (R_X86_64_NUM): Updated.
35517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35518 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35519 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35520 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35521 tst-quad1pie tst-quad2pie
35522 (modules-names): Add tst-quadmod1 tst-quadmod2.
35523 ($(objpfx)tst-quad1): New dependency.
35524 ($(objpfx)tst-quad2): Likewise.
35525 ($(objpfx)tst-quad1pie): Likewise.
35526 ($(objpfx)tst-quad2pie): Likewise.
35527 * sysdeps/x86_64/tst-quad1.c: New file.
35528 * sysdeps/x86_64/tst-quad1pie.c: New file.
35529 * sysdeps/x86_64/tst-quad2.c: Likewise.
35530 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35531 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35532 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35533 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35534 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35536 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35538 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35539 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35540 * streams/stropts.h (t_scalar_t): Define type.
35542 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35543 (_PATH_PRESERVE): Set to "/var/lib".
35544 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35546 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35549 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35550 if __dir_mkfile succeeded.
35552 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35553 checking for _hurd_dtablesize. Unlock it right after having
35554 finished _hurd_dtable allocation.
35556 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35558 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35559 * sysdeps/mach/hurd/configure: Regenerated.
35560 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35561 special-casing to...
35562 * sysdeps/gnu/configure.in: ... this new file.
35563 * sysdeps/unix/sysv/linux/configure: Regenerated.
35564 * sysdeps/gnu/configure: New generated file.
35566 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35567 for Linux: use nsec instead of usec, as well as:
35568 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35569 members of type struct timespec.
35570 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35572 (struct stat64): Likewise.
35573 (_STATBUF_ST_NSEC): New macro.
35574 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35576 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35577 __strtoul_internal rather than strtoul.
35579 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35581 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35584 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35586 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35587 which preserves existing values.
35588 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35590 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35592 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35593 TIMEOUT values. Return EINVAL for NFDS values either negative or
35594 greater than FD_SETSIZE.
35596 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35598 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35599 allocated, call __vm_protect to finish enabling the existing space, and
35600 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35601 allocate the remainder.
35603 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35605 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35606 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35608 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35610 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35611 sysdeps/mach/hurd/readlink.c.
35613 * posix/tst-sysconf.c (posix_options): Only use
35614 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35615 _POSIX_SYNCHRONIZED_IO when they are defined
35616 * sysdeps/mach/hurd/bits/posix_opt.h:
35617 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35618 (_XOPEN_REALTIME): Undefine macro.
35619 (_XOPEN_REALTIME_THREADS): Undefine macro.
35620 (_XOPEN_SHM): Undefine macro.
35621 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35623 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35625 (_POSIX_ASYNC_IO): Undefine macro.
35626 (_POSIX_PRIORITIZED_IO): Undefine macro.
35627 (_POSIX_SPIN_LOCKS): Define macro to -1.
35629 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35630 SA_NODEFER, SA_RESETHAND.
35631 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35632 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35635 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35637 * elf/Makefile (pldd-modules): Define unconditionally.
35639 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35641 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35645 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35646 Return ENOENT when name is empty.
35647 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35649 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35651 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35653 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35655 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35657 Fix mlock in all cases except non-readable pages.
35658 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35659 instead of VM_PROT_ALL as parameter to __vm_wire function.
35661 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35662 (__mkdir): When path is `/', just fail with EEXIST.
35663 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35665 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35667 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35668 <sys/uio.h> (for writev).
35669 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35670 and <sys/param.h> (for MIN).
35672 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35674 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35675 REQUESTED_TIME. Properly set the remaining time and return EINTR
35678 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35680 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35681 Depend on against $(link-rpcuserlibs).
35683 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35685 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35686 (__libc_stack_end): Do not use attribute_relro.
35687 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35688 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35689 to libthread-provided value.
35690 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35693 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35696 * bits/libc-lock.h (__libc_once_get): New macro.
35697 * sysdeps/mach/bits/libc-lock.h: Likewise.
35698 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35700 instead of using implementation details.
35702 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35703 * libio/freopen.c: Likewise.
35704 * libio/freopen64.c: Likewise.
35705 * misc/syslog.c: Likewise.
35706 * nscd/connections.c: Likewise.
35707 * nscd/netgroupcache.c: Likewise.
35708 * sysdeps/posix/getcwd.c: Likewise.
35710 2012-05-10 Roland McGrath <roland@hack.frob.com>
35712 * math/w_ilogbf.c: Add #include <limits.h>.
35714 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35716 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35717 path instead of returning without unlocking.
35719 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35720 immediate-write ioctls.
35721 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35723 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35725 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35726 __builtin_frame_address instead of making assumptions about the
35727 location of the return address relative to DATA. Force early load of
35728 the return address.
35729 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35730 __builtin_frame_address.
35733 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35734 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35735 implement dup3 and do some further code clean-ups.
35736 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35737 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35739 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35741 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35743 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35744 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35745 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35746 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35747 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35750 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35751 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35752 when handler == SIG_ERR, not when handler != SIG_ERR.
35754 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35756 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35757 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35760 accept4 for GNU Hurd.
35761 * include/sys/socket.h (__libc_accept4): New prototype.
35762 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35763 to implement __libc_accept4.
35764 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35766 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35768 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35769 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35770 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35771 signal-defines.sym.
35773 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35775 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35777 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35779 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35780 assertion on O_CLOEXEC flag.
35781 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35782 * hurd/intern-fd.c: Likewise.
35783 * hurd/port2fd.c: Likewise.
35785 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35788 * bits/in.h (IPV6_PKTINFO): Define new macro.
35789 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35791 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35796 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35798 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35799 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35800 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35801 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35802 * math/libm-test.inc (logb_test) : Additional logb tests.
35804 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35805 Andreas Jaeger <aj@suse.de>
35807 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35808 * configure: Regenerated.
35809 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35810 * config.make.in (link-obsolete-rpc): New substituted variable.
35811 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35812 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35813 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35814 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35815 so that libc.a contains the symbols.
35816 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35817 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35818 * sunrpc/auth_none.c: Likewise.
35819 * sunrpc/auth_unix.c: Likewise.
35820 * sunrpc/authdes_prot.c: Likewise.
35821 * sunrpc/authuxprot.c: Likewise.
35822 * sunrpc/clnt_gen.c: Likewise.
35823 * sunrpc/clnt_perr.c: Likewise.
35824 * sunrpc/clnt_raw.c: Likewise.
35825 * sunrpc/clnt_simp.c: Likewise.
35826 * sunrpc/clnt_tcp.c: Likewise.
35827 * sunrpc/clnt_udp.c: Likewise.
35828 * sunrpc/clnt_unix.c: Likewise.
35829 * sunrpc/des_crypt.c: Likewise.
35830 * sunrpc/des_soft.c: Likewise.
35831 * sunrpc/get_myaddr.c: Likewise.
35832 * sunrpc/key_call.c: Likewise.
35833 * sunrpc/key_prot.c: Likewise.
35834 * sunrpc/netname.c: Likewise.
35835 * sunrpc/pm_getmaps.c: Likewise.
35836 * sunrpc/pm_getport.c: Likewise.
35837 * sunrpc/pmap_clnt.c: Likewise.
35838 * sunrpc/pmap_prot.c: Likewise.
35839 * sunrpc/pmap_prot2.c: Likewise.
35840 * sunrpc/pmap_rmt.c: Likewise.
35841 * sunrpc/publickey.c: Likewise.
35842 * sunrpc/rpc_cmsg.c: Likewise.
35843 * sunrpc/rpc_common.c: Likewise.
35844 * sunrpc/rpc_dtable.c: Likewise.
35845 * sunrpc/rpc_prot.c: Likewise.
35846 * sunrpc/rpc_thread.c: Likewise.
35847 * sunrpc/rtime.c: Likewise.
35848 * sunrpc/svc.c: Likewise.
35849 * sunrpc/svc_auth.c: Likewise.
35850 * sunrpc/svc_raw.c: Likewise.
35851 * sunrpc/svc_run.c: Likewise.
35852 * sunrpc/svc_tcp.c: Likewise.
35853 * sunrpc/svc_udp.c: Likewise.
35854 * sunrpc/svc_unix.c: Likewise.
35855 * sunrpc/svcauth_des.c: Likewise.
35856 * sunrpc/xcrypt.c: Likewise.
35857 * sunrpc/xdr.c: Likewise.
35858 * sunrpc/xdr_array.c: Likewise.
35859 * sunrpc/xdr_float.c: Likewise.
35860 * sunrpc/xdr_intXX_t.c: Likewise.
35861 * sunrpc/xdr_mem.c: Likewise.
35862 * sunrpc/xdr_rec.c: Likewise.
35863 * sunrpc/xdr_ref.c: Likewise.
35864 * sunrpc/xdr_sizeof.c: Likewise.
35865 * sunrpc/xdr_stdio.c: Likewise.
35867 2012-05-10 Roland McGrath <roland@hack.frob.com>
35869 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35870 change. Update copyright years.
35872 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35874 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35876 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35877 Joseph Myers <joseph@codesourcery.com>
35878 Paul Pluzhnikov <ppluzhnikov@google.com>
35881 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35883 [cross-compiling] (extra-libs): Likewise.
35884 [cross-compiling] (extra-libs-others): Likewise.
35885 [cross-compiling] (librpcsvc-routines): Likewise.
35886 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35887 [cross-compiling] (omit-deps): Likewise.
35888 (sunrpc-CPPFLAGS): New variable.
35889 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35890 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35891 (cross-rpcgen-objs): New variable.
35892 (extra-objs): Append $(cross-rpcgen-objs).
35893 ($(cross-rpcgen-objs)): New rule.
35894 ($(objpfx)cross-rpcgen): Likewise.
35895 (rpcgen-cmd): Define to use $(built-program-file). Expand
35897 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35898 ($(objpfx)x%.stmp): Likewise.
35899 * sunrpc/proto.h [IS_IN_build] (_): Define.
35900 [IS_IN_build] (_libc_intl_domainname): Likewise.
35902 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35904 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35905 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35906 and R_X86_64_TPOFF64.
35908 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35910 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35911 sysdeps/unix/sysv/syscalls.list.
35914 * sysdeps/unix/sysv/syscalls.list: Remove file.
35916 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35919 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35920 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35921 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35922 (__LC_IDENTIFICATION): Make these macros useful in #if
35923 expressions, as required by C99.
35925 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35927 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35928 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35931 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35933 * stdlib/longlong.h: Updated from GCC.
35935 2012-05-09 Andreas Jaeger <aj@suse.de>
35937 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35938 default is first entry.
35939 (run_mode): Set type.
35940 (main): Remove informal message about syslog.
35941 (options): Fix typo.
35944 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35947 (llrintf): Likewise.
35948 (llrint): Likewise.
35951 (nearbyint): Likewise.
35952 (nearbyintf): Likewise.
35954 2012-05-09 Andreas Jaeger <aj@suse.de>
35955 Pedro Alves <palves@redhat.com>
35957 * nscd/nscd.c (run_mode): Use enum.
35958 (main): Cleanup coding style issue.
35960 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35961 Andreas Jaeger <aj@suse.de>
35963 * nscd/nscd.c (go_background): Replaced with...
35964 (run_mode): ... this.
35965 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35966 (options): Add -F --foreground.
35967 (main): Implement it.
35968 (parse_opt): Parse it.
35970 2012-05-09 Andreas Jaeger <aj@suse.de>
35973 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35974 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35975 -Wconversion warning.
35976 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35979 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35981 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35983 (LC_ALL): Use macro-int-constant.
35984 (LC_COLLATE): Likewise.
35985 (LC_CTYPE): Likewise.
35986 (LC_MESSAGES): Likewise.
35987 (LC_MONETARY): Likewise.
35988 (LC_NUMERIC): Likewise.
35989 (LC_TIME): Likewise.
35990 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35991 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35993 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35995 [C99-based standards] (float_t): Expect type.
35996 [C99-based standards] (double_t): Expect type.
35997 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35999 [C99-based standards] (HUGE_VALL): Likewise.
36000 [C99-based standards] (INFINITY): Likewise.
36001 [C99-based standards] (NAN): Likewise.
36002 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36003 [C99-based standards] (FP_NAN): Likewise.
36004 [C99-based standards] (FP_NORMAL): Likewise.
36005 [C99-based standards] (FP_SUBNORMAL): Likewise.
36006 [C99-based standards] (FP_ZERO): Likewise.
36007 [C99-based standards] (FP_FAST_FMA): Use
36008 optional-macro-int-constant. Specify type. Require == 1.
36009 [C99-based standards] (FP_FAST_FMAF): Likewise.
36010 [C99-based standards] (FP_FAST_FMAL): Likewise.
36011 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36012 [C99-based standards] (FP_ILOGBNAN): Likewise.
36013 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36015 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36016 [C99-based standards] (math_errhandling): Specify type.
36017 [ISO99 || ISO11] (signgam): Do not allow.
36018 [non-C99-based standards] (copysignf): Do not allow.
36019 [non-C99-based standards] (exp2f): Likewise.
36020 [non-C99-based standards] (log2f): Likewise.
36021 [non-C99-based standards] (modff): Allow.
36022 [non-C99-based standards] (erff): Do not allow.
36023 [non-C99-based standards] (erfcf): Likewise.
36024 [non-C99-based standards] (gammaf): Likewise.
36025 [non-C99-based standards] (hypotf): Likewise.
36026 [non-C99-based standards] (j0f): Likewise.
36027 [non-C99-based standards] (j1f): Likewise.
36028 [non-C99-based standards] (jnf): Likewise.
36029 [non-C99-based standards] (lgammaf): Likewise.
36030 [non-C99-based standards] (tgammaf): Likewise.
36031 [non-C99-based standards] (y0f): Likewise.
36032 [non-C99-based standards] (y1f): Likewise.
36033 [non-C99-based standards] (ynf): Likewise.
36034 [non-C99-based standards] (isnanf): Likewise.
36035 [non-C99-based standards] (acoshf): Likewise.
36036 [non-C99-based standards] (asinhf): Likewise.
36037 [non-C99-based standards] (atanhf): Likewise.
36038 [non-C99-based standards] (cbrtf): Likewise.
36039 [non-C99-based standards] (expm1f): Likewise.
36040 [non-C99-based standards] (ilogbf): Likewise.
36041 [non-C99-based standards] (log1pf): Likewise.
36042 [non-C99-based standards] (logbf): Likewise.
36043 [non-C99-based standards] (nextafterf): Likewise.
36044 [non-C99-based standards] (remainderf): Likewise.
36045 [non-C99-based standards] (rintf): Likewise.
36046 [non-C99-based standards] (scalbf): Likewise.
36047 [non-C99-based standards] (copysignl): Likewise.
36048 [non-C99-based standards] (exp2l): Likewise.
36049 [non-C99-based standards] (log2l): Likewise.
36050 [non-C99-based standards] (modfl): Allow.
36051 [non-C99-based standards] (erfl): Do not allow.
36052 [non-C99-based standards] (erfcl): Likewise.
36053 [non-C99-based standards] (gammal): Likewise.
36054 [non-C99-based standards] (hypotl): Likewise.
36055 [non-C99-based standards] (j0l): Likewise.
36056 [non-C99-based standards] (j1l): Likewise.
36057 [non-C99-based standards] (jnl): Likewise.
36058 [non-C99-based standards] (lgammal): Likewise.
36059 [non-C99-based standards] (tgammal): Likewise.
36060 [non-C99-based standards] (y0l): Likewise.
36061 [non-C99-based standards] (y1l): Likewise.
36062 [non-C99-based standards] (ynl): Likewise.
36063 [non-C99-based standards] (isnanl): Likewise.
36064 [non-C99-based standards] (acoshl): Likewise.
36065 [non-C99-based standards] (asinhl): Likewise.
36066 [non-C99-based standards] (atanhl): Likewise.
36067 [non-C99-based standards] (cbrtl): Likewise.
36068 [non-C99-based standards] (expm1l): Likewise.
36069 [non-C99-based standards] (ilogbl): Likewise.
36070 [non-C99-based standards] (log1pl): Likewise.
36071 [non-C99-based standards] (logbl): Likewise.
36072 [non-C99-based standards] (nextafterl): Likewise.
36073 [non-C99-based standards] (remainderl): Likewise.
36074 [non-C99-based standards] (rintl): Likewise.
36075 [non-C99-based standards] (scalbl): Likewise.
36076 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36077 [non-C99-based standards] (FP_*): Do not allow.
36078 [C99-based standards] (FP_*): Change to
36079 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36080 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36082 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36083 (SIG_ERR): Likewise.
36084 [X/Open-based standards] (SIG_HOLD): Likewise.
36085 (SIG_IGN): Likewise.
36086 (SIGABRT): Use macro-int-constant. Specify type. Require
36088 (SIGFPE): Likewise.
36089 (SIGILL): Likewise.
36090 (SIGINT): Likewise.
36091 (SIGSEGV): Likewise.
36092 (SIGTER): Likewise.
36093 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36094 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36095 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36096 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36097 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36098 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36099 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36100 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36101 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36102 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36103 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36104 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36105 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36106 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36107 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36108 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36109 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36110 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36111 [X/Open-based standards] (SIGTRAP): Likewise.
36112 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36113 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36114 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36115 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36116 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36119 2012-05-08 Ian Wienand <ianw@vmware.com>
36122 * time/tzset.c (__tzset_parse_tz): Update default rules for
36123 daylight time changes in the Energy Policy Act of 2005.
36125 2012-05-09 Andreas Jaeger <aj@suse.de>
36128 * elf/ldconfig.c (parse_conf): Change string to make clear that
36129 ldconfig only issued a warning if ld.so.conf does not exist.
36131 2012-05-08 David S. Miller <davem@davemloft.net>
36133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36134 movxtod instead of popping the value on the stack.
36136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36138 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36140 * config.h.in: Add HAVE_ARM_PCS_VFP.
36142 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36145 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36146 checking but the checks are disabled for any reason.
36148 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36150 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36151 and ELF64_R_TYPE with ELFW(R_TYPE).
36153 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36155 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36156 (ulimit): Likewise.
36158 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36159 (settimeofday): Likewise.
36161 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36163 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36164 a struct th_u2 inside the union, and move tu_block/tu_code into
36165 a new th_u3 union of tu_block/tu_code inside of that. Move
36166 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36167 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36168 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36169 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36170 (th_stuff): Change to th_u1.tu_stuff.
36172 (th_msg): Change to th_u1.th_u2.tu_data.
36174 2012-05-07 David S. Miller <davem@davemloft.net>
36176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36179 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36180 (SETUP_PIC_REG): Use it.
36181 (SETUP_PIC_REG_LEAF): Use it.
36183 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36187 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36189 (EXPL_FINITE): Likewise.
36190 (FLDLOG): Likewise.
36191 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36192 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36194 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36196 (EXPL_FINITE): Likewise.
36197 (FLDLOG): Likewise.
36198 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36199 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36201 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36202 test of -max_value argument for long double.
36203 * sysdeps/i386/fpu/libm-test-ulps: Update.
36204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36206 2012-05-06 David S. Miller <davem@davemloft.net>
36208 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36209 quad soft-float symbols whose references which are compiler
36211 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36213 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36217 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36219 (EXPL_FINITE): Likewise.
36220 (FLDLOG): Likewise.
36223 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36224 Adjust comments for base varying.
36225 (__expl_finite): Change alias to EXPL_FINITE.
36226 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36228 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36229 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36230 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36231 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36232 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36234 (EXPL_FINITE): Likewise.
36235 (FLDLOG): Likewise.
36238 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36239 Adjust comments for base varying.
36240 (__expl_finite): Change alias to EXPL_FINITE.
36241 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36246 * math/libm-test.inc (check_float_internal): Correct ulp
36247 calculation for subnormal expected results.
36249 2012-05-06 Andreas Jaeger <aj@suse.de>
36251 * Makeconfig (+math-flags): New, set to -frounding-math.
36252 (+cflags): Add +math-flags so that all of glibc gets compiled with
36255 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36257 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36259 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36265 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36266 (__ieee754_expl): Allow for and saturate large arguments.
36267 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36268 (u_threshold): Likewise.
36269 (__exp): Call __ieee754_exp before checking for overflow and
36271 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36272 (u_threshold): Likewise.
36273 (__expf): Call __ieee754_expf before checking for overflow and
36275 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36276 (u_threshold): Likewise.
36277 (__expl): Call __ieee754_expl before checking for overflow and
36279 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36280 (__ieee754_expl): Allow for and saturate large arguments.
36281 * math/libm-test.inc (exp_test): Add another test. Do not allow
36282 missing overflow exception on overflow.
36283 (expm1_test): Do not allow missing overflow exception on overflow.
36285 * sysdeps/i386/fpu/e_expl.c: Move to ...
36286 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36287 rather than using inline asm.
36288 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36289 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36290 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36292 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36295 (signal): Likewise.
36299 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36301 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36302 sysdeps/unix/common/syscalls.list.
36303 (fchmod): Likewise.
36304 (fchown): Likewise.
36305 (ftruncate): Likewise.
36306 (getrusage): Likewise.
36307 (gettimeofday): Likewise.
36308 (setpgid): Likewise.
36309 (setregid): Likewise.
36310 (setreuid): Likewise.
36311 (sigaction): Likewise.
36312 (truncate): Likewise.
36313 (vhangup): Likewise.
36314 * sysdeps/unix/common/syscalls.list: Remove file.
36315 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36316 * sysdeps/unix/sysv/linux/Implies: Likewise.
36318 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36320 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36322 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36326 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36329 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36332 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36335 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36338 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36341 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36344 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36348 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36352 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36355 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36359 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36363 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36365 * sysdeps/unix/common/bits/dirent.h: Remove file.
36366 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36368 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36369 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36370 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36371 * sysdeps/unix/bsd/isatty.c: Likewise.
36372 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36373 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36374 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36376 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36379 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36380 long double comparison inaccuracies.
36381 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36384 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36386 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36387 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36389 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36392 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36393 nonzero digits before rounding a hex value.
36394 * stdlib/tst-strtod.c (tests): Add another test.
36396 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36398 * sysdeps/s390/fpu/libm-test-ulps: Update.
36400 2012-05-03 Andreas Jaeger <aj@suse.de>
36402 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36403 does not get optimized out.
36404 (malloc_opt_barrier): New.
36406 2012-05-03 Andreas Jaeger <aj@suse.de>
36407 Roland McGrath <roland@hack.frob.com>
36409 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36410 intermediate file deletion.
36411 (generated): Add .symlist files.
36413 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36416 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36417 Redirect under this condition.
36418 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36419 [__USE_GNU] (__dprintf_chk): Not under this condition.
36420 [__USE_GNU] (__vdprintf_chk): Likewise.
36421 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36422 under this condition.
36423 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36424 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36425 [__USE_XOPEN2K8] (vdprintf): Likewise.
36426 [__USE_GNU] (__dprintf_chk): Not under this condition.
36427 [__USE_GNU] (__vdprintf_chk): Likewise.
36428 [__USE_GNU] (dprintf): Likewise.
36429 [__USE_GNU] (vdprintf): Likewise.
36431 2012-05-03 Roland McGrath <roland@hack.frob.com>
36433 * elf/Makefile (common-generated): Set this instead of generated for
36434 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36435 $(all-built-dso)-derived lists.
36437 2012-05-03 Andreas Jaeger <aj@suse.de>
36439 * sysdeps/i386/fpu/libm-test-ulps: Update.
36442 * FAQ.in: Likewise.
36443 * scripts/gen-FAQ.pl: Likewise.
36444 * manual/install.texi (Installation): Point to online location of
36446 * Makefile (files-for-dist): Remove FAQ.
36449 2012-05-02 Allan McRae <allan@archlinux.org>
36451 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36452 (LDFLAGS-reldepmod5.so): Likewise.
36453 (LDFLAGS-reldep6mod1.so): Likewise.
36454 (LDFLAGS-reldep6mod4.so): Likewise.
36455 (LDFLAGS-reldep8mod3.so): Likewise.
36456 (LDFLAGS-unload4mod1.so): Likewise.
36457 (LDFLAGS-unload4mod2.so): Likewise.
36458 (LDFLAGS-tst-initorder): Likewise.
36459 (LDFLAGS-tst-initordera2.so): Likewise.
36460 (LDFLAGS-tst-initordera3.so): Likewise.
36461 (LDFLAGS-tst-initordera4.so): Likewise.
36462 (LDFLAGS-tst-initorderb2.so): Likewise.
36463 (LDFLAGS-noload): Likewise.
36464 (LDFLAGS-next): Likewise.
36465 (LDFLAGS-order2mod1.so): Likewise.
36466 (LDFLAGS-order2mod2.so): Likewise.
36467 (LDFLAGS-tst-initorder2): Likewise.
36468 (LDFLAGS-tst-initorder2a.so): Likewise.
36469 (LDFLAGS-tst-initorder2b.so): Likewise.
36470 (LDFLAGS-tst-initorder2c.so): Likewise.
36471 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36473 2012-05-02 David S. Miller <davem@davemloft.net>
36475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36477 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36480 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36482 2012-05-02 Andreas Jaeger <aj@suse.de>
36484 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36485 since we manipulate rounding mode.
36486 (CPPFLAGS-test-idouble.c): Likewise.
36487 (CPPFLAGS-test-ifloat.c): Likewise.
36488 (CFLAGS-test-ldouble.c): Likewise.
36489 (CFLAGS-test-double.c): Likewise.
36490 (CFLAGS-test-float.c): Likewise.
36491 (CFLAGS-test-misc.c): Likewise.
36492 (CFLAGS-test-test-fenv.c): Likewise.
36494 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36498 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36499 comparisons to determine direction to adjust input.
36501 2012-05-01 Roland McGrath <roland@hack.frob.com>
36503 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36504 output to the target.
36506 * scripts/localplt.awk: New file.
36507 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36508 (check-localplt-CFLAGS): Variable removed.
36509 ($(all-built-dso:=.jmprel)): New static pattern rule.
36510 (generated): Add those targets.
36511 (localplt-built-dso): New variable.
36512 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36514 * elf/check-localplt.c: File removed.
36516 * scripts/check-execstack.awk: New file.
36517 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36518 (check-execstack-CFLAGS): Variable removed.
36519 ($(objpfx)check-execstack.h): Target removed.
36520 ($(objpfx)execstack-default): New target.
36521 (generated): Add that instead of check-execstack.h.
36522 ($(all-built-dso:=.phdr)): New static pattern rule.
36523 (generated): Add those targets.
36524 * elf/check-execstack.c: File removed.
36526 * scripts/check-textrel.awk: New file.
36527 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36528 (check-textrel-CFLAGS): Variable removed.
36529 (all-built-dso): Use := to define.o
36530 ($(all-built-dso:=.dyn)): New static pattern rule.
36531 (generated): Add those targets.
36532 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36533 * config.make.in (READELF): New substituted variable.
36534 * elf/check-textrel.c: File removed.
36536 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36538 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36540 * conform/data/ctype.h-data [C99-based standards] (isblank):
36542 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36543 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36544 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36545 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36546 Specify type. Require positive value.
36547 (EILSEQ): Likewise.
36548 (ERANGE): Likewise.
36549 [ISO || POSIX] (EILSEQ): Do not expect.
36550 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36551 Specify type. Require positive value.
36552 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36553 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36554 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36555 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36556 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36557 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36558 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36559 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36560 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36561 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36562 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36563 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36564 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36565 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36566 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36567 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36568 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36569 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36570 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36571 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36572 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36573 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36574 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36575 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36576 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36577 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36578 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36579 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36580 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36581 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36582 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36583 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36584 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36585 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36586 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36587 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36588 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36589 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36590 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36591 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36592 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36593 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36594 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36595 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36596 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36597 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36598 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36599 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36600 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36601 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36602 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36603 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36604 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36605 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36606 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36607 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36608 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36609 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36610 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36611 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36612 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36613 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36614 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36615 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36616 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36617 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36618 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36619 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36620 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36621 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36622 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36623 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36624 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36625 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36626 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36627 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36628 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36630 (FLT_ROUNDS): Expect as macro, not constant.
36631 (FLT_MANT_DIG): Use macro-int-constant.
36632 (DBL_MANT_DIG): Likewise.
36633 (LDBL_MANT_DIG): Likewise.
36634 (FLT_DIG): Likewise.
36635 (DBL_DIG): Likewise.
36636 (LDBL_DIG): Likewise.
36637 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36638 (DBL_MIN_EXP): Likewise.
36639 (LDBL_MIN_EXP): Likewise.
36640 (FLT_MAX_EXP): Use macro-int-constant.
36641 (DBL_MAX_EXP): Likewise.
36642 (LDBL_MAX_EXP): Likewise.
36643 (FLT_MAX_10_EXP): Likewise.
36644 (DBL_MAX_10_EXP): Likewise.
36645 (LDBL_MAX_10_EXP): Likewise.
36646 (FLT_MAX): Use macro-constant.
36647 (DBL_MAX): Likewise.
36648 (LDBL_MAX): Likewise.
36649 (FLT_EPSILON): Use macro-constant. Give upper bound.
36650 (DBL_EPSILON): Likewise.
36651 (LDBL_EPSILON): Likewise.
36652 (FLT_MIN): Likewise.
36653 (DBL_MIN): Likewise.
36654 (LDBL_MIN): Likewise.
36655 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36656 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36657 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36658 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36659 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36660 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36661 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36662 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36663 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36664 [ISO11] (FLT_TRUE_MIN): Likewise.
36665 [ISO11] (LDBL_TRUE_MIN): Likewise.
36666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36667 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36668 (SCHAR_MIN): Use macro-int-constant. Specify type.
36669 (SCHAR_MAX): Likewise.
36670 (UCHAR_MAX): Likewise.
36671 (CHAR_MIN): Likewise.
36672 (CHAR_MAX): Likewise.
36673 (MB_LEN_MAX): Use macro-int-constant.
36674 (SHRT_MIN): Use macro-int-constant. Specify type.
36675 (SHRT_MAX): Likewise.
36676 (USHRT_MAX): Likewise.
36677 (INT_MAX): Likewise.
36678 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36680 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36682 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36684 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36685 bound negative. Suffix upper bound with "L".
36686 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36688 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36690 [C99-based standards] (LLONG_MAX): Likewise.
36691 [C99-based standards] (ULLONG_MAX): Likewise.
36692 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36694 [ISO11] (max_align_t): Require type.
36695 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36697 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36698 from $CFLAGS, without defining away __attribute__ calls.
36699 (checknamespace): Use $CFLAGS_namespace.
36701 * conform/conformtest.pl (@keywords): Only include C99 keywords
36702 for standards based on C99 or C11.
36704 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36706 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36709 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36710 usability of symbols in #if.
36712 * conform/conformtest.pl: If macro or constant types start
36713 "promoted:", expect the symbol to be of the following type
36714 promoted by the integer promotions.
36716 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36717 in one place. Also handle "macro-constant".
36719 * conform/conformtest.pl: Only accept expected macro values with
36720 "==". Parse all "macro" lines in one place.
36721 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36723 * conform/conformtest.pl: Handle braced types on "constant" lines
36724 instead of handling "typed-constant".
36725 * conform/data/signal.h-data: Use "constant" instead of
36728 * conform/conformtest.pl: Handle "optional-" at start of lines in
36729 one place rather than duplicating several cases. Handle each
36730 format of "macro" line with initial "optional-".
36732 * conform/conformtest.pl: Only accept expected constant or
36733 optional-constant values with "==". Parse all "constant" lines in
36734 one place. Parse all "optional-constant" lines in one place.
36735 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36736 * conform/data/fmtmsg.h-data: Likewise.
36737 * conform/data/netinet/in.h-data: Likewise.
36738 * conform/data/tar.h-data: Likewise.
36739 * conform/data/limits.h-data: Use "==" form on "constant" and
36740 "optional-constant" lines.
36742 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36743 Use -std=c99 for XOPEN2K.
36744 (@knownproblems): Remove.
36745 (newtoken): Don't check %isknown.
36747 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36748 Do not expect macro.
36749 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36750 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36751 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36752 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36753 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36754 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36755 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36756 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36757 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36758 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36759 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36760 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36761 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36762 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36763 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36764 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36765 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36766 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36767 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36768 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36769 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36770 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36771 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36772 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36773 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36774 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36775 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36776 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36777 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36778 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36779 [XPG3] (acosh): Likewise.
36780 [XPG3] (asinh): Likewise.
36781 [XPG3] (atanh): Likewise.
36782 [XPG3] (cbrt): Likewise.
36783 [XPG3] (expm1): Likewise.
36784 [XPG3] (ilogb): Likewise.
36785 [XPG3] (log1p): Likewise.
36786 [XPG3] (logb): Likewise.
36787 [XPG3] (nextafter): Likewise.
36788 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36789 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36790 [XPG3] (remainder): Likewise.
36791 [XPG3] (rint): Likewise.
36792 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36793 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36794 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36795 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36796 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36797 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36798 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36799 [UNIX98 || XOPEN2K] (scalb): Expect.
36800 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36801 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36802 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36803 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36804 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36805 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36806 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36807 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36808 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36809 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36810 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36811 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36812 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36813 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36814 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36815 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36816 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36817 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36818 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36819 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36820 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36821 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36822 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36823 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36824 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36825 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36826 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36827 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36828 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36829 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36830 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36831 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36832 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36833 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36834 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36835 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36836 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36837 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36838 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36839 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36840 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36841 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36842 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36843 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36844 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36845 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36846 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36847 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36848 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36849 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36850 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36851 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36852 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36853 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36854 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36855 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36856 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36857 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36858 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36859 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36860 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36861 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36862 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36863 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36864 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36865 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36866 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36867 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36868 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36869 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36870 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36871 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36872 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36873 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36874 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36875 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36876 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36877 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36878 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36879 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36880 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36881 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36882 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36883 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36884 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36885 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36886 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36887 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36888 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36889 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36890 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36891 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36892 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36893 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36894 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36895 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36896 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36897 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36898 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36899 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36900 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36901 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36902 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36903 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36904 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36905 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36906 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36907 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36908 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36909 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36910 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36911 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36912 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36913 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36914 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36915 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36916 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36917 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36918 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36919 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36920 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36921 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36922 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36923 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36924 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36925 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36926 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36927 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36928 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36929 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36930 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36931 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36932 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36933 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36934 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36935 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36936 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36938 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36939 _XOPEN_SOURCE_EXTENDED for XPG4.
36941 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36943 * Makeconfig (localtime): Remove variable.
36944 (inst_localtime-file): Likewise.
36946 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36967 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36971 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36972 comparisons to determine direction to adjust input.
36973 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36974 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36975 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36977 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36979 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36981 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36982 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36984 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36986 * math/libm-test.inc (nexttoward_test): Add more tests.
36988 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36991 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36992 in version GLIBC_2.1, not GLIBC_2.0.
36993 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36996 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36999 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37001 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37002 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37003 * math/libm-test.inc (acos_test): Add more tests.
37004 (asin_test): Likewise.
37005 * sysdeps/i386/fpu/libm-test-ulps: Update.
37006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37009 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37011 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37012 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37013 * math/libm-test.inc (acos_test_tonearest): New function.
37014 (acos_test_towardzero): Likewise.
37015 (acos_test_downward): Likewise.
37016 (acos_test_upward): Likewise.
37017 (asin_test_tonearest): Likewise.
37018 (asin_test_towardzero): Likewise.
37019 (asin_test_downward): Likewise.
37020 (asin_test_upward): Likewise.
37021 (main): Call the new functions.
37022 * sysdeps/i386/fpu/libm-test-ulps: Update.
37023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37027 * math/e_exp10.c: Include <float.h>.
37028 (__ieee754_exp10): Handle underflow here rather than multiplying
37029 large negative argument by M_LN10.
37030 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37032 * math/e_exp10l.c: Include <float.h>.
37033 (__ieee754_exp10l): Handle underflow here rather than multiplying
37034 large negative argument by M_LN10l.
37035 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37036 spurious overflow exception on underflow.
37038 2012-04-29 Marek Polacek <polacek@redhat.com>
37040 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37041 (__fortify_function): New macro.
37042 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37043 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37044 __extern_always_inline.
37045 * libio/bits/stdio2.h: Likewise.
37046 * libio/bits/stdio.h: Likewise.
37047 * string/string.h: Likewise.
37048 * string/bits/string3.h: Likewise.
37049 * include/stdio.h: Likewise.
37050 * stdlib/bits/stdlib.h: Likewise.
37051 * stdlib/stdlib.h: Likewise.
37052 * rt/bits/mqueue2.h: Likewise.
37053 * rt/mqueue.h: Likewise.
37054 * posix/bits/unistd.h: Likewise.
37055 * posix/unistd.h: Likewise.
37056 * io/bits/poll2.h: Likewise.
37057 * io/bits/fcntl2.h: Likewise.
37058 * io/fcntl.h: Likewise.
37059 * io/sys/poll.h: Likewise.
37060 * misc/bits/syslog.h: Likewise.
37061 * misc/bits/syslog-ldbl.h: Likewise.
37062 * misc/sys/syslog.h: Likewise.
37063 * socket/bits/socket2.h: Likewise.
37064 * socket/sys/socket.h: Likewise.
37065 * debug/tst-chk1.c: Likewise.
37066 * wcsmbs/bits/wchar2.h: Likewise.
37067 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37068 * wcsmbs/wchar.h: Likewise.
37070 2012-04-29 Andreas Jaeger <aj@suse.de>
37072 * Makerules (tests): Remove enable-check-abi protection.
37073 (check-abi-warn): Remove.
37074 (check-abi-%): Remove check-abi-warn usage.
37076 * configure.in: Remove check-abi configure option.
37077 * configure: Regenerated.
37078 * config.make.in (enable-check-abi): Remove.
37080 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37083 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37084 double functions to double *_finite functions.
37087 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37088 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37090 * stdio-common/Makefile (tests): Add tst-sprintf3.
37091 * stdio-common/tst-sprintf3.c: New file.
37093 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37094 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37096 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37098 * conform/conformtest.pl: Remove duplicate typed-constant
37101 2012-04-28 David S. Miller <davem@davemloft.net>
37103 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37104 (check-abi-%): Remove AWK script prerequisite and explicit
37106 (check-abi): Rewrite to just diff the symlist with the abilist.
37107 (config-tls, config-abi-config): Delete, no longer used.
37108 (update-abi-%): Remove AWK script and explicit abilist directory.
37109 (update-abi): Rewrite to simply compare and conditionally copy the
37110 symlist and the sysdep abilist file. Remove update-abi-config
37112 * abilist/ld.abilist: Remove.
37113 * abilist/libBrokenLocale.abilist: Remove.
37114 * abilist/libanl.abilist: Remove.
37115 * abilist/libcrypt.abilist: Remove.
37116 * abilist/libdl.abilist: Remove.
37117 * abilist/librt.abilist: Remove.
37118 * abilist/libthread_db.abilist: Remove.
37119 * abilist/libutil.abilist: Remove.
37120 * scripts/extract-abilist.awk: Remove.
37121 * scripts/merge-abilist.awk: Remove.
37122 * sysdeps/generic/libcidn.abilist: New file.
37123 * sysdeps/generic/libnss_compat.abilist: New file.
37124 * sysdeps/generic/libnss_db.abilist: New file.
37125 * sysdeps/generic/libnss_dns.abilist: New file.
37126 * sysdeps/generic/libnss_files.abilist: New file.
37127 * sysdeps/generic/libnss_hesiod.abilist: New file.
37128 * sysdeps/generic/libnss_nis.abilist: New file.
37129 * sysdeps/generic/libnss_nisplus.abilist: New file.
37130 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37131 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37132 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37134 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37135 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37136 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37137 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37138 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37139 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37140 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37141 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37142 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37144 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37145 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37146 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37147 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37149 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37150 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37151 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37152 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37153 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37154 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37156 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37157 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37158 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37160 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37263 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37264 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37265 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37268 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37269 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37270 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37271 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37272 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37273 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37274 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37275 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37276 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37328 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37330 * conform/conformtest.pl: Fix typo in handling typed-constant from
37333 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37335 * README: Cut down references to pre-2.6 Linux kernels and
37336 Linuxthreads. Update lists of configurations in libc and ports
37337 and sort alphabetically. Say "or newer" with Linux kernel version
37340 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37342 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37345 * math/libm-test.inc (logb_test_downward): New test to expose
37346 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37349 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37352 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37354 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37355 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37357 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37359 * sysdeps/unix/i386/brk.S: Remove file.
37360 * sysdeps/unix/i386/dl-brk.S: Likewise.
37361 * sysdeps/unix/i386/pipe.S: Likewise.
37362 * sysdeps/unix/i386/sigreturn.S: Likewise.
37363 * sysdeps/unix/i386/syscall.S: Likewise.
37364 * sysdeps/unix/i386/vfork.S: Likewise.
37365 * sysdeps/unix/i386/wait.S: Likewise.
37367 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37368 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37370 * configure.in (arm*-none*): Do not allow without
37371 --enable-hacker-mode.
37372 (netbsd*): Remove case setting base_os.
37373 (386bsd*): Likewise.
37374 (freebsd*): Likewise.
37377 (sunos*): Likewise.
37378 (ultrix*): Likewise.
37379 (newsos*): Likewise.
37380 (dynix*): Likewise.
37386 (minix*): Likewise.
37387 (irix4*): Likewise.
37388 (irix6*): Likewise.
37389 (solaris[2-9]*): Likewise.
37391 * configure: Regenerated.
37393 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37396 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37397 overflow or cancellation in calculating denominator.
37398 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37399 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37400 down expression to avoid unexpected rounding in newer GCCs.
37401 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37403 2012-04-26 David S. Miller <davem@davemloft.net>
37405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37406 long-double compat symbols.
37407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37421 2012-04-25 David S. Miller <davem@davemloft.net>
37423 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37424 HWCAP_* values only after the memory barriers have been defined.
37425 (atomic_full_barrier): Define.
37426 (atomic_read_barrier): Define.
37427 (atomic_write_barrier): Define.
37429 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37431 * shlib-versions: Add libgcc_s version information.
37432 * sysdeps/generic/libgcc_s.h: Remove.
37433 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37435 * sysdeps/gnu/unwind-resume.c: Likewise.
37436 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37438 2012-04-25 David S. Miller <davem@davemloft.net>
37440 * sysdeps/unix/sparc/brk.S: Delete.
37441 * sysdeps/unix/sparc/dl-brk.S: Delete.
37442 * sysdeps/unix/sparc/pipe.S: Delete.
37443 * sysdeps/unix/sparc/sysdep.S: Delete.
37444 * sysdeps/unix/sparc/sysdep.h: Delete.
37445 * sysdeps/unix/sparc/vfork.S: Delete.
37446 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37447 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37448 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37449 (ret_ERRVAL, r0, r1, MOVE): Define.
37450 (JUMPTARGET): Remove.
37451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37452 sysdeps/unix/sparc/sysdep.h
37453 (ENTRY, END): Remove.
37454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37456 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37458 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37459 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37462 * timezone/README: Update upstream location and email address for
37464 * timezone/zdump.c: Update from tzcode 2012b.
37465 * timezone/zic.c: Likewise.
37467 * configure.in (libc_cv_as_needed): Remove test.
37468 * configure: Regenerated.
37469 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37470 conditional definition.
37471 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37472 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37473 * config.make.in (have-as-needed): Remove variable.
37475 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37476 Paul Pluzhnikov <ppluzhnikov@google.com>
37478 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37481 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37483 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37484 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37485 * sysdeps/sh/strlen.S: Likewise.
37487 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37489 * sysdeps/unix/fork.S: Remove file.
37490 * sysdeps/unix/i386/fork.S: Likewise.
37491 * sysdeps/unix/sparc/fork.S: Likewise.
37493 * sysdeps/unix/system.c: Remove file.
37494 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37496 * sysdeps/unix/getegid.S: Remove file.
37497 * sysdeps/unix/geteuid.S: Likewise.
37499 2012-04-24 Roland McGrath <roland@hack.frob.com>
37501 * scripts/check-localplt.awk: New file.
37502 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37504 * scripts/data/localplt-generic.data: Add a comment.
37506 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37507 NODE when __dir_mkfile failed.
37508 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37509 Reported by Ludovic Courtès <ludo@gnu.org>.
37511 2012-04-24 Andreas Jaeger <aj@suse.de>
37513 * Makerules (common-clean): Also remove gen-as-const-headers
37516 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37518 * Makerules (native-compile): Do not change working directory for
37519 build. Use $(OUTPUT_OPTION) in command.
37520 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37522 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37525 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37526 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37527 * math/libm-test.inc (floor_test): Add more tests.
37528 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37530 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37532 * sysdeps/unix/getdents.c: Remove file.
37533 * sysdeps/unix/sysv/getdents.c: Likewise.
37534 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37536 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37537 sysdeps/unix/mman/syscalls.list.
37539 (mprotect): Likewise.
37541 (munmap): Likewise.
37542 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37543 * sysdeps/unix/mman/syscalls.list: Remove.
37544 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37546 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37547 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37548 * configure: Regenerated.
37549 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37550 $(libgcc_s_suffix).
37551 * config.make.in (libgcc_s_suffix): Remove variable.
37553 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37555 * sysdeps/unix/sysv/gethostname.c: Move to ...
37556 * sysdeps/posix/gethostname.c: ... here.
37558 * sysdeps/unix/execve.S: Remove file.
37560 * sysdeps/unix/_exit.S: Remove file.
37562 2012-04-23 Andreas Jaeger <aj@suse.de>
37565 * manual/Makefile: Remove make dist support, there's no
37566 need for a stand-alone documentation tar ball.
37567 (TEXI2DVI): Define always, it's not in Makeconfig.
37570 (edition): Removed.
37571 (glibc-doc-$(edition).tar): Removed
37575 (ETAGS): Remove, it's in Makeconfig.
37576 (move-if-change): Remove, it's in Makeconfig.
37578 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37581 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37582 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37583 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37584 (strtod_l, strtof_l, strtold_l): Remove __wur.
37585 It is not necessarily an error to ignore strtol's return value.
37586 One can reliably look at the stored endptr to decide whether
37587 the number had valid syntax.
37589 2012-04-21 Andreas Jaeger <aj@suse.de>
37592 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37594 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37596 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37597 * sysdeps/unix/sysv/Versions: Remove file.
37599 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37604 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37607 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37608 version from __vm86.
37610 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37612 * sysdeps/unix/common/lxstat.c: Remove file.
37613 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37615 * sysdeps/unix/sysv/Makefile: Remove file.
37617 * sysdeps/unix/sysv/direct.h: Remove file.
37619 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37620 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37621 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37622 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37623 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37624 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37625 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37627 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37629 * sysdeps/unix/xmknod.c: Remove file.
37630 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37632 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37634 * sysdeps/unix/sysv/i386/time.S: Remove file.
37636 * sysdeps/unix/fxstat.c: Remove file.
37637 * sysdeps/unix/xstat.c: Likewise.
37638 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37640 * sysdeps/unix/sysv/sigaction.c: Remove file.
37642 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37643 (sysdep_headers): Remove variable.
37644 [termio.h not in sysdep_headers] (generated): Likewise.
37645 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37646 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37647 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37648 * sysdeps/unix/sysv/tcflow.c: Likewise.
37649 * sysdeps/unix/sysv/tcflush.c: Likewise.
37650 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37651 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37652 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37653 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37654 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37656 * sysdeps/unix/siglist.c: Remove file.
37658 * sysdeps/unix/getppid.S: Remove file.
37660 * sysdeps/unix/mkdir.c: Remove file.
37661 * sysdeps/unix/rmdir.c: Likewise.
37663 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37665 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37667 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37668 errlist-compat value.
37670 2012-04-18 David S. Miller <davem@davemloft.net>
37672 * sysdeps/generic/memcopy.h (reg_char): Delete.
37673 * debug/strcat_chk.c: Use char, not reg_char.
37674 * debug/strcpy_chk.c: Likewise.
37675 * debug/strncat_chk.c: Likewise.
37676 * debug/strncpy_chk.c: Likewise.
37677 * string/memchr.c: Likewise.
37678 * string/memrchr.c: Likewise.
37679 * string/rawmemchr.c: Likewise.
37680 * string/strcat.c: Likewise.
37681 * string/strchr.c: Likewise.
37682 * string/strchrnul.c: Likewise.
37683 * string/strcmp.c: Likewise.
37684 * string/strcpy.c: Likewise.
37685 * string/strncat.c: Likewise.
37686 * string/strncmp.c: Likewise.
37687 * string/strncpy.c: Likewise.
37689 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37691 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37692 __builtin_memcopy is called when src and dest ranges are known to not
37695 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37697 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37698 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37699 fwd_align_merge macro call.
37700 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37701 bwd_align_merge macro call.
37702 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37704 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37706 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37707 bwd_align_merge macros.
37708 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37709 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37710 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37712 2012-04-18 David S. Miller <davem@davemloft.net>
37714 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37716 2012-04-18 Andreas Jaeger <aj@suse.de>
37719 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37720 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37721 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37723 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37724 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37725 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37727 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37728 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37729 Adjust for changed ldbl-128 files.
37731 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37732 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37733 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37735 2012-04-17 David S. Miller <davem@davemloft.net>
37737 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37739 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37741 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37742 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37743 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37744 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37745 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37746 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37748 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37751 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37752 * math/libm-test.inc: Add ilogb errno and exception tests.
37753 * math/w_ilogb.c: New file: ilogb wrapper.
37754 * math/w_ilogbf.c: New file: ilogbf wrapper.
37755 * math/w_ilogbl.c: New file: ilogbl wrapper.
37756 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37757 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37758 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37759 exception being thrown with 0.0 as argument.
37760 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37761 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37762 exception being thrown with 0.0 as argument.
37763 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37764 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37765 exception being thrown with 0.0 as argument.
37766 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37767 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37768 exception being thrown with 0.0 as argument.
37769 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37770 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37771 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37772 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37773 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37774 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37775 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37776 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37777 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37779 2012-04-17 Petr Baudis <pasky@ucw.cz>
37781 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37784 2012-04-16 Marek Polacek <polacek@redhat.com>
37786 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37788 2012-04-16 Marek Polacek <polacek@redhat.com>
37790 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37791 operands of fdivp instruction.
37793 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37795 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37796 * elf/tst-auditmod3b.c: Likewise.
37797 * elf/tst-auditmod4b.c: Likewise.
37798 * elf/tst-auditmod5b.c: Likewise.
37799 * elf/tst-auditmod6b.c: Likewise.
37800 * elf/tst-auditmod6c.c: Likewise.
37801 * elf/tst-auditmod7b.c: Likewise.
37802 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37803 * sysdeps/x86_64/preconfigure.in: Likewise.
37804 * sysdeps/x86_64/preconfigure: Regenerated.
37806 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37808 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37811 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37813 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37814 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37816 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37819 * locale/iso-639.def: Fix gl language name. Spotted by
37822 2012-04-12 Roland McGrath <roland@hack.frob.com>
37825 * libio/libio.h (__io_write_fn): Update comment.
37827 2012-04-12 Petr Baudis <pasky@ucw.cz>
37830 * stdio.texi (Hook Functions): The user provided writer function
37831 is not allowed to return -1.
37833 2012-04-11 David S. Miller <davem@davemloft.net>
37835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37837 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37839 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37840 Add a leading slash to rtkaio.
37842 2012-04-11 Jim Meyering <meyering@redhat.com>
37845 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37846 It is not necessarily an error to ignore fwrite's return
37847 value. One can reliably use ferror to test for errors after
37850 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37852 * bits/types.h (__snseconds_t): New type.
37853 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37855 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37857 (__SNSECONDS_T_TYPE): Likewise.
37858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37859 (__SNSECONDS_T_TYPE): Likewise.
37860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37861 (__SNSECONDS_T_TYPE): Likewise.
37863 2012-04-10 Andreas Jaeger <aj@suse.de>
37866 * manual/time.texi (Processor Time): Return type of times is
37867 elapsed real time since an arbitrary point in the past.
37868 (CPU Time): Move CLK_TCK from here...
37869 (Processor Time): ...to here. Correct description.
37870 * manual/conf.texi (Constants for Sysconf): Correct description of
37873 2012-04-10 David S. Miller <davem@davemloft.net>
37876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37877 where the is a gap between DT_REL(A) and DT_JMPREL.
37879 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37881 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37882 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37883 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37885 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37887 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37888 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37889 (dl_main): Handle --inhibit-cache.
37890 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37892 * elf/dl-load.c (_dl_map_object): Use it.
37893 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37895 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37898 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37899 (__ieee754_powl): Saturate large exponents rather than testing for
37900 overflow of y*log2(x).
37901 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37902 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37906 * math/s_ctan.c: Include <float.h>.
37907 (__ctan): Avoid internal overflow or cancellation in calculating
37909 * math/s_ctanf.c: Likewise.
37910 * math/s_ctanl.c: Likewise.
37911 * math/s_ctanh.c: Likewise.
37912 * math/s_ctanhf.c: Likewise.
37913 * math/s_ctanhl.c: Likewise.
37914 * math/libm-test.inc (ctan_test): Add more tests.
37915 (ctanh_test): Likewise.
37916 * sysdeps/i386/fpu/libm-test-ulps: Update.
37917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37919 2012-04-09 Andreas Jaeger <aj@suse.de>
37922 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37923 is an optional BSD extension.
37926 * manual/stdio.texi (Opening Streams): Document additional fopen
37929 2012-04-09 Roland McGrath <roland@hack.frob.com>
37931 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37932 %eax without telling the compiler.
37934 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37937 * manual/install.texi: Use sourceware.org.
37939 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37942 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37943 (__ieee754_pow): Generate overflow and underflow using huge*huge
37944 and tiny*tiny rather than just returning constant infinity or zero
37945 for large exponents.
37946 * math/libm-test.inc (pow_test): Require overflow exceptions for
37947 applicable cases of large exponents.
37950 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37951 (__ieee754_pow): Use iterative multiplication algorithm only for
37952 integer exponents with absolute value below 1024. Check for odd
37953 integer exponents when using algorithm for real exponents.
37954 * math/libm-test.inc (pow_test): Add more tests.
37955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37957 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37960 * math/libm-test.inc (exp_test): Do not allow overflow exception
37963 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37966 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37967 instead of __kernel_standard_f.
37969 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37971 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37972 * sysdeps/x86_64/memset_chk.S: Likewise.
37974 2012-04-08 Andreas Jaeger <aj@suse.de>
37977 * manual/startup.texi (Environment Access): Describe return value
37978 for putenv and setenv.
37981 * manual/filesys.texi (Directory Entries): Add description for
37985 * manual/filesys.texi (Directory Entries): Clarify that it's file
37986 system not operating system in the description of DT_UNKNOWN.
37989 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37991 2012-04-08 Stephen Compall <s11@member.fsf.org>
37994 * manual/llio.texi (Opening and Closing Files): Add cross
37995 reference to explain mode argument.
37997 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37999 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38000 * sysdeps/x86_64/memset_chk.S: Likewise.
38002 2012-04-07 David S. Miller <davem@davemloft.net>
38004 * elf/elf.h (R_SPARC_WDISP10): Define.
38005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38007 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38008 R_SPARC_SIZE64 and R_SPARC_H34.
38010 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38012 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38013 conditions and remove no longer applicable assertion.
38015 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38017 * bits/byteswap.h: Include <features.h>.
38018 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38019 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38021 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38023 * bits/byteswap.h (__bswap_16): Removed.
38024 Include <bits/byteswap-16.h> to get __bswap_16.
38025 * sysdeps/i386/bits/byteswap.h: Likewise.
38026 * sysdeps/s390/bits/byteswap.h: Likewise.
38027 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38028 * bits/byteswap-16.h: New file.
38029 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38030 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38031 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38032 * string/Makefile (headers): Add bits/byteswap-16.h.
38034 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38037 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38039 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38040 * nss/tst-nss-static.c: New.
38042 2012-04-06 Robert Millan <rmh@gnu.org>
38045 * manual/llio.texi (File Position Primitive): lseek
38046 refers to WHENCE when it really means OFFSET.
38048 2012-04-06 Andreas Jaeger <aj@suse.de>
38050 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38051 strncmp declarations.
38053 * abilist/libc.abilist: Add __poll and __ppoll.
38055 2012-04-05 David S. Miller <davem@davemloft.net>
38057 * scripts/check-local-headers.sh: Accept a host triplet in the
38058 path matched by the exclude regexp.
38060 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38062 * sysdeps/powerpc/powerpc32/dl-machine.h
38063 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38064 * sysdeps/s390/s390-32/dl-machine.h
38065 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38066 * sysdeps/sparc/sparc32/dl-machine.h
38067 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38068 * sysdeps/sparc/sparc64/dl-machine.h
38069 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38071 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38073 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38074 undefined symbol errors.
38076 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38079 2012-04-05 Michael Matz <matz@suse.de>
38082 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38084 2012-04-05 Andreas Jaeger <aj@suse.de>
38087 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38090 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38092 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38093 which ROUND is no valid rounding mode.
38095 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38097 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38099 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38101 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38103 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38104 an exception using FPU order intentionally.
38106 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38108 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38109 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38110 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38111 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38113 2012-04-05 Simon Josefsson <simon@josefsson.org>
38116 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38117 EINVAL when BUFLEN is too smal.
38119 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38122 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38123 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38125 2012-04-03 Andreas Jaeger <aj@suse.de>
38128 * manual/setjmp.texi (System V contexts): Fix sentence.
38131 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38132 New macro for this case.
38133 [!__GNUC__] (__bswap_64): New inline function for this case.
38134 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38135 * bits/byteswap.h: Likewise.
38136 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38137 ull, guard with __GLIBC_HAVE_LONG_LONG.
38139 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38140 __GLIBC_HAVE_LONG_LONG.
38142 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38143 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38145 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38148 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38149 inptr and inend, rather than using last_ch.
38151 2012-04-02 David S. Miller <davem@davemloft.net>
38153 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38154 * stdio-common/printf-parse.h (read_int): Change return type to
38155 'int', return -1 on INT_MAX overflow.
38156 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38157 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38158 overflows INT_MAX. Check for overflow of in-format-string precision
38159 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38160 SIZE_MAX not INT_MAX for integer overflow test.
38161 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38162 skip the construct in the format string but do not record anything.
38163 * stdio-common/bug22.c: Adjust to test both width/prevision
38164 INT_MAX overflow as well as total length INT_MAX overflow. Check
38165 explicitly for proper errno values.
38167 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38169 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38171 * string/test-strcmp.c [! WIDE]: Likewise.
38172 * time/tst-mktime2.c: Likewise for INT_MAX.
38173 * string/test-string.h: #include <sys/param.h> for MIN.
38175 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38176 * sysdeps/i386/init-first.c (init): Likewise.
38177 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38178 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38179 * sysdeps/sh/init-first.c (init): Likewise.
38181 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38183 * po/ru.po: Update from translation team.
38184 * po/vi.po: Likewise.
38186 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38188 * resolv/nss_dns/dns-host.c: Merge copyright years.
38190 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38192 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38193 Optimize memcpy with prefetch if
38194 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38195 src, dst pointers have unequal 16 byte alignments.
38197 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38200 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38201 from a CNAME entry and return the minimum ttl for the query.
38202 (gaih_getanswer_slice): Likewise.
38204 2012-03-30 Jeff Law <law@redhat.com>
38206 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38208 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38209 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38211 * resolv/nss_dns/dns-host.c: Update copyright year.
38213 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38215 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38216 requests to save a system call. Fix check that all bytes are sent.
38218 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38219 comments for sendmmsg.
38221 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38224 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38225 with only 1 character between 0x0041 and 0x01b0.
38226 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38227 * wcsmbs/tst-mbsnrtowcs.c: New file.
38229 2012-03-29 David S. Miller <davem@davemloft.net>
38231 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38232 small copies by hand.
38234 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38237 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38238 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38241 2012-03-28 David S. Miller <davem@davemloft.net>
38243 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38244 that branches into memcpy.
38245 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38246 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38248 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38251 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38252 implementation too.
38253 * sysdeps/sparc/mempcpy.S: New file.
38255 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38256 the IFUNC routine in the libc case.
38257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38259 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38260 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38261 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38262 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38263 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38264 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38265 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38266 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38268 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38269 loop to 256 bytes instead of 64 bytes and fix test signedness.
38271 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38272 * sysdeps/sparc/sparc32/Makefile: rather than here...
38273 * sysdeps/sparc/sparc64/Makefile: and here.
38275 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38277 * malloc/mallocbug.c: Avoid warnings about unused variables.
38279 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38282 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38283 in the right place. Discard and retry query if response is
38284 larger than input buffer size.
38286 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38291 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38292 x for large integer exponent.
38293 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38294 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38295 sign of result as needed afterwards.
38296 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38297 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38298 result for underflowing pow the same as for overflow.
38299 (__kernel_standard_l): Handle powl overflow and underflow here
38300 rather than calling __kernel_standard.
38301 * math/libm-test.inc (pow_test): Add more tests.
38316 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38317 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38318 (__kernel_standard_l): New function.
38319 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38321 * math/w_acosl.c (__acosl): Likewise.
38322 * math/w_asinl.c (__asinl): Likewise.
38323 * math/w_atan2l.c (__atan2l): Likewise.
38324 * math/w_atanhl.c (__atanhl): Likewise.
38325 * math/w_coshl.c (__coshl): Likewise.
38326 * math/w_exp10l.c (__exp10l): Likewise.
38327 * math/w_exp2l.c (__exp2l): Likewise.
38328 * math/w_fmodl.c (__fmodl): Likewise.
38329 * math/w_hypotl.c (__hypotl): Likewise.
38330 * math/w_j0l.c (__j0l, __y0l): Likewise.
38331 * math/w_j1l.c (__j1l, __y1l): Likewise.
38332 * math/w_jnl.c (__jnl, __ynl): Likewise.
38333 * math/w_lgammal.c (__lgammal): Likewise.
38334 * math/w_log10l.c (__log10l): Likewise.
38335 * math/w_log2l.c (__log2l): Likewise.
38336 * math/w_logl.c (__logl): Likewise.
38337 * math/w_powl.c (__powl): Likewise.
38338 * math/w_remainderl.c (__remainderl): Likewise.
38339 * math/w_scalbl.c (sysv_scalbl): Likewise.
38340 * math/w_sinhl.c (__sinhl): Likewise.
38341 * math/w_sqrtl.c (__sqrtl): Likewise.
38342 * math/w_tgammal.c (__tgammal): Likewise.
38343 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38344 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38345 * math/libm-test.inc (acos_test): Add more tests.
38346 (acosh_test): Likewise.
38347 (asin_test): Likewise.
38348 (atanh_test): Likewise.
38349 (exp_test): Likewise.
38350 (exp10_test): Likewise.
38351 (exp2_test): Likewise.
38352 (expm1_test): Likewise.
38353 (lgamma_test): Likewise.
38354 (log_test): Likewise.
38355 (log10_test): Likewise.
38356 (log1p_test): Likewise.
38357 (log2_test): Likewise.
38358 (pow_test): Do not allow some spurious overflow exceptions.
38359 (sqrt_test): Add more tests.
38360 (tgamma_test): Likewise.
38361 (y0_test): Likewise.
38362 (y1_test): Likewise.
38363 (yn_test): Likewise.
38365 2012-03-27 Anton Blanchard <anton@samba.org>
38367 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38369 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38370 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38371 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38373 2012-03-27 David S. Miller <davem@davemloft.net>
38375 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38377 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38378 have-as-vis3 check.
38380 2012-03-27 Andreas Jaeger <aj@suse.de>
38382 * sysdeps/x86_64/elf/configure.in: Moved to ...
38383 * sysdeps/x86_64/configure.in: ... here.
38384 * sysdeps/x86_64/elf/start.S: Moved to ...
38385 * sysdeps/x86_64/start.S: ... here.
38386 * sysdeps/x86_64/elf/configure: Delete.
38388 * sysdeps/x86_64/configure.in: Merge contents from
38389 sysdeps/i386/configure.in (without i686 check).
38391 * sysdeps/i386/elf/Versions: Merge into ...
38392 * sysdeps/i386/Versions: ... this.
38393 * sysdeps/i386/elf/Versions: Delete file.
38394 * sysdeps/i386/elf/start.S: Moved to ...
38395 * sysdeps/i386/start.S: ...here.
38396 * sysdeps/i386/elf/configure.in: Merge into...
38397 * sysdeps/i386/configure.in: ...here.
38398 * sysdeps/i386/elf/configure.in: Delete file.
38399 * sysdeps/i386/elf/configure: Delete file.
38401 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38402 * debug/backtracesyms.c: ... here.
38403 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38404 * debug/backtracesymsfd.c: ... here.
38405 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38406 * sysdeps/generic/ifunc-sel.h: ... here.
38408 * sysdeps/unix/i386/start.c: Delete file.
38409 * sysdeps/unix/sparc/start.c: Delete file.
38410 * sysdeps/unix/start.c: Delete file.
38412 * sysdeps/sh/elf/configure.in: Moved to ...
38413 * sysdeps/sh/configure.in: ... here.
38414 * sysdeps/sh/elf/start.S: Moved to ...
38415 * sysdeps/sh/start.S: ... here.
38416 * sysdeps/sh/elf/configure: Delete file.
38418 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38419 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38420 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38421 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38422 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38423 * sysdeps/powerpc/powerpc64/start.S: here.
38424 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38425 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38426 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38427 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38428 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38430 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38431 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38432 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38433 * sysdeps/powerpc/powerpc32/start.S: ... here.
38434 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38435 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38436 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38438 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38439 * sysdeps/powerpc/ifunc-sel.h: ... here.
38440 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38441 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38443 * sysdeps/sparc/elf/configure.in: Moved to ...
38444 * sysdeps/sparc/configure.in: ... here.
38445 * sysdeps/sparc/elf/configure: Delete file.
38446 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38447 * sysdeps/sparc/sparc32/start.S: ... here.
38448 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38449 * sysdeps/sparc/sparc64/start.S: ... here.
38450 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38451 * sysdeps/sparc/sparc32/Makefile: ... this.
38452 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38453 * sysdeps/sparc/sparc64/Makefile: ... this.
38455 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38456 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38457 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38458 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38459 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38460 * sysdeps/s390/s390-32/setjmp.S: ... here.
38461 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38462 * sysdeps/s390/s390-32/configure.in: ... here.
38463 * sysdeps/s390/s390-32/elf/configure: Delete file.
38464 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38465 * sysdeps/s390/s390-32/start.S: ... here.
38467 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38468 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38469 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38470 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38471 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38472 * sysdeps/s390/s390-64/setjmp.S: ... here.
38473 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38474 * sysdeps/s390/s390-64/configure.in: ... here
38475 * sysdeps/s390/s390-64/elf/configure: Delete file.
38476 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38477 * sysdeps/s390/s390-64/start.S: ... here.
38478 * sysdeps/s390/s390-64/elf/configure: Delete.
38480 * configure.in: Remove support for elf directories in sysdeps.
38482 * configure: Regenerated.
38483 * sysdeps/i386/configure: Regenerated.
38484 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38485 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38486 * sysdeps/s390/s390-32/configure: Regenerated.
38487 * sysdeps/s390/s390-64/configure: Regenerated.
38488 * sysdeps/sh/configure: Regenerated.
38489 * sysdeps/sparc/configure: Regenerated.
38490 * sysdeps/x86_64/configure: Regenerated.
38492 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38496 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38497 denormal result into account.
38499 2012-03-25 Roland McGrath <roland@hack.frob.com>
38501 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38502 Reported by Allan McRae <allan@archlinux.org>.
38504 2012-03-23 Jeff Law <law@redhat.com>
38506 * nss/getnssent.c (__nss_getent): Fix typo.
38508 2012-03-23 David S. Miller <davem@davemloft.net>
38510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38512 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38514 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38515 to pad to uint64_t for each field.
38516 (dl_tls_index): Replace unsigned long with uint64_t.
38518 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38519 Paul Pluzhnikov <ppluzhnikov@google.com>
38522 * grp/Makefile (otherlibs): Don't set it.
38523 * inet/Makefile (otherlibs): Likewise.
38524 * login/Makefile (otherlibs): Likewise.
38525 * nscd/Makefile (otherlibs): Likewise.
38526 * posix/Makefile (otherlibs): Likewise.
38527 * pwd/Makefile (otherlibs): Likewise.
38528 * rt/Makefile (otherlibs): Likewise.
38529 * sunrpc/Makefile (otherlibs): Likewise.
38530 * nss/Makefile (otherlibs): Likewise.
38531 Add libnss_files to routines and static-only-routines.
38532 ($(objpfx)getent): Remove rule.
38533 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38534 static-only-routines.
38536 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38539 * math/s_cexp.c: Include <float.h>.
38540 (__cexp): Handle exp result overflowing not necessarily
38541 overflowing both real and imaginary parts of result.
38542 * math/s_cexpf.c: Likewise.
38543 * math/s_cexpl.c: Likewise.
38544 * math/libm-test.inc (cexp_test): Add more tests.
38545 * sysdeps/i386/fpu/libm-test-ulps: Update.
38546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38548 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38550 * include/link.h (ELFW): New macro.
38551 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38552 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38554 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38556 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38559 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38561 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38563 (struct La_x32_retval): Likewise.
38565 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38567 * sysdeps/x86_64/preconfigure.in: New file.
38568 * sysdeps/x86_64/preconfigure: New generated file.
38570 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38573 * math/e_exp2l.c: Include <float.h>.
38574 (__ieee754_exp2l): Handle overflow and underflow cases
38575 separately. Only pass fractional part of argument to
38577 * math/libm-test.inc (exp2_test): Add more tests.
38579 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38580 negating x to take absolute value.
38581 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38583 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38584 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38586 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38587 computing low part if x was negated.
38588 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38590 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38592 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38593 la_x32_gnu_pltexit.
38594 (pltexit): Cast int_retval to ptrdiff_t.
38595 * elf/tst-auditmod3b.c: Likewise.
38596 * elf/tst-auditmod4b.c: Likewise.
38597 * elf/tst-auditmod5b.c: Likewise.
38598 * elf/tst-auditmod6b.c: Likewise.
38599 * elf/tst-auditmod6c.c: Likewise.
38600 * elf/tst-auditmod7b.c: Likewise.
38602 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38603 and x32_gnu_pltexit.
38605 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38606 __ELF_NATIVE_CLASS.
38607 (La_x32_regs): New macro.
38608 (La_x32_retval): Likewise.
38609 (la_x32_gnu_pltenter): New function prototype.
38610 (la_x32_gnu_pltexit): Likewise.
38612 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38619 * configure.in (libc_cv_cc_nofma): Check for option to disable
38620 generation of FMA instructions.
38621 * configure: Regenerate.
38622 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38623 * sysdeps/ieee754/dbl-64/Makefile: New file.
38624 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38625 Remove brandred-fma4.
38626 (CFLAGS-brandred-fma4.c): Remove.
38627 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38628 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38630 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38633 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38635 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38636 LLONG_MAX != LONG_MAX.
38637 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38638 (_fitoa_word): Likewise.
38639 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38640 LLONG_MAX != LONG_MAX.
38641 * stdio-common/_itowa.h: Include <_itoa.h>.
38642 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38643 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38644 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38645 only if not defined.
38646 (_ITOA_WORD_TYPE): Likewise.
38647 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38648 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38650 2012-03-21 David S. Miller <davem@davemloft.net>
38652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38654 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38656 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38657 of x86_64 when setting libc_cv_slibdir, libdir and
38659 * sysdeps/unix/sysv/linux/configure: Regenerated.
38661 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38663 * manual/lang.texi (Old Varargs): Remove section.
38664 (How Variadic): Update menu.
38665 (va_start): Do not mention varargs.h.
38667 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38668 Joseph Myers <joseph@codesourcery.com>
38670 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38672 * configure: Regenerated.
38674 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38676 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38677 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38680 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38683 * Makefile (files-for-dist): Remove NOTES.
38684 (NOTES): Remove rule.
38685 * README: Don't refer to NOTES.
38686 * manual/creature.texi: Don't include macros.texi.
38687 * manual/intro.texi (creature.texi): Remove comment referring to
38690 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38691 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38692 * configure: Regenerated.
38693 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38694 LIBC_TRY_CC_OPTION.
38695 (libc_cv_as_i686): Likewise.
38696 (libc_cv_cc_avx): Likewise.
38697 (libc_cv_cc_sse2avx): Likewise.
38698 (libc_cv_cc_fma4): Likewise.
38699 (libc_cv_cc_novzeroupper): Likewise.
38700 * sysdeps/i386/configure: Regenerated.
38703 * sysdeps/i386/fpu/s_cexp.S: Remove.
38704 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38705 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38706 * math/libm-test.inc (cexp_test): Add more tests.
38707 * sysdeps/i386/fpu/libm-test-ulps: Update.
38708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38710 2012-03-21 Allan McRae <allan@archlinux.org>
38712 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38714 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38717 * math/w_exp2.c: Do not include <float.h>.
38718 (o_threshold, u_threshold): Remove.
38719 (__exp2): Calculate result before checking finiteness and calling
38721 * math/w_exp2f.c: Likewise.
38722 * math/w_exp2l.c: Likewise.
38723 * math/libm-test.inc (exp2_test): Require overflow exception for
38727 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38728 range of signed 64-bit integers before using fistpll. Remove
38729 checks for whether integers fit in mantissa bits.
38730 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38731 the range of signed 32-bit integers before using fistpl. Remove
38732 checks for whether integers fit in mantissa bits.
38733 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38734 (__ieee754_powl): Test for y outside the range of signed 64-bit
38735 integers before using fistpll. Reduce 64-bit values to 63-bit
38737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38738 divide-by-zero is raised for zero to large negative powers.
38739 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38740 (__ieee754_powl): Test for y outside the range of signed 64-bit
38741 integers before using fistpll. Reduce 64-bit values to 63-bit
38743 * math/libm-test.inc (pow_test): Add more tests.
38745 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38747 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38748 <stdio-common/_itoa.h>.
38749 * debug/segfault.c: Likewise.
38750 * elf/dl-cache.c: Likewise.
38751 * elf/dl-minimal.c: Likewise.
38752 * elf/dl-misc.c: Likewise.
38753 * elf/dl-sysdep.c: Likewise.
38754 * elf/dl-version.c: Likewise.
38755 * elf/rtld.c: Likewise.
38756 * hurd/hurdsock.c: Likewise.
38757 * hurd/lookup-retry.c: Likewise.
38758 * malloc/malloc.c: Likewise.
38759 * malloc/mtrace.c: Likewise.
38760 * nscd/nscd_getgr_r.c: Likewise.
38761 * nscd/nscd_getpw_r.c: Likewise.
38762 * nscd/nscd_getserv_r.c: Likewise.
38763 * posix/getopt_init.c: Likewise.
38764 * posix/wordexp.c: Likewise.
38765 * stdio-common/_itoa.c: Likewise.
38766 * stdio-common/printf_fphex.c: Likewise.
38767 * stdio-common/vfprintf.c: Likewise.
38768 * string/_strerror.c: Likewise.
38769 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38770 * sysdeps/i386/i686/hp-timing.h: Likewise.
38771 * sysdeps/mach/_strerror.c: Likewise.
38772 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38773 * sysdeps/mach/hurd/sethostid.c: Likewise.
38774 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38775 * sysdeps/mach/xpg-strerror.c: Likewise.
38776 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38777 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38778 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38779 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38780 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38781 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38782 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38783 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38784 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38785 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38786 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38787 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38788 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38789 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38790 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38791 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38792 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38793 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38794 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38795 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38796 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38798 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38800 * stdio-common/_itoa.h: Moved to ...
38801 * sysdeps/generic/_itoa.h: Here.
38803 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38805 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38806 instead of "_itoa.h" and "_itowa.h".
38807 * stdio-common/vfprintf.: Likewise.
38809 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38811 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38813 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38814 (__signbit): Likwise.
38815 (llrintf): Likwise.
38818 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38820 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38823 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38825 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38826 OVERFLOW_EXCEPTION_OK.
38827 * math/libm-test.inc ("Philosophy"): Update comment about
38829 (OVERFLOW_EXCEPTION): Define.
38830 (OVERFLOW_EXCEPTION_OK): Likewise.
38831 (INVALID_EXCEPTION_OK): Renumber.
38832 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38833 (IGNORE_ZERO_INF_SIGN): Likewise.
38834 (test_exceptions): Handle FE_OVERFLOW.
38835 (exp10_test): Expect overflow exceptions.
38836 (exp2_test): Likewise.
38837 (expm1_test): Likewise.
38838 (nextafter_test): Likewise.
38839 (pow_test): Likewise.
38840 (scalbn_test): Likewise.
38841 (scalbln_test): Likewise.
38843 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38845 * sysdeps/x86_64/bits/atomic.h
38846 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38848 (atomic_exchange_acq): Likewise.
38849 (__arch_exchange_and_add_body): Likewise.
38850 (__arch_add_body): Likewise.
38851 (atomic_add_negative): Likewise.
38852 (atomic_add_zero): Likewise.
38854 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38856 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38857 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38859 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38861 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38862 Check __x86_64__ instead of __WORDSIZE.
38864 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38866 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38868 2012-03-19 David S. Miller <davem@davemloft.net>
38870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38872 * sysdeps/sparc/fpu/fenv_private.h: New file.
38873 * sysdeps/sparc/fpu/math_private.h: Use it.
38874 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38876 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38877 (libc_feholdexcept_setroundl): Remove.
38878 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38880 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38881 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38883 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38885 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38886 int64_t instead of long int.
38887 (INSERT_WORDS64): Likwise.
38889 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38891 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38892 _Unwind_GetCFA return to _Unwind_Ptr first.
38894 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38897 * math/s_clog.c: Include <float.h>.
38898 (__clog): Scale large or subnormal inputs.
38899 * math/s_clogf.c: Likewise.
38900 * math/s_clogl.c: Likewise.
38901 * math/s_clog10.c: Include <float.h>.
38902 (M_LOG10_2): Define.
38903 (__clog10): Scale large or subnormal inputs.
38904 * math/s_clog10f.c: Likewise.
38905 * math/s_clog10l.c: Likewise.
38906 * math/libm-test.inc (clog_test): Add more tests.
38907 (clog10_test): Likewise.
38908 * sysdeps/i386/fpu/libm-test-ulps: Update.
38909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38912 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38914 * math/libm-test.inc (atan2_test): Add another test.
38916 * Makerules (common-objdir-compile): Remove.
38917 * sysdeps/unix/Makefile (config-generated): Do not add
38918 $(unix-generated) to variable.
38919 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38920 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38922 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38924 [generic bits/local_lim.h] (before-compile): Do not append to
38926 [generic bits/local_lim.h] (common-generated): Likewise.
38927 [generic sys/param.h] (before-compile): Do not append to variable.
38928 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38929 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38930 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38931 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38933 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38934 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38935 [generic sys/param.h] ($(addprefix
38936 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38937 [generic sys/param.h] (common-generated): Do not append to
38939 [generic sys/param.h] (sysdep_headers): Likewise.
38940 [generic bits/errno.h] (before-compile): Do not append to
38942 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38944 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38945 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38946 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38947 [generic bits/errno.h] (common-generated): Do not append to
38949 [generic bits/ioctls.h] (before-compile): Do not append to
38951 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38953 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38954 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38955 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38957 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38958 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38959 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38960 [generic bits/ioctls.h] (common-generated): Do not append to
38962 [generic sys/syscall.h] (syscall.h): Remove variable.
38963 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38965 [generic sys/syscall.h] (before-compile): Do not append to
38967 [generic sys/syscall.h] (common-generated): Likewise.
38968 * sysdeps/unix/errnos-tmpl.c: Remove file.
38969 * sysdeps/unix/errnos.awk: Likewise.
38970 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38971 * sysdeps/unix/ioctls.awk: Likewise.
38972 * sysdeps/unix/mk-local_lim.c: Likewise.
38973 * sysdeps/unix/snarf-ioctls: Likewise.
38975 2012-03-19 Richard Henderson <rth@twiddle.net>
38977 * sysdeps/i386/fpu/fenv_private.h: New file.
38978 * sysdeps/i386/fpu/math_private.h: Use it.
38979 (math_opt_barrier, math_force_eval): Remove.
38980 (libc_feholdexcept_setround_53bit): Remove.
38981 (libc_feupdateenv_53bit): Remove.
38982 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38983 (math_opt_barrier, math_force_eval): Remove.
38984 (libc_feholdexcept): Remove.
38985 (libc_feholdexcept_setround): Remove.
38986 (libc_fetestexcept, libc_fesetenv): Remove.
38987 (libc_feupdateenv_test): Remove.
38988 (libc_feupdateenv, libc_feholdsetround): Remove.
38989 (libc_feresetround): Remove.
38991 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38992 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38994 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38995 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38996 (libc_feupdateenv_testl): New.
38997 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38998 (libc_feupdateenv_testf): New.
38999 (libc_feupdateenv): Use libc_feupdateenv_test.
39000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39001 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39003 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39004 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39005 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39006 (libc_feresetround_noex): New.
39007 (libc_feresetround_noexf): New.
39008 (libc_feresetround_noexl): New.
39009 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39010 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39011 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39012 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39015 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39017 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39018 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39019 SET_RESTORE_ROUND_NOEX.
39020 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39021 SET_RESTORE_ROUND_NOEXF.
39022 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39023 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39024 (libc_feholdsetroundf): New.
39025 (libc_feresetround, libc_feresetroundf): New.
39027 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39028 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39029 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39031 * sysdeps/generic/math_private.h: Include <fenv.h>.
39032 (default_libc_feholdexcept): New.
39033 (default_libc_feholdexcept_setround): New.
39034 (default_libc_fesetenv, default_libc_feupdateenv): New.
39035 (libc_feholdexcept): Only define if undefined.
39036 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39037 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39038 (libc_feholdexcept_setroundl): Likewise.
39039 (libc_feholdexcept_setround_53bit): Likewise.
39040 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39041 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39042 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39043 (libc_feupdateenv_53bit): Likewise.
39044 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39045 (libc_feholdexcept): Convert from macro to inline function.
39046 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39047 (libc_fesetenv, libc_feupdateenv): Likewise.
39049 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39050 not previously defined.
39051 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39052 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39053 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39054 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39055 * sysdeps/ieee754/flt-32/math_private.h: New file.
39056 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39057 math_private.h below SET_FLOAT_WORD.
39058 (__isnan, __isinf_ns, __finite): Remove.
39059 (__isnanf, __isinf_nsf, __finitef): Remove.
39061 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39065 2012-03-17 David S. Miller <davem@davemloft.net>
39068 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39071 2012-03-16 David S. Miller <davem@davemloft.net>
39073 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39077 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39079 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39080 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39081 sysdep_routines when subdir is sysvipc.
39082 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39083 __getshmlba helper.
39085 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39087 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39089 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39092 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39094 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39095 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39096 (__lround): Renamed to ...
39097 (__llround): This. Replace long int with long long int.
39098 Define lround functions as aliases of llround functions.
39099 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39101 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39103 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39104 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39105 adresses to uintptr_t. Replace "long int" and "unsigned long
39106 int" with "greg_t" on va_arg.
39108 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39110 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39111 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39113 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39114 Move e_machine check before EI_CLASS check. Handle x32
39115 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39116 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39117 SKIP_EM_IA_64 and include
39118 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39120 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39121 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39122 (add_system_dir): New macro.
39124 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39125 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39127 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39138 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39140 * math/w_j0f.c (j0f): Likewise.
39142 * math/w_j0l.c (__j0l): Likewise.
39144 * math/w_j1.c (j1): Likewise.
39146 * math/w_j1f.c (j1f): Likewise.
39148 * math/w_j1l.c (__j1l): Likewise.
39150 * math/w_jn.c (jn): Likewise.
39152 * math/w_jnf.c (jnf): Likewise.
39154 * math/w_jnl.c (__jnl): Likewise.
39156 * math/libm-test.inc (j0_test): Add more tests.
39157 (j1_test): Likewise.
39158 (jn_test): Likewise. Add trailing semicolon to existing test.
39159 (y0_test): Likewise.
39160 (y1_test): Likewise.
39161 * sysdeps/i386/fpu/libm-test-ulps: Update.
39162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39166 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39167 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39168 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39169 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39170 (__tanl): Set errno for infinite argument.
39171 * sysdeps/i386/fpu/mptan.c: Remove.
39172 * sysdeps/i386/fpu/s_tan.S: Likewise.
39173 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39174 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39175 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39176 * math/libm-test.inc (tan_test): Add more tests and enable more
39177 tests for double and long double.
39178 * sysdeps/i386/fpu/libm-test-ulps: Update.
39179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39181 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39183 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39184 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39186 2012-03-16 Roland McGrath <roland@hack.frob.com>
39188 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39189 * configure.in: Use it for both main tree and add-ons.
39190 * configure: Regenerated.
39192 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39194 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39196 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39198 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39202 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39203 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39204 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39205 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39206 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39208 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39209 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39210 != 0 for prec == 2.
39211 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39212 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39213 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39214 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39215 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39216 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39217 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39218 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39219 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39220 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39221 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39222 * math/libm-test.inc (cos_test): Add more tests and enable more
39223 tests for long double.
39224 (sin_test): Likewise.
39225 (sincos_test): Likewise.
39226 * sysdeps/i386/fpu/libm-test-ulps: Update.
39227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39229 2012-03-16 David S. Miller <davem@davemloft.net>
39231 * sysdeps/sparc/fpu/math_private.h: New file.
39233 2012-03-15 David S. Miller <davem@davemloft.net>
39235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39249 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39250 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39252 * sysdeps/sparc/sparc-ifunc.h: New file.
39253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39291 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39293 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39294 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39295 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39296 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39298 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39300 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39304 2012-03-15 Andreas Jaeger <aj@suse.de>
39307 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39308 ieee754/flt-32 implementation for sin, cos and sincos.
39309 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39310 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39311 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39312 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39313 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39314 ieee754/flt-32 implementation for tan.
39316 * math/libm-test.inc (cos_test): Enable some large input tests for
39318 (sin_test): Likewise.
39319 (sincos_test): Likewise.
39320 (tan_test): Add tests for large input.
39322 * sysdeps/i386/fpu/libm-test-ulps: Update.
39324 2012-03-15 Andreas Jaeger <aj@suse.de>
39327 * math/libm-test.inc (cos_test): Add more test cases.
39328 (sin_test): Likewise.
39329 (sincos_test): Likewise.
39331 2012-03-15 Andreas Jaeger <aj@suse.de>
39334 * math/libm-test.inc (cos_test): Add a test case for large input
39336 (sin_test): Likewise.
39337 (sincos_test): Likewise.
39339 2012-03-15 Andreas Jaeger <aj@suse.de>
39340 Joseph Myers <joseph@codesourcery.com>
39343 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39344 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39345 * sysdeps/i386/fpu/branred.c: Likewise.
39346 * sysdeps/i386/fpu/dosincos.c: Likewise.
39347 * sysdeps/i386/fpu/mpa.c: Likewise.
39348 * sysdeps/i386/fpu/s_cos.S: Likewise.
39349 * sysdeps/i386/fpu/s_sin.S: Likewise.
39350 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39351 * sysdeps/i386/fpu/sincos32.c: Likewise.
39353 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39355 (libc_feupdateenv_53bit): Define.
39356 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39358 (libc_feupdateenv_53bit): Define.
39360 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39361 53 bit (without extend i386 double precision).
39363 * math/libm-test.inc (sincos_test): Add tests for large input.
39367 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39369 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39373 2012-03-15 David S. Miller <davem@davemloft.net>
39375 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39376 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39377 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39378 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39402 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39403 fmin/fmax sysdep routines.
39404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39406 2012-03-14 David S. Miller <davem@davemloft.net>
39408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39412 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39428 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39429 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39430 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39432 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39433 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39434 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39435 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39480 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39485 * sysdeps/sparc/configure.in: New file.
39486 * sysdeps/sparc/configure: Generate.
39487 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39488 * configure: Regenerate.
39489 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39490 * config.make.in (have-as-vis3): New.
39491 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39492 available use -Av9d instead of -Av9a.
39493 * sysdeps/sparc/sparc64/Makefile: Likewise.
39494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39504 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39505 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39506 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39509 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39510 fzeros/fnegs to load 0x80000000 into a float register instead of
39512 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39514 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39518 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39519 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39520 ($(inst_includedir)/bits/syscall.h): Remove rule.
39521 ($(objpfx)bits/syscall.d): Include instead of
39522 $(objpfx)syscall-list.d.
39523 (generated): Change syscall-list.h and syscall-list.d to
39524 bits/syscall.h and bits/syscall.d.
39526 2012-03-14 Roland McGrath <roland@hack.frob.com>
39529 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39531 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39534 * math/s_csqrt.c: Include <float.h>.
39535 (__csqrt): Scale large or subnormal inputs.
39536 * math/s_csqrtf.c: Likewise.
39537 * math/s_csqrtl.c: Likewise.
39538 * math/libm-test.inc (csqrt_test): Add more tests.
39539 * sysdeps/i386/fpu/libm-test-ulps: Update.
39540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39543 * math/libm-test.inc (hypot_test): Add more tests.
39545 2012-03-13 David S. Miller <davem@davemloft.net>
39548 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39549 double-precision for the calculation instead of scaling.
39551 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39553 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39554 manipulate bits before adding and subtracting TWO52[sx].
39555 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39558 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39560 2012-03-13 David S. Miller <davem@davemloft.net>
39562 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39563 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39565 rtld-global-offsets.h
39566 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39568 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39571 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39573 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39574 'err' in the ifdef scope in which it is actually used.
39576 * nss/nss_db/db-init.c: Include string.h
39578 2012-03-12 David S. Miller <davem@davemloft.net>
39580 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39581 masking out of the most significant byte of random value used.
39582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39583 Fix coding style in previous change.
39585 * sysdeps/unix/sysv/linux/kernel-features.h
39586 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39587 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39589 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39592 2012-03-11 David S. Miller <davem@davemloft.net>
39594 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39595 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39596 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39597 for 'resultvar' otherwise things get truncated on 64-bit.
39599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39600 Fix masking out of the most significant byte of random value used.
39602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39604 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39608 2012-03-09 David S. Miller <davem@davemloft.net>
39610 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39611 variables with appropriate CPP guards.
39612 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39613 from the frame pointer, not the stack pointer. Correct layout
39614 comments. Fix test on resulting framesize and the management of
39615 the outregs buffer for pltexit. Preserve floating point return
39616 values across _dl_call_pltexit call.
39617 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39618 framesize and the management of the outregs buffer for pltexit.
39619 Preserve floating point return values across _dl_call_pltexit
39621 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39622 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39623 (la_sparc64_gnu_pltexit): New functions.
39624 (print_exit): Fix format string for return register value.
39626 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39628 * sunrpc/Makefile (others): Add rpcgen.
39629 ($(objpfx)rpcgen): Remove special build rule and dependency on
39631 * sunrpc/rpcgen.c: New file.
39633 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39636 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39637 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39638 * sysdeps/i386/crti.S: Likewise.
39639 * sysdeps/i386/crtn.S: Likewise.
39640 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39641 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39642 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39643 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39644 * sysdeps/sh/crti.S: Likewise.
39645 * sysdeps/sh/crtn.S: Likewise.
39646 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39649 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39651 * locale/programs/locfile-kw.gperf: Likewise.
39652 * locale/programs/charmap-kw.h: Regenerated.
39653 * locale/programs/locfile-kw.h: Likewise.
39656 * intl/plural.y: Replace FSF snail mail address with URL.
39657 * intl/plural.c: Regenerated.
39659 2012-03-09 Richard Henderson <rth@twiddle.net>
39661 * include/math_private.h: Remove file.
39662 * math/math_private.h: Move file ...
39663 * sysdeps/generic/math_private.h: ... here.
39665 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39666 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39667 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39669 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39670 and <math_private.h>.
39671 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39672 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39673 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39674 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39675 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39676 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39677 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39678 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39679 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39680 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39682 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39683 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39684 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39685 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39686 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39687 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39688 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39689 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39690 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39691 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39692 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39693 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39694 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39695 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39696 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39697 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39698 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39699 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39701 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39702 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39703 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39704 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39705 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39706 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39707 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39708 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39709 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39710 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39711 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39712 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39713 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39714 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39715 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39716 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39717 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39718 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39719 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39720 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39721 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39722 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39723 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39724 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39725 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39726 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39727 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39728 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39729 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39730 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39731 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39732 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39734 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39735 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39736 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39737 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39738 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39739 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39740 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39741 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39742 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39743 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39744 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39745 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39748 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39749 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39750 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39751 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39752 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39753 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39754 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39755 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39758 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39759 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39760 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39761 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39762 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39764 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39765 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39766 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39767 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39768 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39769 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39770 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39771 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39772 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39773 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39774 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39775 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39776 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39777 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39778 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39779 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39780 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39781 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39782 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39783 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39784 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39785 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39786 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39787 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39788 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39789 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39790 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39791 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39792 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39793 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39794 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39795 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39796 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39797 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39798 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39799 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39800 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39801 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39802 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39803 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39804 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39805 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39806 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39807 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39808 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39809 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39810 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39811 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39812 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39813 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39814 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39815 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39816 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39817 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39818 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39819 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39820 * sysdeps/ieee754/k_standard.c: Likewise.
39821 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39829 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39830 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39831 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39832 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39833 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39834 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39835 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39838 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39842 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39843 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39844 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39845 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39846 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39847 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39848 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39849 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39850 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39851 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39852 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39853 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39854 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39855 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39856 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39857 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39858 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39859 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39860 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39861 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39862 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39863 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39864 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39865 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39866 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39867 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39868 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39869 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39870 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39871 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39872 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39873 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39874 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39875 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39876 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39877 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39878 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39879 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39880 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39881 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39882 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39883 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39884 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39886 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39887 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39888 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39889 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39890 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39891 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39892 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39893 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39894 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39895 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39896 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39897 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39898 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39899 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39900 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39901 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39902 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39903 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39904 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39905 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39906 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39907 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39908 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39909 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39910 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39911 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39912 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39913 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39914 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39915 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39916 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39917 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39918 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39919 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39920 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39921 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39922 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39923 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39924 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39925 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39926 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39927 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39928 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39929 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39930 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39931 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39932 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39933 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39934 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39935 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39936 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39937 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39938 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39939 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39940 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39941 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39942 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39943 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39944 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39945 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39946 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39947 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39948 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39949 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39950 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39951 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39952 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39953 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39954 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39955 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39956 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39957 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39958 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39959 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39960 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39961 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39962 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39963 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39964 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39965 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39966 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39967 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39968 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39969 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39970 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39971 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39972 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39973 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39974 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39975 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39976 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39977 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39978 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39979 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39980 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39981 * sysdeps/ieee754/s_lib_version.c: Likewise.
39982 * sysdeps/ieee754/s_matherr.c: Likewise.
39983 * sysdeps/ieee754/s_signgam.c: Likewise.
39984 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39985 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39986 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39987 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39988 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39989 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39990 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39991 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39992 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39993 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39994 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39995 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39996 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39997 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39998 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39999 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40000 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40001 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40002 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40004 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40006 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40008 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40009 * sunrpc/rpc_main.c: Likewise.
40010 * sunrpc/rpc_svcout.c: Likewise.
40012 2012-03-09 David S. Miller <davem@davemloft.net>
40014 * include/math_private.h: New file.
40016 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40018 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40019 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40020 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40021 from <bits/socket_type.h>.
40022 (enum __socket_type): Don't define here.
40023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40025 bits/socket_type.h.
40028 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40029 checking __USE_GNU.
40031 * Makerules ($(inst_includedir)/%.h): New rule.
40032 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40033 (install-others): Remove variable setting.
40034 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40036 2012-03-08 Richard Henderson <rth@twiddle.net>
40038 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40039 from macro to inline function; merge with the
40040 !__LIBC_INTERNAL_MATH_INLINES version.
40041 (__ieee754_sqrtf): Likewise.
40043 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40044 to inline function.
40045 (__rintf, __floor, __floorf): Likewise.
40047 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40048 macro to inline function.
40049 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40051 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40052 not <math/math_private.h>.
40054 2012-03-08 David S. Miller <davem@davemloft.net>
40056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40058 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40060 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40062 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40064 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40065 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40067 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40069 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40070 be defined individually, they must be defined as a block. Define
40071 S for printing a string instead of hidint the different by using a
40072 macro for adding the 'l'.
40073 * stdio-common/tst-fphex-wide.c: Adjust.
40075 2012-03-07 Marek Polacek <polacek@redhat.com>
40077 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40079 2012-03-08 Marek Polacek <polacek@redhat.com>
40082 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40083 * stdio-common/tst-fphex.c: Define a few macros to make the
40084 test reusable. Use them.
40085 * stdio-common/tst-fphex-wide.c: New file.
40087 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40090 * manual/macros.texi (gnusystems): New macro.
40091 (nongnusystems): Likewise.
40092 (gnulinuxhurdsystems): Likewise.
40093 (gnuhurdsystems): Likewise..
40094 (gnulinuxsystems): Likewise.
40095 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40096 variants of the GNU system, not "GNU system".
40097 * manual/conf.texi: Likewise.
40098 * manual/errno.texi: Likewise. Update example of errno macro
40100 * manual/filesys.texi: Likewise.
40101 (getumask): Document as specific to GNU/Hurd.
40102 * manual/install.texi: Likewise. Reword some references to
40104 * manual/intro.texi: Likewise.
40105 * manual/io.texi: Likewise.
40106 (File Name Portability): Detail which constraints are inapplicable
40107 to all GNU systems and which are only inapplicable to GNU/Hurd.
40108 * manual/job.texi: Likewise.
40109 * manual/llio.texi: Likewise.
40110 (O_NOCTTY): Document as present on GNU/Linux.
40111 * manual/maint.texi: Likewise.
40112 * manual/memory.texi: Likewise.
40113 * manual/pattern.texi: Likewise.
40114 * manual/pipe.texi: Likewise.
40115 * manual/process.texi: Likewise.
40116 * manual/resource.texi: Likewise.
40117 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40119 * manual/setjmp.texi: Likewise.
40120 * manual/signal.texi: Likewise.
40121 * manual/startup.texi: Likewise.
40122 * manual/stdio.texi: Likewise.
40123 * manual/terminal.texi: Likewise.
40124 (ONLCR): Document as POSIX.
40125 (OXTABS): Document availability on GNU/Linux as XTABS.
40126 (ONOEOT): Document availability separately from other bits.
40127 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40128 * manual/time.texi: Likewise.
40129 * manual/users.texi: Likewise.
40130 * INSTALL: Regenerated.
40131 * sysdeps/gnu/errlist.c: Regenerated.
40133 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40134 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40135 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40137 * configure: Regenerated.
40139 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40141 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40142 default includes instead of AC_HEADER_CHECK.
40143 * sysdeps/i386/configure: Regenerated.
40146 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40147 * math/s_cacoshf.c (__cacoshf): Likewise.
40148 * math/s_cacoshl.c (__cacoshl): Likewise.
40149 * math/s_casinh.c (__casinh): Set signs of result from argument.
40150 * math/s_casinhf.c (__casinhf): Likewise.
40151 * math/s_casinhl.c (__casinhl): Likewise.
40152 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40153 (casinh_test): Add more tests.
40154 * sysdeps/i386/fpu/libm-test-ulps: Update.
40155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40157 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40159 * po/zh_TW.po: Update from translation team.
40161 * login/Makefile (distribute): Remove variable.
40162 * catgets/Makefile: Likewise.
40163 * mach/Makefile: Likewise.
40164 * malloc/Makefile: Likewise.
40165 * misc/Makefile: Likewise.
40166 * iconv/Makefile: Likewise.
40167 * nscd/Makefile: Likewise.
40168 * hurd/Makefile: Likewise.
40169 * manual/Makefile: Likewise.
40170 * locale/Makefile: Likewise.
40171 * intl/Makefile: Likewise.
40172 * conform/Makefile: Likewise.
40173 * nss/Makefile: Likewise.
40174 * time/Makefile: Likewise.
40175 * soft-fp/Makefile: Likewise.
40176 * dirent/Makefile: Likewise.
40177 * gmon/Makefile: Likewise.
40178 * po/Makefile: Likewise.
40179 * rt/Makefile: Likewise.
40180 * socket/Makefile: Likewise.
40181 * math/Makefile: Likewise.
40182 * signal/Makefile: Likewise.
40183 * debug/Makefile: Likewise.
40184 * elf/Makefile: Likewise.
40185 * timezone/Makefile: Likewise.
40186 * stdlib/Makefile: Likewise.
40187 * iconvdata/Makefile: Likewise.
40188 * sunrpc/Makefile: Likewise.
40189 * io/Makefile: Likewise.
40190 * argp/Makefile: Likewise.
40191 * inet/Makefile: Likewise.
40192 * hesiod/Makefile: Likewise.
40193 * grp/Makefile: Likewise.
40194 * csu/Makefile: Likewise.
40195 * wctype/Makefile: Likewise.
40196 * crypt/Makefile: Likewise.
40197 * libio/Makefile: Likewise.
40198 * string/Makefile: Likewise.
40199 * nis/Makefile: Likewise.
40200 * resolv/Makefile: Likewise.
40201 * stdio-common/Makefile: Likewise.
40202 * wcsmbs/Makefile: Likewise.
40203 * dlfcn/Makefile: Likewise.
40204 * posix/Makefile: Likewise.
40207 * timezone/Makefile: Don't install timezone files, just the programs
40210 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40212 * nss/databases.def: Add missing gshadow entry.
40214 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40216 2012-03-06 Marek Polacek <polacek@redhat.com>
40219 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40220 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40221 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40222 * stdio-common/tst-long-dbl-fphex.c: New file.
40224 2012-03-06 David S. Miller <davem@davemloft.net>
40226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40227 (set_obp_int): New function.
40228 (get_obp_int): New function.
40229 (__get_clockfreq_via_dev_openprom): Likewise.
40230 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40231 Avoid unused variable warnings on 'val' and use builtin_expect.
40232 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40234 (INLINE_CLONE_SYSCALL): Likewise.
40236 2012-03-05 David S. Miller <davem@davemloft.net>
40238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40240 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40244 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40245 only for |x| >= 40.
40246 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40248 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40251 Replace gettimeofday with __vdso_gettimeofday.
40253 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40254 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40255 __vdso_clock_gettime and __vdso_getcpu.
40257 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40258 time with __vdso_time.
40260 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40262 * manual/lang.texi (size_t): Note types to which size_t may be
40263 equivalent with the GNU C Library, but do not describe when
40264 differences between them are significant.
40266 2012-03-05 Andreas Jaeger <aj@suse.de>
40268 * sysdeps/i386/fpu/libm-test-ulps: Update.
40270 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40273 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40274 (__ieee754_pow): Save and restore rounding mode and use
40275 round-to-nearest for main computations.
40276 * math/libm-test.inc (pow_test_tonearest): New function.
40277 (pow_test_towardzero): Likewise.
40278 (pow_test_downward): Likewise.
40279 (pow_test_upward): Likewise.
40280 (main): Call the new functions.
40281 * sysdeps/i386/fpu/libm-test-ulps: Update.
40282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40285 * math/libm-test.inc (cosh_test_tonearest): New function.
40286 (cosh_test_towardzero): Likewise.
40287 (cosh_test_downward): Likewise.
40288 (cosh_test_upward): Likewise.
40289 (sinh_test_tonearest): Likewise.
40290 (sinh_test_towardzero): Likewise.
40291 (sinh_test_downward): Likewise.
40292 (sinh_test_upward): Likewise.
40293 (main): Call the new functions.
40294 * sysdeps/i386/fpu/libm-test-ulps: Update.
40295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40297 2012-03-05 Tom de Vries <tom@codesourcery.com>
40299 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40300 default stack guard is set in last bytes.
40301 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40303 2012-03-05 Kees Cook <keescook@chromium.org>
40305 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40308 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40309 possibly allocate from heap instead of stack.
40310 * stdio-common/bug-vfprintf-nargs.c: New file.
40311 * stdio-common/Makefile (tests): Add nargs overflow test.
40313 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40317 2012-03-03 Marek Polacek <polacek@redhat.com>
40319 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40320 * math/math_private.h: Likewise.
40321 * stdlib/tst-strtod.c: Likewise.
40322 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40323 * sysdeps/x86_64/bits/atomic.h: Likewise.
40325 2012-03-02 David S. Miller <davem@davemloft.net>
40327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40331 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40332 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40333 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40334 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40336 2012-03-02 Roland McGrath <roland@hack.frob.com>
40339 * manual/examples/README: New file, says the example source files
40340 can be used under GPL>=2.
40341 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40342 line containing just "*/".
40343 * manual/examples/add.c: Add copyright header (GPL>=2).
40344 * manual/examples/argp-ex1.c: Likewise.
40345 * manual/examples/argp-ex2.c: Likewise.
40346 * manual/examples/argp-ex3.c: Likewise.
40347 * manual/examples/argp-ex4.c: Likewise.
40348 * manual/examples/atexit.c: Likewise.
40349 * manual/examples/db.c: Likewise.
40350 * manual/examples/dir.c: Likewise.
40351 * manual/examples/dir2.c: Likewise.
40352 * manual/examples/execinfo.c: Likewise.
40353 * manual/examples/filecli.c: Likewise.
40354 * manual/examples/filesrv.c: Likewise.
40355 * manual/examples/fmtmsgexpl.c: Likewise.
40356 * manual/examples/genpass.c: Likewise.
40357 * manual/examples/inetcli.c: Likewise.
40358 * manual/examples/inetsrv.c: Likewise.
40359 * manual/examples/isockad.c: Likewise.
40360 * manual/examples/longopt.c: Likewise.
40361 * manual/examples/memopen.c: Likewise.
40362 * manual/examples/memstrm.c: Likewise.
40363 * manual/examples/mkfsock.c: Likewise.
40364 * manual/examples/mkisock.c: Likewise.
40365 * manual/examples/mygetpass.c: Likewise.
40366 * manual/examples/pipe.c: Likewise.
40367 * manual/examples/popen.c: Likewise.
40368 * manual/examples/rprintf.c: Likewise.
40369 * manual/examples/search.c: Likewise.
40370 * manual/examples/select.c: Likewise.
40371 * manual/examples/setjmp.c: Likewise.
40372 * manual/examples/sigh1.c: Likewise.
40373 * manual/examples/sigusr.c: Likewise.
40374 * manual/examples/stpcpy.c: Likewise.
40375 * manual/examples/strdupa.c: Likewise.
40376 * manual/examples/strftim.c: Likewise.
40377 * manual/examples/strncat.c: Likewise.
40378 * manual/examples/subopt.c: Likewise.
40379 * manual/examples/swapcontext.c: Likewise.
40380 * manual/examples/termios.c: Likewise.
40381 * manual/examples/testopt.c: Likewise.
40382 * manual/examples/testpass.c: Likewise.
40383 * manual/examples/timeval_subtract.c: Likewise.
40386 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40388 * manual/timeval_subtract.c.texi: ... here, new file.
40390 2012-03-02 David S. Miller <davem@davemloft.net>
40392 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40394 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40397 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40398 (__sin): Save and restore rounding mode and use round-to-nearest
40399 for all computations.
40400 (__cos): Save and restore rounding mode and use round-to-nearest
40401 for all computations.
40402 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40404 (tan): Save and restore rounding mode and use round-to-nearest for
40406 * math/libm-test.inc (cos_test_tonearest): New function.
40407 (cos_test_towardzero): Likewise.
40408 (cos_test_downward): Likewise.
40409 (cos_test_upward): Likewise.
40410 (sin_test_tonearest): Likewise.
40411 (sin_test_towardzero): Likewise.
40412 (sin_test_downward): Likewise.
40413 (sin_test_upward): Likewise.
40414 (tan_test_tonearest): Likewise.
40415 (tan_test_towardzero): Likewise.
40416 (tan_test_downward): Likewise.
40417 (tan_test_upward): Likewise.
40418 (main): Call the new functions.
40419 * sysdeps/i386/fpu/libm-test-ulps: Update.
40420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40423 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40424 small n, then large n, before computing and testing k+n.
40425 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40430 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40431 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40432 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40433 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40434 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40435 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40436 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40437 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40438 * math/libm-test.inc (scalbn_test): Add more tests.
40439 (scalbln_test): Likewise.
40441 * manual/filesys.texi (mode_t): Describe constraints on size and
40442 signedness, not exact equivalence to a particular type.
40444 (ino64_t): Likewise.
40446 (nlink_t): Likewise.
40447 (blkcnt_t): Likewise.
40448 (blkcnt64_t): Likewise.
40449 * manual/llio.texi (off_t): Likewise.
40452 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40453 (__ieee754_exp): Save and restore rounding mode and use
40454 round-to-nearest for all computations.
40455 * math/libm-test.inc (exp_test_tonearest): New function.
40456 (exp_test_towardzero): Likewise.
40457 (exp_test_downward): Likewise.
40458 (exp_test_upward): Likewise.
40459 (main): Call the new functions.
40460 * sysdeps/i386/fpu/libm-test-ulps: Update.
40461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40463 2012-03-01 Chris Demetriou <cgd@google.com>
40465 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40466 have predictable order.
40468 2012-03-01 David S. Miller <davem@davemloft.net>
40470 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40472 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40473 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40474 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40475 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40477 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40478 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40479 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40481 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40482 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40483 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40484 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40485 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40489 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40490 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40491 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40493 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40494 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40495 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40496 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40497 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40498 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40499 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40500 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40501 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40502 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40503 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40504 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40506 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40507 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40508 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40509 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40510 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40511 * sysdeps/sparc/elf/configure: Regenerated.
40513 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40515 * configure.in (AS, LD): Require binutils 2.20 or later.
40516 * configure: Regenerated.
40517 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40518 as required minimum version.
40519 * INSTALL: Regenerated.
40523 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40524 before squaring exponent.
40525 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40526 bottom long double and 27 bits of top long double before squaring
40528 * math/libm-test.inc (erfc_test): Add more tests.
40529 * sysdeps/i386/fpu/libm-test-ulps: Update.
40530 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40533 2012-03-01 Kai Tietz <ktietz@redhat.com>
40535 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40536 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40537 containing bit-fields.
40538 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40539 * soft-fp/single.h (_FP_UNION_S): Likewise.
40540 * soft-fp/double.h (_FP_UNION_D): Likewise.
40542 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40545 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40546 not include ../strcmp.S.
40547 [USE_AS_STRNCASECMP_L]: Likewise.
40548 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40549 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40550 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40551 (__strncasecmp_l_ia32): Define as alias to
40552 __strncasecmp_l_nonascii.
40555 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40556 * sysdeps/i386/fpu/libm-test-ulps: Update.
40557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40559 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40562 2012-02-29 Jeff Law <law@redhat.com>
40564 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40565 out of bounds read.
40567 2012-02-29 Marek Polacek <polacek@redhat.com>
40570 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40571 * elf/Makefile: Add rules to run tst-unused-dep.out.
40573 2012-02-28 David S. Miller <davem@davemloft.net>
40575 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40576 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40577 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40578 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40579 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40580 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40582 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40584 * math/libm-test.inc (llround_test): Move one test from
40585 lround_test. Use TEST_f_L in moved test.
40586 (lround_test): Move misplaced test to llround_test. Add testcase
40589 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40591 * sysdeps/x86_64/fpu/e_expf.S: New file.
40592 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40594 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40597 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40598 of remain_len that may cause incomplete multi-byte character and
40600 * posix/bug-regex33.c: New file.
40601 * posix/Makefile (tests): Add bug-regex33.
40603 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40605 * manual/macros.texi: New file.
40606 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40607 * manual/libc.texinfo: Include macros.texi.
40608 * manual/creatute.texi: Likewise.
40609 * manual/install.texi: Likewise.
40610 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40611 @glibcadj{} in references to the GNU C Library.
40612 * manual/charset.texi: Likewise.
40613 * manual/conf.texi: Likewise.
40614 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40615 when not using those macros.
40616 * manual/creature.texi: Likewise.
40617 * manual/crypt.texi: Likewise.
40618 * manual/errno.texi: Likewise.
40619 * manual/filesys.texi: Likewise.
40620 * manual/header.texi: Likewise.
40621 * manual/install.texi: Likewise.
40622 * manual/intro.texi: Likewise.
40623 * manual/io.texi: Likewise.
40624 * manual/job.texi: Likewise.
40625 * manual/lang.texi: Likewise.
40626 * manual/libc.texiinfo: Likewise.
40627 * manual/llio.texi: Likewise.
40628 * manual/locale.texi: Likewise.
40629 * manual/maint.texi: Likewise.
40630 * manual/math.texi: Likewise.
40631 * manual/memory.texi: Likewise.
40632 * manual/message.texi: Likewise.
40633 * manual/nss.texi: Likewise.
40634 * manual/pattern.texi: Likewise.
40635 * manual/process.texi: Likewise.
40636 * manual/resource.texi: Likewise.
40637 * manual/search.texi: Likewise.
40638 * manual/setjmp.texi: Likewise.
40639 * manual/signal.texi: Likewise.
40640 * manual/socket.texi: Likewise.
40641 * manual/startup.texi: Likewise.
40642 * manual/stdio.texi: Likewise.
40643 * manual/string.texi: Likewise.
40644 * manual/sysinfo.texi: Likewise.
40645 * manual/syslog.texi: Likewise.
40646 * manual/terminal.texi: Likewise.
40647 * manual/time.texi: Likewise.
40648 * manual/users.texi: Likewise.
40649 * INSTALL: Regenerated.
40650 * NOTES: Regenerated.
40651 * sysdeps/gnu/errlist.c: Regenerated.
40653 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40655 * include/dirent.h: Include <dirstream.h> before
40658 2012-02-28 David S. Miller <davem@davemloft.net>
40660 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40661 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40662 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40663 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40665 2012-02-27 David S. Miller <davem@davemloft.net>
40667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40669 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40670 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40673 frame pointer instead of stack pointer relative arg slot.
40674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40675 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40676 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40678 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40681 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40683 2012-02-27 David S. Miller <davem@davemloft.net>
40685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40689 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40690 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40691 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40692 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40694 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40696 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40697 later. Allow versions 5-9.
40698 * configure: Regenerated.
40699 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40700 required minimum version and 4.6 as recommended version. Do not
40701 mention bugs in GCC 2.7 and 2.8.
40702 * INSTALL: Regenerated.
40704 2012-02-27 David S. Miller <davem@davemloft.net>
40706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40710 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40711 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40712 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40713 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40715 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40716 manipulate bits before adding and subtracting TWO112[sx].
40717 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40719 2012-02-27 Roland McGrath <roland@hack.frob.com>
40722 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40723 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40724 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40725 being in POSIX, because they are in 1003.1-2008.
40727 * rt/tst-aio.c: Include <fcntl.h>.
40728 * rt/tst-aio7.c: Likewise.
40729 * rt/tst-aio64.c: Likewise.
40731 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40733 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40735 * manual/install.texi (--with-headers): Describe headers as
40736 interface headers, not private headers.
40737 (Specific advice for GNU/Linux systems): Describe use of headers
40738 from "make headers_install", not private headers from older
40740 * INSTALL: Regenerated.
40741 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40743 * sysdeps/unix/sysv/linux/configure: Regenerated.
40745 * manual/llio.texi (fclean): Remove documentation.
40747 * manual/Makefile (libc-texi-generated): New variable. Include
40749 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40750 $(libc-texi-generated), not duplicated list of files.
40751 (version.texi, stamp-version): New rules.
40752 (realclean): Remove $(libc-texi-generated), not individual files
40753 from that list. Do not remove dir-add.texinfo.
40754 * manual/libc.texinfo: Comment out uses of edition numbers and
40755 references to printed manual. Remove last-updated dates.
40756 (EDITION): Comment out.
40758 (VERSION, UPDATED): Remove.
40759 (version.texi): Include.
40761 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40763 * sysdeps/posix/spawni.c: Include <signal.h>.
40764 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40765 * sysdeps/pthread/aio_fsync.c: Likewise.
40767 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40769 * conform/Makefile (tests): Run only when not cross-compiling and
40770 when fast-check is not defined.
40772 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40773 * conform/data/limits.h-data: Fixes for POSIX2008.
40774 * conform/run-conformtest.sh: Run all tests.
40775 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40777 * include/bits/dlfcn.h: Likewise.
40778 * include/langinfo.h: Likewise.
40779 * include/monetary.h: Likewise.
40780 * include/sys/poll.h: Likewise.
40782 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40784 * posix/spawn.h: Define __need_sigset_t.
40785 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40786 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40787 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40788 to get sigevent_t only.
40789 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40790 only for __USE_GNU.
40791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40792 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40793 process_vm_writev only for __USE_GNU.
40794 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40796 * conform/Makefile: For now ignore errors from run-conformtest.
40797 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40798 POSIX to avoid namespace pollution. Don't prepend headers.
40799 * conform/data/aio.h-data: Fixes for POSIX testing.
40800 * conform/data/fcntl.h-data: Likewise.
40801 * conform/data/glob.h-data: Likewise.
40802 * conform/data/grp.h-data: Likewise.
40803 * conform/data/pthread.h-data: Likewise.
40804 * conform/data/pwd.h-data: Likewise.
40805 * conform/data/signal.h-data: Likewise.
40806 * conform/data/spawn.h-data: Likewise.
40807 * conform/data/stdio.h-data: Likewise.
40808 * conform/data/stdlib.h-data: Likewise.
40809 * conform/data/stropts.h-data: Likewise.
40810 * conform/data/sys/mman.h-data: Likewise.
40811 * conform/data/sys/stat.h-data: Likewise.
40812 * conform/data/sys/types.h-data: Likewise.
40813 * conform/data/sys/wait.h-data: Likewise.
40814 * conform/data/time.h-data: Likewise.
40815 * conform/data/unistd.h-data: Likewise.
40816 * conform/data/utime.h-data: Likewise.
40818 * io/sys/stat.h: fchmod was always in POSIX.
40819 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40820 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40821 * rt/aio.h: Define __need_timespec before including <time.h>.
40822 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40823 struct. Add forward declaration of pthread_attr_t and use it in
40825 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40826 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40827 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40828 always remove CLK_TCK definition.
40830 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40832 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40834 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40836 * conform/run-conformtest.sh: New file.
40837 * conform/Makefile: Run run-conformtest for tests.
40838 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40841 * conform/data/uchar.h-data: New file.
40842 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40843 * conform/data/arpa/inet.h-data: Likewise.
40844 * conform/data/assert.h-data: Likewise.
40845 * conform/data/complex.h-data: Likewise.
40846 * conform/data/cpio.h-data: Likewise.
40847 * conform/data/ctype.h-data: Likewise.
40848 * conform/data/dirent.h-data: Likewise.
40849 * conform/data/dlfcn.h-data: Likewise.
40850 * conform/data/errno.h-data: Likewise.
40851 * conform/data/fcntl.h-data: Likewise.
40852 * conform/data/float.h-data: Likewise.
40853 * conform/data/fmtmsg.h-data: Likewise.
40854 * conform/data/fnmatch.h-data: Likewise.
40855 * conform/data/ftw.h-data: Likewise.
40856 * conform/data/glob.h-data: Likewise.
40857 * conform/data/grp.h-data: Likewise.
40858 * conform/data/iconv.h-data: Likewise.
40859 * conform/data/inttypes.h-data: Likewise.
40860 * conform/data/langinfo.h-data: Likewise.
40861 * conform/data/libgen.h-data: Likewise.
40862 * conform/data/limits.h-data: Likewise.
40863 * conform/data/locale.h-data: Likewise.
40864 * conform/data/math.h-data: Likewise.
40865 * conform/data/monetary.h-data: Likewise.
40866 * conform/data/mqueue.h-data: Likewise.
40867 * conform/data/ndbm.h-data: Likewise.
40868 * conform/data/net/if.h-data: Likewise.
40869 * conform/data/netdb.h-data: Likewise.
40870 * conform/data/netinet/in.h-data: Likewise.
40871 * conform/data/nl_types.h-data: Likewise.
40872 * conform/data/poll.h-data: Likewise.
40873 * conform/data/pthread.h-data: Likewise.
40874 * conform/data/pwd.h-data: Likewise.
40875 * conform/data/regex.h-data: Likewise.
40876 * conform/data/sched.h-data: Likewise.
40877 * conform/data/search.h-data: Likewise.
40878 * conform/data/semaphore.h-data: Likewise.
40879 * conform/data/setjmp.h-data: Likewise.
40880 * conform/data/signal.h-data: Likewise.
40881 * conform/data/spawn.h-data: Likewise.
40882 * conform/data/stdarg.h-data: Likewise.
40883 * conform/data/stdio.h-data: Likewise.
40884 * conform/data/stdlib.h-data: Likewise.
40885 * conform/data/string.h-data: Likewise.
40886 * conform/data/strings.h-data: Likewise.
40887 * conform/data/stropts.h-data: Likewise.
40888 * conform/data/sys/ipc.h-data: Likewise.
40889 * conform/data/sys/mman.h-data: Likewise.
40890 * conform/data/sys/msg.h-data: Likewise.
40891 * conform/data/sys/resource.h-data: Likewise.
40892 * conform/data/sys/select.h-data: Likewise.
40893 * conform/data/sys/sem.h-data: Likewise.
40894 * conform/data/sys/shm.h-data: Likewise.
40895 * conform/data/sys/socket.h-data: Likewise.
40896 * conform/data/sys/stat.h-data: Likewise.
40897 * conform/data/sys/statvfs.h-data: Likewise.
40898 * conform/data/sys/time.h-data: Likewise.
40899 * conform/data/sys/timeb.h-data: Likewise.
40900 * conform/data/sys/times.h-data: Likewise.
40901 * conform/data/sys/types.h-data: Likewise.
40902 * conform/data/sys/uio.h-data: Likewise.
40903 * conform/data/sys/un.h-data: Likewise.
40904 * conform/data/sys/utsname.h-data: Likewise.
40905 * conform/data/sys/wait.h-data: Likewise.
40906 * conform/data/syslog.h-data: Likewise.
40907 * conform/data/tar.h-data: Likewise.
40908 * conform/data/termios.h-data: Likewise.
40909 * conform/data/utime.h-data: Likewise.
40910 * conform/data/utmpx.h-data: Likewise.
40911 * conform/data/varargs.h-data: Likewise.
40912 * conform/data/wchar.h-data: Likewise.
40913 * conform/data/wctype.h-data: Likewise.
40914 * conform/data/wordexp.h-data: Likewise.
40916 * include/stropts.h: New file.
40917 * include/uchar.h: New file.
40918 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40919 * include/assert.h: Likewise.
40920 * include/ctype.h: Likewise.
40921 * include/dirent.h: Likewise.
40922 * include/dlfcn.h: Likewise.
40923 * include/fcntl.h: Likewise.
40924 * include/fnmatch.h: Likewise.
40925 * include/glob.h: Likewise.
40926 * include/grp.h: Likewise.
40927 * include/libio.h: Likewise.
40928 * include/locale.h: Likewise.
40929 * include/math.h: Likewise.
40930 * include/net/if.h: Likewise.
40931 * include/netdb.h: Likewise.
40932 * include/netinet/in.h: Likewise.
40933 * include/pthread.h: Likewise.
40934 * include/pwd.h: Likewise.
40935 * include/regex.h: Likewise.
40936 * include/sched.h: Likewise.
40937 * include/search.h: Likewise.
40938 * include/setjmp.h: Likewise.
40939 * include/signal.h: Likewise.
40940 * include/stdio.h: Likewise.
40941 * include/stdlib.h: Likewise.
40942 * include/string.h: Likewise.
40943 * include/sys/cdefs.h: Likewise.
40944 * include/sys/mman.h: Likewise.
40945 * include/sys/msg.h: Likewise.
40946 * include/sys/resource.h: Likewise.
40947 * include/sys/select.h: Likewise.
40948 * include/sys/socket.h: Likewise.
40949 * include/sys/stat.h: Likewise.
40950 * include/sys/statvfs.h: Likewise.
40951 * include/sys/time.h: Likewise.
40952 * include/sys/times.h: Likewise.
40953 * include/sys/uio.h: Likewise.
40954 * include/sys/utsname.h: Likewise.
40955 * include/sys/wait.h: Likewise.
40956 * include/termios.h: Likewise.
40957 * include/time.h: Likewise.
40958 * include/ulimit.h: Likewise.
40959 * include/unistd.h: Likewise.
40960 * include/utime.h: Likewise.
40961 * include/wchar.h: Likewise.
40962 * include/wctype.h: Likewise.
40963 * include/wordexp.h: Likewise.
40965 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40967 * time/time.h: TIME_UTC must be a macro.
40968 Make timespec_get available for ISO C11 only as well.
40970 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40972 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40973 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40975 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40977 * configure.in: Use -o not -a in test for unsupported multi-arch.
40979 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40981 * manual/texinfo.tex: Update to version 2012-01-19.16.
40983 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40985 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40987 2012-02-24 Roland McGrath <roland@hack.frob.com>
40990 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40991 * manual/fdl-1.3.texi: New file.
40992 * manual/fdl-1.1.texi: File removed.
40995 * manual/libc.texinfo (FDL_VERSION): New @set.
40996 Use it for mention of FDL in cover text.
40997 (Documentation License): Use it in @include file name.
40999 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41000 Roland McGrath <roland@hack.frob.com>
41003 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41004 (not LONG_LONG_MAX and LONG_LONG_MIN.
41005 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41006 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41008 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41010 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41014 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41015 manipulate bits before adding and subtracting TWO23[sx].
41016 * math/libm-test.inc (nearbyint_test): Add more tests.
41018 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41021 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41022 bits before adding and subtracting TWO23[sx].
41023 * math/libm-test.inc (rint_test): Add more tests.
41024 (rint_test_tonearest): Likewise.
41025 (rint_test_towardzero): Likewise.
41026 (rint_test_downward): Likewise.
41027 (rint_test_upward: Likewise.
41029 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41032 * include/stdc-predef.h: New file. Extracted from features.h.
41033 * include/features.h: Include stdc-predef.h.
41034 * Makefile (headers): Add stdc-predef.h.
41035 * CONFORMANCE (Compiler limitations): Update.
41037 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41039 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41041 2012-02-21 David S. Miller <davem@davemloft.net>
41043 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41044 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41046 2012-02-20 David S. Miller <davem@davemloft.net>
41048 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41049 using a normal save/restore sequence, rather than allocating a
41050 dummy stack frame just to store a frame pointer and restore.
41051 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41053 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41055 * manual/install.texi: Fix stray word in line-wrapped comment.
41057 2012-02-20 David S. Miller <davem@davemloft.net>
41059 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41060 both binutils and gcc support GOTDATA.
41062 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41063 "rd %pc" in the PIC register setup sequences.
41065 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41066 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41067 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41068 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41069 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41070 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41071 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41072 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41073 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41074 (SYSCALL_ERROR_HANDLER): Likewise.
41075 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41076 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41078 (SYSCALL_ERROR_HANDLER): Likewise.
41080 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41081 (HAVE_GCC_GOTDATA): New.
41082 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41083 relocation support in both binutils and gcc.
41084 * sysdeps/sparc/elf/configure: Regenerate.
41086 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41087 * sysdeps/sparc/sparc32/elf/configure: Delete.
41088 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41089 * sysdeps/sparc/sparc64/elf/configure: Delete.
41090 * sysdeps/sparc/elf/configure.in: New file.
41091 * sysdeps/sparc/elf/configure: Generate.
41093 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41094 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41095 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41096 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41097 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41099 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41101 * manual/install.texi: Do not mention specific glibc version
41103 * manual/libc.texinfo (VERSION, UPDATED): Update.
41104 (@copying): Use @copyright{} and range of years.
41106 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41109 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41110 [crti.S not in sysdirs] (generated): Do not append.
41111 [crti.S not in sysdirs] (omit-deps): Likewise.
41112 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41113 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41114 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41115 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41116 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41118 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41119 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41120 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41121 * csu/defs.awk: Remove file.
41122 * sysdeps/generic/initfini.c: Likewise.
41123 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41125 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41128 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41130 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41131 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41132 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41133 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41134 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41135 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41137 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41138 (__EPOLL_PACKED): Define to empty if not defined by
41140 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41144 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41146 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41147 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41148 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41149 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41151 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41155 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41157 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41159 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41160 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41161 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41164 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41166 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41167 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41169 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41171 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41172 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41174 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41176 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41179 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41181 * math/w_acos.c: Use non-signaling floating-point comparisons.
41182 * math/w_acosf.c: Likewise.
41183 * math/w_acosh.c: Likewise.
41184 * math/w_acoshf.c: Likewise.
41185 * math/w_acoshl.c: Likewise.
41186 * math/w_acosl.c: Likewise.
41187 * math/w_asin.c: Likewise.
41188 * math/w_asinf.c: Likewise.
41189 * math/w_asinl.c: Likewise.
41190 * math/w_atanh.c: Likewise.
41191 * math/w_atanhf.c: Likewise.
41192 * math/w_atanhl.c: Likewise.
41193 * math/w_exp2.c: Likewise.
41194 * math/w_exp2f.c: Likewise.
41195 * math/w_exp2l.c: Likewise.
41196 * math/w_j0.c: Likewise.
41197 * math/w_j0f.c: Likewise.
41198 * math/w_j0l.c: Likewise.
41199 * math/w_j1.c: Likewise.
41200 * math/w_j1f.c: Likewise.
41201 * math/w_j1l.c: Likewise.
41202 * math/w_jn.c: Likewise.
41203 * math/w_jnf.c: Likewise.
41204 * math/w_log.c: Likewise.
41205 * math/w_log10.c: Likewise.
41206 * math/w_log10f.c: Likewise.
41207 * math/w_log10l.c: Likewise.
41208 * math/w_log2.c: Likewise.
41209 * math/w_log2f.c: Likewise.
41210 * math/w_log2l.c: Likewise.
41211 * math/w_logf.c: Likewise.
41212 * math/w_logl.c: Likewise.
41213 * math/w_sqrt.c: Likewise.
41214 * math/w_sqrtf.c: Likewise.
41215 * math/w_sqrtl.c: Likewise.
41216 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41217 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41218 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41219 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41220 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41222 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41225 * manual/string.texi (strnlen): Use correct parameter name in
41226 equivalent expression.
41228 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41231 * manual/users.texi (seteuid): Consistently use neweuid for
41234 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41237 * manual/nss.texi (Services in the NSS configuration): Correct
41238 list of services in example configuration file.
41240 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41243 * manual/arith.texi: Remove statements about negative zero
41244 behaving identically to zero.
41246 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41249 * manual/install.texi: Do not document upgrading from libc5.
41251 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41254 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41256 2012-02-18 David S. Miller <davem@davemloft.net>
41258 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41259 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41260 %o7 across the call.
41261 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41263 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41264 SETUP_PIC_REG_LEAF.
41265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41266 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41267 * sysdeps/sparc/crtn.S: Likewise.
41269 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41271 * aout/Makefile: Remove.
41273 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41276 * manual/examples/argp-ex1.c (main): Format definition in GNU
41278 * manual/examples/argp-ex2.c (main): Likewise.
41279 * manual/examples/argp-ex3.c (main): Likewise.
41280 * manual/examples/argp-ex4.c (main): Likewise.
41281 * manual/examples/longopt.c (main): Use new-style prototype
41283 * manual/examples/strncat.c (main): Specify return type and use
41284 (void) for arguments.
41285 * manual/examples/subopt.c (main): Use char **argv argument.
41287 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41290 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41293 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41296 * manual/string.texi (strchr): Change when strchrnul is
41299 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41302 * manual/locale.texi (setlocale): Document LOCPATH.
41304 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41307 * manual/process.texi (execle): Move @dots{} before last argument.
41309 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41312 * manual/charset.texi (Generic Charset Conversion): Fix typo
41313 (LC_TYPE -> LC_CTYPE).
41315 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41318 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41319 (scalbnf): Likewise.
41320 (scalbnl): Likewise.
41321 (scalbln): Likewise.
41322 (scalblnf): Likewise.
41323 (scalblnl): Likewise.
41324 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41325 (vwarnx): Likewise.
41328 * manual/filesys.texi (telldir): Use braces around return type.
41329 * manual/llio.texi (mmap): Add space after comma.
41330 (mmap64): Likewise.
41331 * manual/math.texi (jn): Use @var{} on parameter names.
41337 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41339 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41341 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41342 (sched_get_priority_max): Likewise.
41343 * manual/signal.texi (sigvec): Add space after comma.
41344 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41346 (if_indextoname): Likewise.
41347 (if_freenameindex): Likewise.
41348 (sendto): Use ',' instead of '.' in prototype.
41349 * manual/startup.texi (syscall): Use @dots{} instead of literal
41351 * manual/stdio.texi (__fpending): Separate initial words of
41352 paragraph from @deftypefun line.
41353 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41355 (vsyslog): Use @var{} on parameter names.
41356 * manual/terminal.texi (stty): Use @var{} on parameter names.
41357 * manual/users.texi (getutmp): Use @var{} on parameter names.
41358 (getutmpx): Likewise.
41360 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41363 * manual/stdio.texi (fopen): Fix typos in description of
41366 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41369 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41370 get clock_id definition.
41372 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41375 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41376 (madvise): Cast every argument to void on its own.
41378 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41381 * manual/startup.texi (Exit Status): Fix typo.
41383 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41386 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41387 * manual/examples/argp-ex2.c: Likewise.
41388 * manual/examples/argp-ex3.c: Likewise.
41390 2012-02-16 Richard Henderson <rth@redhat.com>
41392 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41393 * sysdeps/s390/s390-32/initfini.c: Remove.
41394 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41395 * sysdeps/s390/s390-64/initfini.c: Remove.
41397 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41399 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41400 compiler output for sysdeps/generic/initfini.c.
41401 * sysdeps/sh/elf/initfini.c: Remove file.
41403 2012-02-16 David S. Miller <davem@davemloft.net>
41406 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41408 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41409 * sysdeps/sparc/crti.S: New file.
41410 * sysdeps/sparc/crtn.S: New file.
41411 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41412 * sysdeps/sparc/sparc64/Makefile: Likewise.
41414 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41417 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41419 2012-02-15 Roland McGrath <roland@hack.frob.com>
41422 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41424 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41425 (write, read, close): Likewise.
41426 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41428 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41430 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41431 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41432 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41433 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41435 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41439 2012-02-14 Marek Polacek <polacek@redhat.com>
41441 * sysdeps/x86_64/crti.S: New file.
41442 * sysdeps/x86_64/crtn.S: New file.
41443 * sysdeps/x86_64/elf/initfini.c: Remove file.
41445 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41447 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41448 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41449 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41450 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41452 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41456 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41458 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41459 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41460 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41461 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41463 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41467 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41469 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41470 __feraiseexcept instead of feraiseexcept.
41472 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41473 nanosleep invocations.
41474 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41475 strings, and add error checking for a nanosleep invocations.
41477 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41479 Replace FSF snail mail address with URLs, as per GNU coding standards.
41480 Most of the snail mail addresses were wrong anyway, and omitting
41481 them makes the source code easier to maintain. Almost all of the
41482 changes are to license notices and to locale LC_IDENTIFICATION
41483 addresses, except for this one:
41484 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41485 not its snail mail address.
41487 2012-02-09 Richard Henderson <rth@twiddle.net>
41489 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41490 of kernel-features.h.
41492 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41494 2012-02-08 Marek Polacek <polacek@redhat.com>
41496 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41497 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41498 * sysdeps/gnu/_G_config.h: Likewise.
41499 * sysdeps/generic/_G_config.h: Likewise.
41501 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41503 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41507 * sysdeps/powerpc/powerpc32/crti.S: New file.
41508 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41509 * sysdeps/powerpc/powerpc64/crti.S: New file.
41510 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41512 * Makeconfig (have-initfini): Don't set.
41513 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41514 * configure.in (nopic_initfini): Don't substitute.
41515 * config.h.in (HAVE_INITFINI): Don't #undef.
41516 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41517 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41519 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41521 Support crti.S and crtn.S provided directly by architectures.
41522 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41523 [crti.S in sysdirs] (omit-deps): Likewise.
41524 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41525 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41526 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41527 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41528 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41529 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41530 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41531 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41532 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41533 compiler output for sysdeps/generic/initfini.c.
41534 * sysdeps/i386/elf/Makefile: Remove file.
41535 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41537 2012-02-07 Marek Polacek <polacek@redhat.com>
41539 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41540 * sysdeps/gnu/_G_config.h: Likewise.
41541 * sysdeps/mach/hurd/_G_config.h: Likewise.
41543 2012-02-07 Marek Polacek <polacek@redhat.com>
41545 * math/Makefile (tests): Add tst-CMPLX2.
41546 * math/tst-CMPLX2.c: New file.
41548 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41550 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41552 * math/libm-test.inc (jn_test): Add missing L suffix.
41554 2012-02-06 Marek Polacek <polacek@redhat.com>
41556 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41557 * sysdeps/i386/fpu/e_powf.S: Likewise.
41558 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41559 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41560 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41561 * sysdeps/i386/fpu/e_pow.S: Likewise.
41562 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41563 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41564 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41565 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41566 * sysdeps/i386/fpu/e_log2.S: Likewise.
41567 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41568 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41569 * sysdeps/i386/fpu/e_powl.S: Likewise.
41570 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41571 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41572 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41573 * sysdeps/i386/fpu/e_logl.S: Likewise.
41574 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41575 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41576 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41577 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41578 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41579 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41580 * sysdeps/i386/fpu/e_log.S: Likewise.
41581 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41582 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41583 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41584 * sysdeps/i386/fpu/e_logf.S: Likewise.
41585 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41586 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41587 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41588 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41589 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41590 * sysdeps/i386/fpu/e_log10.S: Likewise.
41591 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41592 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41593 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41594 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41595 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41596 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41597 * sysdeps/i386/asm-syntax.h: Likewise.
41598 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41599 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41600 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41601 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41602 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41603 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41604 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41605 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41606 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41607 * sysdeps/powerpc/sysdep.h: Likewise.
41608 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41609 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41611 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41614 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41616 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41618 * sysdeps/i386/sysdep.h: Include <features.h>.
41619 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41622 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41624 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41626 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41629 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41631 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41632 (SETUP_PIC_REG): Use GET_PC_THUNK.
41633 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41636 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41638 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41639 for non-PIC compilation.
41640 (SETUP_PIC_REG): Add .p2align directive.
41641 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41642 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41643 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41644 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41645 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41646 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41647 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41648 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41649 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41650 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41651 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41652 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41653 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41654 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41655 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41656 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41657 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41658 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41659 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41660 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41661 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41662 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41663 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41664 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41665 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41666 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41667 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41668 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41669 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41670 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41671 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41672 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41673 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41674 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41675 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41676 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41677 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41678 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41679 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41680 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41681 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41683 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41685 * math/tst-CMPLX.c: Include <stdio.h>.
41687 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41689 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41691 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41692 * sysdeps/sparc/bits/mathdef.h: Likewise.
41694 2012-01-31 Marek Polacek <polacek@redhat.com>
41696 * libio/libio.h: Don't define _PARAMS.
41697 * locale/programs/config.h: Don't define PARAMS.
41698 * stdlib/strtol_l.c: Likewise.
41699 (__strtol_l): Remove PARAMS from the prototype.
41701 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41703 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41704 names. Just use the correct names. Remove unnecessary wrapper
41706 * malloc/arena.c: Likewise.
41707 * malloc/hooks.c: Likewise.
41709 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41710 ARENA_TEST says not to. Simplify test for creation of a new arena.
41711 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41713 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41715 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41717 (update_get_addr): New function.
41718 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41719 GET_ADDR_MODULE parameter.
41721 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41723 * crypt/cert.c: Remove __STDC__ conditionals.
41724 * crypt/crypt-entry.c: Likewise.
41725 * crypt/crypt_util.c: Likewise.
41726 * libio/filedoalloc.c: Likewise.
41727 * libio/fileops.c: Likewise.
41728 * libio/genops.c: Likewise.
41729 * libio/iofclose.c: Likewise.
41730 * libio/iofdopen.c: Likewise.
41731 * libio/iofopen.c: Likewise.
41732 * libio/iofopen64.c: Likewise.
41733 * libio/iogetdelim.c: Likewise.
41734 * libio/iopopen.c: Likewise.
41735 * libio/obprintf.c: Likewise.
41736 * libio/oldfileops.c: Likewise.
41737 * libio/oldiofclose.c: Likewise.
41738 * libio/oldiofdopen.c: Likewise.
41739 * libio/oldiofopen.c: Likewise.
41740 * libio/oldiopopen.c: Likewise.
41741 * libio/wfiledoalloc.c: Likewise.
41742 * libio/wgenops.c: Likewise.
41743 * locale/programs/xmalloc.c: Likewise.
41744 * misc/syslog.c: Likewise.
41745 * stdio-common/xbug.c: Likewise.
41746 * string/memchr.c: Likewise.
41747 * string/memcmp.c: Likewise.
41748 * string/memrchr.c: Likewise.
41749 * string/rawmemchr.c: Likewise.
41750 * sysdeps/posix/getcwd.c: Likewise.
41751 * time/strftime_l.c: Likewise.
41753 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41755 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41756 * config.make.in (config-cflags-sse2avx): Define.
41757 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41760 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41762 * scripts/config.guess: Update from upstream config git repository.
41763 * scripts/config.sub: Likewise.
41765 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41767 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41769 (R_TILEPRO_*, R_TILEGX_*): New macros.
41771 * scripts/firstversions.awk: Fix bug in version range handling.
41773 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41775 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41777 * include/sys/epoll.h: New file.
41778 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41781 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41783 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41784 Avoid unnecessary __WORDSIZE == 64 test.
41785 (fmaxf): Use VEX format if possible.
41790 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41791 * math/math_private.h: Remove libc_fegetround* and
41793 * sysdeps/i386/configure.in: Check for -msse2avx.
41794 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41795 also if SSE2AVX is defined.
41796 Remove libc_fegetround* and libc_fesetround*.
41797 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41798 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41799 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41801 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41802 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41803 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41804 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41805 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41807 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41809 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41811 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41813 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41815 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41818 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41820 * Makeconfig (libm): Define.
41821 * elf/Makefile: Add rules to build and run tst-relsort1.
41822 * elf/tst-relsort1.c: New file.
41823 * elf/tst-relsort1mod1.c: New file.
41824 * elf/tst-relsort1mod2.c: New file.
41826 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41828 * math/s_ldexp.c: Remove __STDC__ conditionals.
41829 * math/s_ldexpf.c: Likewise.
41830 * math/s_ldexpl.c: Likewise.
41831 * math/s_nextafter.c: Likewise.
41832 * math/s_nexttowardf.c: Likewise.
41833 * math/s_significand.c: Likewise.
41834 * math/s_significandf.c: Likewise.
41835 * math/s_significandl.c: Likewise.
41836 * math/w_jnl.c: Likewise.
41837 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41838 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41839 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41840 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41841 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41842 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41843 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41844 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41845 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41846 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41847 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41848 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41849 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41850 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41851 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41852 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41853 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41854 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41855 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41856 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41857 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41858 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41859 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41860 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41861 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41862 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41863 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41864 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41865 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41866 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41867 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41868 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41869 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41870 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41871 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41872 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41873 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41874 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41875 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41876 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41877 * sysdeps/ieee754/k_standard.c: Likewise.
41878 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41879 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41880 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41881 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41882 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41883 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41884 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41885 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41886 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41887 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41888 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41889 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41890 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41891 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41892 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41893 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41894 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41895 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41896 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41897 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41898 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41899 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41900 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41901 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41902 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41903 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41904 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41905 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41906 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41907 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41908 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41909 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41910 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41911 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41913 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41914 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41915 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41916 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41917 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41918 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41920 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41921 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41922 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41923 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41924 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41925 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41926 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41927 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41928 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41929 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41930 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41931 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41932 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41933 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41934 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41935 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41936 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41937 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41938 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41939 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41940 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41941 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41942 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41943 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41944 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41945 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41946 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41947 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41948 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41949 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41950 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41951 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41952 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41953 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41954 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41955 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41956 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41957 * sysdeps/ieee754/s_matherr.c: Likewise.
41958 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41959 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41960 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41963 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41965 * crypt/md5.h: Remove __STDC__ conditionals.
41966 * libio/libioP.h: Likewise.
41967 * locale/programs/config.h: Likewise.
41968 * sysdeps/generic/sysdep.h: Likewise.
41969 * sysdeps/i386/asm-syntax.h: Likewise.
41970 * sysdeps/s390/asm-syntax.h: Likewise.
41971 * sysdeps/unix/sysdep.h: Likewise.
41972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41975 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41977 * libio/libio.h: Remove __STDC__ conditionals.
41978 * malloc/obstack.h: Likewise.
41979 * math/complex.h: Likewise.
41980 * math/math.h: Likewise.
41981 * sysdeps/generic/_G_config.h: Likewise.
41982 * sysdeps/gnu/_G_config.h: Likewise.
41983 * sysdeps/mach/hurd/_G_config.h: Likewise.
41984 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41985 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41986 * sysdeps/sparc/bits/mathdef.h: Likewise.
41988 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41991 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41992 Clean up HAS_* macros.
41993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41994 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41996 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41998 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41999 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42000 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42001 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42002 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42004 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42006 * elf/tst-unique3.cc (gets): Remove declaration.
42007 * elf/tst-unique3lib.cc (gets): Likewise.
42008 * elf/tst-unique3lib2.cc (gets): Likewise.
42009 * elf/tst-unique4.cc (gets): Likewise.
42011 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42013 * include/stdio.h: Add C++ protection. Add gets declarations and
42015 * debug/tst-chk1.c: Don't declare gets here.
42016 * stdio-common/tst-gets.c: Likewise.
42018 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42020 * posix/glob: Remove directory.
42022 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42024 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42026 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42028 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42029 of the non-standard EPFNOSUPPORT.
42031 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42033 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42034 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42035 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42037 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42039 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42041 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42043 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42045 * nscd/grpcache.c (cache_addgr): Likewise.
42046 * nscd/hstcache.c (cache_addhst): Likewise.
42047 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42048 * nscd/pwdcache.c (cache_addpw): Likewise.
42049 * nscd/servicescache.c (cache_addserv): Likewise.
42051 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42053 * malloc/malloc.c: Various cleanups.
42054 * malloc/hooks.c: Likewise.
42056 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42057 * stdlib/bug-fmtmsg1.c: New file.
42059 * stdlib/fmtmsg.c (init): Add missing unlock.
42060 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42062 2012-01-12 Marek Polacek <polacek@redhat.com>
42064 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42067 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42069 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42070 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42071 macro to ensure uniqueness of label name.
42072 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42073 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42075 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42077 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42079 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42080 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42081 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42082 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42084 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42086 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42088 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42089 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42090 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42092 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42094 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42095 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42096 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42097 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42099 * math/bits/math-finite.h: Add ldexp support.
42101 2012-01-10 Marek Polacek <polacek@redhat.com>
42103 * locale/programs/localedef.h (show_archive_content): Add noreturn
42106 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42108 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42110 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42112 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42114 * io/Makefile (headers): Add bits/poll2.h.
42116 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42119 typo #include statement.
42121 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42123 * include/sys/cdefs.h: Define __attribute_alloc_size.
42124 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42125 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42126 * elf/pldd.c: Likewise.
42127 * iconv/iconv_charmap.c: Likewise.
42128 * iconv/iconvconfig.c: Likewise.
42129 * iconv/strtab.c: Likewise.
42130 * locale/programs/locale.c: Likewise.
42131 * locale/programs/localedef.h: Likewise.
42132 * locale/programs/simple-hash.c: Likewise.
42133 * nscd/nscd.h: Likewise.
42134 * nss/makedb.c: Likewise.
42135 * sysdeps/generic/ldconfig.h: Likewise.
42136 * locale/programs/localedef.c: Remove xmalloc prototype.
42137 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42139 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42141 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42144 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42146 * math/Makefile (tests): Add tst-CMPLX.
42147 * math/tst-CMPLX.c: New file.
42149 * math/complex.h (CMPLXL): Fix typo.
42151 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42152 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42154 * debug/tst-chk1.c: Add poll and ppoll tests.
42155 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42156 * include/sys/poll.h: Add hidden proto for ppoll.
42157 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42158 * sysdeps/mach/hurd/ppoll.c: Likewise.
42159 * io/ppoll.c: Likewise.
42160 * debug/poll_chk.c: New file.
42161 * debug/ppoll_chk.c: New file.
42162 * include/bits/poll2.h: New file.
42163 * io/bits/poll2.h: New file.
42166 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42168 * configure.in: static is always set to yes. Remove.
42169 * config.make.in: Don't set build-static.
42170 * Makeconfig: Remove use of build-static.
42171 * dlfcn/Makefile: Likewise.
42172 * elf/Makefile: Likewise.
42173 * math/Makefile: Likewise.
42174 * misc/Makefile: Likewise.
42175 * nptl/Makefile: Likewise.
42176 * sysdeps/mach/hurd/Makefile: Likewise.
42178 * configure.in: PWD_P is not used anymore.
42179 * config.make.in: Remove PWD_P entry.
42181 * configure.in: Remove last remnants of RANLIB.
42182 No need to check for signed size_t anymore.
42183 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42185 Remove __builtin_expect test because we require at least gcc 3.4.
42186 * aclocal.m4: Likewise.
42188 * wcsmbs/mbrtoc16.c: Implement using towc function.
42189 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42190 * wcsmbs/wcsmbsload.c: Likewise.
42191 * iconv/gconv_simple.c: Likewise.
42192 * iconv/gconv_int.h: Likewise.
42193 * iconv/gconv_builtin.h: Likewise.
42194 * iconv/iconv_prog.c: Remove CHAR16 handling.
42196 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42198 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42200 * configure.in: Remove --with-elf and --enable-bounded options.
42201 Dont set base_machine for ia64. More non-ELF conditions removed.
42202 Remove testing and setting of leading underscore information.
42203 * config.make.in (build-bounded): Set to no.
42204 * config.h.in: Remove NO_UNDERSCORES entry.
42205 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42207 * csu/start.c: Remove !NO_UNDERSCORE code.
42208 * locale/localeinfo.h: Likewise.
42209 * sysdeps/generic/machine-gmon.h: Likewise.
42210 * sysdeps/generic/sysdep.h: Likewise.
42211 * sysdeps/i386/sysdep.h: Likewise.
42212 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42213 * sysdeps/mach/sysdep.h: Likewise.
42214 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42215 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42216 * sysdeps/sh/sysdep.h: Likewise.
42217 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42218 * sysdeps/unix/i386/sysdep.S: Likewise.
42219 * sysdeps/unix/sparc/start.c: Likewise.
42220 * sysdeps/unix/sparc/sysdep.S: Likewise.
42221 * sysdeps/unix/sparc/sysdep.h: Likewise.
42222 * sysdeps/unix/start.c: Likewise.
42223 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42224 * sysdeps/x86_64/sysdep.h: Likewise.
42226 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42229 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42231 * argp/argp-fmtstream.h: Use const instead __const.
42232 * argp/argp.h: Likewise.
42233 * assert/assert.h: Likewise.
42234 * bits/fenv.h: Likewise.
42235 * bits/sched.h: Likewise.
42236 * bits/sigset.h: Likewise.
42237 * bits/sigthread.h: Likewise.
42238 * catgets/nl_types.h: Likewise.
42239 * conform/data/pthread.h-data: Likewise.
42240 * crypt/crypt-private.h: Likewise.
42241 * crypt/crypt.h: Likewise.
42242 * crypt/crypt_util.c: Likewise.
42243 * ctype/ctype.h: Likewise.
42244 * debug/execinfo.h: Likewise.
42245 * debug/mbsnrtowcs_chk.c: Likewise.
42246 * debug/mbsrtowcs_chk.c: Likewise.
42247 * debug/wcsnrtombs_chk.c: Likewise.
42248 * debug/wcsrtombs_chk.c: Likewise.
42249 * debug/wcstombs_chk.c: Likewise.
42250 * dirent/dirent.h: Likewise.
42251 * dlfcn/dlfcn.h: Likewise.
42252 * elf/neededtest4.c: Likewise.
42253 * grp/grp.h: Likewise.
42254 * gshadow/gshadow.h: Likewise.
42255 * iconv/gconv.h: Likewise.
42256 * iconv/gconv_int.h: Likewise.
42257 * iconv/gconv_simple.c: Likewise.
42258 * iconv/iconv.h: Likewise.
42259 * iconv/loop.c: Likewise.
42260 * iconv/skeleton.c: Likewise.
42261 * include/aio.h: Likewise.
42262 * include/aliases.h: Likewise.
42263 * include/argz.h: Likewise.
42264 * include/arpa/inet.h: Likewise.
42265 * include/assert.h: Likewise.
42266 * include/dirent.h: Likewise.
42267 * include/dlfcn.h: Likewise.
42268 * include/execinfo.h: Likewise.
42269 * include/fcntl.h: Likewise.
42270 * include/fenv.h: Likewise.
42271 * include/glob.h: Likewise.
42272 * include/grp.h: Likewise.
42273 * include/libintl.h: Likewise.
42274 * include/mntent.h: Likewise.
42275 * include/netdb.h: Likewise.
42276 * include/pwd.h: Likewise.
42277 * include/rpc/netdb.h: Likewise.
42278 * include/sched.h: Likewise.
42279 * include/search.h: Likewise.
42280 * include/shadow.h: Likewise.
42281 * include/signal.h: Likewise.
42282 * include/stdio.h: Likewise.
42283 * include/stdlib.h: Likewise.
42284 * include/string.h: Likewise.
42285 * include/sys/socket.h: Likewise.
42286 * include/sys/stat.h: Likewise.
42287 * include/sys/statfs.h: Likewise.
42288 * include/sys/statvfs.h: Likewise.
42289 * include/sys/syslog.h: Likewise.
42290 * include/sys/time.h: Likewise.
42291 * include/sys/uio.h: Likewise.
42292 * include/time.h: Likewise.
42293 * include/unistd.h: Likewise.
42294 * include/utmp.h: Likewise.
42295 * include/wchar.h: Likewise.
42296 * include/wctype.h: Likewise.
42297 * inet/aliases.h: Likewise.
42298 * inet/arpa/inet.h: Likewise.
42299 * inet/netinet/ether.h: Likewise.
42300 * inet/netinet/in.h: Likewise.
42301 * intl/libintl.h: Likewise.
42302 * io/bits/fcntl2.h: Likewise.
42303 * io/fcntl.h: Likewise.
42304 * io/ftw.h: Likewise.
42305 * io/sys/poll.h: Likewise.
42306 * io/sys/stat.h: Likewise.
42307 * io/sys/statfs.h: Likewise.
42308 * io/sys/statvfs.h: Likewise.
42309 * io/utime.h: Likewise.
42310 * libio/bits/stdio.h: Likewise.
42311 * libio/bits/stdio2.h: Likewise.
42312 * libio/libio.h: Likewise.
42313 * libio/libioP.h: Likewise.
42314 * libio/stdio.h: Likewise.
42315 * locale/lc-ctype.c: Likewise.
42316 * locale/locale.h: Likewise.
42317 * login/utmp.h: Likewise.
42318 * malloc/arena.c: Likewise.
42319 * malloc/malloc.c: Likewise.
42320 * malloc/malloc.h: Likewise.
42321 * malloc/mcheck.c: Likewise.
42322 * malloc/mtrace.c: Likewise.
42323 * math/bits/mathcalls.h: Likewise.
42324 * math/fenv.h: Likewise.
42325 * math/math_private.h: Likewise.
42326 * misc/bits/error.h: Likewise.
42327 * misc/bits/syslog.h: Likewise.
42328 * misc/err.h: Likewise.
42329 * misc/error.h: Likewise.
42330 * misc/fstab.h: Likewise.
42331 * misc/mntent.h: Likewise.
42332 * misc/regexp.h: Likewise.
42333 * misc/search.h: Likewise.
42334 * misc/sgtty.h: Likewise.
42335 * misc/sys/mman.h: Likewise.
42336 * misc/sys/syslog.h: Likewise.
42337 * misc/sys/uio.h: Likewise.
42338 * misc/sys/xattr.h: Likewise.
42339 * misc/ttyent.h: Likewise.
42340 * nis/rpcsvc/ypclnt.h: Likewise.
42341 * nss/nss.h: Likewise.
42342 * posix/bits/unistd.h: Likewise.
42343 * posix/fnmatch.h: Likewise.
42344 * posix/glob.h: Likewise.
42345 * posix/sched.h: Likewise.
42346 * posix/spawn.h: Likewise.
42347 * posix/sys/wait.h: Likewise.
42348 * posix/unistd.h: Likewise.
42349 * posix/wordexp.h: Likewise.
42350 * pwd/pwd.h: Likewise.
42351 * resolv/netdb.h: Likewise.
42352 * resource/sys/resource.h: Likewise.
42353 * rt/aio.h: Likewise.
42354 * rt/bits/mqueue2.h: Likewise.
42355 * rt/mqueue.h: Likewise.
42356 * shadow/shadow.h: Likewise.
42357 * signal/signal.h: Likewise.
42358 * socket/send.c: Likewise.
42359 * socket/sendto.c: Likewise.
42360 * socket/sys/socket.h: Likewise.
42361 * stdio-common/printf.h: Likewise.
42362 * stdlib/bits/stdlib.h: Likewise.
42363 * stdlib/fmtmsg.h: Likewise.
42364 * stdlib/monetary.h: Likewise.
42365 * stdlib/stdlib.h: Likewise.
42366 * stdlib/ucontext.h: Likewise.
42367 * streams/stropts.h: Likewise.
42368 * string/argz.h: Likewise.
42369 * string/bits/string2.h: Likewise.
42370 * string/string.h: Likewise.
42371 * string/strings.h: Likewise.
42372 * sunrpc/rpc/auth.h: Likewise.
42373 * sunrpc/rpc/auth_des.h: Likewise.
42374 * sunrpc/rpc/clnt.h: Likewise.
42375 * sunrpc/rpc/netdb.h: Likewise.
42376 * sunrpc/rpc/pmap_clnt.h: Likewise.
42377 * sunrpc/rpc/xdr.h: Likewise.
42378 * sysdeps/generic/inttypes.h: Likewise.
42379 * sysdeps/generic/net/if.h: Likewise.
42380 * sysdeps/generic/sys/swap.h: Likewise.
42381 * sysdeps/gnu/net/if.h: Likewise.
42382 * sysdeps/gnu/utmpx.h: Likewise.
42383 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42384 * sysdeps/i386/i486/bits/string.h: Likewise.
42385 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42386 * sysdeps/s390/bits/string.h: Likewise.
42387 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42388 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42389 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42390 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42391 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42392 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42393 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42394 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42395 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42396 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42397 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42398 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42399 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42400 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42401 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42402 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42403 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42405 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42406 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42408 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42409 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42410 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42411 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42412 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42413 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42414 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42415 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42416 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42417 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42418 * sysvipc/sys/ipc.h: Likewise.
42419 * sysvipc/sys/msg.h: Likewise.
42420 * sysvipc/sys/sem.h: Likewise.
42421 * sysvipc/sys/shm.h: Likewise.
42422 * termios/termios.h: Likewise.
42423 * time/sys/time.h: Likewise.
42424 * time/time.h: Likewise.
42425 * wcsmbs/bits/wchar2.h: Likewise.
42426 * wcsmbs/uchar.h: Likewise.
42427 * wcsmbs/wchar.h: Likewise.
42428 * wctype/wctype.h: Likewise.
42431 * Makeconfig: Remove all but ELF support including AIX support.
42432 * Makerules: Likewise.
42433 * config.h.in: Likewise.
42434 * config.make.in: Likewise.
42435 * configure: Likewise.
42436 * configure.in: Likewise.
42437 * csu/Makefile: Likewise.
42438 * csu/version.c: Likewise.
42439 * debug/Makefile: Likewise.
42440 * dlfcn/Makefile: Likewise.
42441 * elf/Makefile: Likewise.
42442 * extra-lib.mk: Likewise.
42443 * iconv/Makefile: Likewise.
42444 * include/libc-symbols.h: Likewise.
42445 * include/shlib-compat.h: Likewise.
42446 * resolv/Makefile: Likewise.
42447 * resolv/res_libc.c: Likewise.
42448 * rt/Makefile: Likewise.
42449 * sysdeps/i386/asm-syntax.h: Likewise.
42450 * sysdeps/i386/sysdep.h: Likewise.
42451 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42452 * sysdeps/mach/sysdep.h: Likewise.
42453 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42454 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42455 * sysdeps/s390/asm-syntax.h: Likewise.
42456 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42457 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42458 * sysdeps/sh/sysdep.h: Likewise.
42459 * sysdeps/unix/sparc/sysdep.h: Likewise.
42460 * sysdeps/wordsize-32/divdi3.c: Likewise.
42461 * sysdeps/x86_64/sysdep.h: Likewise.
42463 * argp/Versions: Remove _argp_unlock_xxx.
42466 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42467 * abilist/libBrokenLocale.abilist: Likewise.
42468 * abilist/libanl.abilist: Likewise.
42469 * abilist/libc.abilist: Likewise.
42470 * abilist/libcrypt.abilist: Likewise.
42471 * abilist/libdl.abilist: Likewise.
42472 * abilist/libm.abilist: Likewise.
42473 * abilist/libnsl.abilist: Likewise.
42474 * abilist/libpthread.abilist: Likewise.
42475 * abilist/libresolv.abilist: Likewise.
42476 * abilist/librt.abilist: Likewise.
42477 * abilist/libthread_db.abilist: Likewise.
42478 * abilist/libutil.abilist: Likewise.
42479 * abilist/libnss_db.abilist: New file.
42481 * scripts/abilist.awk: Add support for indirect functions.
42483 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42485 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42487 * shlib-versions: Remove entries for ports architectures.
42489 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42491 * elf/stackguard-macros.h: Remove support for IA-64.
42492 * elf/tst-auditmod1.c: Likewise.
42493 * sysdeps/generic/ldsodefs.h: Likewise.
42495 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42496 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42500 * configure.in: Remove --enable-omitfp support.
42502 * config.make.in: Likewise.
42503 * Makeconfig: Likewise.
42504 * manual/install.texi: Likewise.
42506 In case anyone cares, the IA-64 architecture could move to ports.
42507 * sysdeps/ia64/*: Removed.
42508 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42509 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42512 * configure.in: Remove entries for unsupported architectures.
42515 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42516 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42518 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42519 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42520 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42521 fall back to using wcrtomb.
42522 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42523 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42525 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42526 * wcsmbs/tst-c16c32-1.c: New file.
42528 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42531 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42533 * elf/tst-unique3.cc: Add explicit declaration of gets.
42534 * elf/tst-unique3lib.cc: Likewise.
42535 * elf/tst-unique3lib2.cc: Likewise.
42536 * elf/tst-unique4.cc: Likewise.
42538 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42540 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42543 * assert/assert.h (static_assert): Don't define for C++.
42544 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42545 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42547 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42549 * iconv/loop.c (single loop): Fix assertion in storing of
42552 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42554 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42556 * posix/getconf.c: Update copyright year.
42557 * nss/getent.c: Likewise.
42558 * nss/makedb.c: Likewise.
42559 * iconv/iconvconfig.c: Likewise.
42560 * iconv/iconv_prog.c: Likewise.
42561 * elf/ldconfig.c: Likewise.
42562 * elf/pldd.c: Likewise.
42563 * elf/sotruss.ksh: Likewise.
42564 * catgets/gencat.c: Likewise.
42565 * csu/version.c: Likewise.
42566 * elf/ldd.bash.in: Likewise.
42567 * elf/sprof.c (print_version): Likewise.
42568 * locale/programs/locale.c: Likewise.
42569 * locale/programs/localedef.c: Likewise.
42570 * login/programs/pt_chown.c: Likewise.
42571 * nscd/nscd.c (print_version): Likewise.
42572 * debug/xtrace.sh: Likewise.
42573 * malloc/memusage.sh: Likewise.
42574 * malloc/mtrace.pl: Likewise.
42575 * debug/catchsegv.sh: Likewise.
42577 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42579 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42582 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42585 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42586 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42588 * iconv/gconv_int.h: Likewise.
42589 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42590 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42591 from libc for GLIBC_2.16.
42592 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42593 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42594 * wcsmbs/uchar.h: Really define mbstate_t.
42595 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42596 * wcsmbs/c16rtomb.c: New file.
42597 * wcsmbs/mbrtoc16.c: New file.
42598 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42599 for C/POSIX locale.
42600 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42601 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42603 * wcsmbs/wchar.h: Add missing __restrict.
42605 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42608 * time/Makefile (routines): Add timespec_get.
42609 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42610 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42611 timespec for ISO C11.
42612 * time/timespec_get.c: New file.
42613 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42614 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42617 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42618 * stdlib/stdlib.h: Declare aligned_alloc.
42619 * Versions.def: Add GLIBC_2.16 for libc.
42620 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42623 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42626 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42630 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42633 * assert/assert.h (static_assert): Define.
42635 * version.h: Update for 2.16 development version.
42638 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42641 * version.h (RELEASE): Bump for 2.15 release.
42642 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42644 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42645 Patch by Marek Polacek <mpolacek@redhat.com>.
42647 * bits/byteswap.h: Protect long long constants with __extension__.
42648 * sysdeps/i386/bits/byteswap.h: Likewise.
42649 * sysdeps/ia64/bits/byteswap.h: Likewise.
42650 * sysdeps/s390/bits/byteswap.h: Likewise.
42651 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42653 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42656 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42657 destination buffer.
42658 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42660 2011-12-23 Marek Polacek <polacek@redhat.com>
42662 * elf/dl-addr.c (determine_info): Add inline keyword.
42663 * elf/tst-auditmod4b.c (check_avx): Likewise.
42664 * elf/tst-auditmod6b.c (check_avx): Likewise.
42665 * elf/tst-auditmod6c.c (check_avx): Likewise.
42666 * elf/tst-auditmod7b.c (check_avx): Likewise.
42668 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42670 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42673 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42676 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42677 processing for last bytes.
42679 2011-08-06 Bruno Haible <bruno@clisp.org>
42682 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42683 U+0385, not to U+1FEE.
42686 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42687 entry for U+00A5 U+0301.
42689 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42692 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42693 buffer for the output is too small.
42695 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42699 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42700 SSE flags if possible.
42702 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42705 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42706 processing for last bytes.
42708 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42710 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42711 (syscall-list-default-options, syscall-list-default-condition)
42712 (syscall-list-includes): Define.
42713 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42714 list of ABIs and options and #if conditions for each ABI. Do not
42715 handle common syscalls between ABIs specially.
42716 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42718 (syscall-list-variants, syscall-list-32bit-options)
42719 (syscall-list-32bit-condition, syscall-list-64bit-options)
42720 (syscall-list-64bit-condition): Define.
42721 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42722 (syscall-list-variants, syscall-list-32bit-options)
42723 (syscall-list-32bit-condition, syscall-list-64bit-options)
42724 (syscall-list-64bit-condition): Define.
42725 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42727 (syscall-list-variants, syscall-list-32bit-options)
42728 (syscall-list-32bit-condition, syscall-list-64bit-options)
42729 (syscall-list-64bit-condition): Define.
42730 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42732 (syscall-list-variants, syscall-list-32bit-options)
42733 (syscall-list-32bit-condition, syscall-list-64bit-options)
42734 (syscall-list-64bit-condition): Define.
42736 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42738 * locale/iso-639.def: Add brx entry.
42741 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42742 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42744 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42745 __feraiseexcept_renamed.
42747 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42750 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42751 EPOLLET with unsigned values.
42752 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42753 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42755 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42756 to large cancellation.
42757 * math/s_cacoshf.c: Likewise.
42758 * math/s_cacoshl.c: Likewise.
42760 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42764 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42765 * math/s_cacoshf.c: Likewise.
42766 * math/s_cacoshl.c: Likewise.
42768 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42771 * iconv/gconv.h: Define __GCONV_SWAP.
42772 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42773 * iconvdata/utf-16.c: Likewise.
42774 * iconvdata/utf-32.c: Likewise.
42776 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42779 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42780 numerator after shifting it by one limb.
42782 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42784 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42785 under [__USE_EXTERN_INLINES].
42787 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42790 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42792 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42794 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42795 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42797 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42798 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42799 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42800 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42801 for strncasecmp/strncasecmp_l compilation.
42802 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42803 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42805 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42808 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42811 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42814 * time/tzfile.c (__tzfile_read): Check values from file header.
42816 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42818 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42819 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42820 * powerpc/powerpc32/dl-start.S: Likewise.
42821 * powerpc/powerpc32/elf/start.S: Likewise.
42822 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42823 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42824 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42825 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42826 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42827 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42828 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42829 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42830 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42831 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42832 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42833 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42834 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42835 * powerpc/powerpc32/memset.S: Likewise.
42836 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42837 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42838 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42839 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42840 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42841 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42842 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42843 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42844 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42845 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42846 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42847 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42848 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42850 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42852 * math/libm-test.inc: Added more nearbyint tests.
42853 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42854 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42855 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42856 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42858 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42860 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42863 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42865 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42866 Add wcscpy-ssse3 wcscpy-c.
42867 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42868 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42869 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42870 * sysdeps/x86_64/wcschr.S: New file.
42871 * sysdeps/x86_64/wcsrchr.S: New file.
42872 * string/test-strcmp.c: Remove checking of wcscmp function for
42874 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42875 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42876 wcsrchr-sse2 wcsrchr-c.
42877 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42878 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42879 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42880 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42881 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42882 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42883 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42884 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42885 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42886 * wcsmbc/wcschr.c (WCSCHR): New macro.
42888 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42890 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42891 * wcsmbs/test-wcsrchr.c: New file.
42892 * string/test-strrchr.c: Add wcsrchr support.
42894 * wcsmbs/test-wcscpy.c: New file.
42895 * string/test-strcpy.c: Add wcscpy support.
42898 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42900 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42903 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42906 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42908 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42910 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42911 Minor optimizations.
42913 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42914 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42915 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42917 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42919 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42920 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42921 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42922 for gcc to avoid warnings.
42923 * inet/Makefile (tests): Add tst-checks.
42924 * inet/tst-checks.c: New file.
42926 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42929 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42932 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42933 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42935 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42937 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42939 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42942 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42944 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42946 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42947 conditional on GCC version.
42948 (__arch_compare_and_exchange_val_8_acq)
42949 (__arch_compare_and_exchange_val_16_acq)
42950 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42951 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42952 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42954 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42956 * sysdeps/sh/backtrace.c: New file.
42958 2011-12-02 Andreas Schwab <schwab@redhat.com>
42960 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42963 2011-12-01 Andreas Schwab <schwab@redhat.com>
42965 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42966 falling back to utime.
42968 2011-11-30 Andreas Schwab <schwab@redhat.com>
42970 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42971 expectations for float.
42973 2011-11-29 Andreas Schwab <schwab@redhat.com>
42975 * locale/weight.h (findidx): Add parameter len.
42976 * locale/weightwc.h (findidx): Likewise.
42977 * posix/fnmatch_loop.c (FCT): Adjust caller.
42978 * posix/regcomp.c (build_equiv_class): Likewise.
42979 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42980 * posix/regexec.c (check_node_accept_bytes): Likewise.
42981 * string/strcoll_l.c (STRCOLL): Likewise.
42982 * string/strxfrm_l.c (STRXFRM): Likewise.
42984 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42986 * Makefile.in: Remove CVSOPT handling.
42987 * configure.in: Remove use of AC_REVISION.
42988 * iconvdata/Makefile (distribute): No need to filter out CVS.
42989 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42992 2011-11-16 Andreas Schwab <schwab@redhat.com>
42994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42995 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42996 [USE_AS_STRNCASECMP_L]: Likewise.
42997 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42998 NO_TLS_DIRECT_SEG_REFS.
42999 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43000 Fix argument offsets for non-PIC.
43001 [USE_AS_STRNCASECMP_L]: Likewise.
43002 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43003 NO_TLS_DIRECT_SEG_REFS.
43005 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43007 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43009 * locale/loadlocale.c (_nl_load_locale): Likewise.
43011 2011-11-15 Andreas Schwab <schwab@redhat.com>
43013 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43014 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43015 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43016 (SYSCALL_GETTIME): Set errno on error.
43018 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43019 count references to noai6ai_cached.
43021 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43023 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43025 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43026 FD_CLOEXEC for /proc/self/maps.
43028 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43029 FD_CLOEXEC for /proc/meminfo.
43031 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43034 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43035 FD_CLOEXEC for given file.
43037 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43039 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43040 FD_CLOEXEC for /etc/hosts.
43041 (_gethtent): Likewise.
43043 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43045 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43046 cancellation and set FD_CLOEXEC for /etc/netgroup.
43048 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43049 reading /etc/publickey.
43051 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43052 allow cancellation when reading /etc/group.
43054 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43056 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43058 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43059 when using data file.
43061 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43063 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43064 (write_nis_obj): Use "c" and "e" in fopen.
43066 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43068 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43070 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43072 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43074 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43077 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43079 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43081 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43083 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43084 file parsing and set FD_CLOEXEC.
43086 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43088 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43090 2011-11-14 Andreas Schwab <schwab@redhat.com>
43092 * malloc/arena.c (arena_get2): Don't call reused_arena when
43093 _int_new_arena failed.
43095 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43097 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43098 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43099 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43100 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43101 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43102 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43103 to compile strcasecmp and strncasecmp.
43104 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43105 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43109 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43111 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43112 locale-defines.sym to gen-as-const-headers.
43113 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43114 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43115 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43116 to compile strcasecmp and strncasecmp.
43117 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43118 strcasecmp_l and strncasecmp_l.
43119 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43120 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43121 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43122 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43123 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43124 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43125 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43126 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43127 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43128 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43129 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43131 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43133 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43134 result of SYSDEP_GETTIME_CPU to retval.
43135 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43136 parameter list to macro. Remove trailing semicolon. Adjust users.
43138 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43141 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43143 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43145 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43146 from unused variable.
43148 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43150 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43153 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43156 * sunrpc/rpc_prot.c (rejected): Fix case value.
43158 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43159 unsigned long long int to avoid warnings in shift.
43161 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43163 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43166 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43167 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43168 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43170 * nis/nis_table.c (nis_list): Use variable of correct type for
43171 result of __follow_path call.
43173 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43175 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43176 of math functions ceil, trunc, floor, round, and sqrt, when
43177 avaliable on the platform.
43178 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43180 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43181 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43182 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43184 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43186 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43187 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43189 2011-11-11 Roland McGrath <roland@hack.frob.com>
43191 * include/unistd.h: Fix __readlink return type.
43192 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43194 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43196 * stdlib/ucontext.h: Undo last change for makecontext.
43198 2011-11-11 Andreas Schwab <schwab@redhat.com>
43200 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43202 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43203 * setjmp/setjmp.h: Mark functions as non-leaf.
43204 * setjmp/bits/setjmp2.h: Likewise.
43205 * stdlib/ucontext.h: Likewise.
43207 2011-11-10 Andreas Schwab <schwab@redhat.com>
43209 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43210 (reused_arena): Don't check arena limit.
43211 (arena_get2): Atomically check arena limit.
43213 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43215 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43216 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43218 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43221 2011-11-07 Andreas Schwab <schwab@redhat.com>
43223 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43224 handler when locking.
43226 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43227 Fix size of allocated buffer.
43229 2011-11-04 Andreas Schwab <schwab@redhat.com>
43232 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43233 declarations for long double functions.
43234 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43236 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43238 2011-11-03 Andreas Schwab <schwab@redhat.com>
43240 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43243 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43246 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43248 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43250 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43252 * include/alloca.h (stackinfo_alloca_round): Define.
43253 (extend_alloca): Use it.
43254 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43255 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43258 * scripts/check-local-headers.sh: Ignore libaudit.h.
43260 * nscd/Makefile (extra-objs): Make recursively expanded.
43262 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43264 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43265 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43267 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43268 * posix/tst-rfc3484-2.c: Likewise.
43269 * posix/tst-rfc3484-3.c: Likewise.
43271 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43273 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43275 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43276 process_vm_writev from libc using GLIBC_2.15 version.
43278 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43280 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43282 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43285 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43288 * nss/getent.c (initgroups_keys): Show error message in case no group
43291 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43292 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43293 __bump_nl_timestamp.
43294 * nscd/connections (nscd_init): When host database is served open
43295 netlink socket and request notification about configuration changes.
43296 (main_loop_poll): Track netlink file descriptor and bump timestamp
43297 in case data becomes available.
43298 (main_loop_epoll): Likewise.
43299 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43300 (database_pers_head): Add extra_data fileds.
43301 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43302 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43303 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43305 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43306 in6ai data, call __free_in6ai.
43307 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43308 Add -DHAVE_NETLINK.
43309 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43310 interface information. Reuse previous data if netlink timestamp
43312 (__bump_nl_timestamp): New function.
43313 (__free_in6ai): New function.
43315 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43317 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43318 close_not_cancel_no_status here.
43319 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43321 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43324 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43327 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43328 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43329 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43331 2011-07-03 Andreas Jaeger <aj@suse.de>
43334 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43335 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43336 * math/libm-test.inc (sin_test): Add test case.
43338 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43341 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43342 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43344 * elf/chroot_canon.c (chroot_canon): Cleanups.
43346 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43349 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43350 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43352 * string/test-strchr.c: Make usable for strchrnul testing.
43353 * string/test-strchrnul.c: New file.
43354 * string/Makefile (strop-tests): Add strchrnul.
43356 * po/it.po: Update from translation team.
43357 * po/es.po: Likewise.
43359 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43361 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43362 the three constants needed as parameters. Drop the others.
43363 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43364 __m128i_strloadu_tolower.
43365 Create and initialize variable zero and use it in all the places
43366 where _mm_setzero_si128 was used.
43368 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43369 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43370 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43371 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43373 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43374 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43375 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43376 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43377 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43378 __mpranred, __mptan.
43379 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43380 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43381 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43382 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43383 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43384 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43385 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43386 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43387 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43389 2011-10-28 Andreas Schwab <schwab@redhat.com>
43391 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43392 redefine if SHARED.
43393 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43396 wide char related routines to wcsmbs subdir.
43398 2011-10-27 Andreas Schwab <schwab@redhat.com>
43401 * misc/sys/cdefs.h (__THROWNL): Define.
43402 * posix/unistd.h: Use __THREADNL instead of __THREAD
43403 for memory synchronization functions.
43405 2011-10-26 Roland McGrath <roland@hack.frob.com>
43408 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43410 * manual/stdio.texi (Obstack Streams): Node removed.
43412 2011-10-26 Andreas Schwab <schwab@redhat.com>
43414 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43415 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43416 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43418 * math/math_private.h (math_force_eval): Allow non-addressable
43420 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43422 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43424 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43425 file is not needed.
43427 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43428 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43429 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43430 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43431 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43432 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43433 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43434 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43436 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43437 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43438 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43439 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43440 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43441 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43442 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43443 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43444 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43445 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43446 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43447 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43448 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43449 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43450 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43451 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43452 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43453 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43454 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43456 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43457 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43459 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43460 place. Use VEX encoding when compiling for AVX.
43462 2011-10-25 Andreas Schwab <schwab@redhat.com>
43464 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43465 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43467 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43469 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43471 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43472 useless if() expression.
43473 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43474 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43475 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43476 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43477 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43478 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43479 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43480 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43481 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43482 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43483 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43484 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43485 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43486 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43487 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43488 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43489 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43490 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43491 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43493 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43495 2011-10-25 Andreas Schwab <schwab@redhat.com>
43497 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43499 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43501 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43503 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43504 .text section. Avoid duplicate constants.
43505 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43506 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43507 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43508 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43509 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43510 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43511 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43512 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43513 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43514 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43515 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43516 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43517 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43518 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43519 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43520 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43521 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43522 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43523 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43524 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43525 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43526 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43527 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43528 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43529 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43530 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43531 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43532 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43533 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43534 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43535 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43536 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43537 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43538 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43539 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43540 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43541 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43542 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43543 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43544 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43545 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43546 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43547 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43548 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43549 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43551 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43553 * sysdeps/x86_64/dla.h: Move to ...
43554 * sysdeps/x86_64/fpu/dla.h: ...here.
43555 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43556 situations. Use __builtin_fma only for gcc 4.6 and up.
43558 * config.make.in: Add have-mfma4 entry.
43559 * configure.in: Substitute libc_cv_cc_fma4.
43560 * math/Makefile (dbl-only-routines): Add sincostab.
43561 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43562 Use __sincostab not sincos.
43563 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43565 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43570 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43571 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43572 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43573 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43575 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43576 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43578 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43579 define aliases when function name is a macro.
43580 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43581 sysdeps/ieee754/dbl-64/sincos.tbl.
43582 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43583 fma4-enabled routines.
43584 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43585 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43586 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43587 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43588 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43589 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43590 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43591 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43592 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43593 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43594 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43595 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43596 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43597 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43598 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43599 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43600 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43601 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43602 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43603 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43604 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43605 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43606 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43607 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43609 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43610 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43611 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43612 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43613 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43615 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43617 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43618 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43620 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43621 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43622 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43623 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43624 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43626 2011-10-24 Andreas Schwab <schwab@redhat.com>
43628 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43630 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43632 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43634 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43636 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43638 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43639 Remove unused variable magic_bits.
43640 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43642 * string/strnlen.c: Define and use STRNLEN macro.
43643 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43644 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43645 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43646 * wcsmbs/wcslen.c: Define and use WCSLEN.
43647 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43648 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43649 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43650 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43651 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43652 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43653 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43655 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43658 strnlen-sse2-no-bsf.
43659 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43660 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43661 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43662 Add strnlen support.
43663 (USE_AS_STRNLEN): New macro.
43664 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43665 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43666 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43667 * sysdeps/x86_64/wcslen.S: New file.
43669 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43671 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43672 XMM-moves are used for copying on small sizes.
43674 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43676 * wcsmbs/Makefile (strop-tests): Add wcschr.
43677 * wcsmbs/test-wcschr.c: New file.
43678 * string/test-strchr.c: Update.
43679 Add wcschr support.
43682 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43684 * wcsmbs/Makefile (strop-tests): Add wcslen.
43685 * wcsmbs/test-wcslen.c: New file.
43686 * string/test-strlen.c: Update.
43687 Add wcslen support.
43690 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43692 * po/it.po: Update from translation team.
43694 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43696 * sysdeps/x86_64/wcscmp.S: Update.
43697 Fix wrong comparison semantics.
43698 wcscmp shall use signed comparison not unsigned.
43699 Don't use substraction to avoid overflow bug.
43700 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43701 * wcsmbc/wcscmp.c: Likewise.
43702 * string/test-strcmp.c: Likewise.
43703 Add new tests to check cases with negative values.
43705 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43707 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43708 * sysdeps/x86_64/dla.h: ...here. New file.
43709 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43712 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43713 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43714 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43716 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43717 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43719 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43721 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43722 __ynl_finite aliases.
43724 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43728 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43730 [DLA_FMA] (EMULV): Use DLA_FMA.
43731 [DLA_FMA] (MUL12): Use EMULV.
43732 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43733 that are not needed.
43734 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43737 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43739 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43742 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43744 * math/s_nan.c: Undef __nan.
43745 * math/s_nanf.c: Undef __nanf.
43746 * math/s_nanl.c: Undef __nanl.
43747 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43750 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43752 * math/s_catan.c: Add branch predictions.
43753 * math/s_catanf.c: Likewise.
43754 * math/s_catanh.c: Likewise.
43755 * math/s_catanhf.c: Likewise.
43756 * math/s_catanhl.c: Likewise.
43757 * math/s_catanl.c: Likewise.
43758 * math/s_cexp.c: Likewise.
43759 * math/s_cexpf.c: Likewise.
43760 * math/s_cexpl.c: Likewise.
43761 * math/s_clog.c: Likewise.
43762 * math/s_clog10.c: Likewise.
43763 * math/s_clog10f.c: Likewise.
43764 * math/s_clog10l.c: Likewise.
43765 * math/s_clogf.c: Likewise.
43766 * math/s_clogl.c: Likewise.
43767 * math/s_csqrt.c: Likewise.
43768 * math/s_csqrtf.c: Likewise.
43769 * math/s_csqrtl.c: Likewise.
43770 * math/s_ctanf.c: Likewise.
43771 * math/s_ctanh.c: Likewise.
43772 * math/s_ctanhf.c: Likewise.
43773 * math/s_ctanhl.c: Likewise.
43774 * math/s_ctanl.c: Likewise.
43776 * math/math_private.h: Define __nan, __nanf, __nanl.
43777 * math/s_cacosh.c: Include <math_private.h>.
43778 * math/s_cacoshl.c: Likewise.
43779 * math/s_casinh.c: Likewise.
43780 * math/s_casinhf.c: Likewise.
43781 * math/s_casinhl.c: Likewise.
43782 * math/s_ccos.c: Rely entire on ccosh.
43783 * math/s_ccosf.c: Rely entire on ccoshf.
43784 * math/s_ccosl.c: Rely entirely on ccoshl.
43785 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43786 Remove tests for FE_INVALID.
43787 * math/s_ccoshf.c: Likewise.
43788 * math/s_ccoshl.c: Likewise.
43789 * math/s_csin.c: Likewise.
43790 * math/s_csinf.c: Likewise.
43791 * math/s_csinh.c Likewise.
43792 * math/s_csinhf.c: Likewise.
43793 * math/s_csinhl.c: Likewise.
43794 * math/s_csinl.c: Likewise.
43795 * math/s_ctan.c: Likewise.
43796 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43797 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43798 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43800 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43803 compilation problems.
43805 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43808 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43810 * sysdeps/i386/configure.in: Test for -mfma4 option.
43811 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43812 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43813 COMMON_CPUID_INDEX_80000001.
43814 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43815 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43816 use it if FMA3 is not supported.
43817 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43819 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43820 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43822 2011-10-20 Andreas Schwab <schwab@redhat.com>
43825 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43826 it would create a cycle with a link time dependency.
43828 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43830 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43832 * string/Makefile (strop-tests): Add rawmemchr.
43833 * string/test-rawmemchr.c: New file.
43835 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43836 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43837 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43838 when compiling str{,n}casecmp and when AVX is available. Hook up
43839 new optimized code in initializers.
43841 2011-10-19 Andreas Schwab <schwab@redhat.com>
43843 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43844 __feraiseexcept instead of feraiseexcept.
43846 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43848 * math/math_private.h: Define defaults for libc_fetestexcept and
43850 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43851 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43852 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43853 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43854 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43855 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43856 libc_fetestexcept and libc_feupdateenv.
43858 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43859 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43860 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43861 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43862 libc_feholdexcept_setround.
43864 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43865 Add s_nearbyint-c and s_nearbyintf-c.
43866 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43867 nearbyintf inlines.
43868 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43869 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43870 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43871 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43873 * math/math_private.h: Define defaults for libc_fegetround,
43874 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43875 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43876 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43877 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43878 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43879 standard functions.
43880 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43881 Remove comments and hacks for old compiler versions.
43882 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43883 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43884 libc_feholdexceptl.
43886 2011-10-18 Andreas Schwab <schwab@redhat.com>
43888 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43889 (__feraiseexcept_renamed): Add __NTH.
43890 (feraiseexcept): Add __NTH. Rename local variables to fix
43891 namespace violations.
43893 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43895 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43897 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43899 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43900 recently added interfaces.
43901 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43903 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43904 about macro parameter expansion.
43906 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43907 __NO_MATH_INLINES is defined. Cleanups.
43909 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43910 and __floorf is target has SSE4.1.
43911 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43912 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43913 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43914 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43916 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43918 (floorf): Likewise.
43920 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43922 2011-10-17 Andreas Schwab <schwab@redhat.com>
43924 * misc/sys/cdefs.h: Fix last change.
43926 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43929 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43931 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43933 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43934 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43935 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43936 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43937 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43938 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43939 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43940 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43941 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43942 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43943 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43944 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43945 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43946 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43947 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43948 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43949 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43950 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43951 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43952 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43953 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43954 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43956 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43957 ceil, ceilf, floor, floorf.
43959 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43960 Perform IRELATIVE relocations last.
43962 * elf/do-rel.h: Add another parameter nrelative, replacing the
43963 local variable with the same name. Change name of the function
43964 to end in Rel or Rela (uppercase).
43965 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43966 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43967 elf_dynamic_do_##reloc function.
43969 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43971 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43972 is sufficient, at least on modern CPUs.
43974 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43976 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43977 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43979 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43981 * math/bits/math-finite.h: Add entries for exp.
43982 * math/e_expl.c: Add __*_finite alias.
43983 * sysdeps/i386/fpu/e_exp.S: Likewise.
43984 * sysdeps/i386/fpu/e_expf.S: Likewise.
43985 * sysdeps/i386/fpu/e_expl.c: Likewise.
43986 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43987 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43988 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43989 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43990 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43991 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43992 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43994 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43995 is sufficient, at least on modern CPUs.
43997 * ctype/ctype-info.c (__ctype_init): Define.
43998 * include/ctype.h (__ctype_init): Declare.
43999 (__ctype_b_loc): The variable is always initialized.
44000 (__ctype_toupper_loc): Likewise.
44001 (__ctype_tolower_loc): Likewise.
44002 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44003 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44005 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44007 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44009 * configure.in: Also look in $cxxmachine/include for C++ system
44012 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44014 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44015 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44016 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44017 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44018 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44019 (USE_AS_WMEMCMP): New macro.
44021 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44022 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44023 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44024 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44026 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44027 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44028 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44029 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44030 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44031 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44032 (USE_AS_WMEMCMP): New macro.
44033 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44034 * sysdeps/string/test-memcmp.c: Update.
44035 Fix simple_wmemcmp.
44037 * wcsmbs/wmemcmp.c: Update.
44038 (WMEMCMP): New macro.
44041 2011-10-12 Andreas Jaeger <aj@suse.de>
44044 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44046 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44048 * libio/iofwide.c (do_length): Avoid warning.
44050 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44052 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44054 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44056 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44057 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44058 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44059 * sysdeps/i386/i686/fpu/e_log.S: New file.
44060 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44061 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44063 * ctype/ctype.h: Add support for inlined isXXX functions when
44064 compiling C++ code.
44066 2011-10-14 Andreas Schwab <schwab@redhat.com>
44068 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44070 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44072 2011-10-13 Roland McGrath <roland@hack.frob.com>
44075 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44077 2011-10-13 Andreas Schwab <schwab@redhat.com>
44079 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44080 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44083 * sysdeps/x86_64/memrchr.S: Check for zero size.
44085 * string/stratcliff.c: Add memrchr tests.
44087 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44090 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44091 rawmemchr-sse2 rawmemchr-sse2-bsf.
44092 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44093 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44094 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44095 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44096 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44097 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44098 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44099 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44100 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44101 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44102 * string/memrchr.c (MEMRCHR): New macro.
44104 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44106 Add integration with gcc's -ffinite-math-only and optimize wrapper
44108 * Versions.def: Define GLIBC_2.15 version for libm.
44109 * math/Makefile (headers): Add bits/math-finite.h.
44110 * math/bits/math-finite.h: New file.
44111 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44112 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44113 * math/e_acoshl.c: Add __*_finite alias.
44114 * math/e_acosl.c: Likewise.
44115 * math/e_asinl.c: Likewise.
44116 * math/e_atan2l.c: Likewise.
44117 * math/e_atanhl.c: Likewise.
44118 * math/e_coshl.c: Likewise.
44119 * math/e_exp10.c: Likewise.
44120 * math/e_exp10f.c: Likewise.
44121 * math/e_exp10l.c: Likewise.
44122 * math/e_exp2l.c: Likewise.
44123 * math/e_fmodl.c: Likewise.
44124 * math/e_gammal_r.c: Likewise.
44125 * math/e_hypotl.c: Likewise.
44126 * math/e_j0l.c: Likewise.
44127 * math/e_j1l.c: Likewise.
44128 * math/e_jnl.c: Likewise.
44129 * math/e_lgammal_r.c: Likewise.
44130 * math/e_log10l.c: Likewise.
44131 * math/e_log2l.c: Likewise.
44132 * math/e_logl.c: Likewise.
44133 * math/e_powl.c: Likewise.
44134 * math/e_sinhl.c: Likewise.
44135 * math/e_sqrtl.c: Likewise.
44136 * math/e_scalb.c: Completely rewritten and optimized.
44137 * math/e_scalbf.c: Likewise.
44138 * math/e_scalbl.c: Likewise.
44139 * math/w_acos.c: Likewise.
44140 * math/w_acosf.c: Likewise.
44141 * math/w_acosl.c: Likewise.
44142 * math/w_acosh.c: Likewise.
44143 * math/w_acoshf.c: Likewise.
44144 * math/w_acoshl.c: Likewise.
44145 * math/w_asin.c: Likewise.
44146 * math/w_asinf.c: Likewise.
44147 * math/w_asinl.c: Likewise.
44148 * math/w_atan2.c: Likewise.
44149 * math/w_atan2f.c: Likewise.
44150 * math/w_atan2l.c: Likewise.
44151 * math/w_atanh.c: Likewise.
44152 * math/w_atanhf.c: Likewise.
44153 * math/w_atanhl.c: Likewise.
44154 * math/w_exp10.c: Likewise.
44155 * math/w_exp10f.c: Likewise.
44156 * math/w_exp10l.c: Likewise.
44157 * math/w_fmod.c: Likewise.
44158 * math/w_fmodf.c: Likewise.
44159 * math/w_fmodl.c: Likewise.
44160 * math/w_j0.c: Likewise.
44161 * math/w_j0f.c: Likewise.
44162 * math/w_j0l.c: Likewise.
44163 * math/w_j1.c: Likewise.
44164 * math/w_j1f.c: Likewise.
44165 * math/w_j1l.c: Likewise.
44166 * math/w_jn.c: Likewise.
44167 * math/w_jnf.c: Likewise.
44168 * math/w_log.c: Likewise.
44169 * math/w_logf.c: Likewise.
44170 * math/w_logl.c: Likewise.
44171 * math/w_log10.c: Likewise.
44172 * math/w_log10f.c: Likewise.
44173 * math/w_log10l.c: Likewise.
44174 * math/w_log2.c: Likewise.
44175 * math/w_log2f.c: Likewise.
44176 * math/w_log2l.c: Likewise.
44177 * math/w_pow.c: Likewise.
44178 * math/w_powf.c: Likewise.
44179 * math/w_powl.c: Likewise.
44180 * math/w_remainder.c: Likewise.
44181 * math/w_remainderf.c: Likewise.
44182 * math/w_remainderl.c: Likewise.
44183 * math/w_scalb.c: Likewise.
44184 * math/w_scalbf.c: Likewise.
44185 * math/w_scalbl.c: Likewise.
44186 * math/w_sqrt.c: Likewise.
44187 * math/w_sqrtf.c: Likewise.
44188 * math/w_sqrtl.c: Likewise.
44189 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44190 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44192 * math/math_private.h: Declare __kernel_standard_f.
44193 * math/w_cosh.c: Remove cruft and optimize a bit.
44194 * math/w_coshf.c: Likewise.
44195 * math/w_coshl.c: Likewise.
44196 * math/w_exp2.c: Likewise.
44197 * math/w_exp2f.c: Likewise.
44198 * math/w_exp2l.c: Likewise.
44199 * math/w_hypot.c: Likewise.
44200 * math/w_hypotf.c: Likewise.
44201 * math/w_hypotl.c: Likewise.
44202 * math/w_lgamma.c: Likewise.
44203 * math/w_lgamma_r.c: Likewise.
44204 * math/w_lgammaf.c: Likewise.
44205 * math/w_lgammaf_r.c: Likewise.
44206 * math/w_lgammal.c: Likewise.
44207 * math/w_lgammal_r.c: Likewise.
44208 * math/w_sinh.c: Likewise.
44209 * math/w_sinhf.c: Likewise.
44210 * math/w_sinhl.c: Likewise.
44211 * math/w_tgamma.c: Likewise.
44212 * math/w_tgammaf.c: Likewise.
44213 * math/w_tgammal.c: Likewise.
44214 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44215 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44216 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44217 Minor optimizations. Pretty printing. Remove cruft.
44218 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44219 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44220 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44221 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44222 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44223 * sysdeps/i386/fpu/e_asin.S: Likewise.
44224 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44225 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44226 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44227 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44228 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44229 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44230 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44231 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44232 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44233 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44234 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44235 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44236 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44237 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44238 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44239 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44240 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44241 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44242 * sysdeps/i386/fpu/e_log.S: Likewise.
44243 * sysdeps/i386/fpu/e_log10.S: Likewise.
44244 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44245 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44246 * sysdeps/i386/fpu/e_log2.S: Likewise.
44247 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44248 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44249 * sysdeps/i386/fpu/e_logf.S: Likewise.
44250 * sysdeps/i386/fpu/e_logl.S: Likewise.
44251 * sysdeps/i386/fpu/e_pow.S: Likewise.
44252 * sysdeps/i386/fpu/e_powf.S: Likewise.
44253 * sysdeps/i386/fpu/e_powl.S: Likewise.
44254 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44255 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44256 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44257 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44258 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44259 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44260 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44261 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44262 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44263 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44264 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44266 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44267 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44268 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44269 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44270 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44271 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44272 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44273 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44274 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44275 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44276 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44277 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44279 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44280 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44281 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44283 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44284 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44285 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44286 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44287 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44288 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44289 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44290 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44291 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44292 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44293 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44294 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44295 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44296 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44297 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44298 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44299 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44300 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44301 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44302 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44303 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44304 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44305 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44306 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44307 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44308 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44309 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44310 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44311 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44312 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44313 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44314 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44315 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44316 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44317 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44318 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44319 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44320 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44321 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44322 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44323 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44324 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44325 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44326 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44327 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44328 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44329 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44330 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44331 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44332 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44333 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44334 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44335 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44336 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44337 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44338 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44339 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44340 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44341 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44342 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44343 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44344 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44345 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44346 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44347 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44348 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44349 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44350 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44351 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44352 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44353 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44354 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44355 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44356 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44357 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44358 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44359 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44360 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44361 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44362 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44363 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44364 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44365 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44366 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44367 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44368 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44369 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44370 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44371 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44372 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44373 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44374 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44375 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44376 (__isnanf): Likewise.
44377 (__isinf_ns): Likewise.
44378 (__isinf_nsf): Likewise.
44379 (__finite): Likewise.
44380 (__finitef): Likewise.
44381 (__ieee754_sqrt): Define as macro.
44382 (__ieee754_sqrtf): Define as macro.
44383 (__ieee754_sqrtl): Define as macro.
44384 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44386 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44387 __FINITE_MATH_ONLY__ consistent.
44388 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44390 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44392 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44395 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44397 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44399 * po/ja.po: Update from translation team.
44401 2011-10-08 Roland McGrath <roland@hack.frob.com>
44403 * locale/programs/locarchive.c (prepare_address_space): New function.
44404 (create_archive, enlarge_archive, open_archive): Use it.
44406 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44407 inside [SHARED], where it is used.
44409 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44411 * nss/getent.c (netgroup_keys): Remove unused variable.
44412 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44414 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44416 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44417 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44419 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44420 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44421 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44422 * math/Makefile (libm-calls): Add s_isinf_ns.
44423 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44424 * math/multc3.c: Likewise.
44425 * math/s_casin.c: Likewise.
44426 * math/s_casinf.c: Likewise.
44427 * math/s_casinl.c: Likewise.
44428 * math/s_ccos.c: Likewise.
44429 * math/s_ccosf.c: Likewise.
44430 * math/s_ccosl.c: Likewise.
44431 * math/s_ctan.c: Likewise.
44432 * math/s_ctanf.c: Likewise.
44433 * math/s_ctanh.c: Likewise.
44434 * math/s_ctanhf.c: Likewise.
44435 * math/s_ctanhl.c: Likewise.
44436 * math/s_ctanl.c: Likewise.
44437 * math/w_fmod.c: Likewise.
44438 * math/w_fmodf.c: Likewise.
44439 * math/w_fmodl.c: Likewise.
44440 * math/w_remainder.c: Likewise.
44441 * math/w_remainderf.c: Likewise.
44442 * math/w_remainderl.c: Likewise.
44443 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44444 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44445 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44446 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44447 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44448 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44449 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44450 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44452 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44454 * stdio-common/printf_fphex.c: Likewise.
44455 * stdio-common/printf_size.c: Likewise.
44457 * math/e_exp10.c: Include math_private.h using <...> not "...".
44458 * math/e_exp10f.c: Likewise.
44459 * math/e_exp10l.c: Likewise.
44460 * math/e_exp2l.c: Likewise.
44461 * math/e_j0l.c: Likewise.
44462 * math/e_j1l.c: Likewise.
44463 * math/e_jnl.c: Likewise.
44464 * math/e_lgammal_r.c: Likewise.
44465 * math/e_rem_pio2l.c: Likewise.
44466 * math/e_scalb.c: Likewise.
44467 * math/e_scalbf.c: Likewise.
44468 * math/e_scalbl.c: Likewise.
44469 * math/k_cosl.c: Likewise.
44470 * math/k_sinl.c: Likewise.
44471 * math/k_tanl.c: Likewise.
44472 * math/s_cacoshf.c: Likewise.
44473 * math/s_catan.c: Likewise.
44474 * math/s_catanf.c: Likewise.
44475 * math/s_catanh.c: Likewise.
44476 * math/s_catanhf.c: Likewise.
44477 * math/s_catanhl.c: Likewise.
44478 * math/s_catanl.c: Likewise.
44479 * math/s_ccosh.c: Likewise.
44480 * math/s_ccoshf.c: Likewise.
44481 * math/s_ccoshl.c: Likewise.
44482 * math/s_cexp.c: Likewise.
44483 * math/s_cexpf.c: Likewise.
44484 * math/s_cexpl.c: Likewise.
44485 * math/s_clog.c: Likewise.
44486 * math/s_clog10.c: Likewise.
44487 * math/s_clog10f.c: Likewise.
44488 * math/s_clog10l.c: Likewise.
44489 * math/s_clogf.c: Likewise.
44490 * math/s_clogl.c: Likewise.
44491 * math/s_csin.c: Likewise.
44492 * math/s_csinf.c: Likewise.
44493 * math/s_csinh.c: Likewise.
44494 * math/s_csinhf.c: Likewise.
44495 * math/s_csinhl.c: Likewise.
44496 * math/s_csinl.c: Likewise.
44497 * math/s_csqrt.c: Likewise.
44498 * math/s_csqrtf.c: Likewise.
44499 * math/s_csqrtl.c: Likewise.
44500 * math/s_ctan.c: Likewise.
44501 * math/s_ctanf.c: Likewise.
44502 * math/s_ctanh.c: Likewise.
44503 * math/s_ctanhf.c: Likewise.
44504 * math/s_ctanhl.c: Likewise.
44505 * math/s_ctanl.c: Likewise.
44506 * math/s_ldexp.c: Likewise.
44507 * math/s_ldexpf.c: Likewise.
44508 * math/s_ldexpl.c: Likewise.
44509 * math/s_significand.c: Likewise.
44510 * math/s_significandf.c: Likewise.
44511 * math/s_significandl.c: Likewise.
44512 * math/w_acos.c: Likewise.
44513 * math/w_acosf.c: Likewise.
44514 * math/w_acosh.c: Likewise.
44515 * math/w_acoshf.c: Likewise.
44516 * math/w_acoshl.c: Likewise.
44517 * math/w_acosl.c: Likewise.
44518 * math/w_asin.c: Likewise.
44519 * math/w_asinf.c: Likewise.
44520 * math/w_asinl.c: Likewise.
44521 * math/w_atan2.c: Likewise.
44522 * math/w_atan2f.c: Likewise.
44523 * math/w_atan2l.c: Likewise.
44524 * math/w_atanh.c: Likewise.
44525 * math/w_atanhf.c: Likewise.
44526 * math/w_atanhl.c: Likewise.
44527 * math/w_cosh.c: Likewise.
44528 * math/w_coshf.c: Likewise.
44529 * math/w_coshl.c: Likewise.
44530 * math/w_dremf.c: Likewise.
44531 * math/w_exp10.c: Likewise.
44532 * math/w_exp10f.c: Likewise.
44533 * math/w_exp10l.c: Likewise.
44534 * math/w_exp2.c: Likewise.
44535 * math/w_exp2f.c: Likewise.
44536 * math/w_fmod.c: Likewise.
44537 * math/w_fmodf.c: Likewise.
44538 * math/w_fmodl.c: Likewise.
44539 * math/w_hypot.c: Likewise.
44540 * math/w_hypotf.c: Likewise.
44541 * math/w_hypotl.c: Likewise.
44542 * math/w_j0.c: Likewise.
44543 * math/w_j0f.c: Likewise.
44544 * math/w_j0l.c: Likewise.
44545 * math/w_j1.c: Likewise.
44546 * math/w_j1f.c: Likewise.
44547 * math/w_j1l.c: Likewise.
44548 * math/w_jn.c: Likewise.
44549 * math/w_jnf.c: Likewise.
44550 * math/w_jnl.c: Likewise.
44551 * math/w_lgamma.c: Likewise.
44552 * math/w_lgamma_r.c: Likewise.
44553 * math/w_lgammaf.c: Likewise.
44554 * math/w_lgammaf_r.c: Likewise.
44555 * math/w_lgammal.c: Likewise.
44556 * math/w_lgammal_r.c: Likewise.
44557 * math/w_log.c: Likewise.
44558 * math/w_log10.c: Likewise.
44559 * math/w_log10f.c: Likewise.
44560 * math/w_log10l.c: Likewise.
44561 * math/w_log2.c: Likewise.
44562 * math/w_log2f.c: Likewise.
44563 * math/w_log2l.c: Likewise.
44564 * math/w_logf.c: Likewise.
44565 * math/w_logl.c: Likewise.
44566 * math/w_pow.c: Likewise.
44567 * math/w_powf.c: Likewise.
44568 * math/w_powl.c: Likewise.
44569 * math/w_remainder.c: Likewise.
44570 * math/w_remainderf.c: Likewise.
44571 * math/w_remainderl.c: Likewise.
44572 * math/w_scalb.c: Likewise.
44573 * math/w_scalbf.c: Likewise.
44574 * math/w_scalbl.c: Likewise.
44575 * math/w_sinh.c: Likewise.
44576 * math/w_sinhf.c: Likewise.
44577 * math/w_sinhl.c: Likewise.
44578 * math/w_sqrt.c: Likewise.
44579 * math/w_sqrtf.c: Likewise.
44580 * math/w_sqrtl.c: Likewise.
44581 * math/w_tgamma.c: Likewise.
44582 * math/w_tgammaf.c: Likewise.
44583 * math/w_tgammal.c: Likewise.
44585 * po/ja.po: Update from translation team.
44587 2011-09-29 Andreas Jaeger <aj@suse.de>
44590 * sunrpc/netname.c (netname2host): Fix logic.
44594 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44596 * math/w_remainder.c (__remainder): Likewise.
44597 * math/w_remainderf.c (__remainderf): Likewise.
44598 * math/libm-test.inc (remainder_test): Add test cases.
44600 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44602 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44605 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44607 * string/test-memcmp.c: Avoid unncessary #defines.
44608 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44610 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44612 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44613 Use new sse2 version for core i3 - i7 as it's faster
44614 than sse42 version.
44615 (bit_Prefer_PMINUB_for_stringop): New.
44616 * sysdeps/x86_64/rawmemchr.S: Update.
44617 Replace with faster SSE2 version.
44618 * sysdeps/x86_64/memrchr.S: New file.
44619 * sysdeps/x86_64/memchr.S: Update.
44620 Replace with faster SSE2 version.
44622 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44624 * elf/dl-load.c (lose): Add cast to avoid warning.
44626 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44628 * po/ca.po: Update from translation team.
44630 * inet/getnetgrent_r.c: Hook up nscd.
44631 * nscd/Makefile (routines): Add nscd_netgroup.
44632 (nscd-modules): Add netgroupcache.
44633 (CFLAGS-netgroupcache.c): Define.
44634 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44635 (cache_search): Add const to second parameter.
44636 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44638 (dbs): Add netgrdb entry.
44639 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44640 (verify_persistent_db): Handle netgrdb.
44641 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44642 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44644 (netgroup_response_header): Define.
44645 (innetgroup_response_header): Define.
44646 (datahead): Add netgroup_response_header and innetgroup_response_header
44648 * nscd/nscd.conf: Add entries for netgroup cache.
44649 * nscd/nscd.h (dbtype): Add netgrdb.
44650 (_PATH_NSCD_NETGROUP_DB): Define.
44651 (netgroup_iov_disabled): Declare.
44652 (xmalloc, xcalloc, xrealloc): Move declarations here.
44653 (cache_search): Adjust prototype.
44654 Add netgroup-related prototypes.
44655 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44656 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44657 (__nscd_innetgr): Declare.
44658 * nscd/selinux.c (perms): Use access_vector_t as element type and
44659 add netgroup-related initializers.
44660 * nscd/netgroupcache.c: New file.
44661 * nscd/nscd_netgroup.c: New file.
44662 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44663 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44664 For four parameters use innetgr.
44665 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44666 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44667 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44668 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44670 * nscd/connections.c (register_traced_file): Don't register file
44671 for disabled databases.
44673 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44675 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44677 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44678 from tree and freeing node.
44680 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44682 * nss/nsswitch.c (__nss_database_lookup): Handle
44683 nss_parse_service_list out of memory case.
44685 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44687 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44688 out of memory case.
44690 2011-10-04 Andreas Schwab <schwab@redhat.com>
44692 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44693 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44695 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44696 elf_machine_rela, elf_machine_lazy_rel.
44697 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44698 (ELF_DYNAMIC_DO_REL): Likewise.
44699 (ELF_DYNAMIC_DO_RELA): Likewise.
44700 (ELF_DYNAMIC_RELOCATE): Likewise.
44701 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44702 to ELF_DYNAMIC_DO_REL.
44703 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44704 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44705 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44707 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44708 skip_ifunc, don't call ifunc function if non-zero.
44709 (elf_machine_rela): Likewise.
44710 (elf_machine_lazy_rel): Likewise.
44711 (elf_machine_lazy_rela): Likewise.
44712 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44713 (elf_machine_lazy_rel): Likewise.
44714 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44716 (elf_machine_lazy_rel): Likewise.
44717 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44719 (elf_machine_lazy_rel): Likewise.
44720 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44721 (elf_machine_lazy_rel): Likewise.
44722 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44723 (elf_machine_lazy_rel): Likewise.
44724 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44725 (elf_machine_lazy_rel): Likewise.
44726 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44727 (elf_machine_lazy_rel): Likewise.
44728 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44729 (elf_machine_lazy_rel): Likewise.
44730 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44731 (elf_machine_lazy_rel): Likewise.
44733 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44735 * nss/nss_files/files-init.c (_nss_files_init): Use static
44736 initialization for all the *_traced_file variables.
44738 2011-09-28 Andreas Schwab <schwab@redhat.com>
44740 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44742 2011-09-27 Roland McGrath <roland@hack.frob.com>
44745 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44747 2011-09-27 Andreas Schwab <schwab@redhat.com>
44749 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44750 Reread the line before reparsing it.
44752 2011-09-26 Andreas Schwab <schwab@redhat.com>
44754 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44756 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44757 Maxim Kuvyrkov <maxim@codesourcery.com>
44758 Joseph Myers <joseph@codesourcery.com>
44760 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44761 if needed for __stack_chk_guard.
44763 2011-09-19 Roland McGrath <roland@hack.frob.com>
44765 * sysdeps/posix/spawni.c (script_execute): Always define it.
44766 It will be optimized away if unused.
44767 (maybe_script_execute): New function.
44768 (__spawni): Call it.
44770 * Makerules: Don't include tls.make.
44771 (config-tls): Always set to thread.
44772 * tls.make.c: File removed.
44774 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44776 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44777 * config.make.in (CPPFLAGS-config): New substituted variable.
44779 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44781 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44784 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44785 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44787 2011-09-15 Roland McGrath <roland@hack.frob.com>
44789 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44790 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44791 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44792 (CALL_FAIL): Likewise.
44793 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44794 (CALL_FAIL): Macro removed.
44795 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44797 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44799 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44800 for __FINITE_MATH_ONLY__ == 1.
44802 2011-09-15 Andreas Schwab <schwab@redhat.com>
44804 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44805 __ieee754_sqrt instead of sqrt.
44806 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44807 __ieee754_sqrtf instead of sqrtf.
44808 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44809 __floorf instead of floorf.
44810 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44811 __floorf, __truncf instead of floorf, truncf.
44813 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44815 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44817 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44818 __extern_always_inline.
44819 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44822 2011-09-14 Andreas Schwab <schwab@redhat.com>
44824 * elf/rtld.c (dl_main): Also relocate in dependency order when
44825 doing symbol dependency testing.
44827 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44830 Always define `refsym'.
44832 2011-09-13 Andreas Schwab <schwab@redhat.com>
44834 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44835 (__FD_ELT): Renamed from __FDELT.
44836 * misc/bits/select2.h (__FD_ELT): Likewise.
44837 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44838 __FD_MASK instead of __FDELT, __FDMASK.
44839 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44841 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44844 * elf/Makefile (gen-ldd): Fix pattern.
44846 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44847 (init_tls): Likewise.
44849 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44851 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44853 2011-09-12 Andreas Schwab <schwab@redhat.com>
44855 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44856 `struct cmsghdr *' instead of `void *'.
44857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44860 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44862 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44864 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44865 ldd_rewrite_script.
44867 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44869 * configure.in: Remove --with-tls option.
44870 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44871 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44872 out in case it is missing.
44873 * sysdeps/ia64/elf/configure.in: Likewise.
44874 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44875 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44876 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44877 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44878 * sysdeps/sh/elf/configure.in: Likewise.
44879 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44880 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44881 * sysdeps/x86_64/elf/configure.in: Likewise.
44882 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44883 * sysdeps/mach/hurd/tls.h: Likewise.
44886 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44889 * configure.in: Fix use of AC_INIT.
44891 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44893 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44895 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44897 * malloc/hooks.c: Likewise.
44900 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44901 variables statically.
44902 (narenas): Initialize.
44903 (list_lock): Initialize.
44904 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44905 initializtion of main_arena and list_lock. Small cleanups.
44906 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44907 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44908 Add initializers to main_arena and mp_.
44909 (malloc_state): Remove pagesize member. Change all users to use
44912 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44913 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44914 is always initialized.
44916 * malloc/malloc.c: Removed unused configurations and dead code.
44917 * malloc/arena.c: Likewise.
44918 * malloc/hooks.c: Likewise.
44919 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44921 * include/tls.h: Removed. USE___THREAD must always be defined.
44922 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44923 * elf/dl-libc.c: Likewise.
44924 * elf/dl-tsd.c: Likewise.
44925 * include/errno.h: Likewise.
44926 * include/netdb.h: Likewise.
44927 * include/resolv.h: Likewise.
44928 * inet/herrno-loc.c: Likewise.
44929 * inet/herrno.c: Likewise.
44930 * malloc/arena.c: Likewise.
44931 * malloc/hooks.c: Likewise.
44932 * malloc/malloc.c: Likewise.
44933 * resolv/res-state.c: Likewise.
44934 * resolv/res_libc.c: Likewise.
44935 * sysdeps/i386/dl-machine.h: Likewise.
44936 * sysdeps/ia64/dl-machine.h: Likewise.
44937 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44938 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44939 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44940 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44941 * sysdeps/sh/dl-machine.h: Likewise.
44942 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44943 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44944 * sysdeps/unix/i386/sysdep.S: Likewise.
44945 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44946 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44947 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44948 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44950 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44951 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44952 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44953 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44955 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44956 * sysdeps/x86_64/dl-machine.h: Likewise.
44957 * tls.make.c: Likewise.
44959 * configure.in: Remove --with-__thread option. Make tests for
44960 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44961 tls_model attribute fail if no support is available. Remove
44963 * Makeconfig: Adjust for dropped configure option. All features are
44965 * Makerules: Likewise.
44966 * Versions.def: Likewise.
44967 * argp/argp-fmtstream.c: Likewise.
44968 * argp/argp-fmtstream.h: Likewise.
44969 * argp/argp-help.c: Likewise.
44970 * assert/assert.c: Likewise.
44971 * config.h.in: Likewise.
44972 * config.make.in: Likewise.
44973 * configure: Likewise.
44974 * configure.in: Likewise.
44975 * csu/Versions: Likewise.
44976 * csu/init.c: Likewise.
44977 * elf/tst-audit2.c: Likewise.
44978 * elf/tst-tls10.c: Likewise.
44979 * elf/tst-tls10.h: Likewise.
44980 * elf/tst-tls11.c: Likewise.
44981 * elf/tst-tls12.c: Likewise.
44982 * elf/tst-tls14.c: Likewise.
44983 * elf/tst-tlsmod11.c: Likewise.
44984 * elf/tst-tlsmod12.c: Likewise.
44985 * elf/tst-tlsmod13.c: Likewise.
44986 * elf/tst-tlsmod13a.c: Likewise.
44987 * elf/tst-tlsmod14a.c: Likewise.
44988 * elf/tst-tlsmod15b.c: Likewise.
44989 * elf/tst-tlsmod16a.c: Likewise.
44990 * elf/tst-tlsmod16b.c: Likewise.
44991 * elf/tst-tlsmod7.c: Likewise.
44992 * elf/tst-tlsmod8.c: Likewise.
44993 * elf/tst-tlsmod9.c: Likewise.
44994 * gmon/gmon.c: Likewise.
44995 * grp/fgetgrent_r.c: Likewise.
44996 * grp/putgrent.c: Likewise.
44997 * hurd/fopenport.c: Likewise.
44998 * include/libc-symbols.h: Likewise.
44999 * include/tls.h: Likewise.
45000 * intl/gettextP.h: Likewise.
45001 * intl/loadinfo.h: Likewise.
45002 * locale/global-locale.c: Likewise.
45003 * locale/localeinfo.h: Likewise.
45004 * mach/devstream.c: Likewise.
45005 * malloc/arena.c: Likewise.
45006 * malloc/set-freeres.c: Likewise.
45007 * misc/err.c: Likewise.
45008 * misc/getttyent.c: Likewise.
45009 * misc/mntent_r.c: Likewise.
45010 * posix/getopt.c: Likewise.
45011 * posix/wordexp.c: Likewise.
45012 * pwd/fgetpwent_r.c: Likewise.
45013 * resolv/Versions: Likewise.
45014 * resolv/res_hconf.c: Likewise.
45015 * shadow/fgetspent_r.c: Likewise.
45016 * shadow/putspent.c: Likewise.
45017 * stdio-common/printf_fphex.c: Likewise.
45018 * stdio-common/tmpfile.c: Likewise.
45019 * stdlib/abort.c: Likewise.
45020 * stdlib/fmtmsg.c: Likewise.
45021 * sunrpc/auth_unix.c: Likewise.
45022 * sunrpc/clnt_perr.c: Likewise.
45023 * sunrpc/clnt_tcp.c: Likewise.
45024 * sunrpc/clnt_udp.c: Likewise.
45025 * sunrpc/clnt_unix.c: Likewise.
45026 * sunrpc/openchild.c: Likewise.
45027 * sunrpc/svc_simple.c: Likewise.
45028 * sunrpc/svc_tcp.c: Likewise.
45029 * sunrpc/svc_udp.c: Likewise.
45030 * sunrpc/svc_unix.c: Likewise.
45031 * sunrpc/xdr.c: Likewise.
45032 * sunrpc/xdr_array.c: Likewise.
45033 * sunrpc/xdr_rec.c: Likewise.
45034 * sunrpc/xdr_ref.c: Likewise.
45035 * sunrpc/xdr_stdio.c: Likewise.
45037 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45039 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45041 2011-07-03 Andreas Jaeger <aj@suse.de>
45043 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45044 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45045 regenerate with gen-libm-tests.pl.
45047 2010-05-12 Petr Baudis <pasky@suse.cz>
45050 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45051 around j0() zero points by switching to j1().
45052 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45053 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45054 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45055 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45057 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45059 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45061 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45063 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45064 Patch in part by Pavel Roskin <proski@gnu.org>.
45067 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45069 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45070 Free memory block if necessary.
45073 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45074 be NULL. Don't lock in this case.
45076 2011-09-09 Roland McGrath <roland@hack.frob.com>
45078 * elf/elf.h (ELFOSABI_GNU): New macro.
45079 (ELFOSABI_LINUX): Define to that.
45081 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45083 * string/strncat.c (strncat): Undef the symbol in case it has been
45084 defined in bits/string.h.
45086 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45088 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45090 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45093 2011-08-17 Andreas Jaeger <aj@suse.de>
45095 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45097 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45098 Ian Lance Taylor <iant@google.com>
45100 * math/libm-test.inc (lround_test): New testcase.
45101 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45103 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45105 * Makefile: Remove support for automatic cvs check-ins.
45106 * Makerules: Likewise.
45107 * config.make.in: Likewise.
45108 * configure.in: Likewise.
45109 * intl/Makefile: Likewise.
45110 * locale/Makefile: Likewise.
45111 * po/Makefile: Likewise.
45112 * posix/Makefile: Likewise.
45113 * sysdeps/gnu/Makefile: Likewise.
45114 * sysdeps/mach/hurd/Makefile: Likewise.
45115 * sysdeps/sparc/sparc32/Makefile: Likewise.
45118 * posix/Makefile (bug-regex32-ENV): Define.
45119 Patch by John Stanley <jpsinthemix@verizon.net>.
45121 * misc/Makefile (headers): Add bits/select2.h.
45122 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45123 * misc/bits/select2.h: New file.
45124 * include/bits/select2.h: New file.
45125 * debug/Makefile (routines): Add fdelt_chk.
45126 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45127 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45129 * debug/fdelt_chk.c: New file.
45131 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45132 * wcsmbs/test-wmemcmp.c: Likewise.
45133 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45134 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45136 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45138 * string/Makefile (strop-tests): Add memcmp.
45139 * string/test-wmemcmp.c: New file.
45140 * string/test-memcmp.c: Add wmemcmp support.
45142 2011-09-08 Roland McGrath <roland@hack.frob.com>
45145 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45148 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45149 garbage value in a __mach_port_mod_refs call in the cases of the
45150 task-self and thread-self ports.
45152 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45154 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45156 2011-09-08 Andreas Schwab <schwab@redhat.com>
45158 * elf/dl-load.c (lose): Check for non-null L.
45160 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45162 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45164 * elf/dl-libc.c (dlerror_run): Pass back error code from
45168 * elf/dl-load.c (lose): Free l_origin if it is valid.
45170 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45172 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45173 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45174 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45175 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45176 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45177 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45179 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45181 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45182 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45183 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45184 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45185 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45186 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45187 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45188 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45189 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45190 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45192 2011-08-15 Alan Modra <amodra@gmail.com>
45195 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45196 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45197 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45198 ppc_mcount to static-only-routines.
45199 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45201 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45202 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45204 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45206 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45207 for finite and infinity parameters.
45209 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45211 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45212 and add nop instructions for throughput optimization.
45213 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45215 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45217 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45218 aligned copy for power7 with vector-scalar instructions.
45219 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45221 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45226 2011-09-07 Andreas Schwab <schwab@redhat.com>
45229 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45232 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45234 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45235 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45236 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45237 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45240 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45242 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45243 Forgot to demangle the pointer.
45245 * sysdeps/i386/sysdep.h: Define atom_text_section.
45246 * sysdeps/x86_64/sysdep.h: Likewise.
45247 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45248 section with atom_text_section.
45249 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45250 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45251 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45252 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45253 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45255 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45256 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45257 already be defined. Change to take two parameters and don't assign
45258 result to variable. Adjust all users.
45259 Define INTERNAL_GETTIME if not already defined.
45260 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45263 HAVE_CLOCK_GETTIME_VSYSCALL.
45264 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45266 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45267 gettimeofday vsyscall, just use time.
45269 2011-09-06 Andreas Schwab <schwab@redhat.com>
45271 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45274 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45276 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45278 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45280 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45281 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45282 syscall if possible.
45284 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45286 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45287 e_ident. Don't pass to find_mapsXX.
45288 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45290 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45293 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45294 * sysdeps/x86_64/multiarch/strchr.S: Update.
45295 Check bit_slow_BSF bit.
45296 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45297 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45298 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45300 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45303 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45305 (tryshell): Define.
45306 (__spawni): Change last parameter to be flag. Test
45307 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45308 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45309 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45310 * posix/spawni.c: Likewise.
45311 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45312 * posix/spawnp.c: Likewise. Change normal version to use
45313 SPAWN_XFLAGS_USE_PATH.
45314 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45315 SPAWN_XFLAGS_TRY_SHELL.
45318 * posix/glob.h: Remove gcc 1.x support.
45321 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45323 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45325 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45326 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45328 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45329 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45330 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45331 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45332 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45333 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45335 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45337 * sysdeps/x86_64/wcscmp.S: New file.
45339 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45340 wcscmp-c wcscmp-sse2
45341 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45342 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45343 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45344 * wcsmbs/wcscmp.c: Allow renaming.
45346 2011-09-05 David S. Miller <davem@davemloft.net>
45348 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45349 stack slot, rather than the struct return pointer slot.
45350 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45351 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45353 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45355 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45357 * po/ja.po: Update from translation team.
45360 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45361 kernel in 64-bit binaries.
45363 2011-09-01 David S. Miller <davem@davemloft.net>
45365 * elf/elf.h (HWCAP_SPARC_*): Move to..
45366 * sysdeps/sparc/sysdep.h: this new file and add new values.
45367 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45368 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45369 _DL_HWCAP_COUNT to 24.
45370 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45372 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45373 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45374 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45376 instead of magic constants.
45377 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45379 2011-08-31 David S. Miller <davem@davemloft.net>
45381 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45383 Reimplement to do errno handling inline.
45384 (SYSCALL_ERROR_HANDLER): New macro.
45385 (__SYSCALL_STRING): Do not do errno handling in asm.
45386 (__CLONE_SYSCALL_STRING): Delete.
45387 (__INTERNAL_SYSCALL_STRING): Delete.
45388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45389 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45390 (PSEUDO): Reimplement to do errno handling inline.
45391 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45392 (SYSCALL_ERROR_HANDLER): New macro.
45393 (__SYSCALL_STRING): Do not do errno handling in asm.
45394 (__CLONE_SYSCALL_STRING): Delete.
45395 (__INTERNAL_SYSCALL_STRING): Delete.
45396 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45397 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45399 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45400 (inline_syscall*): Add 'err' argument.
45401 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45402 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45403 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45404 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45406 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45407 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45409 2011-08-30 Andreas Schwab <schwab@redhat.com>
45411 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45413 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45415 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45418 2011-08-24 David S. Miller <davem@davemloft.net>
45420 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45422 2011-08-24 Andreas Schwab <schwab@redhat.com>
45424 * elf/Makefile: Add rules to build and run unload8 test.
45425 * elf/unload8.c: New file.
45426 * elf/unload8mod1.c: New file.
45427 * elf/unload8mod1x.c: New file.
45428 * elf/unload8mod2.c: New file.
45429 * elf/unload8mod3.c: New file.
45431 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45434 2011-08-23 David S. Miller <davem@davemloft.net>
45436 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45437 subtract stack bias.
45438 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45439 %sp not %fp in calculations.
45440 (_JMPBUF_UNWINDS_ADJ): Likewise.
45442 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45443 (aio_suspend): Call it to force an exception region around the
45444 AIO_MISC_WAIT() invocation.
45446 2011-08-23 Andreas Schwab <schwab@redhat.com>
45448 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45451 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45453 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45455 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45456 and <dl-machine.h>.
45457 (Elf64_FuncDesc): Remove.
45459 2011-08-22 David S. Miller <davem@davemloft.net>
45461 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45462 sigaltstack check, add missing cfi directives.
45463 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45464 missing cfi directives, and sigaltstack handling.
45466 2011-08-16 Andreas Schwab <schwab@redhat.com>
45469 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45470 object is seen twice.
45471 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45473 * elf/Makefile (distribute): Add tst-initorder2.c.
45474 (tests): Add tst-initorder2.
45475 (modules-names): Add tst-initorder2a tst-initorder2b
45476 tst-initorder2c tst-initorder2d. Add rules to build them.
45477 ($(objpfx)tst-initorder2.out): New rule.
45478 * elf/tst-initorder2.c: New file.
45479 * elf/tst-initorder2.exp: New file.
45481 2011-08-22 Andreas Schwab <schwab@redhat.com>
45483 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45485 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45486 dependencies back to end of function.
45488 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45489 $(elfobjdir)/ld.so.
45491 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45493 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45494 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45495 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45496 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45497 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45498 of __vdso_gettimeofday.
45499 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45500 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45502 (_libc_vdso_platform_setup): Remove initialization of
45503 __vdso_gettimeofday and __vdso_time.
45505 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45507 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45508 and fgetc_unlocked.
45509 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45512 * elf/dl-open.c (add_to_global): Report additions to the global scope
45513 for LD_DEBUG=scopes.
45514 (dl_open_worker): Also print scope of newly loaded dependencies.
45515 (_dl_show_scope): Indicate if there is no scope.
45518 * stdio-common/Makefile (tests): Add bug24.
45519 * stdio-common/bug24.c: New file.
45521 2011-08-19 Andreas Jaeger <aj@suse.de>
45524 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45525 non-existant file when using close-on-exec mode.
45527 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45529 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45530 the very first instruction.
45532 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45533 the CFI state in the end.
45534 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45535 inclusion of dl-trampoline.h.
45536 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45538 2011-08-19 Andreas Schwab <schwab@redhat.com>
45540 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45541 expectations for long double.
45543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45544 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45546 2011-08-14 David S. Miller <davem@davemloft.net>
45548 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45549 artificual limit depends upon the system page size.
45551 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45553 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45554 * resolv/Makefile: Define CFLAGS-libresolv.
45556 2011-08-17 Andreas Schwab <schwab@redhat.com>
45558 * nss/makedb.c (compute_tables): Make variables used in nested
45561 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45563 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45564 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45565 if buffer was too small.
45567 * elf/pldd.c (main): Attach to all threads in the process.
45568 Rewrite /proc handling to use *at functions.
45570 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45572 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45573 specifies first scope to show.
45574 (dl_open_worker): Update callers. Move printing scope of new
45575 object to before the relocation.
45576 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45577 * sysdeps/generic/ldsodefs.h: Update declaration.
45579 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45580 string for the scope number.
45582 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45584 * nscd/servicescache.c (cache_addserv): Make sure written is always
45587 2011-08-14 Roland McGrath <roland@hack.frob.com>
45589 * sysdeps/i386/i486/bits/atomic.h
45590 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45591 statement expression, so as to suppress "set but not used" warning.
45592 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45594 * string/strncat.c (STRNCAT): Use prototype definition.
45596 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45597 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45599 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45600 (localedef-modules): Add localedef.
45601 (locale-modules): Add locale.
45603 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45604 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45605 to avoid a warning.
45607 2011-08-14 David S. Miller <davem@davemloft.net>
45609 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45610 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45612 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45614 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45615 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45616 * elf/rtld.c (dl_main): Set l_name of vDSO.
45617 Call _dl_show_scope when DL_DEBUG_SCOPES.
45618 (process_dl_debug): Recognize scopes flag and also set it for all.
45619 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45620 Declare _dl_show_scope.
45622 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45623 (do_dlopen): Pass caller_dlopen to dl_open.
45624 (__libc_dlopen_mode): Initialize caller_dlopen.
45626 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45627 of libc. Make tolower call locale-independent. Optimize a bit by
45628 using isdigit instead of isalnum.
45629 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45631 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45633 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45634 was a dependency or dynamically loaded.
45636 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45638 * intl/l10nflist.c: Allow architecture-specific pop function.
45639 * sysdeps/x86_64/l10nflist.c: New file.
45641 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45644 2011-08-10 Andreas Schwab <schwab@redhat.com>
45646 * include/dirent.h: Add libc_hidden_proto for scandirat and
45647 scandirat64. Don't declare __scandirat64.
45648 * dirent/scandirat.c: Add libc_hidden_def.
45649 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45650 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45652 2011-08-10 David S. Miller <davem@davemloft.net>
45654 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45656 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45657 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45658 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45660 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45662 * Versions.def [libc]: Add GLIBC_2.15.
45663 * dirent/Makefile (routines): Add scandirat and scandirat64.
45664 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45666 * dirent/dirent.h: Declare scandirat and scandirat64.
45667 * dirent/scandirat.c: New file.
45668 * dirent/scandirat64.c: New file.
45669 * sysdeps/wordsize-64/scandirat.c: New file.
45670 * sysdeps/wordsize-64/scandirat64.c: New file.
45671 * dirent/opendir.c: Define opendirat.
45672 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45674 * dirent/scandir64.c: Adjust for scandir.c change.
45675 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45676 __scandirat64, and __scandir_cancel_handler.
45677 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45678 additional parameter and use openat instead of open (outside of ld.so).
45679 Add new __opendir as wrapper around __opendirat.
45680 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45681 here without requiring old scandirat implementation.
45683 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45685 * dirent/scandir.c (cancel_handler): Renamed to
45686 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45687 defined. Adjust users.
45688 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45689 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45691 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45693 * string/test-string.h (IMPL): Use __STRING to expand name and then
45696 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45699 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45701 * string/Makefile: Update.
45702 (strop-tests): Append strncat.
45703 * string/test-wcscmp.c: New file.
45704 New comprehensive test for wcscmp.
45705 * string/test-strcmp.c: Update.
45706 (WIDE): New define.
45708 2011-07-22 Andreas Schwab <schwab@redhat.com>
45710 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45713 2011-07-26 Andreas Schwab <schwab@redhat.com>
45715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45716 encoding to ACE if AI_IDN.
45718 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45720 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45721 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45723 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45725 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45726 Fix overflow bug in strncat.
45727 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45729 * string/test-strncat.c: Update.
45730 Add new tests for checking overflow bugs.
45732 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45735 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45736 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45737 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45738 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45739 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45740 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45741 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45742 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45744 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45745 (USE_AS_STRCAT): Define.
45746 Add strcat and strncat support.
45747 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45749 2011-07-25 Andreas Schwab <schwab@redhat.com>
45751 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45752 __n bigger than INT_MAX+1.
45753 (__strncmp_g): Likewise.
45755 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45757 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45758 * libio/stido.h: Likewise.
45760 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45762 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45765 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45766 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45767 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45768 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45769 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45772 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45777 (_dl_x86_64_save_sse): Likewise.
45779 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45781 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45783 (_dl_x86_64_save_sse): Likewise.
45785 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45787 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45789 2011-07-21 Andreas Schwab <schwab@redhat.com>
45791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45793 (_dl_x86_64_save_sse): Use correct AVX check.
45795 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45797 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45798 bug in strncpy/strncat.
45799 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45801 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45803 * string/tester.c (test_strcat): Add tests for different alignments
45804 of source and destination.
45805 (test_strncat): Likewise.
45807 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45810 * posix/glob.c (glob): Check passed in values before using them in
45811 expressions to avoid some overflows.
45812 (glob_in_dir): Likewise.
45815 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45816 check for AVX enablement so that we don't crash with old kernels and
45818 * elf/tst-audit4.c: Add same checks here.
45819 * elf/tst-audit6.c: Likewise.
45821 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45823 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45825 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45827 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45829 * po/cs.po: Update from translation team.
45830 * po/bg.po: Likewise.
45832 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45834 * misc/sys/cdefs.h: Add support for const attribute.
45835 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45836 to gnu_dev_{major,minor,makedev} functions.
45838 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45840 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45842 2011-07-20 Andreas Schwab <schwab@redhat.com>
45844 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45847 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45850 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45851 register in order to avoid conflicts with the soft frame pointer
45852 being held in r11 when necessary.
45853 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45854 (INTERNAL_VSYSCALL_NCS): Likewise.
45856 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45858 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45859 * elf/dl-fini.c (_dl_fini): Adjust caller.
45860 * elf/dl-close.c (_dl_close_worker): Likewise.
45861 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45863 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45865 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45866 "aux_cache->nlibs < 0".
45868 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45869 in the reload-count case.
45871 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45874 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45875 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45876 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45877 * sysdeps/x86_64/multiarch/strcat.S: New file.
45878 * sysdeps/x86_64/multiarch/strncat.S: New file.
45879 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45880 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45881 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45882 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45883 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45884 (USE_AS_STRCAT): Define.
45885 Add strcat and strncat support.
45886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45887 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45888 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45889 * string/strncat.c: Update.
45890 (USE_AS_STRNCAT): Define.
45891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45892 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45894 * sysdeps/x86_64/multiarch/init-arch.h
45895 (bit_Prefer_PMINUB_for_stringop): New.
45896 (index_Prefer_PMINUB_for_stringop): Likewise.
45897 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45898 bit_Prefer_PMINUB_for_stringop.
45900 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45902 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45904 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45905 of casting of buffer.
45906 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45907 buffer32 and buffer64.
45908 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45909 writes instead of casting of buffer.
45910 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45912 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45915 2011-07-19 Andreas Schwab <schwab@redhat.com>
45917 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45919 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45921 * nscd/nscd.c (termination_handler): Don't do anything for a database
45922 if it has not yet been initialized.
45924 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45926 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45928 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45930 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45932 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45934 * po/nl.po: Update from translation team.
45935 * po/sv.po: Likewise.
45937 2011-07-16 Roland McGrath <roland@hack.frob.com>
45939 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45940 now disallowed by GCC.
45942 * configure.in (use-default-link): Default to yes if a test -shared
45943 link meets our qualifications.
45944 * configure: Regenerated.
45946 * config.make.in (output-format): New variable.
45947 * configure.in: Check for ld --print-output-format support.
45948 * configure: Regenerated.
45949 * Makerules ($(common-objpfx)format.lds)
45950 [$(output-format) != unknown]: Just use $(output-format),
45951 instead of the linker-script munging.
45953 2011-07-14 Roland McGrath <roland@hack.frob.com>
45955 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45956 of $(common-objpfx)shlib.lds.
45957 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45959 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45960 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45962 * configure.in (-z relro check): Adjust test code to add a large
45963 writable data section after it.
45964 * configure: Regenerated.
45966 2011-07-11 Roland McGrath <roland@hack.frob.com>
45968 * configure.in (-z relro check): Fix test code to make the variable
45970 * configure: Regenerated.
45972 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45974 * nscd/nscd.h (struct traced_file): Define.
45975 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45976 elements. Add traced_files.
45977 (inotify_fd): Declare.
45978 (register_traced_file): Declare.
45979 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45980 (inotify_fd): Export.
45981 (resolv_conf_descr): Remove.
45982 (nscd_init): Move inotify descriptor creation to main.
45983 Don't register files for notification here.
45984 (register_traced_file): New function.
45985 (invalidate_cache): Don't use reset_res to determine whether to call
45986 res_init, go through the list of registered files.
45987 (main_loop_poll): The inotify descriptors are now stored in the
45988 structures for the traced files.
45989 (main_loop_epoll): Likewise
45990 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45991 to __nss_disable_nscd.
45992 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45993 for a database anymore. Check the records for all the registered
45995 * nss/Makefile (libnss_files-routines): Add files-init.
45996 (libnss_db-routines): Add db-init.
45997 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45998 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45999 * nss/nss_db/db-init.c: New file.
46000 * nss/nss_files/files-init.c: New file.
46001 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46002 __nss_lookup_function.
46003 (__nss_lookup_function): Call nss_load_library.
46004 (nss_load_all_libraries): New function.
46005 (__nss_disable_nscd): Take parameter with callback function for files
46006 to register. Set is_nscd. Load all the DSOs for the NSS modules
46007 used for the cached services.
46008 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46009 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46010 options for features to all the files in nscd.
46012 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46014 2011-07-10 Roland McGrath <roland@hack.frob.com>
46016 * csu/elf-init.c (__libc_csu_init): Comment typo.
46018 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46020 * po/pl.po: Update from translation team.
46021 * po/ja.po: Likewise.
46022 * po/ru.po: Likewise.
46023 * po/ko.po: Likewise.
46024 * po/fr.po: Likewise.
46026 2011-07-09 Roland McGrath <roland@hack.frob.com>
46028 * configure.in (.ctors/.dtors header and trailer check):
46029 Use an empirical test on a built program.
46030 * configure: Regenerated.
46032 * configure.in (-z relro check): Use an empirical test on a built DSO.
46033 Detect, but do not require, on ia64.
46034 * configure: Regenerated.
46036 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46037 Update tests that use readelf to use $READELF instead.
46038 * configure: Regenerated.
46040 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46042 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46043 if the result is not used.
46045 2011-07-05 Andreas Jaeger <aj@suse.de>
46048 * stdlib/tst-strtod.c: Add testcase.
46050 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46052 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46053 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46054 The latter has a higher limit. Take additional parameter to pass to
46056 (__pathconf): Pass file to __statfs_link_max.
46057 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46059 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46063 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46064 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46066 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46067 (__statfs_filesize_max): Likewise.
46068 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46070 2011-07-05 Andreas Jaeger <aj@suse.de>
46072 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46074 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46076 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46078 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46081 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46083 * Makefile (strop-tests): Add strncat.
46084 * string/test-strncat.c: New file.
46086 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46088 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46090 2011-06-21 Andreas Jaeger <aj@suse.de>
46092 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46093 Copy rule from iconvdata/Makefile.
46095 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46098 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46099 but no long options are defined, just return 'W'.
46101 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46104 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46106 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46108 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46110 (innetgr): Likewise.
46112 2011-07-05 Roland McGrath <roland@hack.frob.com>
46114 * config.make.in (install_root): Default to $(DESTDIR).
46116 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46118 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46120 2011-07-02 Roland McGrath <roland@hack.frob.com>
46122 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46124 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46125 containing directory rather than embedding absolute directory names.
46127 * scripts/check-local-headers.sh: Rewritten using awk.
46128 Match by word, not by line. Print error messages for matches.
46129 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46131 * Makerules [shlib-lds-flags empty]:
46132 ($(common-objpfx)libc_pic.opts): New target.
46133 ($(common-objpfx)libc_pic.os.clean): New target.
46134 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46136 * config.make.in (OBJCOPY): New variable.
46137 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46138 * configure: Regenerated.
46140 * config.make.in (use-default-link): New variable.
46141 * configure.in (use_default_link): Grok --with-default-link to set it.
46142 * configure: Regenerated.
46143 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46144 (shlib-lds, shlib-lds-flags): Define to empty.
46146 * Makerules (shlib-lds): New variable.
46147 (shlib-lds-flags): New variable.
46148 (build-shlib, build-moduile, build-module-asneeded): Use it.
46149 ($(common-objpfx)libc.so): Use $(shlib-lds).
46150 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46151 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46153 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46154 DT_FLAGS/DT_FLAGS_1 with zero flags.
46156 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46157 linker script munging.
46159 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46161 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46163 * crypt/sha512.c (sha512_process_block): Perform total addition using
46164 128-bit if possible.
46165 (__sha512_finish_ctx): Likewise.
46166 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46168 * crypt/sha256.c (SWAP64): Define.
46169 (sha256_process_block): Perform total addition using 64-bit if
46171 (__sha256_finish_ctx): Likewise.
46173 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46175 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46176 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46177 * nscd/hstcache.c (cache_addhst): Likewise.
46178 * nscd/grpcache.c (cache_addgr): Likewise.
46179 * nscd/aicache.c (addhstaiX): Likewise
46180 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46182 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46184 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46185 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46186 * nscd/hstcache.c (cache_addhst): Likewise.
46187 * nscd/grpcache.c (cache_addgr): Likewise.
46188 * nscd/aicache.c (addhstaiX): Likewise
46190 2011-07-01 Andreas Schwab <schwab@redhat.com>
46192 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46193 domain only when needed.
46195 2011-06-30 Andreas Schwab <schwab@redhat.com>
46197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46198 is always restored.
46200 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46202 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46203 are re-adding the entry.
46204 * nscd/servicescache.c (cache_addserv): Likewise.
46206 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46208 * sysdeps/generic/dl-irel.h: fix protection against multiple
46210 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46212 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46215 * malloc/memusage.sh: Fix quoting in message.
46216 * debug/xtrace.sh: Likewise.
46218 * configure.in: Remove support for --experimental-malloc option, make
46220 * config.make.in: Likewise.
46221 * malloc/Makefile: Likewise.
46223 2011-06-27 Andreas Schwab <schwab@redhat.com>
46225 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46226 two-byte characters.
46228 2011-06-27 Roland McGrath <roland@hack.frob.com>
46230 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46231 AC_CACHE_CHECK invocation.
46232 * configure: Regenerated.
46234 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46236 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46239 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46240 bit from old_res_options.
46242 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46244 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46245 value type for setfct.
46247 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46249 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46250 __gettimeofday instead of gettimeofday.
46252 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46254 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46256 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46258 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46260 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46263 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46265 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46266 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46267 strcpy-sse2-unaligned strncpy-sse2-unaligned
46268 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46269 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46270 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46271 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46272 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46273 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46274 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46275 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46276 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46277 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46278 (STRCPY): Support SSE2 and SSSE3 versions.
46280 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46283 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46284 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46285 kernels which artificially limit size of requests.
46287 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46290 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46291 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46292 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46293 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46294 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46295 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46296 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46297 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46298 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46299 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46300 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46301 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46302 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46303 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46305 Enable unaligned load optimization for Intel Core i3, i5 and i7
46307 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46309 (index_Fast_Unaligned_Load): Define.
46310 (HAS_FAST_UNALIGNED_LOAD): Define.
46312 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46314 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46316 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46319 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46320 until it is clear that the information is realy needed.
46321 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46323 2011-06-22 Andreas Schwab <schwab@redhat.com>
46325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46327 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46329 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46330 /sys/devices/system/cpu/online if it is usable.
46332 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46333 reading the information from the /proc filesystem to once a second.
46335 2011-06-21 Andreas Jaeger <aj@suse.de>
46337 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46338 NULL after inclusion of kernel headers.
46340 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46342 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46343 calls to internal_setent.
46346 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46347 addresses using gethostbyname4_r ignore IPv4 addresses.
46349 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46350 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46352 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46354 2011-06-20 David S. Miller <davem@davemloft.net>
46356 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46358 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46360 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46361 (elf_irel): Use it.
46362 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46363 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46364 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46365 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46366 * sysdeps/x86_64/dl-irel.h: Likewise.
46368 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46369 * elf/dl-sym.c: Likewise.
46371 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46373 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46374 need to dereference resplen2.
46376 2011-06-14 Andreas Schwab <schwab@redhat.com>
46378 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46380 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46382 * Makeconfig: Define vardbdir and inst_vardbdir.
46383 * nss/Makefile: Add rules to install db-Makefile.
46385 * nss/nss_db/db-XXX.c: Cleanup.
46387 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46388 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46390 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46391 * nss/makedb.c: Implement -g option to specify that value strings
46392 are generated and should not be added to table iterated over for
46394 * nss/nss_db/db-initgroups.c: New file.
46396 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46399 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46400 (internal_getgrouplist): Adjust to name change.
46401 Update use_initgroups_entry if this is not the first call.
46402 * nss/databases.def: Add initgroups entry.
46404 * nss/makedb.c (compute_tables): Check result of multiple hash table
46405 sizes to minimize maximum chain length.
46407 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46409 * Versions.def: Add entry for libnss_db.
46410 * shlib-versions: Likewise.
46411 * nss/Makefile: Add rules to build libnss_db.
46412 * nss/Versions: Add libnss_db information. Organize libnss_files
46414 * nss/db-Makefile: Add gshadow support. Change rules for the new
46415 makedb progra. Some minor improvements to generate smaller files.
46416 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46418 * nss/makedb.c: ...here.
46419 Improve database format to be smaller and require less memory at
46421 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46423 * nss/nss_db/db-netgrp.c: Likewise.
46424 * nss/nss_db/db-open.c: Likewise.
46425 * nss/nss_files/flies-XXX.x: Adjust comments.
46426 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46427 * nss/nss_files/files-grp.c: Likewise.
46428 * nss/nss_files/files-hosts.c: Likewise.
46429 * nss/nss_files/files-network.c: Likewise.
46430 * nss/nss_files/files-proto.c: Likewise.
46431 * nss/nss_files/files-pwd.c: Likewise.
46432 * nss/nss_files/files-rpc.c: Likewise.
46433 * nss/nss_files/files-service.c: Likewise.
46434 * nss/nss_files/files-sgrp.c: Likewise.
46435 * nss/nss_files/files-spwd.c: Likewise.
46436 * nss/nss_db/db-alias.c: Removed.
46437 * nss/nss_db/dummy-db.h: Removed.
46439 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46441 * nss/makedb.c: Rewritten to not use database library.
46442 * nss/Makefile: Update to build new makedb program.
46444 2011-06-14 Andreas Jaeger <aj@suse.de>
46446 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46447 memset declaration.
46449 2011-06-10 Andreas Schwab <schwab@redhat.com>
46451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46454 2011-06-10 Roland McGrath <roland@hack.frob.com>
46456 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46457 * elf/Makefile ($(objpfx)ld.so): Likewise.
46459 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46460 Don't list ld.so twice in dependencies.
46462 * posix/bug-regex31.c: Include <stdlib.h>.
46464 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46466 * nis/nss_compat/compat-spwd.c
46467 (getspent_next_nss_netgr): Remove unused variable.
46468 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46470 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46471 nonmembers" output to use the right array.
46473 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46475 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46477 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46478 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46479 * catgets/gencat.c (read_input_file): Likewise.
46480 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46482 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46483 variable definition inside #if's controlling its use.
46485 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46487 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46489 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46491 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46494 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46496 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46497 * configure: Regenerated.
46499 * Makerules: Revert last change.
46500 * elf/Makefile: Likewise.
46502 2011-06-09 Roland McGrath <roland@hack.frob.com>
46504 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46505 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46506 (reloc-link): Likewise.
46508 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46510 * elf/Makefile: Add rules to build pldd.
46511 * elf/pldd.c: New file.
46512 * elf/pldd-xx.c: New file.
46514 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46516 * version.h: Update for 2.15 development version.
46518 2011-06-07 David S. Miller <davem@davemloft.net>
46520 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46522 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46523 elf_machine_lazy_rel): Likewise.
46524 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46525 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46526 elf_machine_lazy_rel): Likewise.
46527 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46528 dl_hwcap via passed in argument.
46529 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46532 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46534 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46536 2011-06-06 Roland McGrath <roland@hack.frob.com>
46539 * manual/fdl-1.1.texi: New file, verbatim from:
46540 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46541 * manual/lgpl-2.1.texi: New file, verbatim from:
46542 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46543 * manual/Makefile (licenses): New variable, list those new file names.
46545 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46547 * manual/fdl.texi: File removed.
46548 * manual/lesser.texi: File removed.
46549 * manual/libc.texinfo (Copying, Documentation License):
46550 Use new @include file names, put @appendix directive before @include.
46552 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46555 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46556 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46557 (mq_open): Add __NTH.
46559 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46562 Assume Intel Core i3/i5/i7 processor if AVX is available.
46564 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46569 2011-05-31 Andreas Schwab <schwab@redhat.com>
46571 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46572 memory. Use alloca_account. Fix memory leak when retrying.
46574 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46576 * version.h (RELEASE): Bump for 2.14 release.
46577 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46579 * config.make.in (RANLIB): Remove entry.
46581 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46583 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46584 (libc.pot): Work around missing support for .ksh extension in xgettext.
46587 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46588 if both request failed.
46589 (send_dg): In case of server errors clear resplen or *resplen2.
46592 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46593 when there are multiple maps.
46594 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46595 (_dl_fini): Remove test here.
46597 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46599 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46602 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46603 bit from old_res_options.
46604 (gaih_inet): Likewise.
46607 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46610 * resolv/res_init.c (res_setoptions): Make the code more compact.
46613 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46617 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46619 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46622 * malloc/malloc.h: Declare malloc hook variables as volatile.
46624 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46628 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46629 raise in the comment.
46630 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46631 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46632 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46634 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46637 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46638 grow the buffers more if it already has to be sufficient.
46639 (build_wcs_upper_buffer): Likewise.
46640 * posix/regexec.c (check_matching): Likewise.
46641 (clean_state_log_if_needed): Likewise.
46642 (extend_buffers): Don't enlarge buffers beyond size of the input
46644 Patches mostly by Emil Wojak <emil@wojak.eu>.
46645 * posix/bug-regex32.c: New file.
46646 * posix/Makefile (tests): Add bug-regex32.
46648 * locale/findlocale.c (_nl_find_locale): Return right away if
46649 _nl_explode_name failed.
46650 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46652 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46654 * debug/xtrace.sh: Unify messages.
46655 * malloc/memusage.sh: Likewise.
46658 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46659 time symbol from vDSO. Substitute with vsyscall if not available.
46660 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46663 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46664 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46665 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46666 Add sendmmsg and internal_sendmmsg.
46667 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46668 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46669 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46671 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46672 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46673 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46675 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46678 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46679 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46681 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46685 * iconvdata/Makefile (tests): Add bug-iconv9.
46686 * iconvdata/bug-iconv9.c: New file.
46688 2011-05-27 Andreas Schwab <schwab@redhat.com>
46691 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46693 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46696 (struct user_regs_struct): Change intcs field back to cs.
46698 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46700 * po/ja.po: Update from translation team.
46702 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46705 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46706 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46708 2011-05-20 Andreas Schwab <schwab@redhat.com>
46710 * stdlib/longlong.h: Update from GCC.
46712 2011-05-23 Andreas Schwab <schwab@redhat.com>
46714 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46716 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46717 Add parameter name.
46718 (__sysconf): Pass it down.
46720 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46723 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46725 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46726 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46727 add in in __libc_use_alloca calls. Adjust callers.
46728 (glob): Use malloc in some situations.
46730 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46731 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46734 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46736 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46737 and CLOCK_BOOTTIME_ALARM.
46740 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46743 * string/_strerror.c (__strerror_r): Print negative errors as signed
46747 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46748 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46749 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46751 * configure.in: Fix typo in redirection and correct removal of test
46752 files in two cases.
46755 * locale/setlocale.c (new_composite_name): Fix test to check for
46756 identical name of all categories.
46759 * libio/filedoalloc.c (local_isatty): New function.
46760 (_IO_file_doallocate): Use local_isatty.
46761 * stdio-common/perror.c (perror): In case a new stream is used
46762 forward the stream error.
46763 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46766 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46771 * include/alloca.h (extend_alloca_account): Define.
46774 * posix/regex.h: Fix comments with documentation of user-accessible
46775 fields after compilation and describe correct free'ing of pattern
46776 after re_compile_pattern.
46777 Patch by Reuben Thomas <rrt@sc3d.org>.
46779 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46781 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46782 and -mno-altivec to prevent the compiler from using Altivec and/or
46783 VSX instructions when the corresponding registers are not available.
46785 2011-05-19 Andreas Schwab <schwab@redhat.com>
46787 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46789 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46791 * libio/freopen.c (freopen): Use __dup2, not dup2.
46792 * libio/freopen64.c (freopen64): Likewise.
46794 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46797 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46798 * math/Makefile (tests): Add test-powl.
46799 (CFLAGS-test-powl.c): Define.
46800 * math/test-powl.c: New file.
46802 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46804 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46806 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46809 * iconvdata/gb18030.c: Update to GB18020-2005.
46811 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46813 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46814 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46815 Patch by Aharon Robbins <arnold@skeeve.com>.
46818 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46822 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46823 through underflows.
46826 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46827 point to strings before performing equality test for error_one_per_line
46831 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46834 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46835 (struct user_fpregs_struct): Avoid __uint*_t types.
46838 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46839 symbol info. Use it instead of calling _dl_addr locally.
46840 (lock_and_info): New function.
46841 (tr_freehook): Call lock_and_info and pass symbol info as additional
46842 parameter to tr_where.
46843 (tr_mallochook): Likewise.
46844 (tr_reallochook): Likewise.
46845 (tr_memalignhook): Likewise.
46847 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46848 used and couldn't be at all thread-safe.
46850 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46852 * libio/freopen.c (freopen): Don't close old file descriptor
46853 before the new one is opened. Instead dup the new file descriptor
46854 to the old one after the new stream is created.
46855 * libio/freopen64.c (freopen64): Likewise.
46856 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46857 * libio/fileops.c (_IO_new_file_close_it): Handle new
46858 _IO_FLAGS2_NOCLOSE flag.
46859 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46860 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46861 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46862 _IO_FLAGS2_NOCLOSE flag.
46863 * include/unistd.h: Add hidden_proto for dup3.
46864 Define __have_dup3.
46865 * io/dup3.c: Define hidden symbol.
46866 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46869 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46870 when an incomplete long option is used.
46871 * posix/tst-getopt_long1.c: New file.
46872 * posix/Makefile (tests): Add tst-getopt_long1.
46875 * scripts/config.guess: Update from autoconf-2.68.
46876 * scripts/config.sub: Likewise.
46879 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46881 (has_cpuclock): ...this. New function.
46882 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46883 macro here based on has_cpuclock code.
46886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46887 First byte (not low byte) is now always NUL.
46888 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46890 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46891 Use non-cancelable interfaces.
46894 * locale/iso-639.def: Add entry for Sorani.
46897 * include/stdlib.h: Move include protection to the right place.
46898 Define abort_msg_s. Declare __abort_msg with it.
46899 * stdlib/abort.c (__abort_msg): Adjust type.
46900 * assert/assert.c (__assert_fail_base): New function. Majority
46901 of code from __assert_fail. Allocate memory for __abort_msg with
46903 (__assert_fail): Now call __assert_fail_base.
46904 * assert/assert-perr.c: Remove bulk of implementation. Use
46905 __assert_fail_base.
46906 * include/assert.hL Declare __assert_fail_base.
46907 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46909 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46911 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46915 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46916 until all modules are registered in the DTV.
46917 * elf/Makefile: Add rules to build and run tst-tls19.
46918 * elf/tst-tls19.c: New file.
46919 * elf/tst-tls19mod1.c: New file.
46920 * elf/tst-tls19mod2.c: New file.
46921 * elf/tst-tls19mod3.c: New file.
46922 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46925 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46929 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46930 two-byte sequence errors.
46931 * iconvdata/Makefile (tests): Add bug-iconv8.
46932 * iconvdata/bug-iconv8.c: New file.
46935 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46938 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46941 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46942 (dummy_getcfa): New function.
46943 (init): Get _Unwind_GetCFA address, use dummy if not found.
46944 (backtrace_helper): In recursion check, also check whether CFA changes.
46945 (__backtrace): Completely initialize arg.
46947 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46948 storing incomplete byte sequence in state object. Avoid testing for
46949 guaranteed too small input if we know there is enough data available.
46951 2011-05-11 Andreas Schwab <schwab@redhat.com>
46953 * Makeconfig (+link-pie): Indent.
46954 * Rules (binaries-pie): Define if $(have-fpie) and
46956 (binaries-shared): Also filter out $(binaries-pie).
46957 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46958 * nscd/Makefile (others-pie): Add nscd.
46959 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46960 ($(objpfx)nscd): Remove command override.
46961 * login/Makefile (others-pie): Add pt_chown.
46962 ($(objpfx)pt_chown): Remove command override.
46963 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46964 remove command overrides.
46966 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46968 * libio/tst_putwc.c: Fix error messages.
46971 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46972 currently writing and seek to current position when not.
46973 * libio/Makefile (tests): Add bug-fclose1.
46974 * libio/bug-fclose1.c: New file.
46976 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46979 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46980 don't set DF_1_NODELETE here.
46981 (do_lookup_x): When entering new entry test for copy relocation
46982 and if necessary set DF_1_NODELETE flag.
46983 * elf/tst-unique4.cc: New file.
46984 * elf/tst-unique4.h: New file.
46985 * elf/tst-unique4lib.cc: New file.
46986 * elf/Makefile: Add rules to build and run tst-unique4.
46987 Patch by Piotr Bury <pbury@goahead.com>.
46989 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46992 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46995 * misc/mntent_r.c (addmntent): Flush the stream after the output
46998 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46999 (is_trusted_path_normalize): Skip initial colon. Append slash
47000 to empty buffer. Duplicate is_trusted_path code but allow
47001 constructed patch to be prefix.
47002 (is_dst): Allow $ORIGIN followed by /.
47003 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47004 Correct testing of result of is_trusted_path_normalize
47005 (decompose_rpath): Fix warning.
47007 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47010 * grp/initgroups.c (internal_getgrouplist): When we found the service
47011 list through the initgroups entry in nsswitch.conf do not always
47012 continue on a successful lookup. Don't always use the
47013 __nss_group_database value if it is set.
47014 * nss/nsswitch.conf (initgroups): Change action for successful db
47015 lookup to continue for compatibility.
47017 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47020 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47022 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47024 * iconvdata/tst-tables.sh: Likewise.
47025 * iconvdata/cp770.c: New file.
47026 * iconvdata/cp771.c: New file.
47027 * iconvdata/cp772.c: New file.
47028 * iconvdata/cp773.c: New file.
47029 * iconvdata/cp774.c: New file.
47030 * iconvdata/testdata/CP770: New file.
47031 * iconvdata/testdata/CP770..UTF8: New file.
47032 * iconvdata/testdata/CP771: New file.
47033 * iconvdata/testdata/CP771..UTF8: New file.
47034 * iconvdata/testdata/CP772: New file.
47035 * iconvdata/testdata/CP772..UTF8: New file.
47036 * iconvdata/testdata/CP773: New file.
47037 * iconvdata/testdata/CP773..UTF8: New file.
47038 * iconvdata/testdata/CP774: New file.
47039 * iconvdata/testdata/CP774..UTF8: New file.
47041 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47043 * iconvdata/gen-8bit-gap.sh: Likewise.
47044 * iconvdata/gen-8bit.sh: Likewise.
47046 * locale/iso-639.def: Add ary entry.
47049 * locale/C-translit.h.in: Add U20A1 transliteration.
47052 * locale/iso-639.def: Add wae entry.
47053 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47056 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47060 * locale/C-translit.h.in: Add entry for U20B9.
47061 Patch by pravin.d.s@gmail.com.
47063 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47066 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47067 ENAMETOOLONG use generic getcwd.
47068 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47069 in rtld. Use *stat64.
47070 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47071 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47072 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47073 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47074 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47075 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47076 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47077 __fstatat64 macros.
47078 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47079 * dirent/rewinddir.c: Add libc_hidden_def.
47080 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47081 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47083 * include/dirent.h (__alloc_dir): Add flags parameter.
47084 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47085 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47087 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47088 from fdopendir if O_CLOEXEC is already set.
47090 2011-03-15 Alan Modra <amodra@gmail.com>
47092 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47093 l_tls_firstbyte_offset non-zero. Save padding offset in
47094 l_tls_firstbyte_offset for later use.
47095 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47096 freeing static tls block.
47098 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47100 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47101 where #ifdef was intended. The intent is to prevent ARG_MAX from
47102 being defined by the kernel headers.
47104 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47107 * resolv/resolv.h: Define RES_NOTLDQUERY.
47108 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47109 no-tld-query and set RES_NOTLDQUERY.
47110 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47111 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47112 modern BIND to search name as TLD unless forbidden.
47114 2011-05-07 Petr Baudis <pasky@suse.cz>
47115 Ulrich Drepper <drepper@gmail.com>
47118 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47119 (is_trusted_path): ...to here.
47120 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47121 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47122 using is_trusted_path_normalize() in setuid scripts.
47124 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47126 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47127 __BEGIN/__END_DECLS.
47129 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47131 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47132 NSS_STATUS_NOTFOUND if no record was found.
47134 2011-05-05 Andreas Schwab <schwab@redhat.com>
47136 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47137 (headers-not-in-tirpc): Remove rpc/netdb.h
47138 * resolv/netdb.h: Revert last change.
47140 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47142 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47143 circular dependency between libgcc.a and libc.a.
47145 2011-05-05 Andreas Schwab <schwab@redhat.com>
47147 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47148 * nis/Makefile: Don't install rpcsvc/*.
47149 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47150 instead of <rpc/types.h>.
47151 (MAXHOSTNAMELEN): Define.
47153 2011-05-03 Andreas Schwab <schwab@redhat.com>
47155 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47157 2011-04-28 Maciej Babinski <mbabinski@google.com>
47160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47161 gethostbyname4_r when IPv6 results are possible.
47163 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47166 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47167 _PC_PIPE_BUF handling.
47169 2011-04-30 Bruno Haible <bruno@clisp.org>
47172 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47173 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47175 * inet/getnameinfo.c (getnameinfo): Likewise.
47177 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47179 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47180 to groups setting in database lookup.
47181 * nss/nsswitch.conf: Add initgroups entry.
47183 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47186 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47188 Patch by Eric Blake <eblake@redhat.com>.
47190 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47192 * sunrpc/Makefile (need-export-routines): Add svc_run.
47193 (routines): Remove svc_run.
47194 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47195 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47196 * sunrpc/svc_run.c (svc_run): Likewise.
47197 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47199 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47201 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47202 problem in reallocation in last patch.
47204 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47206 * sunrpc/Makefile: Move inclusion of Rules.
47208 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47210 * nss/nss_files/files-initgroups.c: New file.
47211 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47212 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47213 _nss_files_initgroups_dyn.
47215 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47217 * elf/elf.h (R_ARM_IRELATIVE): Define.
47219 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47221 * po/ru.po: Update from translation team.
47223 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47225 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47228 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47231 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47232 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47233 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47234 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47235 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47237 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47239 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47241 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47242 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47243 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47245 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47248 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47250 * stdlib/bug-getcontext.c: New file.
47251 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47253 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47255 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47256 instructions into .machine "z9-109".
47257 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47258 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47260 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47262 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47263 between environment variables and auxiliary vector.
47265 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47267 * Makefile: Add rules to build linkobj/libc.so.
47268 * include/libc-symbols.h: Define libc_hidden_nolink.
47269 * include/rpc/auth.h: Mark functions which are to be hidden.
47270 * include/rpc/auth_des.h: Likewise.
47271 * include/rpc/auth_unix.h: Likewise.
47272 * include/rpc/clnt.h: Likewise.
47273 * include/rpc/des_crypt.h: Likewise.
47274 * include/rpc/key_prot.h: Likewise.
47275 * include/rpc/pmap_clnt.h: Likewise.
47276 * include/rpc/pmap_prot.h: Likewise.
47277 * include/rpc/pmap_rmt.h: Likewise.
47278 * include/rpc/rpc_msg.h: Likewise.
47279 * include/rpc/svc.h: Likewise.
47280 * include/rpc/svc_auth.h: Likewise.
47281 * include/rpc/xdr.h: Likewise.
47282 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47283 * nss/Makefile: Likewise.
47284 * sunrpc/Makefile: Don't install headers. Build library with normal
47285 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47286 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47287 for the compat linking library. Remove use of INTDEF/INTUSE.
47288 * sunrpc/auth_none.c: Likewise.
47289 * sunrpc/auth_unix.c: Likewise.
47290 * sunrpc/authdes_prot.c: Likewise.
47291 * sunrpc/authuxprot.c: Likewise.
47292 * sunrpc/clnt_gen.c: Likewise.
47293 * sunrpc/clnt_perr.c: Likewise.
47294 * sunrpc/clnt_raw.c: Likewise.
47295 * sunrpc/clnt_simp.c: Likewise.
47296 * sunrpc/clnt_tcp.c: Likewise.
47297 * sunrpc/clnt_udp.c: Likewise.
47298 * sunrpc/clnt_unix.c: Likewise.
47299 * sunrpc/des_crypt.c: Likewise.
47300 * sunrpc/des_soft.c: Likewise.
47301 * sunrpc/get_myaddr.c: Likewise.
47302 * sunrpc/key_call.c: Likewise.
47303 * sunrpc/key_prot.c: Likewise.
47304 * sunrpc/netname.c: Likewise.
47305 * sunrpc/pm_getmaps.c: Likewise.
47306 * sunrpc/pm_getport.c: Likewise.
47307 * sunrpc/pmap_clnt.c: Likewise.
47308 * sunrpc/pmap_prot.c: Likewise.
47309 * sunrpc/pmap_prot2.c: Likewise.
47310 * sunrpc/pmap_rmt.c: Likewise.
47311 * sunrpc/publickey.c: Likewise.
47312 * sunrpc/rpc_cmsg.c: Likewise.
47313 * sunrpc/rpc_common.c: Likewise.
47314 * sunrpc/rpc_dtable.c: Likewise.
47315 * sunrpc/rpc_prot.c: Likewise.
47316 * sunrpc/rpc_thread.c: Likewise.
47317 * sunrpc/rtime.c: Likewise.
47318 * sunrpc/svc.c: Likewise.
47319 * sunrpc/svc_auth.c: Likewise.
47320 * sunrpc/svc_authux.c: Likewise.
47321 * sunrpc/svc_raw.c: Likewise.
47322 * sunrpc/svc_run.c: Likewise.
47323 * sunrpc/svc_simple.c: Likewise.
47324 * sunrpc/svc_tcp.c: Likewise.
47325 * sunrpc/svc_udp.c: Likewise.
47326 * sunrpc/svc_unix.c: Likewise.
47327 * sunrpc/svcauth_des.c: Likewise.
47328 * sunrpc/xcrypt.c: Likewise.
47329 * sunrpc/xdr.c: Likewise.
47330 * sunrpc/xdr_array.c: Likewise.
47331 * sunrpc/xdr_float.c: Likewise.
47332 * sunrpc/xdr_intXX_t.c: Likewise.
47333 * sunrpc/xdr_mem.c: Likewise.
47334 * sunrpc/xdr_rec.c: Likewise.
47335 * sunrpc/xdr_ref.c: Likewise.
47336 * sunrpc/xdr_sizeof.c: Likewise.
47337 * sunrpc/xdr_stdio.c: Likewise.
47339 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47342 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47343 * sysdeps/ia64/dl-tls.h: Likewise.
47344 * sysdeps/powerpc/dl-tls.h: Likewise.
47345 * sysdeps/s390/dl-tls.h: Likewise.
47346 * sysdeps/sh/dl-tls.h: Likewise.
47347 * sysdeps/sparc/dl-tls.h: Likewise.
47348 * sysdeps/x86_64/dl-tls.h: Likewise.
47349 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47351 2011-03-14 Andreas Schwab <schwab@redhat.com>
47353 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47354 rpath element also skip the following colon.
47355 (expand_dynamic_string_token): Add is_path parameter and pass
47356 down to DL_DST_REQUIRED and _dl_dst_substitute.
47357 (decompose_rpath): Call expand_dynamic_string_token with
47358 non-zero is_path. Ignore empty rpaths.
47359 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47362 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47367 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47370 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47371 Patch by Filipe David Manana <fdmanana@apache.org>.
47373 2011-04-07 Andreas Schwab <schwab@redhat.com>
47375 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47376 Maintain aligned stack.
47377 (CHECK_RSP): Remove unused macro.
47379 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47381 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47382 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47384 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47386 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47388 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47390 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47393 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47394 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47395 * sysdeps/x86_64/memmove.c: New file.
47396 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47397 (memcpy): Renamed to ...
47398 (__new_memcpy): This.
47399 (memcpy): Provide GLIBC_2_14 memcpy.
47400 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47401 (memcpy): Provide GLIBC_2_2_5 memcpy.
47403 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47406 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47408 2011-03-30 Andreas Schwab <schwab@redhat.com>
47410 * misc/syncfs.c: New file.
47411 * misc/Makefile (routines): Add syncfs.
47412 * posix/unistd.h: Declare syncfs.
47413 * sysdeps/unix/syscalls.list: Add syncfs.
47415 2011-04-01 Andreas Schwab <schwab@redhat.com>
47417 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47419 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47420 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47421 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47422 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47423 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47424 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47425 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47427 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47430 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47431 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47432 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47433 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47435 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47437 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47438 sync_file_range.c with -fexceptions.
47439 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47440 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47441 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47442 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47443 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47444 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47445 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47446 sync_file_range as cancellation point
47447 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47448 now a wrapper around __call_sync_file_range with cancellation handling.
47449 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47450 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47451 function name to __call_sync_file_range.
47452 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47453 Add call_sync_file_range.
47455 2011-04-01 Andreas Schwab <schwab@redhat.com>
47457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47460 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47462 * iconv/iconv.h: Fix typo in comment.
47463 * io/fcntl.h: Likewise.
47464 * libio/stdio.h: Likewise.
47465 * posix/spawn.h: Likewise.
47466 * posix/unistd.h: Likewise.
47467 * stdlib/stdlib.h: Likewise.
47468 * time/time.h: Likewise.
47469 * wcsmbs/wchar.h: Likewise.
47471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47472 open_by_handle): Add.
47473 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47474 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47475 Augment a few comments.
47476 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47478 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47480 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47481 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47484 * io/fcntl.h (AT_EMPTY_PATH): Define.
47486 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47488 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47489 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47490 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47492 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47493 * Versions.def: Add GLIBC_2.14.
47494 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47497 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47499 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47501 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47503 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47506 * string/test-strncmp.c (do_page_test): New function.
47507 (check2): Likewise.
47508 (test_main): Call check2.
47509 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47511 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47514 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47515 Handle cache information in CPU leaf 4.
47516 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47518 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47521 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47522 character representation.
47523 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47525 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47527 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47528 END(__isnan) to END(__isnanf) to match function entry point/label
47529 EALIGN(__isnanf,...).
47531 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47533 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47535 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47538 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47539 copy from the symbol referenced in the relocation to initialize the
47541 Patch by Piotr Bury <pbury@goahead.com>.
47542 * elf/Makefile: Add rules to build and tst-unique3.
47543 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47544 * elf/tst-unique3.cc: New file.
47545 * elf/tst-unique3.h: New file.
47546 * elf/tst-unique3lib.cc: New file.
47547 * elf/tst-unique3lib2.cc: New file.
47549 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47551 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47553 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47554 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47557 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47559 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47560 to-be-loaded object along a path to loader is ld.so.
47562 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47563 Ulrich Drepper <drepper@gmail.com>
47565 * sysdeps/x86_64/memset.S: After aligning destination, code
47566 branches to different locations depending on the value of
47567 misalignment, when multiarch is enabled. Fix this.
47569 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47571 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47572 Set _x86_64_preferred_memory_instruction for AMD processsors.
47573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47574 Set bit_Prefer_SSE_for_memop for AMD processors.
47576 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47578 * libio/fmemopen.c (fmemopen): Optimize a bit.
47580 2011-03-03 Andreas Schwab <schwab@redhat.com>
47582 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47584 2011-03-03 Roland McGrath <roland@redhat.com>
47586 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47588 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47590 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47591 __bzero_ultra1 instead of __memset_ultra1.
47593 2011-02-23 Andreas Schwab <schwab@redhat.com>
47594 Ulrich Drepper <drepper@gmail.com>
47597 * include/link.h (struct link_map): Add l_orig_initfini.
47598 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47599 returning unsuccessfully.
47600 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47601 close of a file loaded at startup, restore the original l_initfini
47603 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47604 list, store the pointer.
47605 * elf/Makefile ($(objpfx)noload-mem): New rule.
47606 (noload-ENV): Define.
47607 (tests): Add $(objpfx)noload-mem.
47608 * elf/noload.c: Include <memcheck.h>.
47609 (main): Call mtrace. Close all opened handles.
47611 2011-02-17 Andreas Schwab <schwab@redhat.com>
47614 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47615 dependencies are missing.
47617 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47619 Fix __if_freereq crash: Unlike the generic version which uses free,
47621 * sysdeps/mach/hurd/ifreq.h: New file.
47623 2011-01-27 Petr Baudis <pasky@suse.cz>
47624 Ulrich Drepper <drepper@gmail.com>
47627 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47628 to extend_alloca().
47629 * stdio-common/bug23.c: New file.
47630 * stdio-common/Makefile (tests): Add bug23.
47632 2010-09-28 Andreas Schwab <schwab@redhat.com>
47633 Ulrich Drepper <drepper@gmail.com>
47636 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47637 before performing relro protection. At old place add assertion
47638 to make sure nothing changed.
47640 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47641 Glauber de Oliveira Costa <glommer@gmail.com>
47643 * elf/elf.h: Add new ARM TLS relocs.
47645 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47648 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47650 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47652 * sysdeps/wordsize-64/tst-writev.c: New file.
47654 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47656 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47657 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47658 insns in _dl_start to prevent a TOC reference before relocs are
47661 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47664 * Makeconfig: Remove RANLIB definition.
47665 * Makerules: Don't use RANLIB.
47666 * aclocal.m4: Remove ranlib test.
47667 * configure.in: No need to check for ranlib.
47668 * elf/rtld-Rules: Don't use RANLIB.
47670 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47672 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47674 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47675 inclusion protection macro.
47677 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47678 SIGRTMIN and SIGRTMAX and print information in that case only when
47679 SIGRTMIN is defined.
47681 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47683 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47684 arginfo fn returning -1.
47686 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47687 and thousands string is zero terminated.
47689 2011-02-03 Andreas Schwab <schwab@redhat.com>
47691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47692 sysdeps/unix/sysv/linux/bits/socket.h.
47694 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47696 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47697 (__CPU_COUNT): Remove old macros.
47698 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47699 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47700 (__CPU_ALLOC, __CPU_FREE): Add macros.
47701 (__sched_cpualloc, __sched_cpufree): Add declarations.
47703 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47705 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47706 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47707 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47708 (readdhstai): Return value of addhstaiX call.
47709 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47710 (addgrbyX): Return value returned by cache_addgr.
47711 (readdgrbyname): Return value returned by addgrbyX.
47712 (readdgrbygid): Likewise.
47713 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47714 (addpwbyX): Return value returned by cache_addpw.
47715 (readdpwbyname): Return value returned by addhstbyX.
47716 (readdpwbyuid): Likewise.
47717 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47718 (addservbyX): Return value returned by cache_addserv.
47719 (readdservbyname): Return value returned by addservbyX:
47720 (readdservbyport): Likewise.
47721 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47722 (addhstbyX): Return value returned by cache_addhst.
47723 (readdhstbyname): Return value returned by addhstbyX.
47724 (readdhstbyaddr): Likewise.
47725 (readdhstbynamev6): Likewise.
47726 (readdhstbyaddrv6): Likewise.
47727 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47728 (readdinitgroups): Return value returned by addinitgroupsX.
47729 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47730 (prune_cache): Keep track of timeout value of re-added entries.
47731 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47732 * nscd/nscd.h: Adjust prototypes of readd* functions.
47734 2011-02-04 Roland McGrath <roland@redhat.com>
47736 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47737 (nis_stats): Likewise.
47738 * nis/nis_modify.c (nis_modify): Likewise.
47739 * nis/nis_remove.c (nis_remove): Likewise.
47740 * nis/nis_add.c (nis_add): Likewise.
47742 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47744 * posix/fnmatch_loop.c: Add some consts.
47746 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47748 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47751 * config.make.in (config-cflags-novzeroupper): Define.
47752 * configure.in: Substitute libc_cv_cc_novzeroupper.
47753 * elf/Makefile (AVX-CFLAGS): Define.
47754 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47755 (CFLAGS-tst-auditmod4a.c): Likewise.
47756 (CFLAGS-tst-auditmod4b.c): Likewise.
47757 (CFLAGS-tst-auditmod6b.c): Likewise.
47758 (CFLAGS-tst-auditmod6c.c): Likewise.
47759 (CFLAGS-tst-auditmod7b.c): Likewise.
47760 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47762 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47764 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47765 function to the callback.
47766 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47768 2011-02-02 Andreas Schwab <schwab@redhat.com>
47770 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47773 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47776 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47778 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47780 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47783 * elf/Makefile: Add rules to build and run new test.
47784 * elf/tst-initorder.c: New file.
47785 * elf/tst-initorder.exp: New file.
47786 * elf/tst-initordera1.c: New file.
47787 * elf/tst-initordera2.c: New file.
47788 * elf/tst-initordera3.c: New file.
47789 * elf/tst-initordera4.c: New file.
47790 * elf/tst-initorderb1.c: New file.
47791 * elf/tst-initorderb2.c: New file.
47792 * elf/tst-order-a1.c: New file.
47793 * elf/tst-order-a2.c: New file.
47794 * elf/tst-order-a3.c: New file.
47795 * elf/tst-order-a4.c: New file.
47796 * elf/tst-order-b1.c: New file.
47797 * elf/tst-order-b2.c: New file.
47798 * elf/tst-order-main.c: New file.
47799 New test case by George Gensure <werkt0@gmail.com>.
47801 2010-10-01 Andreas Schwab <schwab@redhat.com>
47803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47804 decoding ACE if AI_CANONIDN.
47806 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47808 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47810 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47812 * version.h (RELEASE): Bump for 2.13 release.
47813 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47815 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47817 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47819 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47820 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47821 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47822 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47823 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47824 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47826 * posix/getconf.c: Update copyright year.
47827 * catgets/gencat.c: Likewise.
47828 * csu/version.c: Likewise.
47829 * debug/catchsegv.sh: Likewise.
47830 * debug/xtrace.sh: Likewise.
47831 * elf/ldconfig.c: Likewise.
47832 * elf/ldd.bash.in: Likewise.
47833 * elf/sprof.c (print_version): Likewise.
47834 * iconv/iconv_prog.c: Likewise.
47835 * iconv/iconvconfig.c: Likewise.
47836 * locale/programs/locale.c: Likewise.
47837 * locale/programs/localedef.c: Likewise.
47838 * malloc/memusage.sh: Likewise.
47839 * malloc/mtrace.pl: Likewise.
47840 * nscd/nscd.c (print_version): Likewise.
47841 * nss/getent.c: Likewise.
47843 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47844 PF_CAIF, and PF_ALG.
47845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47847 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47849 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47850 (modules-names): Use them.
47851 (ifunc-test-modules, ifunc-pie-tests): Define.
47852 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47853 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47854 (test-extras): Likewise.
47855 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47856 $(compile-command.c).
47857 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47858 (all-built-dso): Define.
47859 (check-textrel.out, check-execstack.out): Depend on it.
47861 * configure.in: Don't override --enable-multi-arch.
47863 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47866 * nscd/hstcache.c (tryagain): Define.
47867 (cache_addhst): Return tryagain not notfound for temporary errors.
47868 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47871 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47874 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47875 to make the syscall.
47876 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47879 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47880 and fall back to matching as normal character if the string ends before
47881 the matching ']' is found. This is what POSIX requires.
47882 * posix/testfnm.c: Adjust test result.
47883 * posix/globtest.sh: Adjust test result. Add new test.
47884 * posix/tst-fnmatch.input: Likewise.
47885 * posix/tst-fnmatch2.c: Add new test.
47887 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47889 * elf/Makefile (check-execstack): Revert last change. Depend on
47891 (check-execstack.h): New target.
47892 (generated): Add check-execstack.h.
47893 * elf/check-execstack.c: Include "check-execstack.h".
47894 (main): Revert last change.
47895 (handle_file): Return zero if GNU_STACK is absent and
47896 DEFAULT_STACK_PERMS doesn't include PF_X.
47898 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47900 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47901 in child fails because the descriptor is already closed.
47902 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47903 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47904 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47907 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47911 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47912 temporary buffer used to handle multi lookups locally.
47913 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47915 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47917 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47920 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47922 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47923 alignment for SSE2.
47925 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47928 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47929 characters. When rounding increased number of integer digits recompute
47931 * stdio-common/tst-grouping.c: New file.
47932 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47934 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47936 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47937 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47939 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47941 * bits/select.h: Likewise.
47943 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47945 * po/ja.po: Update from translation team.
47947 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47950 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47951 implementation just like for lxstat, fxstatat, et al.
47953 2010-12-27 Jim Meyering <meyering@redhat.com>
47956 * posix/regexec.c (build_trtable): Return failure indication upon
47957 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47959 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47962 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47963 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47964 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47965 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47968 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47971 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47972 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47974 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47976 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47977 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47978 script has SORT_BY_INIT_PRIORITY.
47979 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47980 NO_CTORS_DTORS_SECTIONS is defined.
47981 * elf/soinit.c: Likewise.
47982 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47983 NO_CTORS_DTORS_SECTIONS is defined.
47984 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47985 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47986 * sysdeps/sh/init-first.c: Likewise.
47987 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47989 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47991 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47992 always use the slow path.
47994 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47996 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47997 similar rule which adds the sysdep directories to the header search in
47998 order to pick up the correct platform stackinfo.h.
47999 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48000 perform test if it is, otherwise return successfully without testing.
48001 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48002 DEFAULT_STACK_PERMS define in stackinfo.h.
48003 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48004 defined in stackinfo.h.
48005 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48006 DEFAULT_STACK_PERMS defined in stackinfo.h.
48007 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48008 * sysdeps/ia64/stackinfo.h: Likewise.
48009 * sysdeps/s390/stackinfo.h: Likewise.
48010 * sysdeps/sh/stackinfo.h: Likewise.
48011 * sysdeps/sparc/stackinfo.h: Likewise.
48012 * sysdeps/x86_64/stackinfo.h: Likewise.
48013 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48014 PF_X for powerpc64. Retain PF_X for powerpc32.
48016 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48018 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48020 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48021 GETDENTS_64BIT_ALIGNED.
48023 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48025 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48027 2010-12-10 Andreas Schwab <schwab@redhat.com>
48029 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48032 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48033 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48035 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48036 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48038 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48041 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48044 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48046 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48048 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48050 * po/it.po: Update from translation team.
48052 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48054 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48057 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48059 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48061 2010-11-24 Andreas Schwab <schwab@redhat.com>
48063 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48065 (gaih_getanswer_slice): Likewise.
48067 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48071 2010-05-31 Petr Baudis <pasky@suse.cz>
48074 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48075 silently even in the chroot mode.
48077 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48079 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48080 last patch a bit. Pretty printing
48082 2010-05-31 Petr Baudis <pasky@suse.cz>
48085 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48086 initialization of skip_initgroups_dyn.
48088 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48090 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48091 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48093 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48095 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48097 2010-11-11 Andreas Schwab <schwab@redhat.com>
48099 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48100 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48101 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48102 ($(objpfx)tst-fnmatch-mem): New rule.
48103 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48104 * posix/tst-fnmatch.c (main): Call mtrace.
48106 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48109 Support Intel processor model 6 and model 0x2c.
48111 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48113 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48116 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48119 * string/test-strncasecmp.c (check_result): New function.
48120 (do_one_test): Use it.
48121 (check1): New function.
48122 (test_main): Use it.
48123 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48124 Support strcasecmp and strncasecmp.
48126 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48129 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48130 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48132 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48134 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48138 * sysdeps/x86_64/multiarch/bzero.S: New file.
48139 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48140 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48141 * sysdeps/x86_64/multiarch/memset.S: New file.
48142 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48144 Set bit_Prefer_SSE_for_memop for Intel processors.
48145 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48147 (index_Prefer_SSE_for_memop): Define.
48148 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48150 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48152 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48153 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48155 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48158 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48159 (__x86_64_raw_data_cache_size_half): Likewise.
48160 (__x86_64_raw_shared_cache_size): Likewise.
48161 (__x86_64_raw_shared_cache_size_half): Likewise.
48163 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48164 (__x86_64_raw_data_cache_size_half): Likewise.
48165 (__x86_64_raw_shared_cache_size): Likewise.
48166 (__x86_64_raw_shared_cache_size_half): Likewise.
48167 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48168 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48169 and __x86_64_raw_shared_cache_size_half. Round
48170 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48171 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48172 to multiple of 256 bytes.
48174 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48177 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48178 of inacessible symlinks. Verify result of symlink before returning it.
48179 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48180 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48182 2010-10-28 Erich Ritz <erichritz@gmail.com>
48184 * math/math.h (isinf): Fix typo in comment.
48186 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48188 * po/da.po: Update from translation team.
48190 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48192 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48193 is added to the list.
48195 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48196 Ulrich Drepper <drepper@gmail.com>
48198 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48199 the global list here. Move code to...
48200 (_dl_add_to_namespace_list): ...here. New function.
48201 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48202 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48203 * elf/dl-load.c (lose): Don't remove the element from the list.
48204 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48205 (_dl_map_object): Likewise.
48207 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48210 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48211 into all bytes of SSE register.
48212 Patch by Richard Li <richardpku@gmail.com>.
48214 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48217 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48220 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48222 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48223 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48224 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48225 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48230 2010-10-22 Andreas Schwab <schwab@redhat.com>
48232 * include/dlfcn.h (__RTLD_SECURE): Define.
48233 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48234 mode & __RTLD_SECURE instead.
48235 (open_path): Rename preloaded parameter to secure.
48236 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48237 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48238 * elf/dl-deps.c (openaux): Likewise.
48239 * elf/rtld.c (struct map_args): Remove is_preloaded.
48240 (map_doit): Don't use it.
48241 (dl_main): Likewise.
48242 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48243 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48245 2010-09-09 Andreas Schwab <schwab@redhat.com>
48247 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48248 (sysd-rules-targets): Remove duplicates.
48249 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48250 rtld-%.$o dependency.
48252 2010-10-18 Andreas Schwab <schwab@redhat.com>
48254 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48255 _dl_map_object do it.
48257 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48259 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48260 fast fma builtins, define the macros in the C99 standard.
48261 (FP_FAST_FMAF): Likewise.
48262 (FP_FAST_FMAL): Likewise.
48263 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48265 * bits/mathdef.h: Update copyright year.
48266 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48268 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48270 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48271 builtins, define the macros in the C99 standard.
48272 (FP_FAST_FMAF): Likewise.
48273 (FP_FAST_FMAL): Likewise.
48274 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48276 (FP_FAST_FMAF): Likewise.
48278 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48281 * math/libm-test.inc (fma_test): Some new testcases.
48282 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48283 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48284 y and infinite z. Do multiplication by C already in long double.
48285 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48287 y and infinite z. Do bitwise or of inexact bit into u.d.
48288 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48289 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48290 * sysdeps/i386/fpu/s_fma.S: Removed.
48291 * sysdeps/i386/fpu/s_fmal.S: Removed.
48293 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48296 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48297 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48298 computation is not scheduled after fetestexcept. Fix value
48299 of minimum denormal long double.
48301 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48304 * math/libm-test.inc (fma_test): Add some more tests.
48305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48308 2010-10-15 Andreas Schwab <schwab@redhat.com>
48310 * scripts/data/localplt-s390-linux-gnu.data: New file.
48311 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48313 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48316 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48317 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48319 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48321 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48323 if one of x and y is very large and the other is subnormal.
48324 * sysdeps/s390/fpu/s_fmaf.c: New file.
48325 * sysdeps/s390/fpu/s_fma.c: New file.
48326 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48327 * sysdeps/powerpc/fpu/s_fma.S: New file.
48328 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48329 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48330 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48332 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48335 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48337 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48338 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48339 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48340 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48341 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48342 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48343 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48345 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48348 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48349 * posix/bug-regex31.input: Add test case.
48351 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48353 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48354 * posix/bug-regex31.input: New file.
48357 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48358 (parse_sub_exp): Fix last change, use postorder.
48360 * posix/bug-regex31.c: New file.
48361 * posix/Makefile: Add rules to build and run bug-regex31.
48363 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48366 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48369 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48370 to have entries in sys_siglist.
48373 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48376 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48379 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48380 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48381 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48382 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48383 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48384 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48385 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48386 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48387 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48388 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48389 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48390 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48391 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48392 * math/ftestexcept.c (fetestexcept): Likewise.
48393 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48394 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48395 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48396 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48397 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48398 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48399 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48401 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48404 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48407 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48409 * string/bug-strstr1.c: New file.
48410 * string/Makefile: Add rules to build and run bug-strstr1.
48412 2010-10-05 Eric Blake <eblake@redhat.com>
48415 * string/str-two-way.h (two_way_long_needle): Always clear memory
48416 when skipping input due to the shift table.
48418 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48421 * malloc/mcheck.c: Handle large requests.
48424 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48425 for strncmp and strncasecmp.
48426 * string/stratcliff.c: Add tests for strcmp and strncmp.
48427 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48429 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48431 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48434 2010-09-30 Andreas Jaeger <aj@suse.de>
48436 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48437 (CGROUP_SUPER_MAGIC): Define.
48438 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48439 Handle btrfs and cgroup file systems.
48440 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48443 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48445 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48446 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48448 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48451 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48452 trying to locate the ELF header.
48454 2010-09-27 Andreas Schwab <schwab@redhat.com>
48457 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48458 Mask out sign-bit copies when constructing f_fsid.
48460 2010-09-24 Petr Baudis <pasky@suse.cz>
48462 * debug/stack_chk_fail_local.c: Add missing licence exception.
48463 * debug/warning-nop.c: Likewise.
48465 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48467 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48468 implementing getdents64 using getdents syscall, set d_type if
48469 __ASSUME_GETDENTS32_D_TYPE.
48471 2010-09-16 Andreas Schwab <schwab@redhat.com>
48473 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48474 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48476 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48479 * posix/unistd.h: Undo change of feature selection for ftruncate from
48482 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48484 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48487 2010-09-20 Andreas Schwab <schwab@redhat.com>
48489 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48491 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48493 2010-09-14 Andreas Schwab <schwab@redhat.com>
48495 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48496 variables after CHECK_SP call.
48497 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48499 2010-09-13 Andreas Schwab <schwab@redhat.com>
48500 Ulrich Drepper <drepper@redhat.com>
48502 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48503 re-relocationg ld.so.
48504 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48505 _dl_init_paths call.
48506 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48509 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48511 * resolv/res_init.c (__res_vinit): Count the default server we added.
48513 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48514 Ulrich Drepper <drepper@redhat.com>
48517 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48518 (____longjmp_chk): Use %ebx for saving value across system call.
48521 2010-09-06 Andreas Schwab <schwab@redhat.com>
48523 * manual/Makefile: Don't mix pattern rules with normal rules.
48525 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48527 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48529 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48530 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48531 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48532 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48533 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48536 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48539 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48540 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48542 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48544 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48545 * sysdeps/x86_64/addmul_1.S: Likewise.
48546 * sysdeps/x86_64/lshift.S: Likewise.
48547 * sysdeps/x86_64/mul_1.S: Likewise.
48548 * sysdeps/x86_64/rshift.S: Likewise.
48549 * sysdeps/x86_64/sub_n.S: Likewise.
48550 * sysdeps/x86_64/submul_1.S: Likewise.
48552 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48554 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48555 Define __sched_param instead of SCHED_* and sched_param when
48556 <bits/sched.h> is included with __need_schedparam defined.
48557 * bits/sched.h [__need_schedparam]
48558 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48559 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48560 (__defined_schedparam): Define to 1.
48561 (__sched_param): New structure, identical to sched_param.
48562 (__need_schedparam): Undefine.
48564 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48566 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48567 (epoll_create1): Declare.
48569 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48571 2010-08-31 Andreas Schwab <schwab@redhat.com>
48574 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48575 shifting retval into place.
48577 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48579 * nis/rpcsvc/nis.h: Update copyright notice.
48580 * nis/rpcsvc/nis.x: Likewise.
48581 * nis/rpcsvc/nis_callback.h: Likewise.
48582 * nis/rpcsvc/nis_callback.x: Likewise.
48583 * nis/rpcsvc/nis_object.x: Likewise.
48584 * nis/rpcsvc/nis_tags.h: Likewise.
48585 * nis/rpcsvc/yp.h: Likewise.
48586 * nis/rpcsvc/yp.x: Likewise.
48587 * nis/rpcsvc/ypupd.h: Likewise.
48588 * nis/yp_xdr.c: Likewise.
48589 * nis/ypupdate_xdr.c: Likewise.
48591 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48592 mainly the body of pmap_getport. Add parameters to specify timeouts.
48593 (pmap_getport): Use __libc_rpc_getport.
48594 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48595 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48596 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48598 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48603 2010-08-27 Roland McGrath <roland@redhat.com>
48605 * sysdeps/i386/i686/multiarch/Makefile
48606 (CFLAGS-varshift.c): New variable.
48608 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48610 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48611 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48613 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48615 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48617 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48619 * sysdeps/x86_64/strlen.S: Unroll the loop.
48620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48621 strlen-sse2 strlen-sse2-bsf.
48622 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48623 __strlen_no_bsf if bit_Slow_BSF is set.
48624 (__strlen_sse42): Removed.
48625 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48626 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48628 2010-08-25 Roland McGrath <roland@redhat.com>
48630 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48631 * sysdeps/x86_64/multiarch/varshift.c: New file.
48632 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48633 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48634 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48635 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48637 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48639 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48640 strlen-sse2 strlen-sse2-bsf.
48641 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48642 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48643 (__strlen_sse2): Removed.
48644 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48645 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48647 bit_Slow_BSF for Atom.
48648 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48649 (index_Slow_BSF): Define.
48650 (HAS_SLOW_BSF): Define.
48652 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48655 * resolv/res_init.c (__res_vinit): When no server address at all
48656 is given default to loopback.
48658 2010-08-24 Roland McGrath <roland@redhat.com>
48660 * configure.in: Remove config-name.h generation.
48661 * configure: Regenerated.
48662 * config-name.in: File removed.
48663 * scripts/config-uname.sh: New file.
48664 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48665 ($(objdir)config-name.h): New target.
48667 * sunrpc/rpc_parse.h: Avoid nested comment.
48669 2010-08-24 Richard Henderson <rth@redhat.com>
48670 Ulrich Drepper <drepper@redhat.com>
48671 H.J. Lu <hongjiu.lu@intel.com>
48673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48675 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48676 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48677 _mm_alignr_epi8 with _mm_loadu_si128.
48678 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48679 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48680 (__m128i_shift_right): Removed.
48681 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48682 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48683 * sysdeps/x86_64/multiarch/varshift.h: New file.
48684 * sysdeps/x86_64/multiarch/varshift.S: New file.
48686 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48688 * configure.in: Move assembler checks to before sysdep dir checking.
48690 2010-08-20 Petr Baudis <pasky@suse.cz>
48692 * LICENSES: Sync the sunrpc license.
48694 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48696 * sunrpc/auth_des.c: Update copyright notice once again.
48697 * sunrpc/auth_none.c: Likewise.
48698 * sunrpc/auth_unix.c: Likewise.
48699 * sunrpc/authdes_prot.c: Likewise.
48700 * sunrpc/authuxprot.c: Likewise.
48701 * sunrpc/bindrsvprt.c: Likewise.
48702 * sunrpc/clnt_gen.c: Likewise.
48703 * sunrpc/clnt_perr.c: Likewise.
48704 * sunrpc/clnt_raw.c: Likewise.
48705 * sunrpc/clnt_simp.c: Likewise.
48706 * sunrpc/clnt_tcp.c: Likewise.
48707 * sunrpc/clnt_udp.c: Likewise.
48708 * sunrpc/clnt_unix.c: Likewise.
48709 * sunrpc/des_crypt.c: Likewise.
48710 * sunrpc/des_soft.c: Likewise.
48711 * sunrpc/get_myaddr.c: Likewise.
48712 * sunrpc/getrpcport.c: Likewise.
48713 * sunrpc/key_call.c: Likewise.
48714 * sunrpc/key_prot.c: Likewise.
48715 * sunrpc/openchild.c: Likewise.
48716 * sunrpc/pm_getmaps.c: Likewise.
48717 * sunrpc/pm_getport.c: Likewise.
48718 * sunrpc/pmap_clnt.c: Likewise.
48719 * sunrpc/pmap_prot.c: Likewise.
48720 * sunrpc/pmap_prot2.c: Likewise.
48721 * sunrpc/pmap_rmt.c: Likewise.
48722 * sunrpc/rpc/auth.h: Likewise.
48723 * sunrpc/rpc/auth_unix.h: Likewise.
48724 * sunrpc/rpc/clnt.h: Likewise.
48725 * sunrpc/rpc/des_crypt.h: Likewise.
48726 * sunrpc/rpc/key_prot.h: Likewise.
48727 * sunrpc/rpc/netdb.h: Likewise.
48728 * sunrpc/rpc/pmap_clnt.h: Likewise.
48729 * sunrpc/rpc/pmap_prot.h: Likewise.
48730 * sunrpc/rpc/pmap_rmt.h: Likewise.
48731 * sunrpc/rpc/rpc.h: Likewise.
48732 * sunrpc/rpc/rpc_des.h: Likewise.
48733 * sunrpc/rpc/rpc_msg.h: Likewise.
48734 * sunrpc/rpc/svc.h: Likewise.
48735 * sunrpc/rpc/svc_auth.h: Likewise.
48736 * sunrpc/rpc/types.h: Likewise.
48737 * sunrpc/rpc/xdr.h: Likewise.
48738 * sunrpc/rpc_clntout.c: Likewise.
48739 * sunrpc/rpc_cmsg.c: Likewise.
48740 * sunrpc/rpc_common.c: Likewise.
48741 * sunrpc/rpc_cout.c: Likewise.
48742 * sunrpc/rpc_dtable.c: Likewise.
48743 * sunrpc/rpc_hout.c: Likewise.
48744 * sunrpc/rpc_main.c: Likewise.
48745 * sunrpc/rpc_parse.c: Likewise.
48746 * sunrpc/rpc_parse.h: Likewise.
48747 * sunrpc/rpc_prot.c: Likewise.
48748 * sunrpc/rpc_sample.c: Likewise.
48749 * sunrpc/rpc_scan.c: Likewise.
48750 * sunrpc/rpc_scan.h: Likewise.
48751 * sunrpc/rpc_svcout.c: Likewise.
48752 * sunrpc/rpc_tblout.c: Likewise.
48753 * sunrpc/rpc_util.c: Likewise.
48754 * sunrpc/rpc_util.h: Likewise.
48755 * sunrpc/rpcinfo.c: Likewise.
48756 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48757 * sunrpc/rpcsvc/key_prot.x: Likewise.
48758 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48759 * sunrpc/rpcsvc/mount.x: Likewise.
48760 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48761 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48762 * sunrpc/rpcsvc/rex.x: Likewise.
48763 * sunrpc/rpcsvc/rstat.x: Likewise.
48764 * sunrpc/rpcsvc/rusers.x: Likewise.
48765 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48766 * sunrpc/rpcsvc/spray.x: Likewise.
48767 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48768 * sunrpc/rtime.c: Likewise.
48769 * sunrpc/svc.c: Likewise.
48770 * sunrpc/svc_auth.c: Likewise.
48771 * sunrpc/svc_authux.c: Likewise.
48772 * sunrpc/svc_raw.c: Likewise.
48773 * sunrpc/svc_run.c: Likewise.
48774 * sunrpc/svc_simple.c: Likewise.
48775 * sunrpc/svc_tcp.c: Likewise.
48776 * sunrpc/svc_udp.c: Likewise.
48777 * sunrpc/svc_unix.c: Likewise.
48778 * sunrpc/svcauth_des.c: Likewise.
48779 * sunrpc/xcrypt.c: Likewise.
48780 * sunrpc/xdr.c: Likewise.
48781 * sunrpc/xdr_array.c: Likewise.
48782 * sunrpc/xdr_float.c: Likewise.
48783 * sunrpc/xdr_mem.c: Likewise.
48784 * sunrpc/xdr_rec.c: Likewise.
48785 * sunrpc/xdr_ref.c: Likewise.
48786 * sunrpc/xdr_sizeof.c: Likewise.
48787 * sunrpc/xdr_stdio.c: Likewise.
48789 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48792 2010-08-19 Andreas Schwab <schwab@redhat.com>
48794 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48796 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48798 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48799 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48800 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48801 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48802 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48803 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48804 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48805 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48806 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48807 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48808 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48809 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48810 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48811 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48813 2010-07-26 Anton Blanchard <anton@samba.org>
48815 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48816 * malloc/arena.c (heap_trim): Likewise.
48818 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48820 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48822 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48823 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48825 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48827 * sysdeps/i386/elf/Makefile: New file.
48829 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48831 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48832 from fanotify_init.
48833 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48834 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48836 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48838 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48840 * sysdeps/multiarch/strcmp.S: Likewise.
48842 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48844 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48845 strncase_l-nonascii.
48846 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48847 Add strncase_l-ssse3.
48848 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48849 * sysdeps/x86_64/strcmp.S: Likewise.
48850 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48851 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48852 * sysdeps/x86_64/strncase.S: New file.
48853 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48854 * sysdeps/x86_64/strncase_l.S: New file.
48855 * string/Makefile (strop-tests): Add strncasecmp.
48856 * string/test-strncasecmp.c: New file.
48858 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48861 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48862 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48864 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48866 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48868 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48870 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48871 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48872 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48874 2010-05-01 Alan Modra <amodra@gmail.com>
48876 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48877 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48878 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48879 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48880 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48881 tidying. Don't tail-call __sigjmp_save for static lib.
48882 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48884 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48885 (CALL_MCOUNT): Add eh info, and nop after bl.
48886 (TAIL_CALL_SYSCALL_ERROR): New macro.
48887 (PSEUDO_RET): Use it.
48888 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48889 Correct save location of integer regs and cr.
48890 (_dl_profile_resolve): Correct cr save location. Delete nops
48891 after bl when SHARED. Reduce cfi size a little by better
48892 placement of cfi directives.
48893 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48894 make a stack frame. Instead use parm save area as a temp.
48895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48896 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48898 Don't make a stack frame for parent, use parm save area.
48899 Increase child stack frame to 112 bytes. Don't save unused reg,
48900 and adjust reg usage. Set up cfi on error recovery and
48901 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48903 (__makecontext): Add dummy nop after jump to exit.
48904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48905 Use correct parm save area and cr save, reduce stack frame.
48906 Correct cfi for possible PSEUDO_RET frame setup.
48907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48908 Branch to local label emitted by PSEUDO_RET rather than
48911 2010-08-12 Andreas Schwab <schwab@redhat.com>
48914 * locale/programs/locale.c (print_assignment): New function.
48915 (show_locale_vars): Use it.
48917 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48919 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48921 (struct statfs64): Likewise.
48922 (_STATFS_F_FLAGS): Define.
48923 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48924 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48925 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48926 (ST_VALID): Define locally.
48927 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48928 __statvfs_getflags, use the provided value.
48929 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48930 __ASSUME_STATFS_F_FLAGS.
48932 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48934 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48935 Add sys/fanotify.h.
48936 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48937 fanotify_mask for GLIBC_2.13.
48938 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48939 fanotify_init and fanotify_mark.
48940 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48941 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48943 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48945 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48946 prlimit64 for GLIBC_2.13.
48947 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48949 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48952 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48953 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48954 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48955 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48957 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48960 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48961 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48963 * nss/Makefile: Add rules to build and run tst-nss-test1.
48964 * shlib-versions: Add entry for libnss_test1.
48965 * nss/nss_test1.c: New file.
48966 * nss/tst-nss-test1.c: New file.
48968 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48969 (__nss_configure_lookup): Set appropriate entry in
48970 __nss_configure_lookup to true.
48971 * nss/nsswitch.h: Define enum with indeces of databases in
48972 databases and __nss_database_custom arrays. Declare
48973 __nss_database_custom.
48974 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48975 to avoid using nscd when custom rules are installed.
48976 * nss/getXXbyYY_r.c: Likewise.
48977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48979 * nss/nss_files/files-parse.c: Whitespace fixes.
48981 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48984 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48985 * posix/fnmatch_loop.c: Likewise.
48987 2010-07-17 Andi Kleen <ak@linux.intel.com>
48989 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48990 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48991 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48992 * Versions.def [GLIBC_2.13]: Add.
48994 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48996 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48997 Also fail if tpwd after pwuid call is NULL.
48999 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49001 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49002 when converting to ms.
49004 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49006 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49007 EOPNOTSUPP errors with ENOTTY.
49008 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49009 EOPNOTSUPP errors with ENOTTY.
49011 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49013 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49014 Add strcasecmp_l-ssse3.
49015 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49017 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49018 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49019 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49021 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49023 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49025 * string/Makefile (strop-tests): Add strcasecmp.
49026 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49027 strcasecmp_l-nonascii.
49028 (gen-as-const-headers): Add locale-defines.sym.
49029 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49030 * sysdeps/x86_64/strcasecmp.S: New file.
49031 * sysdeps/x86_64/strcasecmp_l.S: New file.
49032 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49033 * sysdeps/x86_64/locale-defines.sym: New file.
49034 * string/test-strcasecmp.c: New file.
49036 * string/test-strcasestr.c: Test both ends of the range of characters.
49037 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49039 2010-07-29 Roland McGrath <roland@redhat.com>
49042 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49044 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49046 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49049 2010-07-27 Andreas Schwab <schwab@redhat.com>
49051 * manual/memory.texi (Malloc Tunable Parameters): Document
49054 2010-07-26 Roland McGrath <roland@redhat.com>
49057 * configure.in (-fgnu89-inline check): Set and substitute
49058 gnu89_inline, not libc_cv_gnu89_inline.
49059 * configure: Regenerated.
49060 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49062 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49064 * string/test-strnlen.c: New file.
49065 * string/Makefile (strop-tests): Add strnlen.
49066 * string/tester.c (test_strnlen): Add a few more test cases.
49067 * string/tst-strlen.c: Better error reporting.
49069 * sysdeps/x86_64/strnlen.S: New file.
49071 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49073 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49074 lower-latency instructions.
49076 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49078 * string/test-strcasestr.c: New file.
49079 * string/test-strstr.c: New file.
49080 * string/Makefile (strop-tests): Add strstr and strcasestr.
49081 * string/str-two-way.h: Don't undefine MAX.
49082 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49084 2010-07-21 Andreas Schwab <schwab@redhat.com>
49086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49087 strcasestr-nonascii.
49088 (CFLAGS-strcasestr-nonascii.c): Define.
49089 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49090 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49091 Remove unused attribute.
49093 2010-07-20 Roland McGrath <roland@redhat.com>
49095 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49096 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49097 ld.so.cache was broken. With it, there is no way to disable dsocaps
49098 like LD_HWCAP_MASK can disable hwcaps.
49100 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49102 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49104 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49106 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49107 call in strcasestr.
49108 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49109 __strcasestr_sse42_nonascii.
49110 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49111 strcasestr-nonascii.c.
49112 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49114 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49116 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49117 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49118 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49119 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49121 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49123 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49126 2010-07-06 Andreas Schwab <schwab@redhat.com>
49129 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49132 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49134 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49135 _PC_PIPE_BUF using F_GETPIPE_SZ.
49137 2010-07-05 Roland McGrath <roland@redhat.com>
49139 * manual/arith.texi (Rounding Functions): Fix rint description
49140 implicit in round description.
49142 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49144 * elf/Makefile: Fix linking for a few tests to make recent linker
49147 2010-06-30 Andreas Schwab <schwab@redhat.com>
49149 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49150 $(common-objpfx)libc_nonshared.a.
49152 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49154 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49155 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49156 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49157 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49158 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49159 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49160 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49161 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49176 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49177 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49178 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49179 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49180 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49181 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49182 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49183 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49184 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49185 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49186 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49187 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49203 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49205 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49206 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49207 * string/memmove.c (memmove): Renamed to ...
49208 (MEMMOVE): ...this. Default to memmove.
49209 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49210 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49213 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49214 mempcpy-ssse3-back memmove-ssse3-back.
49215 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49216 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49217 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49218 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49219 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49220 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49221 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49222 * sysdeps/x86_64/multiarch/memmove.c: New file.
49223 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49224 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49225 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49226 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49227 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49228 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49230 (index_Fast_Copy_Backward): Define.
49231 (HAS_ARCH_FEATURE): Define.
49232 (HAS_FAST_REP_STRING): Define.
49233 (HAS_FAST_COPY_BACKWARD): Define.
49235 2010-06-21 Andreas Schwab <schwab@redhat.com>
49237 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49238 Restore proper fallback handling.
49240 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49243 * posix/group_member.c (__group_member): Correct checking loop.
49245 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49246 OOM in getpwuid_r correctly. Return error number when the caller
49247 should return, otherwise -1.
49248 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49249 call returning > 0 value.
49250 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49252 2010-06-07 Andreas Schwab <schwab@redhat.com>
49254 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49255 libc_nonshared.a from targets in modules-names.
49257 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49259 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49262 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49264 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49265 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49266 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49267 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49269 2010-06-02 Andreas Schwab <schwab@redhat.com>
49271 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49273 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49275 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49277 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49278 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49279 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49281 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49282 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49284 2010-06-14 Roland McGrath <roland@redhat.com>
49286 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49288 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49290 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49291 __REDIRECT followed by __THROW.
49292 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49293 * posix/getopt.h (getopt): Likewise.
49295 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49297 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49298 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49299 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49301 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49302 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49304 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49306 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49308 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49312 Properly check family and model.
49314 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49316 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49318 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49320 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49322 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49324 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49327 2010-05-19 Andreas Schwab <schwab@redhat.com>
49329 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49332 2010-05-21 Andreas Schwab <schwab@redhat.com>
49334 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49335 and internal_recvmmsg.
49336 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49337 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49338 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49339 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49341 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49342 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49343 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49345 2010-05-20 Andreas Schwab <schwab@redhat.com>
49347 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49349 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49351 POWER7 optimizations.
49352 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49353 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49355 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49357 * version.h: Update for 2.13 development version.
49359 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49361 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49362 exceptions. Return 0.
49364 2010-05-07 Roland McGrath <roland@redhat.com>
49366 * elf/ldconfig.c (main): Add a const.
49368 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49370 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49371 (args_options): Add no-idn option.
49372 (ahosts_keys_int): Add idn_flags to ai_flags.
49373 (parse_option): Handle 'i' option to clear idn_flags.
49375 * malloc/malloc.c (_int_free): Possible race in the most recently
49376 added check. Only act on the data if no current modification
49379 See ChangeLog.17 for earlier changes.