1 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
4 * manual/llio.texi: Add section about open file description locks.
5 * manual/examples/ofdlocks.c: Example of open file description
7 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8 F_OFD_SETLK, and F_OFD_SETLKW.
10 2014-07-23 Allan McRae <allan@archlinux.org>
12 * po/es.po: Update Spanish translation from translation project.
14 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
18 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
21 * sysdeps/arm/dl-machine.h (elf_machine_rela)
22 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
25 2014-07-17 Joseph Myers <joseph@codesourcery.com>
28 * math/fesetenv.c (__fesetenv)
29 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30 * math/feupdateenv.c (__feupdateenv)
31 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
33 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35 (__ASSUME_SOCKETCALL): Do not define.
37 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
38 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39 (__ASSUME_SOCKETCALL): Do not define.
40 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
50 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
51 (__ASSUME_SOCKETCALL): Do not define.
52 (__ASSUME_IPC64): Define unconditionally.
53 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
54 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
55 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
56 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
57 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
58 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
59 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
62 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
63 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
64 (__ASSUME_SOCKETCALL): Do not define.
65 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
66 (__ASSUME_FUTEX_LOCK_PI): Likewise.
67 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
68 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
69 (__ASSUME_REQUEUE_PI): Define unconditionally.
70 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
71 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
72 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
73 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
74 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
75 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
77 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
78 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
79 (__ASSUME_SOCKETCALL): Do not define.
80 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
81 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
82 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
83 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
84 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
85 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
87 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
88 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
89 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
90 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
91 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
92 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
93 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
94 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
95 (__ASSUME_GETCPU_SYSCALL): Likewise.
97 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
98 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
99 cases for individual architectures.
100 * sysdeps/gnu/configure: Regenerated.
101 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
102 LIBC_SLIBDIR_RTLDDIR.
103 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
104 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
105 LIBC_SLIBDIR_RTLDDIR.
106 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
108 LIBC_SLIBDIR_RTLDDIR.
109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
111 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
112 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
114 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
115 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
117 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
118 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
119 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
120 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
122 * sysdeps/aarch64/shlib-versions: Move to ...
123 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
124 * sysdeps/alpha/shlib-versions: Move to ...
125 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
126 * sysdeps/arm/shlib-versions: Move to ...
127 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
128 * sysdeps/hppa/shlib-versions: Move all contents except for
129 libgcc_s entry to ...
130 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
132 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
133 * sysdeps/ia64/shlib-versions: Move to ...
134 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
136 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
137 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
138 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
139 * sysdeps/microblaze/shlib-versions: Move to ...
140 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
141 * sysdeps/mips/shlib-versions: Move to ...
142 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
144 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
145 * sysdeps/tile/shlib-versions: Move to ...
146 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
147 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
149 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
150 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
152 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
154 2014-07-17 Will Newton <will.newton@linaro.org>
156 * sysdeps/arm/bits/atomic.h
157 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
158 (__arch_compare_and_exchange_bool_16_int): Likewise.
159 (__arch_compare_and_exchange_bool_64_int): Likewise.
161 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
164 2014-07-16 Roland McGrath <roland@hack.frob.com>
166 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
167 just Linux configurations. Test empirically that the compiler sets
168 __ARM_EABI__, rather than using the tuple to decide.
169 * sysdeps/arm/preconfigure: Regenerated.
170 * sysdeps/unix/sysv/linux/arm/configure: File removed.
171 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
172 contents appended ...
173 * sysdeps/arm/configure.ac: ... here.
174 * sysdeps/arm/configure: Regenerated.
176 2014-07-15 Roland McGrath <roland@hack.frob.com>
178 * nptl/pthread_kill.c: New file.
179 * nptl/pthread_sigmask.c: New file.
180 * nptl/pthread_sigqueue.c: New file.
182 * sysdeps/nptl/lowlevellock.h: New file.
183 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
184 * sysdeps/nptl/lowlevellock-futex.h: New file.
186 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
187 Remove dead declarations.
189 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
191 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
192 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
194 * sysdeps/x86_64/configure.ac: Likewise.
195 * sysdeps/i386/configure: Regenerated.
196 * sysdeps/x86_64/configure: Likewise.
197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
198 memset-avx2 only if config-cflags-avx2 is yes.
199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
200 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
202 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
203 only if HAVE_AVX2_SUPPORT is defined.
204 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
206 2014-07-14 Alan Modra <amodra@gmail.com>
209 * elf/elf.h (DT_PPC64_NUM): Correct value.
210 * NEWS: Add to fixed bug list.
212 2014-07-13 Jim Meyering <meyering@fb.com>
215 regex: don't deref NULL upon heap allocation failure
216 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
217 failure in one more place.
218 To trigger the segfault, configure grep -with-included-regex,
219 build it, and run these commands:
220 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
222 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
224 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
226 2014-07-11 Richard Henderson <rth@redhat.com>
228 * sysdeps/aarch64/libm-test-ulps: Update.
230 2014-07-10 Florian Weimer <fweimer@redhat.com>
233 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
234 * nptl/allocatestack.c (__nptl_setxid_error): New function.
235 (__nptl_setxid): Initialize error member. Call
237 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
238 * nptl/descr.h (struct xid_command): Add error member.
239 * nptl/tst-setuid3.c: New file.
240 * nptl/Makefile (tests): Add it.
242 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
244 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
246 (__lll_trylock): Use __lll_base_trylock.
247 (__lll_cond_trylock): Likewise.
249 2014-07-10 Roland McGrath <roland@hack.frob.com>
251 * nptl/pthread_create.c (start_thread): Use atomic_or and
252 lll_futex_wake directly rather than lll_robust_dead.
253 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
254 (lll_robust_dead): Macro removed.
255 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
256 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
257 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
258 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
259 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
260 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
261 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
262 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
263 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
264 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
265 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
266 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
267 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
268 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
269 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
271 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
272 Use atomic_compare_and_exchange_val_acq directly rather than
274 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
275 (__lll_robust_trylock, lll_robust_trylock): Removed.
276 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
277 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
278 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
279 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
280 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
281 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
282 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
283 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
284 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
285 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
286 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
287 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
288 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
289 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
291 2014-07-02 Florian Weimer <fweimer@redhat.com>
293 * manual/locale.texi (Locale Names): New section documenting
294 locale name syntax. Adjust menu and node chaining accordingly.
295 (Choosing Locale): Reference Locale Names, Locale Categories.
296 Mention setting LC_ALL=C. Reflect that name syntax is now
298 (Locale Categories): New section title. Reference Locale Names.
299 LC_ALL is an environment variable, but not a category.
300 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
301 description, now in Locale Name. Reference that section. Locale
302 name syntax is now documented.
304 2014-07-02 Florian Weimer <fweimer@redhat.com>
307 * locale/findlocale.c (name_present, valid_locale_name): New
309 (_nl_find_locale): Use the loc_name variable to store name
310 candidates. Call name_present and valid_locale_name to check and
311 validate locale names. Return an error if the locale is invalid.
313 2014-07-02 Florian Weimer <fweimer@redhat.com>
315 * locale/setlocale.c (setlocale): Use strdup for allocating
318 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
321 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
322 [!_LIBC && ENABLE_NLS]: Include gettext.h.
323 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
325 [USE_UNLOCKED_IO]: Include unlocked-io.h.
326 [!_LIBC]: Include code for Windows and Cygwin.
327 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
328 Include prototype for int strerror_r.
329 [!_LIBC] (is_open): New function.
330 (flush_stdout): New function.
331 (print_errno_message): Use it.
333 (error_at_line): Likewise.
334 (error_tail) Add function attribute macros. Use
337 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
339 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
341 * io/ftw.c: Include sys/param.h unconditionally.
343 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
346 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
348 (freecache): New function to free CACHE on exit.
350 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
353 2014-07-09 David S. Miller <davem@davemloft.net>
355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
357 * sysdeps/sparc/nptl/internaltypes.h: Delete.
358 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
359 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
360 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
361 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
362 * sysdeps/sparc/nptl/sem_init.c: Likewise.
363 * sysdeps/sparc/nptl/sem_post.c: Likewise.
364 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
365 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
366 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
367 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
368 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
369 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
371 2014-07-09 Andreas Schwab <schwab@suse.de>
373 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
375 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
378 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
380 2014-07-09 Will Newton <will.newton@linaro.org>
382 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
383 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
384 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
385 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
386 * sysdeps/hppa/start.S (_start): Likewise.
388 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
390 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
392 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
395 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
397 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
398 after checking that it is non-NULL.
400 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
402 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
404 * sysdeps/powerpc/memmove.c: Remove file.
405 * sysdeps/powerpc/powerpc32/power4/memcopy.h
406 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
407 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
408 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
409 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
410 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
411 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
412 string memmove instead of removed powerpc one.
414 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
415 [weak_alias]: Fix compiler warning due trailing data.
416 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
417 [weak_alias]: Likewise.
418 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
419 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
422 (__libc_ifunc_impl_list): Add memmove functions.
424 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
426 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
428 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
430 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
432 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
434 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
436 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
438 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
440 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
442 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
444 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
446 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
448 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
450 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
452 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
454 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
456 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
458 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
461 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
463 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
464 to avoid alignment traps in non-cacheable memory.
465 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
469 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
470 file: multiarch power7 memmove.
471 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
472 multiarch default memmove.
473 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
474 multiarch memove for powerpc32/power4.
476 * string/bcopy.c: Use full path to include memmove.c.
477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
479 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
481 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
484 and memmove implementations.
485 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
486 optimized multiarch memmove for POWER7/powerpc64.
487 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
488 default multiarch memmove for powerpc64.
489 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
490 multiarch for powerpc64.
491 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
492 for POWER7/powerpc64.
493 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
494 memmove for POWER7/powerpc64.
496 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
499 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
500 __ELF_NATIVE_CLASS equal to 64.
502 2014-07-07 Roland McGrath <roland@hack.frob.com>
504 * sysdeps/nptl/lowlevellock.h: File removed.
506 * NEWS: NPTL is no longer an add-on!
507 * nptl/internaltypes.h: Moved ...
508 * sysdeps/nptl/internaltypes.h: ... here.
509 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
510 * sysdeps/nptl/fork.c: Likewise.
511 * sysdeps/nptl/gai_misc.h: Likewise.
512 * sysdeps/nptl/librt-cancellation.c: Likewise.
513 * sysdeps/nptl/jmp-unwind.c: Likewise.
514 * sysdeps/nptl/setxid.h: Likewise.
515 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
516 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
517 * sysdeps/unix/sysv/linux/arm/Implies: New file.
518 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
519 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
520 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
521 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
522 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
523 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
524 * sysdeps/unix/sysv/linux/mips/Implies: New file.
525 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
526 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
527 * sysdeps/unix/sysv/linux/sh/Implies: New file.
528 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
529 * sysdeps/unix/sysv/linux/tile/Implies: New file.
530 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
531 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
532 * nptl/Makeconfig: Moved ...
533 * sysdeps/nptl/Makeconfig: ... here.
534 * nptl/configure: File removed.
535 * nptl/ANNOUNCE: File removed.
536 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
537 * sysdeps/unix/sysv/linux/configure: Regenerated.
539 * nptl/Makefile (routines): Add libc_pthread_init,
540 libc_multiple_threads, register-atfork and unregister-atfork.
541 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
542 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
543 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
544 pthread-pi-defines.sym, structsem.sym.
545 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
546 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
547 [$(subdir) = nptl] (tests): Add tst-setgetname.
548 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
549 * sysdeps/unix/sysv/linux/sigaction.c: Just include
550 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
551 [!LIBC_SIGACTION]: Remove aliases.
552 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
553 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
554 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
555 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
556 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
557 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
558 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
559 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
560 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
561 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
562 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
563 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
564 __libc_allocate_rtsig_private.
565 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
566 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
567 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
568 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
569 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
570 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
571 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
572 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
573 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
574 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
575 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
576 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
577 * nptl/internaltypes.h: ... here.
578 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
579 * sysdeps/nptl/jmp-unwind.c: ... here.
580 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
581 * nptl/libc-lowlevellock.c: ... here.
582 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
583 * nptl/libc_multiple_threads.c: ... here.
584 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
585 * nptl/libc_pthread_init.c: ... here.
586 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
587 * nptl/lowlevelbarrier.sym: ... here.
588 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
589 * nptl/lowlevelcond.sym: ... here.
590 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
591 * nptl/lowlevellock.c: ... here.
592 * nptl/lowlevellock.h: Moved ...
593 * sysdeps/nptl/lowlevellock.h: ... here.
594 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
595 * nptl/lowlevelrobustlock.c: ... here.
596 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
597 * nptl/lowlevelrobustlock.sym: ... here.
598 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
599 * nptl/lowlevelrwlock.sym: ... here.
600 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
601 * nptl/pt-fork.c: ... here.
602 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
603 * nptl/pthread-pi-defines.sym: ... here.
604 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
605 * nptl/pthread_attr_getaffinity.c: ... here.
606 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
607 * nptl/pthread_attr_setaffinity.c: ... here.
608 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
609 * nptl/pthread_mutex_cond_lock.c: ... here.
610 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
612 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
613 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
614 * nptl/pthread_once.c: ... here, replacing old file.
615 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
616 * nptl/pthread_yield.c: ... here.
617 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
618 * nptl/register-atfork.c: ... here.
619 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
620 * nptl/sem_post.c: ... here.
621 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
622 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
623 * nptl/sem_timedwait.c: ... here.
624 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
625 * nptl/sem_trywait.c: ... here.
626 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
627 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
628 * nptl/sem_wait.c: ... here.
629 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
630 * nptl/structsem.sym: ... here.
631 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
632 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
633 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
634 * nptl/unregister-atfork.c: ... here.
635 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
636 * nptl/unwindbuf.sym: ... here.
637 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
638 * sysdeps/nptl/fork.c: ... here.
639 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
640 * sysdeps/nptl/fork.h: ... here.
641 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
642 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
643 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
644 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
645 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
646 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
647 * sysdeps/unix/sysv/linux/getpid.c: ... here.
648 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
649 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
650 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
651 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
652 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
653 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
654 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
655 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
656 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
657 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
658 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
659 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
660 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
661 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
662 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
663 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
664 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
665 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
666 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
667 * sysdeps/unix/sysv/linux/raise.c: ... here.
668 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
669 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
670 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
671 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
672 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
673 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
674 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
675 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
676 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
677 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
678 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
679 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
680 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
681 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
682 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
684 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
686 * sysdeps/generic/memcopy.h: Add comment for
687 MEMCPY_OK_FOR_FWD_MEMMOVE.
689 2014-07-04 Will Newton <will.newton@linaro.org>
691 * string/memchr.c: Merge from gnulib.
692 [_LIBC]: Remove conditionals.
693 (__ptr_t): Remove define.
694 (LONG_MAX_32_BITS): Likewise.
695 (LONG_MAX): Likewise.
696 (MEMCHR): Use ANSI prototype and optimize algorithm.
698 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
700 2014-07-03 Roland McGrath <roland@hack.frob.com>
702 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
703 (lll_futex_timed_wait_bitset): Fix syscall argument count.
705 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
706 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
707 in a bare environment with no <stdlib.h> installed.
708 * sysdeps/nptl/configure: Regenerated.
710 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
712 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
713 AC_EGREP_CPP for kernel header checks, so they only succeed if
714 including <linux/version.h> actually works right.
715 * sysdeps/unix/sysv/linux/configure: Regenerated.
717 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
718 value so it's not diagnosed as unused.
720 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
721 thing) with "ifeq ($(subdir),rt)".
723 2014-07-03 Richard Henderson <rth@redhat.com>
725 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
726 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
727 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
729 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
730 (math_force_eval): New.
732 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
733 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
735 * sysdeps/alpha/fpu/s_round.c: Remove file.
736 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
738 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
739 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
740 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
741 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
742 (_dl_start, print_statistics): Likewise.
743 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
744 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
746 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
747 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
748 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
749 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
750 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
751 (HP_SMALL_TIMING_AVAIL): Define.
752 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
753 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
754 (HP_SMALL_TIMING_AVAIL): Define.
755 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
756 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
758 * sysdeps/aarch64/hp-timing.h: New file.
760 * sysdeps/generic/hp-timing.h: Remove dead comment.
761 * sysdeps/generic/hp-timing-common.h: New file.
762 * sysdeps/alpha/hp-timing.h: Include it.
763 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
764 * sysdeps/i386/i686/hp-timing.h: Likewise.
765 * sysdeps/ia64/hp-timing.h: Likewise.
766 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
767 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
768 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
769 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
770 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
771 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
774 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
775 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
776 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
777 * elf/rtld.c (_dl_start_final): Likewise.
778 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
779 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
780 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
781 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
782 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
783 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
784 (HP_TIMING_DIFF_INIT): Remove.
785 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
786 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
787 (HP_TIMING_DIFF_INIT): Remove.
788 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
789 * sysdeps/i386/i686/hp-timing.c: Remove file.
790 * sysdeps/x86_64/hp-timing.c: Remove file.
791 * sysdeps/ia64/hp-timing.c: Remove file.
792 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
793 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
794 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
795 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
797 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
798 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
799 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
800 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
801 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
802 (HP_TIMING_ACCUM): Remove.
803 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
804 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
805 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
807 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
808 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
809 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
810 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
811 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
812 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
813 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
814 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
816 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
818 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
820 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
822 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
824 Sync up with gettext.
825 * intl/loadmsgcat.c: Define O_BINARY if not defined.
826 [_MSC_VER]: Include malloc.h
827 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
828 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
829 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
830 TEMP_FAILURE_RETRY. Cast return of alloca.
831 [!_LIBC] Call gl_rwlock_init.
832 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
834 2014-07-02 Roland McGrath <roland@hack.frob.com>
836 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
837 before checking its value.
839 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
841 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
843 * debug/memcpy_chk.c: Don't include pagecopy.h.
844 * debug/mempcpy_chk.c: Likewise.
845 * string/memcpy.c: Likewise.
846 * string/memmove.c: Likewise.
847 * sysdeps/powerpc/memmove.c: Likewise.
848 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
849 definition of PAGE_COPY_FWD_MAYBE here...
850 * sysdeps/generic/pagecopy.h: ... from here.
851 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
853 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
854 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
856 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
860 (__libc_ifunc_impl_list): Likewise.
861 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
862 multiarch strcat for PPC64.
863 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
864 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
866 2014-07-02 Roland McGrath <roland@hack.frob.com>
868 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
870 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
872 * intl/loadmsgcat.c: Remove declaration of
873 get_sysdep_segment_value.
874 (get_sysdep_segment_value): Use ISO C style.
875 (_nl_load_domain): Use ISO C style. Get rid of redundant
876 semicolon. Fix typo and formatting in comment.
877 (_nl_unload_domain): Use ISO C style.
879 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
881 2014-07-02 Will Newton <will.newton@linaro.org>
883 * malloc/obstack.c: Merge from gnulib master.
884 [HAVE_CONFIG_H]: Remove conditional code.
885 [!_LIBC]: Include config.h.
886 [!ELIDE_CODE]: Don't include inttypes.h, include
887 stdint.h unconditionally.
888 (print_and_abort): Mark as _Noreturn.
889 (_obstack_allocated_p): Mark as __attribute_pure__.
890 (obstack_free): Rename to __obstack_free.
891 [!__attribute__]: Remove conditional code.
892 * malloc/obstack.h: Merge from gnulib master.
893 [__cplusplus]: Move conditional down.
894 [!__attribute_pure__]: Define __attribute_pure__ here
895 if it is not already defined.
896 (_obstack_memory_used): Mark as __attribute_pure__.
897 [!__obstack_free]: Define as obstack_free.
898 [__GNUC__]: Remove check for ancient NeXT gcc.
900 2014-07-02 Will Newton <will.newton@linaro.org>
901 Paul Eggert <eggert@cs.ucla.edu>
903 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
905 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
907 * resolv/gethnamaddr.c: Add comment warning that the file is
910 2014-07-01 Carlos O'Donell <carlos@redhat.com>
912 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
915 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
916 entry for aio_cancel and aio_cancel64.
917 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
918 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
919 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
920 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
921 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
922 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
923 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
924 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
925 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
926 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
927 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
928 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
929 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
931 2014-07-01 Roland McGrath <roland@hack.frob.com>
933 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
934 * nptl/pthread_mutex_lock.c: Likewise.
935 * nptl/pthread_mutex_timedlock.c: Likewise.
936 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
938 2014-07-01 Richard henderson <rth@redhat.com>
940 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
941 (__isnan, __isnanl): Remove.
942 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
944 * sysdeps/alpha/fpu/libm-test-ulps: Update.
946 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
948 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
950 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
952 * resolv/nss_dns/dns-host.c (getanswer_r)
953 [MULTI_PTRS_ARE_ALIASES]: Remove code.
955 2014-07-01 Joseph Myers <joseph@codesourcery.com>
957 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
958 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
960 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
961 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
963 2014-07-01 Roland McGrath <roland@hack.frob.com>
965 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
966 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
968 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
969 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
971 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
972 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
974 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
975 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
977 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
978 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
979 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
980 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
982 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
983 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
984 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
985 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
986 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
988 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
990 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
991 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
992 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
993 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
994 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
995 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
996 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
997 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
998 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
999 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1000 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1001 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1002 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1003 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1004 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1005 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1006 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1007 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1008 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1009 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1011 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1012 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1013 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1014 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1015 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1016 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1017 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1018 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1020 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1022 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1023 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1024 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1027 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1031 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1033 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1034 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1036 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1038 * sysdeps/arm/libm-test-ulps: Regenerated.
1040 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1041 Roland McGrath <roland@hack.frob.com>
1043 * test-skeleton.c (signal_handler): Kill the whole process group
1044 before killing the child individually.
1045 (main): Report any failure on `setpgid'.
1047 2014-06-30 Roland McGrath <roland@hack.frob.com>
1049 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1050 from _TLS_H to _ARM_NPTL_TLS_H.
1051 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1052 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1054 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1057 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1058 (__expm1l): Return argument unchanged when small but not
1061 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1063 (_FP_UNPACK_RAW_1_P): Likewise.
1064 (_FP_PACK_RAW_1): Likewise.
1065 (_FP_PACK_RAW_1_P): Likewise.
1066 (_FP_MUL_MEAT_1_wide): Likewise.
1067 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1068 (_FP_MUL_MEAT_1_hard): Likewise.
1069 (_FP_DIV_MEAT_1_imm): Likewise.
1070 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1071 (_FP_DIV_MEAT_1_udiv): Likewise.
1072 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1073 (_FP_UNPACK_RAW_2): Likewise.
1074 (_FP_UNPACK_RAW_2_P): Likewise.
1075 (_FP_PACK_RAW_2): Likewise.
1076 (_FP_PACK_RAW_2_P): Likewise.
1077 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1078 (_FP_MUL_MEAT_2_wide): Likewise.
1079 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1080 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1081 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1082 (_FP_MUL_MEAT_2_gmp): Likewise.
1083 (_FP_DIV_MEAT_2_udiv): Likewise.
1084 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1085 (_FP_FRAC_SRL_4): Likewise.
1086 (_FP_FRAC_SRST_4): Likewise.
1087 (_FP_FRAC_SRS_4): Likewise.
1088 (_FP_UNPACK_RAW_4): Likewise.
1089 (_FP_UNPACK_RAW_4_P): Likewise.
1090 (_FP_PACK_RAW_4): Likewise.
1091 (_FP_PACK_RAW_4_P): Likewise.
1092 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1093 (_FP_MUL_MEAT_4_wide): Likewise.
1094 (_FP_MUL_MEAT_4_gmp): Likewise.
1095 (umul_ppppmnnn): Likewise.
1096 (_FP_DIV_MEAT_4_udiv): Likewise.
1097 (__FP_FRAC_ADD_4): Likewise.
1098 (__FP_FRAC_SUB_3): Likewise.
1099 (__FP_FRAC_SUB_4): Likewise.
1100 (__FP_FRAC_DEC_3): Likewise.
1101 (__FP_FRAC_DEC_4): Likewise.
1102 (__FP_FRAC_ADDI_4): Likewise.
1103 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1104 (_FP_FRAC_SRL_8): Likewise.
1105 (_FP_FRAC_SRS_8): Likewise.
1107 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1109 (FP_UNPACK_RAW_EP): Likewise.
1110 (FP_PACK_RAW_E): Likewise.
1111 (FP_PACK_RAW_EP): Likewise.
1112 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1113 (_FP_ISSIGNAN): Likewise.
1114 (_FP_ADD_INTERNAL): Likewise.
1115 (_FP_FMA): Likewise.
1116 (_FP_CMP): Likewise.
1117 (_FP_SQRT): Likewise.
1118 (_FP_TO_INT): Likewise.
1119 (_FP_FROM_INT): Likewise.
1120 (FP_EXTEND): Likewise.
1121 (_FP_DIV_MEAT_N_loop): Likewise.
1123 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1125 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1128 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1131 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1132 result with correct sign in case of exponents that produce
1133 overflow except for X very close to 1.
1135 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1137 mktime: merge #if/#ifdef usage from glibc
1138 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1139 as that works with both Glibc's and Gnulib's style.
1140 See thread starting at Siddhesh Poyarekar's bug report at:
1141 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1143 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1145 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1146 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1147 * sysdeps/tile/tilegx/memmove.c: Remove file.
1149 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1151 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1152 abi-name definition.
1153 * scripts/soversions.awk: Do not handle or generate ABI lines.
1154 * shlib-versions: Remove ABI entries.
1155 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1156 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1158 2014-06-27 Roland McGrath <roland@hack.frob.com>
1160 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1161 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1162 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1163 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1165 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1168 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1170 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1184 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1185 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1186 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1191 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1192 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1194 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1196 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1199 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1200 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1201 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1202 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1203 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1204 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1205 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1206 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1208 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1209 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1210 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1211 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1213 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1214 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1216 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1217 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1218 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1221 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1223 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1224 Identical file removed.
1225 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1227 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1228 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1229 Identical file removed.
1230 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1231 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1232 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1234 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1235 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1236 Identical file removed.
1237 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1238 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1239 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1240 Identical file removed.
1241 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1242 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1243 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1244 Identical file removed.
1245 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1246 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1247 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1248 Identical file removed.
1249 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1251 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1252 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1253 Identical file removed.
1254 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1256 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1257 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1258 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1259 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1260 Identical file removed.
1261 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1263 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1265 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1266 Identical file removed.
1267 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1269 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1270 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1271 Identical file removed.
1272 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1274 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1275 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1276 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1277 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1278 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1279 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1281 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1282 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1283 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1285 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1286 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1287 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1288 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1289 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1291 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1294 * nscd/nscd.c (monitor_child): Return exit status of child
1295 instead of return value from wait syscall.
1297 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1299 * configure.ac (libc_commonpagesize): Remove variable.
1300 (libc_relro_required): Likewise.
1301 (libc_cv_z_relro): Remove configure test.
1302 * configure: Regenerated.
1303 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1305 (libc_relro_required): Likewise.
1306 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1307 (libc_relro_required): Likewise.
1308 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1309 (libc_relro_required): Likewise.
1310 * sysdeps/arm/preconfigure: Regenerated.
1311 * sysdeps/ia64/preconfigure: Remove file.
1312 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1314 (libc_relro_required): Likewise.
1318 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1319 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1320 recompute overflowing results in original rounding mode.
1321 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1322 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1323 recompute overflowing results in original rounding mode.
1324 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1325 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1326 recompute overflowing results in original rounding mode.
1327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1328 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1329 recompute overflowing results in original rounding mode.
1330 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1331 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1332 recompute overflowing results in original rounding mode.
1333 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1334 (libc_feholdsetround_ctx): New macro.
1335 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1336 * sysdeps/i386/fpu/libm-test-ulps: Update.
1337 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1339 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1341 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1342 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1343 corresponding .cpsetup call.
1345 2014-06-26 Roland McGrath <roland@hack.frob.com>
1347 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1348 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1349 * sysdeps/arm/Makefile [$(subdir) = csu]
1350 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1351 (static-only-routines): Add aeabi_read_tp here.
1352 (shared-only-routines): Add libc-aeabi_read_tp here.
1353 (CFLAGS-libc-start.c): Add -fexceptions here.
1354 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1355 (sysdep_routines, static-only-routines, shared-only-routines):
1356 Don't add to these here.
1357 (CFLAGS-libc-start.c): Likewise.
1359 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1360 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1361 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1362 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1363 * sysdeps/arm/Makefile [$(subdir) = rt]
1364 (librt-sysdep_routines, librt-shared-only-routines):
1365 Append rt-aeabi_unwind_cpp_pr1 here.
1366 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1367 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1368 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1369 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1370 Append nptl-aeabi_unwind_cpp_pr1 here.
1371 (tests): Filter out tst-cleanupx4 here.
1372 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1373 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1374 Don't do those here.
1376 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1378 * scripts/list-sources.sh: Do not handle ports specially.
1380 2014-06-26 Roland McGrath <roland@hack.frob.com>
1382 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1383 * sysdeps/arm/feupdateenv.c: Likewise.
1385 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1387 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1389 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1390 trailing whitespace removed.
1391 * scripts/config.guess: Update to version 2014-03-23.
1392 * scripts/config.sub: Update to version 2014-05-01
1393 * scripts/install-sh: Update to version 2013-12-25.23.
1394 * scripts/move-if-change: Update from gnulib.
1396 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1398 * debug/memmove_chk.c: Remove pagecopy.h include.
1400 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1402 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1403 identical to gnulib mktime.
1405 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1407 * configure.ac: Do not test for machine being rs6000. Do not test
1409 * configure: Regenerated.
1411 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1413 * configure: Regenerated.
1414 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1415 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1416 Remove configure test.
1417 * sysdeps/arm/configure: Regenerated.
1418 * sysdeps/nptl/configure.ac: Do not check
1419 libc_cv_asm_cfi_directives.
1420 * sysdeps/nptl/configure: Regenerated.
1421 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1422 * sysdeps/x86_64/nptl/configure: Remove generated file.
1423 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1425 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1427 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1429 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1430 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1431 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1434 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1435 instead of whether it is defined.
1436 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1437 * sysdeps/hppa/dl-machine.h: Likewise.
1438 * sysdeps/ia64/dl-machine.h: Likewise.
1439 * sysdeps/m68k/dl-machine.h: Likewise.
1440 * sysdeps/microblaze/dl-machine.h: Likewise.
1441 * sysdeps/mips/dl-machine.: Likewise.
1442 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1443 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1444 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1445 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1446 * sysdeps/sh/dl-machine.h: Likewise.
1447 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1448 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1449 * sysdeps/tile/dl-machine.h: Likewise.
1450 * sysdeps/x86_64/dl-machine.h: Likewise.
1452 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1454 (verify_persistent_db): Likewise.
1456 2014-06-26 Roland McGrath <roland@hack.frob.com>
1458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1459 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1464 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1467 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1469 Identical file removed.
1470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1471 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1473 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1475 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1479 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1482 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1484 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1486 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1489 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1491 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1493 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1495 Identical file removed.
1496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1497 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1499 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1502 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1505 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1507 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1509 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1511 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1513 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1516 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1519 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1521 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1524 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1526 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1528 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1530 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1531 * sysdeps/unix/sysv/linux/s390/Versions
1532 (libpthread: GLIBC_2.19): New version set.
1533 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1534 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1535 (librt: GLIBC_2.3.3): New version set.
1536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1537 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1538 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1539 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1540 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1541 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1542 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1543 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1544 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1545 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1546 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1547 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1548 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1549 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1550 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1551 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1552 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1553 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1554 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1555 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1556 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1557 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1558 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1559 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1560 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1561 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1562 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1563 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1564 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1565 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1566 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1567 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1569 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1570 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1571 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1572 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1573 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1574 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1575 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1576 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1577 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1578 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1579 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1580 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1582 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1583 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1584 (__libc_vfork): Define the function under this name.
1585 [!NOT_IN_libc] (__vfork): Make this an alias.
1586 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1587 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1588 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1589 (__libc_vfork): Define the function under this name.
1590 [!NOT_IN_libc] (__vfork): Make this an alias.
1591 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1592 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1593 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1594 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1595 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1596 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1598 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1599 code that was previously under [RESET_PID].
1600 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1601 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1602 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1604 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1605 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1606 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1607 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1608 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1609 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1610 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1611 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1612 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1613 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1616 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1617 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1618 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1622 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1623 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1624 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1625 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1626 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1628 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1629 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1630 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1634 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1636 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1637 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1638 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1639 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1640 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1641 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1642 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1643 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1644 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1646 2014-06-25 Roland McGrath <roland@hack.frob.com>
1648 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1649 that was previously under [RESET_PID].
1650 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1652 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1654 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1655 not undefine and redefine.
1656 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1657 [O_CLOEXEC]: Make code unconditional.
1658 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1659 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1660 <kernel-features.h>.
1661 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1662 conditional variable definition.
1663 (shm_open) [O_CLOEXEC]: Make code unconditional.
1664 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1667 * configure.ac (USE_REGPARMS): Don't define here.
1668 * configure: Regenerated.
1669 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1670 * sysdeps/i386/configure: Regenerated.
1672 * nptl/createthread.c: Don't include kernel-features.h.
1673 * nptl/pthread_cancel.c: Likewise.
1674 * nptl/pthread_condattr_setclock.c: Likewise.
1675 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1676 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1677 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1678 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1679 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1680 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1681 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1683 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1684 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1685 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1686 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1687 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1688 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1689 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1690 * nscd/gai.c: Likewise.
1691 * nss/nss_db/db-open.c: Likewise.
1692 * sysdeps/generic/ldsodefs.h: Likewise.
1693 * sysdeps/sh/nptl/tls.h: Likewise.
1694 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1695 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1696 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1697 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1698 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1699 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1700 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1701 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1702 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1703 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1704 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1705 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1706 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1707 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1708 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1709 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1710 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1711 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1712 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1713 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1714 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1715 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1716 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1717 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1718 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1719 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1720 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1721 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1722 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1723 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1724 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1725 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1726 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1727 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1728 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1729 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1730 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1731 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1732 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1733 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1734 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1735 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1736 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1737 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1738 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1739 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1740 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1741 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1742 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1743 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1744 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1745 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1746 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1747 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1748 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1749 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1750 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1751 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1774 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1775 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1776 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1777 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1778 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1779 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1780 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1781 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1782 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1783 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1784 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1785 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1786 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1787 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1788 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1789 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1790 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1791 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1792 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1793 * sysdeps/unix/sysv/linux/system.c: Likewise.
1794 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1795 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1796 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1797 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1798 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1799 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1800 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1802 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1803 * configure: Regenerated.
1804 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1806 * configure.ac (base_machine): Do not set specially for particular
1808 * configure: Regenerated.
1809 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1810 settings from configure.ac.
1811 * sysdeps/i386/preconfigure: New file.
1812 * sysdeps/s390/preconfigure: Likewise.
1813 * sysdeps/sh/preconfigure: Likewise.
1814 * sysdeps/sparc/preconfigure: Likewise.
1816 2014-06-25 Roland McGrath <roland@hack.frob.com>
1818 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1819 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1820 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1821 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1822 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1823 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1824 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1825 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1826 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1827 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1828 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1829 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1830 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1831 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1832 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1833 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1834 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1835 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1836 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1838 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1839 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1840 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1841 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1842 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1843 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1844 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1845 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1846 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1847 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1848 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1849 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1850 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1851 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1852 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1853 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1854 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1855 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1856 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1857 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1858 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1859 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1860 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1861 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1862 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1863 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1864 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1865 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1866 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1867 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1868 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1869 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1870 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1871 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1872 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1873 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1874 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1875 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1878 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1880 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1883 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1886 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1888 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1891 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1893 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1895 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1897 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1900 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1903 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1905 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1908 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1910 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1912 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1914 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1916 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1919 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1922 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1924 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1927 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1929 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1931 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1936 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1939 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1941 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1944 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1946 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1948 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1950 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1952 * timezone/checktab.awk: Update from tzcode 2014e.
1953 * timezone/private.h: Likewise.
1954 * timezone/tzfile.h: Likewise.
1955 * timezone/zdump.c: Likewise.
1956 * timezone/zic.c: Likewise.
1958 * sysdeps/unix/sysv/linux/kernel-features.h
1959 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1961 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1962 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1963 Remove conditional code.
1965 2014-06-25 Will Newton <will.newton@linaro.org>
1967 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1968 (_dl_arm_cap_flags): Add HWCAP2 values.
1969 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1970 (_DL_HWCAP_COUNT): Increase to 37.
1971 (_DL_HWCAP_LAST): New define.
1972 (_DL_HWCAP2_LAST): New define.
1973 (_dl_procinfo): Add support for printing
1975 (_dl_string_hwcap): Use _dl_hwcap_string.
1977 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1981 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1983 * README: Do not mention ports directory.
1985 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1987 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1988 <kernel-features.h>.
1989 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1990 conditional variable definition.
1991 (__futimes): Update comment.
1992 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1993 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1996 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1997 arguments close to 0.
1998 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2000 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2002 * math/auto-libm-test-in: Add more tests of exp10.
2003 * math/auto-libm-test-out: Regenerated.
2004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2006 * sysdeps/unix/sysv/linux/kernel-features.h
2007 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2008 * sysdeps/unix/sysv/linux/readv.c: Do not include
2009 <kernel-features.h>.
2010 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2011 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2012 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2014 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2016 * sysdeps/unix/sysv/linux/writev.c: Do not include
2017 <kernel-features.h>.
2018 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2019 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2020 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2022 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2025 2014-06-25 Will Newton <will.newton@linaro.org>
2027 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2028 comment changes throughout the file. Remove checks
2029 for HAVE_*_H definitions that are not required.
2030 (__gen_tempname): Call abort if an unknown kind value is
2033 2014-06-25 Andreas Schwab <schwab@suse.de>
2036 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2037 scalbln, scalblnf, scalblnl in libc.
2039 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2042 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2043 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2044 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2046 2014-06-24 Roland McGrath <roland@hack.frob.com>
2048 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2049 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2050 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2051 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2053 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2054 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2056 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2057 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2058 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2059 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2060 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2061 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2062 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2063 * sysdeps/x86/bits/semaphore.h: ... here.
2064 * sysdeps/x86/nptl/elide.h: Moved ...
2065 * sysdeps/x86/elide.h: ... here.
2066 * sysdeps/x86_64/nptl/Implies: File removed.
2067 * sysdeps/i386/nptl/Implies: File removed.
2069 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2072 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2073 return the argument for normal arguments with exponent below -64.
2074 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2076 * math/auto-libm-test-in: Add another test of expm1.
2077 * math/auto-libm-test-out: Regenerated.
2080 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2081 calling __erfcl for arguments at least 16.
2082 * math/auto-libm-test-in: Add more tests of erf.
2083 * math/auto-libm-test-out: Regenerated.
2085 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2086 individual architectures.
2087 * sysdeps/unix/sysv/linux/configure: Regenerated.
2088 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2089 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2090 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2091 (ldd_rewrite_script): Define variable.
2092 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2097 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2098 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2099 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2100 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2101 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2102 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2103 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2104 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2106 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2109 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2110 Rename member __data.d to __data.__elision_data.
2112 2014-06-24 Wilco <wdijkstr@arm.com>
2114 * NEWS: Add 16918 to fixed bug list.
2116 2014-06-24 Wilco <wdijkstr@arm.com>
2118 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2120 2014-06-24 Wilco <wdijkstr@arm.com>
2122 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2123 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2124 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2125 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2126 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2127 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2128 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2131 2014-06-24 Wilco <wdijkstr@arm.com>
2133 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2135 2014-06-24 Wilco <wdijkstr@arm.com>
2137 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2138 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2139 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2140 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2142 2014-06-24 Wilco <wdijkstr@arm.com>
2145 * sysdeps/arm/feupdateenv.c (feupdateenv):
2146 Rewrite to reduce FPSCR accesses and fix return value.
2148 2014-06-24 Wilco <wdijkstr@arm.com>
2150 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2151 Optimize to avoid unnecessary FPSCR writes.
2152 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2153 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2154 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2155 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2157 2014-06-24 Wilco <wdijkstr@arm.com>
2159 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2160 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2161 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2162 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2163 Call libc_fetestexcept_vfp.
2164 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2165 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2166 __SOFTFP__ ifdef so that they can be built for softfp.
2168 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2170 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2171 argument type signed char.
2173 * Makerules (check-abi): Dump diff of symlist if the test
2176 2014-06-23 Roland McGrath <roland@hack.frob.com>
2178 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2181 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2182 Remove unused variable ST.
2184 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2188 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2189 small arguments before calling __expm1.
2190 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2191 small arguments before calling __expm1f.
2192 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2193 small arguments before calling __expm1l.
2194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2196 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2197 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2198 spurious underflow for some cosh tests.
2199 * math/auto-libm-test-out: Regenerated.
2200 * sysdeps/i386/fpu/libm-test-ulps: Update.
2203 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2204 (__ieee754_y1): Set errno if return value overflows.
2205 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2206 (__ieee754_y1f): Set errno if return value overflows.
2207 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2208 (__ieee754_y1l): Set errno if return value overflows.
2209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2210 (__ieee754_y1l): Set errno if return value overflows.
2211 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2212 * math/auto-libm-test-out: Regenerated.
2214 * math/gen-auto-libm-tests.c: Document use of
2215 ignore-zero-inf-sign.
2216 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2217 (input_flags): Add ignore-zero-inf-sign.
2218 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2219 * math/gen-libm-test.pl (generate_testfile): Handle
2220 ignore-zero-inf-sign.
2221 * math/auto-libm-test-in: Mark some cpow tests with
2222 ignore-zero-inf-sign and some with xfail-rounding.
2223 * math/auto-libm-test-out: Regenerated.
2224 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2225 * sysdeps/i386/fpu/libm-test-ulps: Update.
2226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2229 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2230 overflowing or underflowing operations take place with sign of
2232 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2233 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2234 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2235 (__ieee754_pow): Recompute overflowing and underflowing results in
2236 original rounding mode.
2237 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2238 (__powl_helper): Allow negative argument X and scale negated value
2239 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2240 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2241 overflowing or underflowing operations take place with sign of
2243 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2245 * math/auto-libm-test-in: Add more tests of pow.
2246 * math/auto-libm-test-out: Regenerated.
2247 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2248 (pow_tonearest_test_data): Remove.
2249 (pow_test_tonearest): Likewise.
2250 (pow_towardzero_test_data): Likewise.
2251 (pow_test_towardzero): Likewise.
2252 (pow_downward_test_data): Likewise.
2253 (pow_test_downward): Likewise.
2254 (pow_upward_test_data): Likewise.
2255 (pow_test_upward): Likewise.
2256 (main): Don't call removed functions.
2257 * sysdeps/i386/fpu/libm-test-ulps: Update.
2258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2260 2014-06-23 Roland McGrath <roland@hack.frob.com>
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2436 2014-06-23 Will Newton <will.newton@linaro.org>
2437 Wilco <wdijkstr@arm.com>
2439 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2440 implementation. Include get-rounding-mode.h.
2441 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2442 [!libc_feholdsetround_noex_ctx]: Define
2443 libc_feholdsetround_noex_ctx.
2444 [!libc_feholdsetround_noexf_ctx]: Define
2445 libc_feholdsetround_noexf_ctx.
2446 [!libc_feholdsetround_noexl_ctx]: Define
2447 libc_feholdsetround_noexl_ctx.
2448 (libc_feholdsetround_ctx): New function.
2449 (libc_feresetround_ctx): New function.
2450 (libc_feholdsetround_noex_ctx): New function.
2451 (libc_feresetround_noex_ctx): New function.
2453 2014-06-23 Roland McGrath <roland@hack.frob.com>
2455 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2456 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2457 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2458 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2459 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2460 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2462 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2463 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2464 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2465 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2466 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2467 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2468 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2469 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2470 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2471 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2474 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2476 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2477 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2478 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2479 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2480 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2482 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2483 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2484 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2485 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2486 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2487 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2488 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2489 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2491 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2492 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2494 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2495 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2496 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2497 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2499 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2500 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2501 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2502 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2503 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2504 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2505 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2506 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2507 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2508 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2510 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2512 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2513 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2514 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2515 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2516 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2517 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2518 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2519 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2520 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2521 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2522 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2523 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2524 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2526 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2527 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2528 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2529 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2530 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2531 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2533 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2534 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2535 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2536 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2537 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2539 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2540 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2541 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2542 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2543 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2544 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2545 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2546 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2548 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2549 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2550 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2551 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2552 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2553 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2554 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2555 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2556 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2557 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2558 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2559 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2560 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2561 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2562 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2563 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2564 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2565 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2566 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2568 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2570 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2571 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2572 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2573 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2574 (IPV6_PMTUDISC_INTERFACE): Likewise.
2575 (IPV6_PMTUDISC_OMIT): Likewise.
2577 2014-06-23 Andreas Schwab <schwab@suse.de>
2579 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2580 Remove unused errout label.
2582 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2584 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2585 macro: hardware supports Vector Crypto instructions.
2587 2014-06-23 Will Newton <will.newton@linaro.org>
2589 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2590 rather than __builtin_expect.
2592 * elf/dl-lookup.c (undefined_msg): Remove variable.
2593 (_dl_lookup_symbol_x): Replace undefined_msg with string
2596 * elf/dl-lookup.c (do_lookup_unique): New function.
2597 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2598 to a separate function.
2600 2014-06-23 Andreas Schwab <schwab@suse.de>
2603 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2604 before reading the next line.
2606 2014-06-23 Will Newton <will.newton@linaro.org>
2608 * test-skeleton.c (signal_handler): Use printf and %m
2609 rather than perror. Use printf rather than fprintf to
2610 stderr. Use puts rather than fputs to stderr.
2613 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2615 * nscd/nscd.c (thread_info_t): Remove typedef.
2616 (thread_info): Remove variable.
2618 2014-06-21 Allan McRae <allan@archlinux.org>
2620 * NEWS: Mention CVE-2014-4043.
2622 2014-06-20 Roland McGrath <roland@hack.frob.com>
2624 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2625 * nptl/smp.h: ... here.
2627 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2629 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2630 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2631 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2632 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2634 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2635 * nptl/stack-aliasing.h: New file.
2636 * sysdeps/i386/i686/stack-aliasing.h: New file.
2637 * sysdeps/i386/i686/nptl/Makefile: File removed.
2638 * sysdeps/x86_64/stack-aliasing.h: New file.
2639 * sysdeps/x86_64/nptl/Makefile
2640 (CFLAGS-pthread_create.c): Variable removed.
2642 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2643 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2645 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2646 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2649 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2651 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2652 (__ASSUME_SIGFRAME_V2): Remove macro.
2653 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2654 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2655 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2656 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2657 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2658 Declare as function. Remove conditional macro definitions.
2659 (__default_rt_sa_restorer): Likewise.
2660 (__default_sa_restorer_v1): Remove declaration.
2661 (__default_sa_restorer_v2): Likewise.
2662 (__default_rt_sa_restorer_v1): Likewise.
2663 (__default_rt_sa_restorer_v2): Likewise.
2664 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2665 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2666 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2668 2014-06-20 Roland McGrath <roland@hack.frob.com>
2670 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2671 (libpthread-routines): Add sysdep.
2672 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2673 * sysdeps/unix/sysv/linux/sparc/Versions
2674 (libpthread: GLIBC_2.3.3): New version set.
2675 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2676 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2677 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2678 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2679 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2680 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2682 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2683 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2684 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2685 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2686 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2687 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2688 * sysdeps/sparc/nptl/sem_init.c: ... here.
2689 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2690 * sysdeps/sparc/nptl/sem_post.c: ... here.
2691 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2692 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2693 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2694 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2695 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2696 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2697 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2698 (libpthread-routines): Add cpu_relax.
2699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2701 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2702 (librt: GLIBC_2.3.3): New version set.
2703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2704 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2705 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2706 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2709 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2712 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2714 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2716 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2718 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2720 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2723 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2727 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2731 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2735 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2739 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2743 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2746 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2751 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2752 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2753 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2754 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2755 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2757 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2759 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2760 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2761 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2763 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2765 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2766 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2767 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2768 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2769 * nscd/nscd.c: Likewise.
2770 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2771 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2772 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2773 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2775 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2776 <kernel-features.h>.
2777 (init_mq_netlink): Remove conditional have_sock_cloexec
2778 definitions. Remove code conditional on have_sock_cloexec < 0.
2779 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2780 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2781 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2782 <kernel-features.h>.
2783 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2784 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2786 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2789 Add tests for memset_chk and memset.
2791 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2794 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2797 * elf/tst-dl-iter-static.c: New file.
2798 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2800 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2803 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2805 * sysdeps/unix/sysv/linux/kernel-features.h
2806 (__ASSUME_F_GETOWN_EX): Remove macro.
2807 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2808 <kernel-features.h>.
2809 (miss_F_GETOWN_EX): Remove variable or macro.
2810 (do_fcntl): Do not check miss_F_GETOWN_EX.
2811 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2813 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2815 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2816 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2817 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2819 * sysdeps/unix/sysv/linux/kernel-features.h
2820 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2821 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2822 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2823 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2825 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2828 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2829 Fix calculation of the symbol's value.
2830 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2831 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2832 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2833 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2834 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2835 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2836 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2837 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2838 (modules-names): Add `tst-armtlsdescmod',
2839 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2840 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2841 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2842 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2843 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2844 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2845 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2846 ($(objpfx)tst-armtlsdescloc): New dependency.
2847 ($(objpfx)tst-armtlsdescextnow): Likewise.
2848 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2849 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2851 * sysdeps/arm/configure: Regenerate.
2853 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2855 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2856 (__atfct_seterrno_2): Likewise.
2857 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2858 <kernel-features.h>.
2859 (__ASSUME_ATFCTS): Do not undefine and redefine.
2860 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2861 (__have_atfcts): Remove conditional definition.
2862 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2863 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2864 unreachable if [__ASSUME_ATFCTS].
2865 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2866 not undefine and redefine.
2867 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2868 <kernel-features.h>.
2869 (faccessat) [__NR_faccessat]: Make code unconditional.
2870 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2871 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2872 <kernel-features.h>.
2873 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2874 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2875 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2876 <kernel-features.h>.
2877 (fchownat) [__NR_fchownat]: Make code unconditional.
2878 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2879 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2880 <kernel-features.h>.
2881 (futimesat) [__NR_futimesat]: Make code unconditional.
2882 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2883 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2884 <kernel-features.h>.
2885 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2886 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2887 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2888 <kernel-features.h>.
2889 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2890 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2891 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2892 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2893 <kernel-features.h>.
2894 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2895 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2896 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2897 <kernel-features.h>.
2898 (linkat) [__NR_linkat]: Make code unconditional.
2899 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2900 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2901 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2902 <kernel-features.h>.
2903 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2904 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2905 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2906 <kernel-features.h>.
2907 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2908 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2909 * sysdeps/unix/sysv/linux/openat.c: Do not include
2910 <kernel-features.h>.
2911 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2912 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2913 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2914 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2915 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2916 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2917 <kernel-features.h>.
2918 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2919 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2920 result of INLINE_SYSCALL directly, not via int variable.
2921 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2922 <kernel-features.h>.
2923 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2924 (renameat) [__NR_renameat]: Make code unconditional.
2925 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2926 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2927 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2928 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2929 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2930 (__ASSUME_ATFCTS): Do not undefine and redefine.
2931 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2932 <kernel-features.h>.
2933 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2934 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2935 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2936 <kernel-features.h>.
2937 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2938 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2939 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2940 (__ASSUME_ATFCTS): Do not undefine and redefine.
2941 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2942 <kernel-features.h>.
2943 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2944 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2945 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2946 <kernel-features.h>.
2947 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2948 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2950 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2952 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2954 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2957 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2958 constructed tree before returning error.
2959 * posix/bug-regexp36.c: Expand test case.
2961 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2964 * math/libm-test.inc (scalbln_test_date):
2965 Add errno expectations.
2966 * math/w_scalblnf.c: New File.
2967 Add wrapper which checks for setting errno to ERANGE.
2968 Add weak_alias for corresponding scalbln function.
2969 * math/w_scalbln.c: Likewise.
2970 * math/w_scalblnl.c: Likewise.
2971 * math/Makefile (libm-calls): Add w_scalbln.
2972 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2973 Remove weak_alias for corresponding scalbln function.
2974 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2976 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2977 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2978 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2979 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2980 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2981 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2982 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2983 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2984 Remove long_double_symbol for scalblnl function in libm, libc.
2985 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2986 Add wrapper which checks for setting errno to ERANGE.
2987 Add long_double_symbol for scalblnl function in libm, libc.
2988 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2989 Remove long_double_symbol for scalblnl in libm.
2990 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2991 Add wrapper which checks for setting errno to ERANGE.
2992 Add long_double_symbol for scalblnl function in libm.
2993 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2994 Do not use wrapper because of own implementation.
2996 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2998 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2999 3 bytes for __pad1 for x32.
3000 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3002 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3003 H.J. Lu <hongjiu.lu@intel.com>
3005 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3006 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3007 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3008 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3009 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3011 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3014 * posix/regcomp.c (parse_expression): Deallocate partially
3015 constructed tree before returning error.
3016 * posix/Makefile.c (tests): Add bug-regex36.
3017 (generated): Add bug-regex36.mtrace.
3018 (tests-special): Add $(objpfx)bug-regex36-mem.out
3019 (bug-regex36-ENV): New variable.
3020 ($(objpfx)bug-regex36-mem.out): New rule.
3021 * posix/bug-regex36.c: New file.
3023 2014-06-19 Will Newton <will.newton@linaro.org>
3025 * malloc/malloc.c (systrim): If extra is zero then return
3028 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3030 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3032 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3034 * sysdeps/aarch64/strchr.S: New file.
3036 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3039 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3040 from arguments -2 or below.
3041 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3042 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3044 2014-06-18 Andreas Schwab <schwab@suse.de>
3047 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3048 of a bracket expr not to run off the end of the string.
3049 * posix/Makefile (tests): Add tst-fnmatch3.
3050 * posix/tst-fnmatch3.c: New file.
3052 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3054 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3055 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3056 [$(cross-compiling) = no]: Likewise.
3057 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3058 [$(cross-compiling) = no]: Likewise.
3060 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3063 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3064 double, adjusted for any remainder from the high double.
3065 * math/libm-test.inc (nearbyint): Add tests.
3068 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3070 * nptl/sysdeps/powerpc/Makefile: Moved ...
3071 * sysdeps/powerpc/nptl/Makefile: ... here.
3072 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3073 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3074 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3075 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3076 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3077 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3078 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3079 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3080 * nptl/sysdeps/powerpc/tls.h: Moved ...
3081 * sysdeps/powerpc/nptl/tls.h: ... here.
3083 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3086 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3087 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3088 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3089 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3090 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3091 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3092 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3093 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3094 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3096 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3098 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3100 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3102 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3105 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3108 2014-06-16 Florian Weimer <fweimer@redhat.com>
3111 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3112 non-executed part of the test.
3114 2014-06-16 Andreas Schwab <schwab@suse.de>
3116 * string/bits/string2.h (strdup, strndup): Update feature guard.
3118 2014-06-14 David S. Miller <davem@davemloft.net>
3120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3122 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3124 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3125 that was previously under [RESET_PID].
3126 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3128 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3129 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3130 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3131 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3132 (__libc_vfork): New strong alias.
3133 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3135 2014-06-14 Andi Kleen <ak@linux.intel.com>
3137 * sysdeps/generic/elide.h: New file.
3139 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3141 * Makefile (installed-headers): Adjust path of pthread.h header.
3143 2014-06-13 Roland McGrath <roland@hack.frob.com>
3145 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3146 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3147 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3148 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3150 * nptl/sysdeps/s390/Makefile: Moved ...
3151 * sysdeps/s390/nptl/Makefile: ... here.
3152 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3153 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3154 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3155 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3156 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3157 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3158 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3159 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3160 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3161 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3162 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3163 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3164 * nptl/sysdeps/s390/tls.h: Moved ...
3165 * sysdeps/s390/nptl/tls.h: ... here.
3167 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3168 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3170 2014-06-13 David S. Miller <davem@davemloft.net>
3172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3175 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3179 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3180 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3181 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3182 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3183 Remove RESET_PID cpp guards.
3184 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3185 Remove RESET_PID cpp guards.
3186 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3188 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3190 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3193 2014-06-13 Andi Kleen <ak@linux.intel.com>
3195 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3196 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3197 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3198 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3199 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3200 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3201 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3202 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3203 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3204 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3205 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3206 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3207 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3208 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3209 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3210 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3211 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3212 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3213 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3214 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3216 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3217 (pthread_rwlock_rdlock): Add elision.
3218 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3219 (pthread_rwlock_wrlock): Add elision.
3220 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3221 (pthread_rwlock_trywrlock): Add elision.
3222 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3223 (pthread_rwlock_tryrdlock): Add elision.
3224 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3225 (pthread_rwlock_tryrdlock): Add elision unlock.
3226 * nptl/sysdeps/pthread/pthread.h:
3227 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3228 (PTHREAD_RWLOCK_INITIALIZER,
3229 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3230 Handle new elision field.
3231 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3232 * sysdeps/arm/nptl/bits/pthreadtypes.h
3233 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3234 * sysdeps/sh/nptl/bits/pthreadtypes.h
3235 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3236 * sysdeps/tile/nptl/bits/pthreadtypes.h
3237 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3238 * sysdeps/a/nptl/bits/pthreadtypes.h
3239 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3240 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3241 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3242 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3243 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3244 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3245 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3246 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3247 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3248 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3249 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3250 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3251 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3252 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3253 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3254 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3255 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3256 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3257 (elision_init): Set try_xbegin to zero when no RTM.
3258 * sysdeps/x86/nptl/bits/pthreadtypes.h
3259 (pthread_rwlock_t): Change __pad1 to __rwelision.
3260 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3262 2014-06-13 Andi Kleen <ak@linux.intel.com>
3264 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3265 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3266 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3267 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3269 2014-06-13 Meador Inge <meadori@codesourcery.com>
3272 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3273 that the cached result has been set before returning it.
3275 2014-06-12 Roland McGrath <roland@hack.frob.com>
3277 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3278 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3279 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3280 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3281 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3282 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3284 * nptl/sysdeps/sparc/Makefile: Moved ...
3285 * sysdeps/sparc/nptl/Makefile: ... here.
3286 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3287 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3288 * nptl/sysdeps/sparc/tls.h: Moved ...
3289 * sysdeps/sparc/nptl/tls.h: ... here.
3290 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3291 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3292 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3293 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3294 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3295 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3296 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3297 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3298 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3299 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3300 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3301 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3302 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3303 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3304 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3305 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3306 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3307 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3309 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3310 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3312 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3313 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3315 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3316 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3319 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3321 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3322 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3324 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3325 (struct list_links): Type removed.
3326 (struct thread_node, struct timer_node): Replace struct list_links
3327 with struct list_head.
3328 (list_unlink_ip): Likewise.
3329 * sysdeps/pthread/timer_routines.c
3330 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3331 (list_append, list_insbefore): Likewise.
3332 (list_init): Function removed.
3333 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3334 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3335 * sysdeps/pthread/Makefile: ... here, new file.
3337 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3338 * sysdeps/nptl/Implies: ... here.
3339 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3340 * nptl/sysdeps/pthread/list.h: Moved ...
3341 * include/list.h: ... here.
3342 * nptl/sysdeps/pthread/createthread.c: Moved ...
3343 * nptl/createthread.c: ... here.
3344 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3345 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3346 * nptl/pt-longjmp.c: ... here.
3347 * nptl/sysdeps/pthread/Makefile: Moved ...
3348 * sysdeps/nptl/Makefile: ... here.
3349 * nptl/sysdeps/pthread/Subdirs: Moved ...
3350 * sysdeps/nptl/Subdirs: ... here.
3351 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3352 * sysdeps/nptl/aio_misc.h: ... here.
3353 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3354 * sysdeps/nptl/bits/libc-lock.h: ... here.
3355 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3356 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3357 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3358 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3359 * nptl/sysdeps/pthread/configure: Moved ...
3360 * sysdeps/nptl/configure: ... here.
3361 * nptl/sysdeps/pthread/configure.ac: Moved ...
3362 * sysdeps/nptl/configure.ac: ... here.
3363 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3364 * sysdeps/nptl/gai_misc.h: ... here.
3365 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3366 * sysdeps/nptl/librt-cancellation.c: ... here.
3367 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3368 * sysdeps/nptl/malloc-machine.h: ... here.
3369 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3370 * sysdeps/nptl/pthread-functions.h: ... here.
3371 * nptl/sysdeps/pthread/pthread.h: Moved ...
3372 * sysdeps/nptl/pthread.h: ... here.
3373 * nptl/sysdeps/pthread/setxid.h: Moved ...
3374 * sysdeps/nptl/setxid.h: ... here.
3375 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3376 * sysdeps/nptl/sigfillset.c: ... here.
3377 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3378 * sysdeps/nptl/tcb-offsets.h: ... here.
3379 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3380 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3381 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3382 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3383 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3384 * sysdeps/pthread/allocalim.h: ... here.
3385 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3386 * sysdeps/pthread/bits/sigthread.h: ... here.
3387 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3388 * sysdeps/pthread/flockfile.c: ... here.
3389 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3390 * sysdeps/pthread/ftrylockfile.c: ... here.
3391 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3392 * sysdeps/pthread/funlockfile.c: ... here.
3393 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3394 * sysdeps/pthread/posix-timer.h: ... here.
3395 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3396 * sysdeps/pthread/timer_create.c: ... here.
3397 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3398 * sysdeps/pthread/timer_delete.c: ... here.
3399 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3400 * sysdeps/pthread/timer_getoverr.c: ... here.
3401 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3402 * sysdeps/pthread/timer_gettime.c: ... here.
3403 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3404 * sysdeps/pthread/timer_routines.c: ... here.
3405 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3406 * sysdeps/pthread/timer_settime.c: ... here.
3407 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3408 * sysdeps/pthread/tst-timer.c: ... here.
3409 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3410 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3412 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3413 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3415 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3416 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3417 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3418 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3419 Update #include target.
3420 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3421 * sysdeps/i386/i686/nptl/Makefile: ... here.
3422 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3423 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3424 Update #include target.
3425 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3426 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3427 * nptl/sysdeps/i386/Makefile: Moved ...
3428 * sysdeps/i386/nptl/Makefile: ... here.
3429 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3430 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3431 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3432 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3433 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3434 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3435 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3436 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3437 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3438 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3439 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3440 * nptl/sysdeps/i386/tls.h: Moved ...
3441 * sysdeps/i386/nptl/tls.h: ... here.
3443 * sysdeps/sh/Makefile [$(subdir) = csu]
3444 (gen-as-const-headers): Add tcb-offsets.sym.
3445 * nptl/sysdeps/sh/Makefile: File removed.
3446 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3447 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3448 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3449 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3450 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3451 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3452 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3453 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3454 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3455 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3456 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3457 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3458 * nptl/sysdeps/sh/tls.h: Moved ...
3459 * sysdeps/sh/nptl/tls.h: ... here.
3460 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3461 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3462 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3463 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3464 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3465 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3466 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3467 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3468 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3469 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3470 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3471 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3472 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3473 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3474 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3475 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3476 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3477 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3478 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3479 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3480 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3481 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3482 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3483 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3484 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3486 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3489 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3490 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3491 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3492 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3493 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3494 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3495 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3496 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3497 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3498 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3499 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3500 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3501 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3502 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3503 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3504 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3505 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3506 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3507 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3509 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3511 * posix/spawn_faction_addopen.c: Include string.h.
3513 2014-06-11 Roland McGrath <roland@hack.frob.com>
3515 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3516 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3517 * nptl/sysdeps/x86_64/Makefile: Moved ...
3518 * sysdeps/x86_64/nptl/Makefile: ... here.
3519 * nptl/sysdeps/x86_64/configure: Moved ...
3520 * sysdeps/x86_64/nptl/configure: ... here.
3521 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3522 * sysdeps/x86_64/nptl/configure.ac: ... here.
3523 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3524 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3525 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3526 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3527 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3528 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3529 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3530 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3531 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3532 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3533 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3534 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3535 * nptl/sysdeps/x86_64/tls.h: Moved ...
3536 * sysdeps/x86_64/nptl/tls.h: ... here.
3537 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3538 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3539 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3540 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3542 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3544 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3548 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3550 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3552 [POSIX] (off_t): Likewise.
3553 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3554 [POSIX] (S_ISBLK): Require macro.
3555 [POSIX] (S_ISCHR): Likewise.
3556 [POSIX] (S_ISDIR): Likewise.
3557 [POSIX] (S_ISFIFO): Likewise.
3558 [POSIX] (S_ISREG): Likewise.
3559 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3561 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3563 [POSIX] (time_t): Likewise.
3564 [POSIX] (timer_t): Likewise.
3566 2014-06-11 Florian Weimer <fweimer@redhat.com>
3569 * posix/spawn_int.h (struct __spawn_action): Make the path string
3570 non-const to support deallocation.
3571 * posix/spawn_faction_addopen.c
3572 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3573 * posix/spawn_faction_destroy.c
3574 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3575 path in all spawn_do_open actions.
3576 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3577 posix_spawn_file_actions_addopen.
3579 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3581 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3582 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3583 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3584 conditional code always true.
3585 (__libc_vfork): New alias.
3587 2014-06-11 Roland McGrath <roland@hack.frob.com>
3589 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3590 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3592 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3594 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3595 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3597 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3598 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3600 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3601 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3603 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3605 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3606 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3607 multiarch strcmp for PPC64.
3608 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3609 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3611 multiarch optimizations.
3612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3613 (__libc_ifunc_impl_list): Likewise.
3615 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3617 * benchtests/scripts/validate_benchout.py: New script.
3618 * benchtests/Makefile (bench-func): Call it.
3619 * benchtests/scripts/benchout.schema.json: New file.
3621 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3623 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3624 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3625 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3626 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3627 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3628 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3629 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3630 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3631 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3632 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3633 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3634 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3635 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3636 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3637 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3638 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3742 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3743 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3744 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3745 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3746 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3748 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3750 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3751 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3752 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3753 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3754 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3755 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3756 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3757 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3758 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3759 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3761 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3762 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3764 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3765 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3767 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3768 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3769 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3770 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3772 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3773 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3774 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3775 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3776 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3777 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3778 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3780 2014-06-10 Wilco <wdijkstr@arm.com>
3782 * math/test-fenv-return.c: New file.
3783 * math/Makefile: Add new test test-fenv-return.
3785 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3788 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3790 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3791 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3792 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3793 0.0L for an argument of 1.0L.
3794 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3796 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3797 value when x - 1 is zero.
3798 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3799 * sysdeps/i386/fpu/libm-test-ulps: Update.
3800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3802 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3805 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3807 2014-06-09 Roland McGrath <roland@hack.frob.com>
3809 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3810 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3812 2014-06-09 Roland McGrath <roland@hack.frob.com>
3814 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3815 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3817 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3818 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3820 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3821 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3823 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3824 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3826 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3827 if not already defined.
3828 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3829 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3830 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3831 (TLS_INIT_TP): Use it.
3832 (TLS_DEFINE_INIT_TP): New macro.
3833 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3835 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3837 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3839 [POSIX] (IXANY): Likewise.
3840 [POSIX] (OLCUC): Likewise.
3841 [POSIX || POSIX2008] (CBAUD): Do not allow.
3842 [POSIX || POSIX2008] (DEFECHO): Likewise.
3843 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3844 [POSIX || POSIX2008] (ECHOKE): Likewise.
3845 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3846 [POSIX || POSIX2008] (EXTA): Likewise.
3847 [POSIX || POSIX2008] (EXTB): Likewise.
3848 [POSIX || POSIX2008] (FLUSHO): Likewise.
3849 [POSIX || POSIX2008] (LOBLK): Likewise.
3850 [POSIX || POSIX2008] (PENDIN): Likewise.
3851 [POSIX || POSIX2008] (SWTCH): Likewise.
3852 [POSIX || POSIX2008] (VDISCARD): Likewise.
3853 [POSIX || POSIX2008] (VDSUSP): Likewise.
3854 [POSIX || POSIX2008] (VLNEXT): Likewise.
3855 [POSIX || POSIX2008] (VREPRINT): Likewise.
3856 [POSIX || POSIX2008] (VSTATUS): Likewise.
3857 [POSIX || POSIX2008] (VWERASE): Likewise.
3858 (B*): Change to B[0123456789]*.
3859 * conform/data/time.h-data [POSIX || UNIX98]
3860 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3861 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3862 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3863 [POSIX] (tm_*): Do not allow.
3865 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3867 * Makefile (install): Don't set LANGUAGE.
3868 * Makefile.in (install): Likewise.
3869 * assert/Makefile (test-assert-ENV): Remove variable.
3870 (test-assert-perr-ENV): Likewise.
3871 * elf/Makefile (neededtest4-ENV): Likewise.
3872 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3873 [$(cross-compiling) = no]: Don't set LANGUAGE.
3874 * io/ftwtest-sh (LANG): Remove variable.
3875 * libio/Makefile (tst-widetext-ENV): Likewise.
3876 * manual/install.texi (Running make install): Don't refer to
3877 environment settings for make install.
3878 * INSTALL: Regenerated.
3879 * nptl/tst-tls6.sh: Don't set LANG.
3880 * posix/globtest.sh (LANG): Remove variable.
3881 * string/Makefile (tester-ENV): Likewise.
3882 (inl-tester-ENV): Likewise.
3883 (noinl-tester-ENV): Likewise.
3884 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3885 [$(cross-compiling) = no]: Don't set LANGUAGE.
3886 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3887 without explicit environment settings.
3889 2014-06-06 Roland McGrath <roland@hack.frob.com>
3891 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3892 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3893 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3894 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3896 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3898 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3899 other files in the crypt directory.
3900 * crypt/crypt.c: Remove duplicate includes.
3901 * crypt/crypt-entry.c: Likewise.
3902 * crypt/crypt_util.c: Likewise.
3904 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3906 * Makeconfig (run-program-env): New variable.
3907 (run-program-prefix-before-env): Likewise.
3908 (run-program-prefix-after-env): Likewise.
3909 (run-program-prefix): Define in terms of new variables.
3910 (built-program-cmd-before-env): New variable.
3911 (built-program-cmd-after-env): Likewise.
3912 (built-program-cmd): Define in terms of new variables.
3913 (test-program-prefix-before-env): New variable.
3914 (test-program-prefix-after-env): Likewise.
3915 (test-program-prefix): Define in terms of new variables.
3916 (test-program-cmd-before-env): New variable.
3917 (test-program-cmd-after-env): Likewise.
3918 (test-program-cmd): Define in terms of new variables.
3919 * Rules (make-test-out): Use $(run-program-env).
3920 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3921 (help): Do not mention environment variables. Mention
3922 --timeoutfactor option.
3923 (timeoutfactor): New variable.
3924 (blacklist_exports): Remove function.
3925 (exports): Remove variable.
3926 (command): Do not include ${exports}.
3927 * manual/install.texi (Configuring and compiling): Do not mention
3928 test wrappers preserving environment variables. Mention that last
3929 assignment to a variable must take precedence.
3930 * INSTALL: Regenerated.
3931 * benchtests/Makefile (run-bench): Use $(run-program-env).
3932 * catgets/Makefile ($(objpfx)test1.cat): Use
3933 $(built-program-cmd-before-env), $(run-program-env) and
3934 $(built-program-cmd-after-env).
3935 ($(objpfx)test2.cat): Do not specify environment variables
3937 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3938 $(run-program-env) and $(built-program-cmd-after-env).
3939 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3940 $(run-program-env) and $(test-program-cmd-after-env).
3941 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3943 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3944 run_program_env and test_program_cmd_after_env arguments.
3945 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3946 * elf/tst-pathopt.sh: Use run_program_env argument.
3947 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3948 $(test-wrapper-env) and $(run-program-env).
3949 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3950 run_program_env arguments.
3951 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3952 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3953 $(test-program-prefix-before-env), $(run-program-env) and
3954 $(test-program-prefix-after-env).
3955 ($(objpfx)tst-gettext2.out): Likewise.
3956 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3957 run_program_env and test_program_prefix_after_env arguments.
3958 * intl/tst-gettext2.sh: Likewise.
3959 * intl/tst-gettext4.sh: Do not set environment variables
3961 * intl/tst-gettext6.sh: Likewise.
3962 * intl/tst-translit.sh: Likewise.
3963 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3964 $(test-program-prefix-before-env), $(run-program-env) and
3965 $(test-program-prefix-after-env).
3966 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3967 run_program_env and test_program_prefix_after_env arguments.
3968 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3969 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3970 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3971 explicitly with each use of ${test_wrapper_env}.
3972 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3973 $(test-program-prefix-before-env), $(run-program-env) and
3974 $(test-program-prefix-after-env).
3975 * posix/tst-getconf.sh: Do not set environment variables
3977 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3978 run_program_env and test_program_prefix_after_env arguments.
3979 * stdio-common/tst-printf.sh: Do not set environment variables
3981 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3982 $(test-program-prefix-before-env), $(run-program-env) and
3983 $(test-program-prefix-after-env).
3984 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3985 run_program_env and test_program_prefix_after_env arguments.
3986 Split $test calls into $test_pre and $test.
3987 * timezone/Makefile (build-testdata): Use
3988 $(built-program-cmd-before-env), $(run-program-env) and
3989 $(built-program-cmd-after-env).
3991 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3993 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3994 strlen for non SHARED builds.
3996 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3998 * nptl/allocatestack.c (check_list): Inlined function...
3999 (__reclaim_stacks): ... here.
4001 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4004 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4007 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4009 * Rules (make-test-out): Include
4010 LOCPATH=$(common-objpfx)localedata in default environment.
4011 * debug/Makefile (tst-chk1-ENV): Remove variable.
4012 (tst-chk2-ENV): Likewise.
4013 (tst-chk3-ENV): Likewise.
4014 (tst-chk4-ENV): Likewise.
4015 (tst-chk5-ENV): Likewise.
4016 (tst-chk6-ENV): Likewise.
4017 (tst-lfschk1-ENV): Likewise.
4018 (tst-lfschk2-ENV): Likewise.
4019 (tst-lfschk3-ENV): Likewise.
4020 (tst-lfschk4-ENV): Likewise.
4021 (tst-lfschk5-ENV): Likewise.
4022 (tst-lfschk6-ENV): Likewise.
4023 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4024 (tst-iconv7-ENV): Likewise.
4025 * intl/Makefile (LOCPATH-ENV): Likewise.
4026 (tst-codeset-ENV): Likewise.
4027 (tst-gettext3-ENV): Likewise.
4028 (tst-gettext5-ENV): Likewise.
4029 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4030 (tst-fopenloc-ENV): Likewise.
4031 (tst-fgetws-ENV): Remove variable.
4032 (tst-ungetwc1-ENV): Likewise.
4033 (tst-ungetwc2-ENV): Likewise.
4034 (bug-ungetwc2-ENV): Likewise.
4035 (tst-swscanf-ENV): Likewise.
4036 (bug-ftell-ENV): Likewise.
4037 (tst-fgetwc-ENV): Likewise.
4038 (tst-fseek-ENV): Likewise.
4039 (tst-ftell-partial-wide-ENV): Likewise.
4040 (tst-ftell-active-handler-ENV): Likewise.
4041 (tst-ftell-append-ENV): Likewise.
4042 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4043 (tst-regexloc-ENV): Likewise.
4044 (bug-regex1-ENV): Likewise.
4045 (tst-regex-ENV): Likewise.
4046 (tst-regex2-ENV): Likewise.
4047 (bug-regex5-ENV): Likewise.
4048 (bug-regex6-ENV): Likewise.
4049 (bug-regex17-ENV): Likewise.
4050 (bug-regex18-ENV): Likewise.
4051 (bug-regex19-ENV): Likewise.
4052 (bug-regex20-ENV): Likewise.
4053 (bug-regex22-ENV): Likewise.
4054 (bug-regex23-ENV): Likewise.
4055 (bug-regex25-ENV): Likewise.
4056 (bug-regex26-ENV): Likewise.
4057 (bug-regex30-ENV): Likewise.
4058 (bug-regex32-ENV): Likewise.
4059 (bug-regex33-ENV): Likewise.
4060 (bug-regex34-ENV): Likewise.
4061 (bug-regex35-ENV): Likewise.
4062 (tst-rxspencer-ENV): Likewise.
4063 (tst-rxspencer-no-utf8-ENV): Likewise.
4064 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4065 (tst-sscanf-ENV): Likewise.
4066 (tst-swprintf-ENV): Likewise.
4067 (tst-swscanf-ENV): Likewise.
4068 (test-vfprintf-ENV): Likewise.
4069 (scanf13-ENV): Likewise.
4070 (bug14-ENV): Likewise.
4071 (tst-grouping-ENV): Likewise.
4072 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4073 (tst-strtod3-ENV): Likewise.
4074 (tst-strtod4-ENV): Likewise.
4075 (tst-strtod5-ENV): Likewise.
4076 (testmb2-ENV): Likewise./
4077 * string/Makefile (tst-strxfrm-ENV): Likewise.
4078 (tst-strxfrm2-ENV): Likewise.
4079 (bug-strcoll1-ENV): Likewise.
4080 (test-strcasecmp-ENV): Likewise.
4081 (test-strncasecmp-ENV): Likewise.
4082 * time/Makefile (tst-strptime-ENV): Likewise.
4083 (tst-ftime_l-ENV): Likewise.
4084 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4085 (tst-mbrtowc-ENV): Likewise.
4086 (tst-wcrtomb-ENV): Likewise.
4087 (tst-mbrtowc2-ENV): Likewise.
4088 (tst-c16c32-1-ENV): Likewise.
4089 (tst-mbsnrtowcs-ENV): Likewise.
4091 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4093 * manual/resource.texi (How to get information about the memory
4094 subsystem?): Fix typo.
4095 Reported by Peon de la Parra Ivan <peon@keba.com>
4097 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4100 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4101 (pthread_spin_lock): Branch out of spin loop to proper location.
4102 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4103 (pthread_spin_lock): Likewise.
4105 * nptl/tst-spin4.c: New test.
4106 * nptl/Makefile (tests): Add tst-spin4.
4108 2014-06-03 Andreas Schwab <schwab@suse.de>
4111 * resolv/res_send.c (send_dg): Reload file descriptor after
4114 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4116 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4118 2014-06-03 Richard Henderson <rth@redhat.com>
4120 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4121 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4122 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4123 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4124 in the SAVE_PID block.
4125 (__libc_vfork): New alias.
4126 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4128 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4129 child in registers, not on the stack. Remove RESET_PID conditionals.
4130 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4132 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4134 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4136 2014-06-03 Wilco <wdijkstr@arm.com>
4138 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4139 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4140 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4141 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4142 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4145 2014-06-03 Wilco <wdijkstr@arm.com>
4147 * sysdeps/aarch64/fpu/math_private.h
4148 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4149 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4150 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4151 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4154 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4156 * crypt/crypt-private.h: Include ufc-crypt.h.
4157 (__b64_from_24bit): Declare extern.
4158 * crypt/crypt_util.c(__b64_from_24bit): New function.
4159 (b64t): New static const variable.
4160 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4161 (b64t): Remove variable.
4162 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4163 * crypt/sha256-crypt.c: Include crypt-private.h.
4164 (b64t): Remove variable.
4165 (__sha256_crypt_r): Remove b64_from_24bit and replace
4166 with __b64_from_24bit.
4167 * crypt/sha512-crypt.c: Likewise.
4169 2014-06-02 Roland McGrath <roland@hack.frob.com>
4171 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4172 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4173 Label the code __libc_vfork rather than __vfork.
4174 [!NOT_IN_libc] (vfork): Define as weak alias.
4175 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4176 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4177 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4179 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4181 * malloc/malloc.c (malloc_info): Fix format specifier for
4184 2014-06-02 Wilco <wdijkstr@arm.com>
4186 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4189 2014-06-02 Wilco <wdijkstr@arm.com>
4192 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4193 Rewrite to reduce FPCR/FPSR accesses.
4195 2014-06-01 David S. Miller <davem@davemloft.net>
4197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4199 2014-05-31 David S. Miller <davem@davemloft.net>
4201 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4202 to occur in round to nearest mode when |x| >= 2.0
4204 2014-05-30 Richard Henderson <rth@twiddle.net>
4206 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4207 (PSEUDO_RET_NOERRNO): Remove.
4208 (ret): Don't redefine.
4209 (ret_NOERRNO): Define in terms of ret.
4210 (ret_ERRVAL): Likewise.
4212 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4213 use of PSEUDO_RET; perform the error check directly.
4215 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4217 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4220 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4222 * malloc/malloc (malloc_info): Fix formatting.
4224 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4225 Roland McGrath <roland@hack.frob.com>
4227 * malloc/malloc (malloc_info): Also print mmapped statistics.
4229 2014-05-30 Roland McGrath <roland@hack.frob.com>
4231 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4232 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4234 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4236 * malloc/malloc.c (malloc_info): Inline mi_arena.
4238 2014-05-29 Richard Henderson <rth@twiddle.net>
4240 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4241 Remove comma before expanding ASM_ARGS_##nr.
4242 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4243 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4245 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4246 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4247 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4248 (ASM_ARGS_1): Add leading comma.
4250 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4251 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4252 to __errno_location.
4253 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4254 Remove the expected plt for __errno_location.
4256 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4257 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4260 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4261 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4262 it and break it down.
4263 (DOCARGS_0, DOCARGS_1): Do nothing.
4264 (DOCARGS_2): Update to store into the new stack frame.
4265 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4266 (UNDOCARGS_1): Update to restore from the new stack frame.
4267 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4268 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4270 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4271 (SINGLE_THREAD_P): New parameter for result regno.
4272 (PSEUDO): Update to match; use cbz instead of beq.
4274 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4275 Use ENTRY to define the _nocancel entry point. Share the syscall
4276 and syscall error check paths with the cancel path.
4279 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4280 whitespace; tabs before and after asm mnemonics.
4282 2014-05-29 Eric Wong <normalperson@yhbt.net>
4285 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4286 Call fstat64 or stat64 internally, depending on arguments passed.
4287 Replace stat buffer argument with file descriptor argument.
4288 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4289 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4290 Pass fd to __internal_statvfs instead of calling fstat64.
4291 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4292 Pass fd to __internal_statvfs64 instead of calling fstat64.
4293 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4294 Pass -1 to __internal_statvfs instead of calling stat64.
4295 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4296 Pass -1 to __internal_statvfs64 instead of calling stat64.
4298 2014-05-28 Roland McGrath <roland@hack.frob.com>
4300 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4301 that was previously under [RESET_PID].
4302 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4304 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4305 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4307 2014-05-27 Roland McGrath <roland@hack.frob.com>
4309 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4311 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4312 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4314 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4316 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4318 2014-05-27 Andreas Schwab <schwab@suse.de>
4320 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4322 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4323 * elf/rtld.c (init_tls, dl_main): Likewise.
4324 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4325 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4326 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4327 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4328 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4329 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4330 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4331 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4332 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4333 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4334 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4335 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4336 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4337 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4338 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4339 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4340 * sysdeps/generic/tls.h: Update description.
4342 2014-05-27 Will Newton <will.newton@linaro.org>
4345 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4346 and restore r2 rather than just restoring.
4348 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4351 * libio/tst-ftell-append.c: New test case.
4352 * libio/Makefile (tests): Add test case.
4353 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4355 * libio/wfileops.c (do_ftell_wide): Likewise.
4357 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4361 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4365 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4366 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4367 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4368 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4369 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4370 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4374 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4377 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4378 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4379 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4380 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4381 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4383 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4384 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4386 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4388 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4390 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4391 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4392 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4394 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4395 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4396 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4397 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4399 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4402 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4408 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4412 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4415 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4420 conditional [RESET_PID].
4421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4424 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4429 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4430 (__libc_vfork): New strong alias.
4431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4438 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4439 (__libc_vfork): New strong alias.
4440 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4442 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4445 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4447 * malloc/malloc.c (mi_arena): New function.
4448 (malloc_info): Remove nested function mi_arena. Call non-nosted
4451 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4453 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4455 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4456 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4457 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4458 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4459 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4460 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4461 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4463 2014-05-26 Andreas Schwab <schwab@suse.de>
4466 * locale/programs/repertoire.c (repertoire_read): Add slash
4467 between I18NPATH element and file name.
4468 * locale/programs/locfile.c (locfile_read): Likewise.
4470 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4472 * nptl/pthread_mutexattr_settype.c
4473 (__pthread_mutexattr_settype):
4474 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4476 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4478 * nptl/tst-mutex5 (do_test):
4479 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4481 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4483 * benchtests/README: Document 'init' directive.
4484 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4486 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4487 (parse_file): Recognize 'init' directive.
4489 2014-05-26 Kyle McMartin <kyle@redhat.com>
4492 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4493 alignment of struct pthread.
4495 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4498 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4499 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4500 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4501 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4503 2014-05-25 Richard Henderson <rth@twiddle.net>
4505 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4506 (SINGLE_THREAD_P_PIC): Remove.
4507 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4508 (SINGLE_THREAD_P_PIC): Remove.
4510 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4511 branch to syscall error ...
4513 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4514 from __local_syscall_error to .Lsyscall_error.
4515 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4516 (SYSCALL_ERROR): Update label name.
4518 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4519 Do not use DOARGS/UNDOARGS.
4520 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4521 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4522 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4523 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4524 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4526 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4529 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4530 define if !NOT_IN_libc.
4531 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4532 define with non-default symbol versions.
4534 2014-05-23 Richard Henderson <rth@twiddle.net>
4536 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4537 (vfork, __vfork): Define via compat_symbol.
4539 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4540 [!HAVE_IFUNC] (vfork_compat): Remove.
4541 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4543 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4546 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4547 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4550 2014-05-23 Richard Henderson <rth@twiddle.net>
4552 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4553 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4554 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4555 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4557 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4558 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4559 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4560 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4561 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4562 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4563 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4564 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4565 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4566 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4567 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4568 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4569 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4570 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4571 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4572 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4574 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4575 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4576 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4577 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4578 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4579 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4580 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4581 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4582 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4583 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4584 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4585 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4586 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4587 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4588 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4589 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4590 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4591 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4592 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4593 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4594 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4595 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4596 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4597 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4598 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4599 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4600 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4601 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4602 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4603 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4604 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4605 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4606 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4607 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4608 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4609 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4610 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4611 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4612 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4614 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4615 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4616 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4617 before exiting on error.
4618 (__libc_vfork): New strong alias.
4619 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4620 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4622 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4623 that was previously under [RESET_PID].
4624 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4626 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4628 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4631 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4632 value when x - 1 is zero.
4633 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4634 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4635 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4636 0.0L for an argument of 1.0L.
4637 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4639 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4640 value when x - 1 is zero.
4641 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4642 * sysdeps/i386/fpu/libm-test-ulps: Update.
4643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4645 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4647 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4648 alphasort and versionsort.
4650 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4652 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4654 [copysignf]: Likewise.
4656 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4658 * crypt/md5-crypt.c: Fix formatting.
4660 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4662 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4663 (b64_from_24bit): New function.
4665 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4667 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4668 libc_hidden_builtin_def to ifunc.
4669 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4670 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4672 2014-05-21 Roland McGrath <roland@hack.frob.com>
4674 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4675 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4677 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4679 * nscd/Depend (linuxthreads): Remove.
4681 * resolv/Depend (linuxthreads): Remove.
4682 * rt/Depend (linuxthreads): Remove.
4684 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4685 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4686 $(common-objpfx)elf/.
4687 (link-libc-before-gnulib): Likewise.
4688 (elfobjdir): Remove variable.
4689 * Makefile (install): Use $(elf-objpfx) instead of
4690 $(common-objpfx)elf/.
4691 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4693 (link-libc-deps): Likewise.
4694 ($(common-objpfx)libc.so): Likewise.
4695 ($(common-objpfx)linkobj/libc.so): Likewise.
4696 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4697 instead of $(common-objpfx)elf/.
4698 (symbolic-link-list): Likewise.
4699 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4700 [$(cross-compiling) = no]: Likewise.
4701 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4703 (static-gnulib-arch): Likewise.
4704 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4705 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4706 $(common-objpfx)elf/.
4708 2014-05-21 Richard Henderson <rth@redhat.com>
4710 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4711 (SINGLE_THREAD_P): Use the correct width load. Fold
4712 into the ldr offset.
4714 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4715 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4717 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4719 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4720 (libgcc_s_resume): Use __attribute_used__.
4721 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4724 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4726 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4727 optimization when used with float constants.
4729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4731 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4734 * locale/nl_langinfo_l.c: Make direct reference to every
4735 _nl_current_CATEGORY symbol.
4736 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4737 (tests-static): Add tst-langinfo-static.
4738 (tests-special): Add tst-langinfo-static.out.
4739 ($(objpfx)tst-langinfo.out): Redirect output.
4740 ($(objpfx)tst-langinfo-static.out): New.
4741 * localedata/tst-langinfo.sh: Send output to stdout.
4742 * localedata/tst-langinfo-static.c: New file.
4745 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4746 when the shift amount is modulo the limb size.
4748 2014-05-20 Richard Henderson <rth@redhat.com>
4751 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4752 Change type of sa_flags from unsigned int to int.
4755 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4757 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4759 2014-05-20 Will Newton <will.newton@linaro.org>
4761 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4762 Test the return value of the system call in the nocancel case.
4764 2014-05-20 Will Newton <will.newton@linaro.org>
4765 Yvan Roux <yvan.roux@linaro.org>
4767 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4768 #include of asm/ptrace.h.
4769 (PTRACE_GET_THREAD_AREA): Remove #undef.
4770 (PTRACE_GETHBPREGS): Likewise.
4771 (PTRACE_SETHBPREGS): Likewise.
4772 (struct user_regs_struct): New structure.
4773 (struct user_fpsimd_struct): New structure.
4774 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4775 #include of asm/ptrace.h and second #include of sys/user.h.
4776 (PTRACE_GET_THREAD_AREA): Remove #undef.
4777 (PTRACE_GETHBPREGS): Likewise.
4778 (PTRACE_SETHBPREGS): Likewise.
4779 (ELF_NGREG): Use new struct user_regs_struct.
4780 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4782 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4784 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4785 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4787 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4790 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4791 membar to avoid block loads/stores to overlap previous stores.
4793 2014-05-17 Richard Henderson <rth@redhat.com>
4795 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4796 Create the __##syscall_name##_nocancel entry point.
4797 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4798 Remove; let the sysdep-cancel.h code create it.
4800 2014-05-17 David S. Miller <davem@davemloft.net>
4802 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4803 Protect with __USE_GNU.
4804 (TIOCSET_TEMPT): Likewise.
4805 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4806 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4807 these are already provided in bits/ioctl-types.h
4809 2014-05-16 Roland McGrath <roland@hack.frob.com>
4811 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4812 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4814 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4815 Use wait4 regardless of [__NR_waitpid].
4817 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4820 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4821 (_FP_NANSIGN_Q): Set the quiet bit.
4823 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4825 * benchtests/Makefile
4826 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4827 not $(common-objpfx)math/libm.so.
4828 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4829 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4830 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4831 $(common-objpfx)dlfcn/libdl.so.
4832 ($(objpfx)tst-audit8): Depend on $(libm), not
4833 $(common-objpfx)math/libm.so.
4834 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4835 not $(common-objpfx)dlfcn/libdl.so.
4837 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4838 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4839 [$(build-shared) = yes].
4840 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4841 $(common-objpfx)nptl/libpthread.so.
4842 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4843 $(common-objpfx)math/libm.so$(libm.so-version) or
4844 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4845 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4846 $(common-objpfx)dlfcn/libdl.so.
4847 * setjmp/Makefile (link-libm): Remove variable.
4848 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4849 * stdio-common/Makefile (link-libm): Remove variable.
4850 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4851 * stdlib/Makefile (link-libm): Remove variable.
4852 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4853 ($(objpfx)tst-strtod-round): Likewise.
4854 ($(objpfx)tst-tininess): Likewise.
4855 ($(objpfx)tst-strtod-underflow): Likewise.
4856 ($(objpfx)tst-strtod6): Likewise.
4857 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4858 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4859 $(common-objpfx)dlfcn/libdl.so.
4861 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4863 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4864 BSD terminal modes definitions.
4866 2014-05-16 Roland McGrath <roland@hack.frob.com>
4868 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4869 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4871 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4872 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4873 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4874 Don't do #include_next.
4875 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4876 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4877 Don't do #include_next.
4878 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4879 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4880 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4881 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4883 2014-05-16 Allan McRae <allan@archlinux.org>
4885 * po/sv.po: Update Swedish translation from translation project.
4887 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4890 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4893 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4894 errno if the TIOCGPTN ioctl fails with an error different than
4896 * login/tst-ptsname.c: New file.
4897 * login/Makefile (tests): Add tst-ptsname.
4900 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4903 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4907 herrno to return EAI_AGAIN.
4909 2014-05-14 Roland McGrath <roland@hack.frob.com>
4911 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4912 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4913 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4914 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4915 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4916 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4917 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4918 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4919 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4920 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4921 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4922 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4923 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4924 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4925 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4926 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4927 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4928 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4929 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4930 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4931 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4932 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4933 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4934 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4935 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4936 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4937 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4938 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4939 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4940 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4942 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4944 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4947 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4949 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4951 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4953 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4955 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4957 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4959 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4961 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4963 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4965 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4967 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4969 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4971 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4973 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4976 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4978 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4980 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4982 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4984 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4986 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4988 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4990 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4992 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4994 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4997 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4999 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5001 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5002 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5003 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5004 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5005 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5006 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5007 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5008 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5009 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5010 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5011 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5012 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5013 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5014 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5015 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5016 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5017 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5018 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5019 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5020 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5021 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5022 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5023 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5024 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5025 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5026 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5027 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5028 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5029 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5030 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5031 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5033 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5034 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5036 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5037 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5038 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5039 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5040 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5041 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5043 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5044 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5046 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5047 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5049 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5050 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5052 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5053 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5054 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5055 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5057 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5058 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5059 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5060 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5061 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5062 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5063 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5064 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5066 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5067 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5069 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5071 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5072 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5073 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5074 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5075 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5077 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5079 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5081 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5082 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5083 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5084 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5085 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5086 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5088 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5089 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5091 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5092 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5094 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5095 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5097 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5098 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5099 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5100 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5102 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5103 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5104 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5105 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5106 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5107 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5108 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5109 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5111 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5112 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5114 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5116 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5117 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5118 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5119 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5120 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5122 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5124 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5126 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5127 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5128 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5129 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5130 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5131 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5132 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5133 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5134 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5135 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5137 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5138 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5140 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5141 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5143 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5144 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5146 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5147 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5148 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5149 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5150 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5151 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5153 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5154 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5155 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5156 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5157 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5158 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5159 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5160 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5162 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5163 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5165 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5167 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5168 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5169 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5170 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5171 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5173 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5175 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5177 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5178 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5179 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5180 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5181 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5182 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5183 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5184 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5185 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5186 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5187 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5189 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5190 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5192 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5193 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5195 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5196 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5197 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5198 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5199 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5200 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5201 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5202 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5203 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5204 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5205 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5206 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5207 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5208 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5209 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5210 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5211 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5212 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5214 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5216 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5219 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5220 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5221 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5222 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5223 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5224 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5225 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5226 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5228 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5229 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5231 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5232 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5233 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5235 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5236 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5237 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5238 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5239 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5240 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5241 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5242 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5243 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5244 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5245 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5246 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5247 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5249 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5250 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5251 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5252 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5253 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5255 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5256 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5257 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5258 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5259 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5260 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5261 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5262 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5263 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5264 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5266 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5267 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5269 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5270 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5271 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5272 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5273 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5274 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5275 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5276 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5277 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5278 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5279 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5280 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5281 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5282 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5283 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5289 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5299 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5301 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5303 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5304 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5305 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5306 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5307 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5308 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5309 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5310 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5311 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5312 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5313 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5314 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5315 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5316 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5317 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5319 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5320 that was previously under [RESET_PID].
5321 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5322 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5323 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5325 * sysdeps/i386/nptl/Implies: New file.
5326 * sysdeps/x86_64/nptl/Implies: New file.
5327 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5328 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5329 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5330 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5332 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5333 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5334 (__libc_vfork): New strong alias.
5335 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5336 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5338 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5339 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5340 (__libc_vfork): New strong alias.
5341 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5342 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5344 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5345 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5346 (__libc_vfork): New strong alias.
5347 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5348 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5349 * nptl/pt-vfork.c: New file.
5350 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5351 (libpthread: GLIBC_2.20): New version set (empty).
5353 2014-05-14 Will Newton <will.newton@linaro.org>
5355 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5358 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5361 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5362 arguments with exponent 65 or above.
5363 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5364 arguments 0x1p113L or above.
5365 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5366 to arguments 0x1p107L or above.
5367 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5368 positive arguments with exponent 65 or above.
5369 * math/auto-libm-test-in: Add more tests of log1p.
5370 * math/auto-libm-test-out: Regenerated.
5373 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5374 non-finite arguments is +0.
5375 * math/s_cacosf.c (__cacosf): Likewise.
5376 * math/s_cacosl.c (__cacosl): Likewise.
5377 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5378 * sysdeps/i386/fpu/libm-test-ulps: Update.
5379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5382 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5384 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5385 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5386 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5387 for explicit high bit of mantissa when testing for argument equal
5389 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5390 * sysdeps/i386/fpu/libm-test-ulps: Update.
5391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5394 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5395 (__erf): Scale by 16 instead of 8 in potentially underflowing
5396 case. Ensure exception if result actually underflows.
5397 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5398 (__erff): Scale by 16 instead of 8 in potentially underflowing
5399 case. Ensure exception if result actually underflows.
5400 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5401 (efx8): Remove variable.
5402 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5403 case. Ensure exception if result actually underflows.
5404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5405 (efx8): Remove variable.
5406 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5407 case. Ensure exception if result actually underflows.
5408 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5409 (efx8): Remove variable.
5410 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5411 case. Ensure exception if result actually underflows.
5412 * math/auto-libm-test-in: Add more tests of erf.
5413 * math/auto-libm-test-out: Regenerated.
5415 2014-05-14 Andreas Schwab <schwab@suse.de>
5417 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5418 Remove code conditionalized on USE___THREAD.
5420 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5421 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5424 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5427 Define unconditionally.
5428 (__ASSUME_O_CLOEXEC): Likewise.
5429 (__ASSUME_SOCK_CLOEXEC): Likewise.
5430 (__ASSUME_IN_NONBLOCK): Likewise.
5431 (__ASSUME_PIPE2): Likewise.
5432 (__ASSUME_EVENTFD2): Likewise.
5433 (__ASSUME_SIGNALFD4): Likewise.
5434 (__ASSUME_DUP3): Likewise.
5435 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5436 (__ASSUME_DUP3): Do not define.
5437 (__ASSUME_EVENTFD2): Likewise.
5438 (__ASSUME_IN_NONBLOCK): Likewise.
5439 (__ASSUME_O_CLOEXEC): Likewise.
5440 (__ASSUME_PIPE2): Likewise.
5441 (__ASSUME_SIGNALFD4): Likewise.
5442 (__ASSUME_SOCK_CLOEXEC): Likewise.
5443 (__ASSUME_UTIMES): Undefine.
5444 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5445 (__ASSUME_UTIMES): Do not define.
5446 (__ASSUME_O_CLOEXEC): Likewise.
5447 (__ASSUME_SOCK_CLOEXEC): Likewise.
5448 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5449 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5451 (__ASSUME_PIPE2): Likewise.
5452 (__ASSUME_EVENTFD2): Likewise.
5453 (__ASSUME_SIGNALFD4): Likewise.
5454 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5455 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5457 (__ASSUME_EVENTFD2): Likewise.
5458 (__ASSUME_SIGNALFD4): Likewise.
5459 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5460 (__ASSUME_32BITUIDS): Likewise.
5461 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5462 (__ASSUME_IPC64): Likewise.
5463 (__ASSUME_ST_INO_64_BIT): Likewise.
5464 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5465 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5466 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5467 (__ASSUME_UTIMES): Do not define.
5468 (__ASSUME_PSELECT): Likewise.
5469 (__ASSUME_PPOLL): 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/m68k/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/microblaze/kernel-features.h
5487 (__ASSUME_UTIMES): Likewise.
5488 (__ASSUME_O_CLOEXEC): Likewise.
5489 (__ASSUME_SOCK_CLOEXEC): Likewise.
5490 (__ASSUME_IN_NONBLOCK): Likewise.
5491 (__ASSUME_PIPE2): Likewise.
5492 (__ASSUME_EVENTFD2): Likewise.
5493 (__ASSUME_SIGNALFD4): Likewise.
5494 (__ASSUME_DUP3): Likewise.
5495 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5497 (__ASSUME_UTIMES): Likewise.
5498 (__ASSUME_EVENTFD2): Likewise.
5499 (__ASSUME_SIGNALFD4): Likewise.
5500 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5501 (__ASSUME_O_CLOEXEC): Likewise.
5502 (__ASSUME_SOCK_CLOEXEC): Likewise.
5503 (__ASSUME_IN_NONBLOCK): Likewise.
5504 (__ASSUME_PIPE2): Likewise.
5505 (__ASSUME_EVENTFD2): Likewise.
5506 (__ASSUME_SIGNALFD4): Likewise.
5507 (__ASSUME_DUP3): Likewise.
5508 (__ASSUME_UTIMES): Undefine.
5510 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5511 feclearexcept. Remove symbol versioning code.
5512 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5513 symbol versioning code.
5514 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5515 symbol versioning code.
5516 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5517 feupdateenv. Remove symbol versioning code.
5518 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5519 fegetexceptflag. Remove symbol versioning code.
5520 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5521 fesetexceptflag. Remove symbol versioning code.
5522 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5523 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5524 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5525 (__posix_fadvise64_l32): Remove prototype.
5526 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5529 2014-05-13 Roland McGrath <roland@hack.frob.com>
5531 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5532 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5533 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5534 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5536 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5538 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5539 current working directory
5541 2014-05-13 Roland McGrath <roland@hack.frob.com>
5543 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5544 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5545 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5546 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5547 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5548 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5549 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5550 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5551 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5552 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5553 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5554 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5555 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5556 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5557 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5558 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5559 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5560 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5561 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5562 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5563 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5564 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5565 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5566 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5567 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5568 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5569 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5570 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5571 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5572 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5573 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5574 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5575 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5576 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5577 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5578 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5579 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5580 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5581 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5582 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5583 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5584 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5586 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5587 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5589 * sysdeps/unix/sysv/linux/arm/Makefile
5590 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5591 Add rt-aeabi_unwind_cpp_pr1.
5592 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5593 Add nptl-aeabi_unwind_cpp_pr1.
5594 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5595 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5596 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5597 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5598 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5599 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5601 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5602 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5603 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5604 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5606 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5607 Deconditionalize the code that was previously under [RESET_PID].
5608 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5610 * sysdeps/generic/exit-thread.h: New file.
5611 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5612 * include/unistd.h (__exit_thread): Remove declaration.
5613 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5614 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5615 * csu/libc-start.c: Include <exit-thread.h>.
5616 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5617 * nptl/pthread_create.c: Include <exit-thread.h>.
5618 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5619 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5620 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5621 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5622 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5623 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5624 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5625 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5626 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5627 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5628 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5629 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5630 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5631 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5632 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5633 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5634 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5636 2014-05-13 Andreas Schwab <schwab@suse.de>
5638 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5640 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5642 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5643 (__ASSUME_UTIMES): Do not condition on kernel version.
5644 (__ASSUME_PSELECT): Define unconditionally.
5645 (__ASSUME_PPOLL): Likewise.
5646 (__ASSUME_ATFCTS): Likewise.
5647 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5648 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5649 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5650 (__ASSUME_UTIMENSAT): Define unconditionally.
5651 (__ASSUME_PRIVATE_FUTEX): Likewise.
5652 (__ASSUME_FALLOCATE): Likewise.
5653 (__ASSUME_O_CLOEXEC): Likewise.
5654 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5655 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5656 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5657 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5658 (__ASSUME_IN_NONBLOCK): Likewise.
5659 (__ASSUME_PIPE2): Likewise.
5660 (__ASSUME_EVENTFD2): Likewise.
5661 (__ASSUME_SIGNALFD4): Likewise.
5662 (__ASSUME_DUP3): Likewise.
5663 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5664 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5665 (__ASSUME_AT_RANDOM): Likewise.
5666 (__ASSUME_PREADV): Likewise.
5667 (__ASSUME_PWRITEV): Likewise.
5668 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5669 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5670 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5671 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5672 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5673 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5674 (__ASSUME_O_CLOEXEC): Define unconditionally.
5675 (__ASSUME_PSELECT): Do not undefine conditionally.
5676 (__ASSUME_PPOLL): Likewise.
5677 (__ASSUME_ATFCTS): Likewise.
5678 (__ASSUME_SET_ROBUST_LIST): Likewise.
5679 (__ASSUME_UTIMENSAT): Likewise.
5680 (__ASSUME_FDATASYNC): Define unconditionally.
5681 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5682 (__ASSUME_SIGFRAME_V2): Likewise.
5683 )__ASSUME_EVENTFD2): Likewise.
5684 (__ASSUME_SIGNALFD4): Likewise.
5685 (__ASSUME_PSELECT): Do not undefine conditionally.
5686 (__ASSUME_PPOLL): Likewise.
5687 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5688 (__ASSUME_PSELECT): Define unconditionally.
5689 (__ASSUME_PPOLL): Likewise.
5690 (__ASSUME_O_CLOEXEC): Likewise.
5691 (__ASSUME_SOCK_CLOEXEC): Likewise.
5692 (__ASSUME_IN_NONBLOCK): Likewise.
5693 (__ASSUME_PIPE2): Likewise.
5694 (__ASSUME_EVENTFD2): Likewise.
5695 (__ASSUME_SIGNALFD4): Likewise.
5696 (__ASSUME_DUP3): Likewise.
5697 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5698 (__ASSUME_O_CLOEXEC): Likewise.
5699 (__ASSUME_SOCK_CLOEXEC): Likewise.
5700 (__ASSUME_IN_NONBLOCK): Likewise.
5701 (__ASSUME_PIPE2): Likewise.
5702 (__ASSUME_EVENTFD2): Likewise.
5703 (__ASSUME_SIGNALFD4): Likewise.
5704 (__ASSUME_DUP3): Likewise.
5705 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5706 (__ASSUME_EVENTFD2): Likewise.
5707 (__ASSUME_SIGNALFD4): Likewise.
5708 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5710 2014-05-12 Andreas Schwab <schwab@suse.de>
5713 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5714 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5715 than maximum RPC packet size.
5716 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5717 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5718 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5719 (_nss_nis_getservbyport_r): Likewise.
5721 2014-05-12 Will Newton <will.newton@linaro.org>
5723 * malloc/Makefile (tests): Add tst-mallopt.
5724 * malloc/tst-mallopt.c: New file.
5726 2014-05-09 Roland McGrath <roland@hack.frob.com>
5728 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5729 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5731 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5733 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5734 (tst-tlsmod6.so): Likewise.
5736 2014-05-09 Roland McGrath <roland@hack.frob.com>
5738 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5740 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5743 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5744 and <dl-procinfo.h>.
5745 (__fegetenv): Save SSE state in envp->__eip if supported.
5746 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5747 envp->__eip if supported.
5748 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5749 and <dl-procinfo.h>.
5750 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5751 __data_offset and __data_selector in environment to 0. Set SSE
5753 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5755 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5757 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5759 2014-05-09 Will Newton <will.newton@linaro.org>
5761 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5762 and libc_relro_required for ARM.
5763 * sysdeps/arm/preconfigure: Regenerate.
5765 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5766 Stefan Liebler <stli@linux.vnet.ibm.com>
5768 * config.make.in (enable-lock-elision): New Makefile variable.
5769 * configure.ac: Likewise.
5770 * configure: Regenerate.
5771 * sysdeps/s390/configure.ac:
5772 Add check for gcc transactions support.
5773 * sysdeps/s390/configure: Regenerate.
5774 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5775 Build elision files if enabled.
5776 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5777 Add lock elision support for s390.
5778 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5779 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5780 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5781 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5782 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5783 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5784 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5786 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5788 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5790 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5792 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5793 (__lll_timedlock_elision, __lll_lock_elision)
5794 (__lll_unlock_elision, __lll_trylock_elision)
5795 (lll_timedlock_elision, lll_lock_elision)
5796 (lll_unlock_elision, lll_trylock_elision): Add.
5797 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5798 (pthread_mutex_t): Add lock elision support for s390.
5800 2014-05-14 Wilco <wdijkstr@arm.com>
5802 * sysdeps/arm/fclrexcpt.c: Cleanup.
5803 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5804 * sysdeps/arm/feenablxcpt.c: Cleanup.
5805 * sysdeps/arm/fegetenv.c: Cleanup.
5806 * sysdeps/arm/fegetexcept.c: Cleanup.
5807 * sysdeps/arm/fegetround.c: Cleanup.
5808 * sysdeps/arm/feholdexcpt.c: Cleanup.
5809 * sysdeps/arm/fesetenv.c: Cleanup.
5810 * sysdeps/arm/fesetround.c: Cleanup.
5811 * sysdeps/arm/feupdateenv.c: Cleanup.
5812 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5813 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5814 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5815 * sysdeps/arm/ftestexcept.c: Cleanup.
5816 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5817 * sysdeps/arm/setfpucw.c: Cleanup.
5819 2014-05-09 Will Newton <will.newton@linaro.org>
5821 * sysdeps/arm/armv7/strcmp.S: New file.
5822 * NEWS: Mention addition of ARMv7 optimized strcmp.
5824 2014-05-08 Roland McGrath <roland@hack.frob.com>
5826 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5827 look for %.ac rather than %.in.
5829 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5830 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5831 * sysdeps/mach/hurd/configure: Regenerated.
5832 * sysdeps/unix/sysv/linux/configure: Regenerated.
5834 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5836 2014-05-07 Steve Ellcey <sellcey@mips.com>
5839 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5843 2014-05-07 Andreas Schwab <schwab@suse.de>
5845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5846 when skipping over non-matching result from nscd.
5848 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5851 * nptl/sockperf.c (client): Check socket return value.
5854 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5855 nscd security class.
5857 2014-05-06 Roland McGrath <roland@hack.frob.com>
5859 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5860 * sysdeps/arm/unwind.h: ... here.
5862 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5865 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5868 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5870 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5871 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5872 multiarch strncpy for PPC64.
5873 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5874 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5875 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5876 multiarch optimizations.
5877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5878 (__libc_ifunc_impl_list): Likewise.
5879 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5880 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5881 multiarch stpncpy for PPC64.
5882 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5883 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5885 2014-05-06 Andreas Schwab <schwab@suse.de>
5888 * gmon/mcount.c (_MCOUNT_DECL): Use
5889 atomic_compare_and_exchange_bool_acq instead of
5890 catomic_compare_and_exchange_bool_acq.
5892 2014-05-05 Roland McGrath <roland@hack.frob.com>
5894 * elf/Makefile (others, install-bin): Remove pldd.
5895 (pldd-modules): Variable removed.
5896 ($(objpfx)pldd): Target removed.
5897 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5898 (others, install-bin): Append pldd here.
5899 ($(objpfx)pldd): New target.
5901 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5902 to 0, so the first #if test emitted later doesn't see it undefined.
5903 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5904 * sysdeps/gnu/errlist.c: Regenerated.
5906 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5908 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5909 [libc_hidden_builtin_def]: Define to empty value.
5910 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5911 [libc_hidden_builtin_def]: Likewise.
5912 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5913 [libc_hidden_builtin_def]: Likewise.
5914 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5915 [libc_hidden_builtin_def]: Likewise.
5916 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5917 __redirect_memcpy and define ifunc as default hidden symbol.
5918 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5919 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5921 2014-05-04 Adam Conrad <adconrad@0c3.net>
5923 * locale/iso-4217.def: Reintroduce XDR currency.
5925 2014-05-04 Allan McRae <allan@archlinux.org>
5927 * po/eo.po: Update Esperanto translation from translation project.
5929 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5931 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5932 and FEATURE_INDEX_MAX to 1.
5933 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5935 2014-05-01 Steve Ellcey <sellcey@mips.com>
5937 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5938 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5939 * iconvdata/big5.c (ONE_DIRECTION): Define.
5940 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5941 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5942 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5943 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5944 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5945 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5946 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5947 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5948 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5949 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5950 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5951 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5952 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5953 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5954 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5955 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5956 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5957 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5958 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5959 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5960 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5961 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5962 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5963 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5964 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5965 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5966 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5967 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5968 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5969 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5970 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5971 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5972 * iconvdata/johab.c (ONE_DIRECTION): Define.
5973 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5974 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5975 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5976 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5977 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5978 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5979 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5980 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5981 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5982 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5984 2014-05-01 Roland McGrath <roland@hack.frob.com>
5986 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5987 (_IO_JUMPS_OFFSET): Define to 0.
5989 * nptl/sysdeps/pthread/bits/libc-lock.h
5990 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5991 (__libc_lock_define_initialized_recursive): Always define using
5992 initializer. Modern compilers treat uninitialized (implicit zero) and
5993 explicit zero initializers the same (i.e. put the datum in bss).
5995 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5997 * nscd/nscd-client.h: Include <string.h>.
5999 2014-05-01 David S. Miller <davem@davemloft.net>
6002 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6003 multiple zero bytes exist at the end of a string.
6004 Reported by Aurelien Jarno <aurelien@aurel32.net>
6006 * string/test-strcmp.c (check): Add explicit test for situations where
6007 there are multiple zero bytes after the first.
6009 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6012 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6013 when compiling wprintf.
6014 * stdio-common/tstdiomisc.c (t3): New function.
6017 2014-05-01 Steve Ellcey <sellcey@mips.com>
6019 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6020 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6021 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6022 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6024 2014-05-01 Steve Ellcey <sellcey@mips.com>
6026 * stdlib/longlong.h: Updated from GCC.
6028 2014-05-01 Will Newton <will.newton@linaro.org>
6029 Bernard Ogden <bernie.ogden@linaro.org>
6031 * NEWS: Update fixed bug list.
6034 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6036 2014-04-30 David S. Miller <davem@davemloft.net>
6038 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6039 (libc_feholdexcept_setround_sparc_ctx): New function.
6040 (libc_fesetenv_sparc_ctx): Likewise.
6041 (libc_feupdateenv_sparc_ctx): Likewise.
6042 (libc_feholdsetround_sparc_ctx): Likewise.
6043 (libc_feholdexcept_setround_ctx): Define.
6044 (libc_feholdexcept_setroundf_ctx): Likewise.
6045 (libc_feholdexcept_setroundl_ctx): Likewise.
6046 (libc_fesetenv_ctx): Likewise.
6047 (libc_fesetenvf_ctx): Likewise.
6048 (libc_fesetenvl_ctx): Likewise.
6049 (libc_feupdateenv_ctx): Likewise.
6050 (libc_feupdateenvf_ctx): Likewise.
6051 (libc_feupdateenvl_ctx): Likewise.
6052 (libc_feresetround_ctx): Likewise.
6053 (libc_feresetroundf_ctx): Likewise.
6054 (libc_feresetroundl_ctx): Likewise.
6055 (libc_feholdsetround_ctx): Likewise.
6056 (libc_feholdsetroundf_ctx): Likewise.
6057 (libc_feholdsetroundl_ctx): Likewise.
6059 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6060 with __USE_GNU instead of XOPEN cpp guards.
6062 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6065 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6066 with XOPEN cpp guards.
6068 2014-04-30 Julian Brown <julian@codesourcery.com>
6071 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6074 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6077 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6079 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6080 * sysdeps/unix/sysv/linux/configure: Regenerated.
6081 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6082 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6083 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6084 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6085 * README: Update reference to required Linux kernel version.
6086 * manual/install.texi (Linux): Update reference to required Linux
6087 kernel headers version.
6088 * INSTALL: Regenerated.
6090 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6092 [POSIX] (limits.h): Likewise.
6093 [POSIX] (math.h): Likewise.
6094 [POSIX] (sys/wait.h): Likewise.
6095 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6097 [POSIX] (stddef.h): Do not allow header inclusion.
6099 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6101 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6103 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6105 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6106 Return immediately after lll_futex_wake.
6108 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6111 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6113 (datahead_init_pos): Call datahead_init_common early.
6114 (datahead_init_neg): Likewise.
6116 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6117 datahead_init_neg): New functions.
6118 * nscd/aicache.c (addhstaiX): Use them.
6119 * nscd/grpcache.c (cache_addgr): Likewise.
6120 * nscd/hstcache.c (cache_addhst): Likewise.
6121 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6122 * nscd/netgroupcache.c (do_notfound): Likewise.
6123 (addgetnetgrentX): Likewise.
6124 (addinnetgrX): Likewise.
6125 * nscd/pwdcache.c (cache_addpw): Likewise.
6126 * nscd/servicescache.c (cache_addserv): Likewise.
6128 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6129 Atsushi Onoe <atsushi@onoe.org>
6134 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6135 one response is valid.
6136 * resolv/res_send.c (send_dg): Check for validity of other
6137 response if the current response is a referral.
6139 2014-04-29 Steve Ellcey <sellcey@mips.com>
6141 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6143 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6146 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6147 Always divide by positive zero when computing -Inf result.
6148 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6149 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6151 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6154 FPSCR if value do not change.
6155 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6156 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6157 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6158 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6159 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6160 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6163 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6165 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6166 * sysdeps/unix/sysv/linux/hppa: Move directory from
6167 ports/systeps/unix/sysv/linux/hppa.
6168 * README: Update listing for hppa-*-linux-gnu.
6170 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6173 * manual/stdio.texi (Hook functions): Fix types of stream hook
6176 * socket/sys/socket.h: Fix typo in comment.
6178 2014-04-28 Wilco <wdijkstr@arm.com>
6180 * sysdeps/arm/fenv_private.h: New file.
6181 * sysdeps/arm/math_private.h: New file.
6182 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6184 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6186 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6188 (La_x86_64_retval): Likewise.
6190 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6192 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6193 fpsr if value didn't change.
6194 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6195 to fpcr if value didn't change.
6196 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6197 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6198 fpsr or fpcr if value didn't change.
6199 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6200 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6201 fpcr if value didn't change.
6202 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6203 to fpsr if value didn't change.
6205 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6207 * nptl/tst-sem3.c: Use test-skeleton.c
6208 (main): Rename to do_test. Use return instead of
6210 * nptl/tst-sem4.c: Use test-skeleton.c
6211 (main): Rename to do_test.
6213 2014-04-22 David S. Miller <davem@davemloft.net>
6215 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6216 (struct sigaction): New struct member __glibc_reserved0, change
6217 type of sa_flags to int.
6219 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6221 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6222 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6224 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6226 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6227 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6229 2014-04-22 Will Newton <will.newton@linaro.org>
6230 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6232 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6233 (__longjmp): Add longjmp and longjmp_target SystemTap
6235 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6236 (__sigsetjmp): Add setjmp SystemTap probe.
6238 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6240 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6243 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6245 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6247 * sysdeps/powerpc/fpu/fenv_private.h
6248 (libc_feholdexcept_setroundl_ctx): Define to
6249 libc_feholdexcept_setround_ppc_ctx.
6250 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6251 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6252 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6253 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6255 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6257 * sysdeps/aarch64/math-tests.h: New file.
6259 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6261 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6264 Check and set bit_AVX2_Usable.
6265 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6267 (bit_AVX2): Likewise.
6268 (index_AVX2_Usable): Likewise.
6269 (CPUID_AVX2): Likewise.
6270 (HAS_AVX2): Likewise.
6272 2014-04-17 Will Newton <will.newton@linaro.org>
6274 * manual/setjmp.texi (System V contexts): Add note that
6275 calling setcontext on a context created by a call to a
6276 signal handler is undefined. Update text to note that
6277 setcontext from a signal handler is possible but not
6281 * stdlib/tst-setcontext.c: Include signal.h.
6282 (main): Check that the signal stack before and
6283 after swapcontext is the same.
6285 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6286 Re-implement to restore registers in user code and avoid
6287 rt_sigreturn system call.
6289 2014-04-17 Wilco <wdijkstr@arm.com>
6291 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6292 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6293 * math/test-fenv.c: Skip exception trap tests on targets which only
6294 support non-stop mode.
6296 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6297 Wilco Dijkstra <wilco.dijkstra@arm.com>
6299 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6300 (libc_feholdsetround_aarch64_ctx)
6301 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6302 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6303 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6304 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6305 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6306 (libc_feresetround_noexl_ctx): Define.
6308 2014-04-16 Richard Henderson <rth@redhat.com>
6310 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6312 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6315 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6316 const from the non-libc, non-ldso copy.
6318 * sysdeps/alpha/libm-test-ulps: Regenerate.
6320 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6321 Wilco Dijkstra <wilco.dijkstra@arm.com>
6323 * sysdeps/aarch64/fpu/math_private.h: New file.
6325 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6327 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6329 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6331 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6332 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6333 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6334 Intel MPX bound registers before _dl_profile_fixup.
6335 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6336 registers after _dl_profile_fixup. Save and restore bound
6337 registers bnd0/bnd1 when calling _dl_call_pltexit.
6338 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6339 (LR_BND_OFFSET): Likewise.
6340 (LRV_BND0_OFFSET): Likewise.
6341 (LRV_BND1_OFFSET): Likewise.
6343 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6345 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6347 * sysdeps/mach/hurd/i386/tls.h: ... here.
6348 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6349 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6352 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6354 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6356 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6358 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6360 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6363 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6364 * sysdeps/s390/configure: Regenerate.
6367 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6368 Set round-to-nearest internally to reduce error accumulation.
6370 2014-04-16 Alan Modra <amodra@gmail.com>
6374 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6375 * math/libm-test.inc (frexp_test_data): Add tests.
6376 * NEWS: Update fixed bug list.
6378 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6380 * benchtests/Makefile: Depend on libraries in build directory.
6381 (bench-math): Separate out math tests.
6382 (bench-pthread): Separate out pthread tests.
6383 (bench): Include math and pthread tests.
6385 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6388 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6389 _dl_debug_initialize.
6391 * configure.ac: Remove SELinux header check.
6392 * configure: Regenerate.
6393 * nscd/selinux.c (perms): Array of const char* to permission names.
6394 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6395 default policy. Call string_to_security_class and string_to_av_perm to
6396 translate strings. Enforce default policy and call avs_has_perm with
6397 results of translated strings.
6399 2014-04-13 David S. Miller <davem@davemloft.net>
6401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6403 2014-04-12 Allan McRae <allan@archlinux.org>
6406 * manual/string.texi (Collation Functions): Fix qsort argument
6408 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6410 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6412 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6413 Make the test a no-op if there are no exceptions defined.
6415 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6417 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6418 enable-hardcoded-path-in-tests
6420 2014-04-11 Will Newton <will.newton@linaro.org>
6422 * benchtests/Makefile (extra-objs): Add json-lib.o.
6423 (bench-func): Tidy up JSON output.
6424 * benchtests/bench-skeleton.c: Include json-lib.h.
6425 (main): Use JSON library functions to do output of
6427 * benchtests/bench-timing-type.c (main): Output the
6428 timing type simply, leaving formatting to the user.
6429 * benchtests/json-lib.c: New file.
6430 * benchtests/json-lib.h: Likewise.
6432 2014-04-11 Torvald Riegel <triegel@redhat.com>
6435 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6436 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6437 memory barriers. Add comments.
6438 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6439 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6440 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6441 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6442 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6443 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6445 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6447 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6448 * sysdeps/s390/s390-64/configure.ac: ... this ...
6449 * sysdeps/s390/configure.ac: ... to here.
6450 * sysdeps/s390/s390-32/configure: Delete file.
6451 * sysdeps/s390/s390-64/configure: Delete file.
6452 * sysdeps/s390/configure: Regenerate.
6454 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6456 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6458 2014-04-11 Will Newton <will.newton@linaro.org>
6460 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6461 to zero if it is not defined elsewhere. (mtrim): Test
6462 the value of MALLOC_DEBUG with #if rather than #ifdef.
6464 2014-04-10 Torvald Riegel <triegel@redhat.com>
6466 * benchtests/pthread_once-inputs: New file.
6467 * benchtests/pthread_once-source.c: New file.
6468 * benchtests/README: Update documentation.
6470 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6471 H.J. Lu <hongjiu.lu@intel.com>
6473 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6474 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6475 * sysdeps/x86_64/configure: Regenerated.
6476 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6478 (REGISTER_SAVE_RAX): Likewise.
6479 (REGISTER_SAVE_RCX): Likewise.
6480 (REGISTER_SAVE_RDX): Likewise.
6481 (REGISTER_SAVE_RSI): Likewise.
6482 (REGISTER_SAVE_RDI): Likewise.
6483 (REGISTER_SAVE_R8): Likewise.
6484 (REGISTER_SAVE_R9): Likewise.
6485 (REGISTER_SAVE_BND0): Likewise.
6486 (REGISTER_SAVE_BND1): Likewise.
6487 (REGISTER_SAVE_BND2): Likewise.
6488 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6489 bound registers when calling _dl_fixup.
6491 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6493 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6494 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6496 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6497 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6498 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6499 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6500 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6501 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6502 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6504 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6507 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6508 pathconf(_PC_NAME_MAX).
6510 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6512 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6514 (__PTHREAD_SPINS): Move definition to ...
6515 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6516 (__PTHREAD_SPINS): ... here.
6517 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6518 (__PTHREAD_SPIN): Likewise.
6519 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6520 (__PTHREAD_SPIN): Likewise.
6521 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6522 (__PTHREAD_SPIN): Likewise.
6523 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6524 (__PTHREAD_SPIN): Likewise.
6525 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6526 (__PTHREAD_SPIN): Likewise.
6527 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6528 (__PTHREAD_SPIN): Likewise.
6529 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6530 (__PTHREAD_SPIN): Likewise.
6531 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6532 (__PTHREAD_SPIN): Likewise.
6533 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6534 (__PTHREAD_SPIN): Likewise.
6535 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6536 (__PTHREAD_SPIN): Likewise.
6537 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6538 (__PTHREAD_SPIN): Likewise.
6539 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6540 (__PTHREAD_SPIN): Likewise.
6542 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6543 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6544 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6545 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6547 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6548 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6549 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6550 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6552 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6553 strlen symbol for non multi-arch builds.
6554 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6555 missing hidden_def and weak_alias.
6557 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6559 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6561 2014-04-07 Will Newton <will.newton@linaro.org>
6563 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6564 and contents. [!_LIBC] Remove #ifndef and contents.
6565 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6566 * string/memccpy.c (__memccpy): Use ANSI prototype.
6567 * string/memfrob.c (memfrob): Likewise.
6568 * string/strcoll.c (STRCOLL): Likewise.
6569 * string/strlen.c (strlen): Likewise.
6570 * string/strtok.c (STRTOK): Likewise.
6571 * string/strcat.c: Remove unused #include of memcopy.h.
6572 (strcat): Use ANSI prototype.
6573 * string/strchr.c: Remove unused #include of memcopy.h.
6574 (strchr): Use ANSI prototype.
6575 * string/strcmp.c: Remove unused #include of memcopy.h.
6576 (strcmp): Use ANSI prototype.
6577 * string/strcpy.c: Remove unused #include of memcopy.h.
6578 (strcpy): Use ANSI prototype.
6580 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6582 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6583 * config.make.in (config-extra-cppflags): Set it from
6584 libc_extra_cppflags.
6585 * configure.ac (libc_extra_cflags): Make it accumulate over
6586 configure fragments.
6587 (libc_extra_cppflags): New flag.
6588 * configure. Regenerate.
6589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6590 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6591 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6595 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6596 result for FE_DOWNWARD rounding mode.
6597 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6601 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6603 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6604 in function argument name.
6606 2014-04-03 David Svoboda <svoboda@cert.org>
6609 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6612 2014-04-03 Roland McGrath <roland@hack.frob.com>
6614 * elf/dl-unmap-segments.h: New file.
6615 * sysdeps/generic/ldsodefs.h
6616 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6617 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6618 * elf/dl-fptr.c: Likewise.
6619 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6620 * sysdeps/aarch64/tlsdesc.c: Likewise.
6621 * sysdeps/arm/tlsdesc.c: Likewise.
6622 * sysdeps/i386/tlsdesc.c: Likewise.
6623 * sysdeps/tile/dl-runtime.c: Likewise.
6624 * sysdeps/x86_64/tlsdesc.c: Likewise.
6625 * elf/dl-load.h: New file.
6626 * elf/dl-load.c: Include it.
6627 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6628 Macros moved to dl-load.h.
6629 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6630 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6631 Use _dl_unmap_segments in place of __munmap.
6632 Break out segment-mapping loop into ...
6633 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6635 2014-04-03 Will Newton <will.newton@linaro.org>
6637 * elf/dl-lookup.c (do_lookup_x): Remove comment
6638 referring to nested function and move variable
6639 declarations down to before first use.
6641 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6645 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6647 * math/s_catanf.c (__catanf): Likewise.
6648 * math/s_catanh.c (__catanh): Likewise.
6649 * math/s_catanhf.c (__catanhf): Likewise.
6650 * math/s_catanhl.c (__catanhl): Likewise.
6651 * math/s_catanl.c (__catanl): Likewise.
6652 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6653 by positive zero when computing -Inf result.
6654 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6655 (catanh_test): Likewise.
6656 * sysdeps/i386/fpu/libm-test-ulps: Update.
6657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6660 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6661 instead of using underflowing value in computing result.
6662 * math/s_clog10.c (__clog10): Likewise.
6663 * math/s_clog10f.c (__clog10f): Likewise.
6664 * math/s_clog10l.c (__clog10l): Likewise.
6665 * math/s_clogf.c (__clogf): Likewise.
6666 * math/s_clogl.c (__clogl): Likewise.
6667 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6668 (clog10_test): Likewise.
6669 * sysdeps/i386/fpu/libm-test-ulps: Update.
6670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6672 2014-04-02 Alan Modra <amodra@gmail.com>
6675 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6676 output when value is near a power of two. Use int64_t for lx and
6677 remove casts. Use decimal rather than hex exponent constants.
6678 Don't use long double multiplication when double will suffice.
6679 * math/libm-test.inc (nextafter_test_data): Add tests.
6680 * NEWS: Add 16739 and 16786 to bug list.
6682 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6684 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6686 2014-04-01 Will Newton <will.newton@linaro.org>
6688 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6689 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6691 2014-04-01 Florian Weimer <fweimer@redhat.com>
6694 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6695 * nptl/tst-setuid2.c: New file.
6696 * nptl/Makefile (xtests): Add tst-setuid2.
6698 2014-04-01 Alan Modra <amodra@gmail.com>
6701 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6703 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6707 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6708 set errno as appropriate.
6709 * math/w_scalbf.c (__scalbf): Likewise.
6710 * math/w_scalbl.c (__scalbl): Likewise.
6711 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6712 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6713 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6717 * math/w_atan2.c: Include <errno.h>.
6718 (__atan2): Set errno for result underflowing to zero.
6719 * math/w_atan2f.c: Include <errno.h>.
6720 (__atan2f): Set errno for result underflowing to zero.
6721 * math/w_atan2l.c: Include <errno.h>.
6722 (__atan2l): Set errno for result underflowing to zero.
6723 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6725 * math/auto-libm-test-out: Regenerated.
6727 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6729 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6730 Encode instruction correctly in little endian.
6731 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6735 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6737 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6740 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6743 * sysdeps/unix/sysv/linux/kernel-features.h
6744 [__sparc__ && !__arch64__ && !__sparc_v9__]
6745 (__ASSUME_SET_ROBUST_LIST): Do not define.
6746 [__sparc__ && !__arch64__ && !__sparc_v9__]
6747 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6748 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6750 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6751 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6752 (__ASSUME_REQUEUE_PI): Likewise.
6753 (__ASSUME_SET_ROBUST_LIST): Likewise.
6754 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6755 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6757 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6758 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6760 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6762 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6764 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6765 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6767 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6768 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6772 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6773 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6774 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6776 2014-03-31 Will Newton <will.newton@linaro.org>
6778 * benchtests/Makefile (bench): Add ffs and ffsll to list
6780 * benchtests/ffs-inputs: New file.
6781 * benchtests/ffsll-inputs: Likewise.
6783 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6786 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6787 too large before casting to int.
6788 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6789 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6790 * math/libm-test.inc (scalb_test_data): Add more tests.
6792 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6794 * benchtests/Makefile (DETAILED_OPT): New make option.
6795 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6797 * benchtests/bench-skeleton.c: Include stdbool.h.
6798 (main): Store and print timings per input.
6799 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6800 member to each argument value.
6801 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6802 (_print_arg_data): Initialize per-input timing to 0.
6804 * benchtests/Makefile (timing-type): New binary.
6805 (bench-clean): Also remove bench-timing-type.
6806 (bench): New target for timing-type.
6807 (bench-func): Print output in JSON format.
6808 * benchtests/bench-skeleton.c (main): Print output in JSON
6810 * benchtests/bench-timing-type.c: New file.
6811 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6812 (TIMING_PRINT_STATS): Remove.
6813 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6816 * benchtests/bench-modf.c: Remove.
6817 * benchtests/modf-inputs: New inputs file.
6819 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6822 * math/s_clog10.c (M_PI_LOG10E): New macro.
6823 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6824 imaginary parts are 0.
6825 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6826 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6827 imaginary parts are 0.
6828 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6829 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6830 imaginary parts are 0.
6831 * math/libm-test.inc (clog10_test_data): Update expected results
6832 for when real and imaginary parts are 0.
6834 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6836 * elf/dl-load.c: Finish conversion of __builtin_expect into
6839 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6842 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6843 1+x for argument with exponent below -67.
6844 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6846 * math/auto-libm-test-in: Add more tests of exp.
6847 * math/auto-libm-test-out: Regenerated.
6849 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6852 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6853 (nscd_getnetgrent): Use it.
6856 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6859 2014-03-27 Andi Kleen <ak@linux.intel.com>
6861 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6862 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6863 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6864 (lll_robust_unlock): Remove out of line section. Use cfi
6866 (LLL_STUB_UNWIND_INFO*): Remove.
6867 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6868 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6869 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6870 (lll_robust_unlock): Remove out of line section. Use cfi
6872 (LLL_STUB_UNWIND_INFO*): Remove.
6874 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6877 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6880 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6882 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6884 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6887 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6889 * math/test-fenv-preserve.c: New file.
6890 * math/Makefile (tests): Add test-fenv-preserve.
6892 2014-03-26 Will Newton <will.newton@linaro.org>
6894 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6896 2014-03-25 Roland McGrath <roland@hack.frob.com>
6898 * scripts/versionlist.awk: Partition the version sets and emit all
6899 GLIBC_* (sorted) before all others (sorted).
6901 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6903 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6904 GLIBC_2.2.5 version.
6906 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6908 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6911 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6916 2014-03-25 Andreas Schwab <schwab@suse.de>
6918 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6919 label to be used after in6ailist is initialized.
6921 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6923 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6924 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6926 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6930 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6932 (fp_formats): Update initializers.
6933 (init_fp_formats): Initialize new field.
6934 (output_for_one_input_case): Allow underflow for results up to
6936 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6937 * math/auto-libm-test-in: Don't mark some underflows from asin and
6939 * math/auto-libm-test-out: Regenerated.
6940 * sysdeps/i386/fpu/libm-test-ulps: Update.
6941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6943 2014-03-25 Andreas Schwab <schwab@suse.de>
6945 * libio/Makefile (tst-ftell-partial-wide-ENV)
6946 (tst-ftell-active-handler-ENV): Define.
6948 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6950 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6952 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6954 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6956 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6958 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6959 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6960 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6962 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6965 * elf/dl-load.c (open_verify): Add mode parameter.
6966 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6967 (open_path): Change from boolean 'secure' to complete flag 'mode'
6968 (_dl_map_object): Adjust.
6969 * elf/Makefile (tests): Add tst-dlopen-aout.
6970 * elf/tst-dlopen-aout.c: New test.
6972 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6975 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6976 (struct stat): Rename member pad0 to __glibc_reserved0.
6979 * sysdeps/s390/s390-32/bits/wordsize.h
6980 (__WORDSIZE32_SIZE_ULONG): New define.
6981 * sysdeps/s390/s390-64/bits/wordsize.h
6982 (__WORDSIZE32_SIZE_ULONG): Likewise.
6983 * sysdeps/generic/stdint.h (SIZE_MAX):
6984 Define as UL if __WORDSIZE32_SIZE_ULONG.
6987 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6988 (__glibc_reserved0): New variable.
6989 (sa_flags): Change type to int.
6991 * posix/Makefile (before-compile): Use += before-compile instead
6994 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6995 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6997 2014-03-20 Andreas Schwab <schwab@suse.de>
7000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7001 non-matching result from nscd.
7003 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7005 * scripts/bench.py: Moved to ...
7006 * benchtests/scripts/bench.py: ... here.
7007 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7009 2014-03-24 Andreas Schwab <schwab@suse.de>
7012 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7013 alloca_account and account alloca use for struct in6ailist.
7015 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7018 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7019 rounding mode to recompute results that overflow to infinity or
7021 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7023 * math/auto-libm-test-out: Regenerated.
7024 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7025 (ccosh_test): Likewise.
7026 (csin_test_data): Use plus_oflow.
7027 (csin_test): Use ALL_RM_TEST.
7028 (csinh_test_data): Use plus_oflow.
7029 (csinh_test): Use ALL_RM_TEST.
7030 * sysdeps/i386/fpu/libm-test-ulps: Update.
7031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7033 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7035 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7036 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7037 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7040 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7042 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7043 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7044 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7045 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7047 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7048 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7050 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7051 * sysdeps/i386/fpu/libm-test-ulps: Update.
7052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7054 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7056 * scripts/bench.pl: Remove file.
7057 * scripts/bench.py: New benchmark script.
7058 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7059 * benchtests/README: Mention python dependency.
7060 * scripts/pylintrc: New file.
7061 * scripts/pylint: New file.
7063 * bits/mathdef.h: Use #ifdef instead of #if.
7064 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7065 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7066 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7067 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7068 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7069 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7071 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7072 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7074 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7076 and strpbrk-ppc64 objects.
7077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7078 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7079 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7080 multiarch strpbrk for POWER7.
7081 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7082 multiarch strpbrk for PPC64.
7083 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7085 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7088 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7090 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7091 (atan_test): Likewise.
7092 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7093 (atanh_test): Use ALL_RM_TEST.
7094 (atan2_test_data): Likewise.
7095 (cabs_test): Likewise.
7096 (cacosh_test): Likewise.
7097 (carg_test): Likewise.
7098 (casin_test): Likewise.
7099 (casinh_test): Likewise.
7100 (cbrt_test): Likewise.
7101 (csqrt_test): Likewise.
7102 (erf_test): Likewise.
7103 (erfc_test): Likewise.
7104 (pow10_test): Likewise.
7105 (exp2_test): Likewise.
7106 (hypot_test): Likewise.
7107 (j0_test): Likewise.
7108 (j1_test): Likewise.
7109 (lgamma_test): Likewise.
7110 (gamma_test): Likewise.
7111 (sincos_test): Likewise.
7112 (tanh_test): Likewise.
7113 (y0_test): Likewise.
7114 (y1_test): Likewise.
7115 * sysdeps/i386/fpu/libm-test-ulps: Update.
7116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7118 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7120 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7122 and strcspn-ppc64 objects.
7123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7124 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7125 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7126 multiarch strcspn for POWER7.
7127 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7128 multiarch strcspn for PPC64.
7129 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7131 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7134 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7136 * math/gen-libm-test.pl (generate_testfile): Expect only function
7137 name as argument to AUTO_TESTS_* and pass results for all rounding
7138 modes to parse_args.
7139 (parse_auto_input): Separate inputs of automatic tests from
7140 outputs before storing in %auto_tests.
7141 * math/libm-test.inc (acos_test_data): Update call to
7143 (acos_test): Use ALL_RM_TEST.
7144 (acos_tonearest_test_data): Remove.
7145 (acos_test_tonearest): Likewise.
7146 (acos_towardzero_test_data): Likewise.
7147 (acos_test_towardzero): Likewise.
7148 (acos_downward_test_data): Likewise.
7149 (acos_test_downward): Likewise.
7150 (acos_upward_test_data): Likewise.
7151 (acos_test_upward): Likewise.
7152 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7153 (asin_test_data): Likewise.
7154 (asin_test): Use ALL_RM_TEST.
7155 (asin_tonearest_test_data): Remove.
7156 (asin_test_tonearest): Likewise.
7157 (asin_towardzero_test_data): Likewise.
7158 (asin_test_towardzero): Likewise.
7159 (asin_downward_test_data): Likewise.
7160 (asin_test_downward): Likewise.
7161 (asin_upward_test_data): Likewise.
7162 (asin_test_upward): Likewise.
7163 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7164 (atan_test_data): Likewise.
7165 (atanh_test_data): Likewise.
7166 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7167 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7168 (carg_test_data): Likewise.
7169 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7170 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7171 (ccosh_test_data): Likewise.
7172 (cexp_test_data): Likewise.
7173 (clog_test_data): Likewise.
7174 (clog10_test_data): Likewise.
7175 (cos_test_data): Update call to AUTO_TESTS_f_f.
7176 (cos_test): Use ALL_RM_TEST.
7177 (cos_tonearest_test_data): Remove.
7178 (cos_test_tonearest): Likewise.
7179 (cos_towardzero_test_data): Likewise.
7180 (cos_test_towardzero): Likewise.
7181 (cos_downward_test_data): Likewise.
7182 (cos_test_downward): Likewise.
7183 (cos_upward_test_data): Likewise.
7184 (cos_test_upward): Likewise.
7185 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7186 (cosh_test): Use ALL_RM_TEST.
7187 (cosh_tonearest_test_data): Remove.
7188 (cosh_test_tonearest): Likewise.
7189 (cosh_towardzero_test_data): Likewise.
7190 (cosh_test_towardzero): Likewise.
7191 (cosh_downward_test_data): Likewise.
7192 (cosh_test_downward): Likewise.
7193 (cosh_upward_test_data): Likewise.
7194 (cosh_test_upward): Likewise.
7195 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7196 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7197 (ctan_test_data): Likewise.
7198 (ctan_test): Use ALL_RM_TEST.
7199 (ctan_tonearest_test_data): Remove.
7200 (ctan_test_tonearest): Likewise.
7201 (ctan_towardzero_test_data): Likewise.
7202 (ctan_test_towardzero): Likewise.
7203 (ctan_downward_test_data): Likewise.
7204 (ctan_test_downward): Likewise.
7205 (ctan_upward_test_data): Likewise.
7206 (ctan_test_upward): Likewise.
7207 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7208 (ctanh_test): Use ALL_RM_TEST.
7209 (ctanh_tonearest_test_data): Remove.
7210 (ctanh_test_tonearest): Likewise.
7211 (ctanh_towardzero_test_data): Likewise.
7212 (ctanh_test_towardzero): Likewise.
7213 (ctanh_downward_test_data): Likewise.
7214 (ctanh_test_downward): Likewise.
7215 (ctanh_upward_test_data): Likewise.
7216 (ctanh_test_upward): Likewise.
7217 (erf_test_data): Update call to AUTO_TESTS_f_f.
7218 (erfc_test_data): Likewise.
7219 (exp_test_data): Likewise.
7220 (exp_test): Use ALL_RM_TEST.
7221 (exp_tonearest_test_data): Remove.
7222 (exp_test_tonearest): Likewise.
7223 (exp_towardzero_test_data): Likewise.
7224 (exp_test_towardzero): Likewise.
7225 (exp_downward_test_data): Likewise.
7226 (exp_test_downward): Likewise.
7227 (exp_upward_test_data): Likewise.
7228 (exp_test_upward): Likewise.
7229 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7230 (exp10_test): Use ALL_RM_TEST.
7231 (exp10_tonearest_test_data): Remove.
7232 (exp10_test_tonearest): Likewise.
7233 (exp10_towardzero_test_data): Likewise.
7234 (exp10_test_towardzero): Likewise.
7235 (exp10_downward_test_data): Likewise.
7236 (exp10_test_downward): Likewise.
7237 (exp10_upward_test_data): Likewise.
7238 (exp10_test_upward): Likewise.
7239 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7240 (expm1_test_data): Likewise.
7241 (expm1_test): Use ALL_RM_TEST.
7242 (expm1_tonearest_test_data): Remove.
7243 (expm1_test_tonearest): Likewise.
7244 (expm1_towardzero_test_data): Likewise.
7245 (expm1_test_towardzero): Likewise.
7246 (expm1_downward_test_data): Likewise.
7247 (expm1_test_downward): Likewise.
7248 (expm1_upward_test_data): Likewise.
7249 (expm1_test_upward): Likewise.
7250 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7251 (fma_test): Use ALL_RM_TEST.
7252 (fma_towardzero_test_data): Remove.
7253 (fma_test_towardzero): Likewise.
7254 (fma_downward_test_data): Likewise.
7255 (fma_test_downward): Likewise.
7256 (fma_upward_test_data): Likewise.
7257 (fma_test_upward): Likewise.
7258 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7259 (j0_test_data): Update call to AUTO_TESTS_f_f.
7260 (j1_test_data): Likewise.
7261 (jn_test_data): Update call to AUTO_TESTS_if_f.
7262 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7263 (log_test_data): Update call to AUTO_TESTS_f_f.
7264 (log10_test_data): Likewise.
7265 (log1p_test_data): Likewise.
7266 (log2_test_data): Likewise.
7267 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7268 (pow_tonearest_test_data): Likewise.
7269 (sin_test_data): Update call to AUTO_TESTS_f_f.
7270 (sin_test): Use ALL_RM_TEST.
7271 (sin_tonearest_test_data): Remove.
7272 (sin_test_tonearest): Likewise.
7273 (sin_towardzero_test_data): Likewise.
7274 (sin_test_towardzero): Likewise.
7275 (sin_downward_test_data): Likewise.
7276 (sin_test_downward): Likewise.
7277 (sin_upward_test_data): Likewise.
7278 (sin_test_upward): Likewise.
7279 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7280 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7281 (sinh_test): Use ALL_RM_TEST.
7282 (sinh_tonearest_test_data): Remove.
7283 (sinh_test_tonearest): Likewise.
7284 (sinh_towardzero_test_data): Likewise.
7285 (sinh_test_towardzero): Likewise.
7286 (sinh_downward_test_data): Likewise.
7287 (sinh_test_downward): Likewise.
7288 (sinh_upward_test_data): Likewise.
7289 (sinh_test_upward): Likewise.
7290 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7291 (sqrt_test): Use ALL_RM_TEST.
7292 (sqrt_tonearest_test_data): Remove.
7293 (sqrt_test_tonearest): Likewise.
7294 (sqrt_towardzero_test_data): Likewise.
7295 (sqrt_test_towardzero): Likewise.
7296 (sqrt_downward_test_data): Likewise.
7297 (sqrt_test_downward): Likewise.
7298 (sqrt_upward_test_data): Likewise.
7299 (sqrt_test_upward): Likewise.
7300 (tan_test_data): Update call to AUTO_TESTS_f_f.
7301 (tan_test): Use ALL_RM_TEST.
7302 (tan_tonearest_test_data): Remove.
7303 (tan_test_tonearest): Likewise.
7304 (tan_towardzero_test_data): Likewise.
7305 (tan_test_towardzero): Likewise.
7306 (tan_downward_test_data): Likewise.
7307 (tan_test_downward): Likewise.
7308 (tan_upward_test_data): Likewise.
7309 (tan_test_upward): Likewise.
7310 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7311 (tgamma_test_data): Likewise.
7312 (y0_test_data): Likewise.
7313 (y1_test_data): Likewise.
7314 (yn_test_data): Update call to AUTO_TESTS_if_f.
7315 (main): Do not call removed functions.
7317 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7319 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7320 (ldexp_test_data): Remove.
7321 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7323 (scalb_test): Use ALL_RM_TEST.
7325 2014-03-19 Andreas Schwab <schwab@suse.de>
7327 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7329 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7332 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7333 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7334 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7335 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7336 (__ASSUME_PREADV): Undefine.
7337 (__ASSUME_PWRITEV): Likewise.
7339 2014-03-18 Roland McGrath <roland@hack.frob.com>
7341 * bits/mman-linux.h: Add comment about non-Linux use.
7342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7343 bits/mman-linux.h resting place.
7345 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7346 * bits/mman-linux.h: ... here.
7348 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7350 * conform/conformtest.pl: Add standard definition when calling C
7351 preprocessor on data files.
7352 (checknamespace): Remove unused variable.
7354 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7356 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7357 minus_oflow, plus_uflow and minus_uflow in expected results.
7358 * math/libm-test.inc (scalbn_test_data): Add more tests of
7359 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7361 (scalbn_test): Use ALL_RM_TEST.
7362 (scalbln_test_data): Add more tests of negative arguments. Use
7363 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7364 (scalbln_test): Use ALL_RM_TEST.
7366 2014-03-18 Roland McGrath <roland@hack.frob.com>
7368 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7370 2014-03-18 Will Newton <will.newton@linaro.org>
7372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7375 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7377 * Makerules [!subdir] (check-abi): Exit with error status if a
7380 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7382 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7383 for rint. Include results for all rounding modes.
7384 (nearbyint_test): Use ALL_RM_TEST.
7385 (rint_test_data): Include all tests used for nearbyint.
7387 2014-03-17 Will Newton <will.newton@linaro.org>
7389 * nptl/sysdeps/pthread/pthread.h: Revert previous
7392 * sysdeps/generic/ldsodefs.h: Revert previous
7395 * libio/genops.c: Revert previous change.
7396 * libio/libioP.h: Likewise.
7397 * stdio-common/vfprintf.c: Likewise.
7399 * sysdeps/generic/math_private.h: Revert previous
7402 * sysdeps/generic/math_private.h: Check whether
7403 HAVE_RM_CTX is defined with #ifdef rather
7406 * argp/argp-fmtstream.h: Check whether
7407 __STRICT_ANSI__ is defined with #ifdef rather
7409 * argp/argp.h: Likewise.
7411 * libio/genops.c: Check whether
7412 _IO_JUMPS_OFFSET is defined with #ifdef rather
7414 * libio/libioP.h: Likewise.
7415 * stdio-common/vfprintf.c: Likewise.
7417 * sysdeps/generic/ldsodefs.h: Check whether
7418 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7421 * nptl/sysdeps/pthread/pthread.h: Check
7422 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7425 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7427 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7429 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7433 * libio/fileops.c (_IO_file_open): Seek to end of file but
7434 don't cache the offset.
7435 (get_file_offset): Remove function.
7436 (do_ftell): Use cached offset when available.
7437 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7438 don't cache the offset.
7439 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7441 (do_one_test): Call it.
7442 (do_ftell_test): Fix up expected old offset for a+ mode.
7443 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7446 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7447 up test status with function return status.
7448 (do_write_test): Likewise.
7449 (do_append_test): Likewise.
7451 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7452 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7455 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7457 * math/gen-libm-test.pl (parse_args): Handle results specified for
7458 each rounding mode separately.
7459 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7460 tests and results from lrint_tonearest_test_data,
7461 lrint_towardzero_test_data, lrint_downward_test_data and
7462 lrint_upward_test_data.
7463 (lrint_test): Use ALL_RM_TEST.
7464 (lrint_tonearest_test_data): Remove.
7465 (lrint_test_tonearest): Likewise.
7466 (lrint_towardzero_test_data): Likewise.
7467 (lrint_test_towardzero): Likewise.
7468 (lrint_downward_test_data): Likewise.
7469 (lrint_test_downward): Likewise.
7470 (lrint_upward_test_data): Likewise.
7471 (lrint_test_upward): Likewise.
7472 (llrint_test_data): Merge in per-rounding-mode tests and results
7473 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7474 llrint_downward_test_data and llrint_upward_test_data.
7475 (llrint_test): Use ALL_RM_TEST.
7476 (llrint_tonearest_test_data): Remove.
7477 (llrint_test_tonearest): Likewise.
7478 (llrint_towardzero_test_data): Likewise.
7479 (llrint_test_towardzero): Likewise.
7480 (llrint_downward_test_data): Likewise.
7481 (llrint_test_downward): Likewise.
7482 (llrint_upward_test_data): Likewise.
7483 (llrint_test_upward): Likewise.
7484 (rint_test_data): Merge in per-rounding-mode tests and results
7485 from rint_tonearest_test_data, rint_towardzero_test_data,
7486 rint_downward_test_data and rint_upward_test_data. Add
7487 per-rounding-mode results for tests not in those arrays.
7488 (rint_test): Use ALL_RM_TEST.
7489 (rint_tonearest_test_data): Remove.
7490 (rint_test_tonearest): Likewise.
7491 (rint_towardzero_test_data): Likewise.
7492 (rint_test_towardzero): Likewise.
7493 (rint_downward_test_data): Likewise.
7494 (rint_test_downward): Likewise.
7495 (rint_upward_test_data): Likewise.
7496 (rint_test_upward): Likewise.
7497 (main): Don't call removed functions.
7499 2014-03-14 Roland McGrath <roland@hack.frob.com>
7501 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7502 "Compiled on ..." crapola. It is anti-useful.
7504 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7506 * scripts/evaluate-test.sh: Handle fourth argument to determine
7507 whether test run should stop on failure.
7508 * Makeconfig (stop-on-test-failure): New variable.
7509 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7510 $(stop-on-test-failure).
7511 * Makefile (tests): Give a summary of results from testing and
7512 exit with failure status if they include an ERROR or FAIL.
7514 * manual/install.texi (Configuring and compiling): Mention
7515 stop-on-test-failure=y.
7516 * INSTALL: Regenerated.
7518 2014-03-14 Roland McGrath <roland@hack.frob.com>
7520 * scripts/versionlist.awk: New file.
7521 * Makerules [$(build-shared) = yes]
7522 (postclean-generated): Add Versions.def, not Versions.def.v and
7524 ($(common-objpfx)Versions.def.v.i): Target removed.
7525 ($(common-objpfx)Versions.def): New target.
7526 ($(common-objpfx)Versions.all): Depend on that rather that
7527 $(common-objpfx)Versions.def.v.
7528 * Versions.def: File removed.
7530 * Makeconfig (+gccwarn): Add -Wundef.
7531 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7532 a dl-sysdep.h breaking its contract.
7533 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7534 * include/stackinfo.h: New file.
7535 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7536 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7537 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7538 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7539 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7540 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7541 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7542 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7543 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7544 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7545 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7546 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7547 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7548 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7549 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7551 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7554 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7556 * math/libm-test.inc (round_test_data): Add more tests.
7559 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7561 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7564 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7566 * math/libm-test.inc (ceil_test_data): Add more tests.
7568 * math/libm-test.inc (trunc_test_data): Add more tests related to
7571 2014-03-14 Roland McGrath <roland@hack.frob.com>
7573 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7574 with #if rather than #ifdef.
7575 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7577 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7579 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7580 first. Disable AVX-512 GCC support if assembler doesn't support
7582 * sysdeps/x86_64/configure: Regenerated.
7584 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7586 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7587 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7588 (__old_pthread_attr_setstack): Likewise.
7589 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7590 [!_STACK_GROWS_DOWN]: Likewise.
7592 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7594 * config.make.in (have-bash2): Delete.
7595 * configure.ac (libc_cv_have_bash2): Delete.
7596 * configure: Regenerate.
7597 * elf/Makefile (common-ldd-rewrite): Rename to ...
7598 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7599 (sh-ldd-rewrite): Delete.
7600 (bash-ldd-rewrite): Delete.
7601 (have-bash2): Delete checks.
7602 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7605 * config.make.in (have-ksh): Delete.
7607 * configure.ac (libc_cv_have_ksh): Delete.
7608 * configure: Regenerate.
7610 * elf/Makefile: Delete $(have-ksh) check.
7611 ($(objpfx)sotruss): Change KSH to BASH.
7612 * elf/sotruss.ksh: Rename to ...
7613 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7614 function style to match POSIX. Drop ksh vim mode setting.
7616 * manual/time.texi (Specifying the Time Zone with TZ): Change
7617 Tuesday to Thursday.
7619 * debug/tst-longjmp_chk2.c: Update header comment.
7620 (stackoverflow_handler): Add comment. Call assert on pass value.
7622 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7624 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7625 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7626 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7627 (La_x86_64_vector): Add zmm.
7628 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7629 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7630 ($(objpfx)tst-audit10): New target.
7631 ($(objpfx)tst-audit10.out): Likewise.
7632 (tst-audit10-ENV): New.
7633 (AVX512-CFLAGS): Likewise.
7634 (CFLAGS-tst-audit10.c): Likewise.
7635 (CFLAGS-tst-auditmod10a.c): Likewise.
7636 (CFLAGS-tst-auditmod10b.c): Likewise.
7637 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7638 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7639 * sysdeps/x86_64/configure: Regenerated.
7640 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7641 AVX-512 zmm register support.
7642 (_dl_x86_64_save_sse): Likewise.
7643 (_dl_x86_64_restore_sse): Likewise.
7644 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7645 size vector registers.
7646 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7647 (ZMM_SIZE): Likewise.
7648 * sysdeps/x86_64/tst-audit10.c: New file.
7649 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7650 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7652 2014-03-13 Roland McGrath <roland@hack.frob.com>
7654 * configure.ac (HAVE_EHDR_START): New check.
7655 * configure: Regenerated.
7656 * config.h.in (HAVE_EHDR_START): New #undef.
7657 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7658 assuming the lowest-addressed segment maps the start of the file.
7660 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7662 * INSTALL: Regenerated.
7664 2014-03-13 Will Newton <will.newton@linaro.org>
7666 * manual/setjmp.texi (System V contexts): Improve
7667 clarity and grammar of documentation.
7669 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7672 * elf/Makefile (tests): Add tst-pie2.
7673 (tests-pie): Add tst-pie2.
7674 * elf/tst-pie2.c: New file.
7675 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7677 * elf/rtld.c (map_doit): Load executable as lt_executable.
7678 (dl_main): Likewise.
7680 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7683 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7684 (__ASSUME_PSELECT): Undefine.
7686 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7689 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7690 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7692 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7693 selector for static builds.
7695 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7698 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7701 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7703 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7704 IFUNC selector for static builds.
7706 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7708 * sysdeps/mips/math_private.h [__mips_hard_float]
7709 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7710 libc_feresetround_mips_ctx.
7711 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7712 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7713 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7716 * math/s_nextafter.c (__nextafter): Do not return value from
7717 overflowing computation.
7718 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7719 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7720 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7722 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7724 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7725 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7727 2014-03-11 Roland McGrath <roland@hack.frob.com>
7729 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7730 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7731 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7732 the new mov targetting sp.
7734 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7737 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7738 Define it for static builds as well.
7739 (NO_BZERO_IMPL): Likewise.
7741 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7743 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7744 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7745 multiarch strspn for PPC64.
7746 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7747 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7749 (__libc_ifunc_impl_list): Likewise.
7750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7751 multiarch optimizations
7752 * string/strspn.c (strspn): Using macro to redefine symbol name.
7754 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7755 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7757 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7758 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7759 multiarch strncat for PPC64.
7760 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7761 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7763 (__libc_ifunc_impl_list): Likewise.
7764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7765 multiarch optimizations
7767 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7770 * nscd/nscd.service: Make service type forking.
7772 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7774 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7775 sign in non default rounding modes.
7776 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7778 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7780 * math/libm-test.inc (ALL_RM_TEST): New macro.
7781 (ceil_test): Use ALL_RM_TEST.
7782 (cimag_test): Likewise.
7783 (conj_test): Likewise.
7784 (copysign_test): Likewise.
7785 (cproj_test): Likewise.
7786 (creal_test): Likewise.
7787 (fabs_test): Likewise.
7788 (floor_test): Likewise.
7789 (fmax_test): Likewise.
7790 (fmin_test): Likewise.
7791 (fmod_test): Likewise.
7792 (fpclassify_test): Likewise.
7793 (frexp_test): Likewise.
7794 (ilogb_test): Likewise.
7795 (isfinite_test): Likewise.
7796 (finite_test): Likewise.
7797 (isgreater_test): Likewise.
7798 (isgreaterequal_test): Likewise.
7799 (isinf_test): Likewise.
7800 (isless_test): Likewise.
7801 (islessequal_test): Likewise.
7802 (islessgreater_test): Likewise.
7803 (isnan_test): Likewise.
7804 (isnormal_test): Likewise.
7805 (issignaling_test): Likewise.
7806 (isunordered_test): Likewise.
7807 (logb_test): Likewise.
7808 (logb_downward_test_data): Remove.
7809 (logb_test_downward): Likewise.
7810 (lround_test): Use ALL_RM_TEST.
7811 (llround_test): Likewise.
7812 (modf_test): Likewise.
7813 (nexttoward_test): Likewise.
7814 (remainder_test): Likewise.
7815 (drem_test): Likewise.
7816 (remainder_tonearest_test_data): Likewise.
7817 (remainder_test_tonearest): Likewise.
7818 (drem_test_tonearest): Likewise.
7819 (remainder_towardzero_test_data): Likewise.
7820 (remainder_test_towardzero): Likewise.
7821 (drem_test_towardzero): Likewise.
7822 (remainder_downward_test_data): Likewise.
7823 (remainder_test_downward): Likewise.
7824 (drem_test_downward): Likewise.
7825 (remainder_upward_test_data): Likewise.
7826 (remainder_test_upward): Likewise.
7827 (drem_test_upward): Likewise.
7828 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7829 (round_test): Use ALL_RM_TEST.
7830 (signbit_test): Likewise.
7831 (trunc_test): Likewise.
7832 (significand_test): Likewise.
7833 (main): Don't call removed functions.
7835 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7838 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7840 (ILL_ILLOPN): Likewise.
7841 (ILL_ILLADR): Likewise.
7842 (ILL_ILLTRP): Likewise.
7843 (ILL_PRVOPC): Likewise.
7844 (ILL_PRVREG): Likewise.
7845 (ILL_COPROC): Likewise.
7846 (ILL_BADSTK): Likewise.
7847 (FPE_INTDIV): Likewise.
7848 (FPE_INTOVF): Likewise.
7849 (FPE_FLTDIV): Likewise.
7850 (FPE_FLTOVF): Likewise.
7851 (FPE_FLTUND): Likewise.
7852 (FPE_FLTRES): Likewise.
7853 (FPE_FLTINV): Likewise.
7854 (FPE_FLTSUB): Likewise.
7855 (SEGV_MAPERR): Likewise.
7856 (SEGV_ACCERR): Likewise.
7857 (BUS_ADRALN): Likewise.
7858 (BUS_ADRERR): Likewise.
7859 (BUS_OBJERR): Likewise.
7860 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7861 (TRAP_TRACE): Likewise.
7862 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7864 (CLD_KILLED): Likewise.
7865 (CLD_DUMPED): Likewise.
7866 (CLD_TRAPPED): Likewise.
7867 (CLD_STOPPED): Likewise.
7868 (CLD_CONTINUED): Likewise.
7869 (POLL_IN): Likewise.
7870 (POLL_OUT): Likewise.
7871 (POLL_MSG): Likewise.
7872 (POLL_ERR): Likewise.
7873 (POLL_PRI): Likewise.
7874 (POLL_HUP): Likewise.
7875 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7877 (ILL_ILLOPN): Likewise.
7878 (ILL_ILLADR): Likewise.
7879 (ILL_ILLTRP): Likewise.
7880 (ILL_PRVOPC): Likewise.
7881 (ILL_PRVREG): Likewise.
7882 (ILL_COPROC): Likewise.
7883 (ILL_BADSTK): Likewise.
7884 (FPE_INTDIV): Likewise.
7885 (FPE_INTOVF): Likewise.
7886 (FPE_FLTDIV): Likewise.
7887 (FPE_FLTOVF): Likewise.
7888 (FPE_FLTUND): Likewise.
7889 (FPE_FLTRES): Likewise.
7890 (FPE_FLTINV): Likewise.
7891 (FPE_FLTSUB): Likewise.
7892 (SEGV_MAPERR): Likewise.
7893 (SEGV_ACCERR): Likewise.
7894 (BUS_ADRALN): Likewise.
7895 (BUS_ADRERR): Likewise.
7896 (BUS_OBJERR): Likewise.
7897 (BUS_MCEERR_AR): Likewise.
7898 (BUS_MCEERR_AO): Likewise.
7899 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7900 (TRAP_TRACE): Likewise.
7901 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7903 (CLD_KILLED): Likewise.
7904 (CLD_DUMPED): Likewise.
7905 (CLD_TRAPPED): Likewise.
7906 (CLD_STOPPED): Likewise.
7907 (CLD_CONTINUED): Likewise.
7908 (POLL_IN): Likewise.
7909 (POLL_OUT): Likewise.
7910 (POLL_MSG): Likewise.
7911 (POLL_ERR): Likewise.
7912 (POLL_PRI): Likewise.
7913 (POLL_HUP): Likewise.
7914 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7915 (ILL_ILLOPN): Likewise.
7916 (ILL_ILLADR): Likewise.
7917 (ILL_ILLTRP): Likewise.
7918 (ILL_PRVOPC): Likewise.
7919 (ILL_PRVREG): Likewise.
7920 (ILL_COPROC): Likewise.
7921 (ILL_BADSTK): Likewise.
7922 (FPE_INTDIV): Likewise.
7923 (FPE_INTOVF): Likewise.
7924 (FPE_FLTDIV): Likewise.
7925 (FPE_FLTOVF): Likewise.
7926 (FPE_FLTUND): Likewise.
7927 (FPE_FLTRES): Likewise.
7928 (FPE_FLTINV): Likewise.
7929 (FPE_FLTSUB): Likewise.
7930 (SEGV_MAPERR): Likewise.
7931 (SEGV_ACCERR): Likewise.
7932 (BUS_ADRALN): Likewise.
7933 (BUS_ADRERR): Likewise.
7934 (BUS_OBJERR): Likewise.
7935 (BUS_MCEERR_AR): Likewise.
7936 (BUS_MCEERR_AO): Likewise.
7937 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7938 (TRAP_TRACE): Likewise.
7939 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7941 (CLD_KILLED): Likewise.
7942 (CLD_DUMPED): Likewise.
7943 (CLD_TRAPPED): Likewise.
7944 (CLD_STOPPED): Likewise.
7945 (CLD_CONTINUED): Likewise.
7946 (POLL_IN): Likewise.
7947 (POLL_OUT): Likewise.
7948 (POLL_MSG): Likewise.
7949 (POLL_ERR): Likewise.
7950 (POLL_PRI): Likewise.
7951 (POLL_HUP): Likewise.
7952 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7954 (ILL_ILLOPN): Likewise.
7955 (ILL_ILLADR): Likewise.
7956 (ILL_ILLTRP): Likewise.
7957 (ILL_PRVOPC): Likewise.
7958 (ILL_PRVREG): Likewise.
7959 (ILL_COPROC): Likewise.
7960 (ILL_BADSTK): Likewise.
7961 (ILL_BADIADDR): Likewise.
7962 (ILL_BREAK): Likewise.
7963 (FPE_INTDIV): Likewise.
7964 (FPE_INTOVF): Likewise.
7965 (FPE_FLTDIV): Likewise.
7966 (FPE_FLTOVF): Likewise.
7967 (FPE_FLTUND): Likewise.
7968 (FPE_FLTRES): Likewise.
7969 (FPE_FLTINV): Likewise.
7970 (FPE_FLTSUB): Likewise.
7971 (FPE_DECOVF): Likewise.
7972 (FPE_DECDIV): Likewise.
7973 (FPE_DECERR): Likewise.
7974 (FPE_INVASC): Likewise.
7975 (FPE_INVDEC): Likewise.
7976 (SEGV_MAPERR): Likewise.
7977 (SEGV_ACCERR): Likewise.
7978 (SEGV_PSTKOVF): Likewise.
7979 (BUS_ADRALN): Likewise.
7980 (BUS_ADRERR): Likewise.
7981 (BUS_OBJERR): Likewise.
7982 (BUS_MCEERR_AR): Likewise.
7983 (BUS_MCEERR_AO): Likewise.
7984 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7985 (TRAP_TRACE): Likewise.
7986 (TRAP_BRANCH): Likewise.
7987 (TRAP_HWBKPT): Likewise.
7988 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7990 (CLD_KILLED): Likewise.
7991 (CLD_DUMPED): Likewise.
7992 (CLD_TRAPPED): Likewise.
7993 (CLD_STOPPED): Likewise.
7994 (CLD_CONTINUED): Likewise.
7995 (POLL_IN): Likewise.
7996 (POLL_OUT): Likewise.
7997 (POLL_MSG): Likewise.
7998 (POLL_ERR): Likewise.
7999 (POLL_PRI): Likewise.
8000 (POLL_HUP): Likewise.
8001 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8002 (ILL_ILLOPN): Likewise.
8003 (ILL_ILLADR): Likewise.
8004 (ILL_ILLTRP): Likewise.
8005 (ILL_PRVOPC): Likewise.
8006 (ILL_PRVREG): Likewise.
8007 (ILL_COPROC): Likewise.
8008 (ILL_BADSTK): Likewise.
8009 (FPE_INTDIV): Likewise.
8010 (FPE_INTOVF): Likewise.
8011 (FPE_FLTDIV): Likewise.
8012 (FPE_FLTOVF): Likewise.
8013 (FPE_FLTUND): Likewise.
8014 (FPE_FLTRES): Likewise.
8015 (FPE_FLTINV): Likewise.
8016 (FPE_FLTSUB): Likewise.
8017 (SEGV_MAPERR): Likewise.
8018 (SEGV_ACCERR): Likewise.
8019 (BUS_ADRALN): Likewise.
8020 (BUS_ADRERR): Likewise.
8021 (BUS_OBJERR): Likewise.
8022 (BUS_MCEERR_AR): Likewise.
8023 (BUS_MCEERR_AO): Likewise.
8024 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8025 (TRAP_TRACE): Likewise.
8026 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8028 (CLD_KILLED): Likewise.
8029 (CLD_DUMPED): Likewise.
8030 (CLD_TRAPPED): Likewise.
8031 (CLD_STOPPED): Likewise.
8032 (CLD_CONTINUED): Likewise.
8033 (POLL_IN): Likewise.
8034 (POLL_OUT): Likewise.
8035 (POLL_MSG): Likewise.
8036 (POLL_ERR): Likewise.
8037 (POLL_PRI): Likewise.
8038 (POLL_HUP): Likewise.
8039 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8040 (ILL_ILLOPN): Likewise.
8041 (ILL_ILLADR): Likewise.
8042 (ILL_ILLTRP): Likewise.
8043 (ILL_PRVOPC): Likewise.
8044 (ILL_PRVREG): Likewise.
8045 (ILL_COPROC): Likewise.
8046 (ILL_BADSTK): Likewise.
8047 (FPE_INTDIV): Likewise.
8048 (FPE_INTOVF): Likewise.
8049 (FPE_FLTDIV): Likewise.
8050 (FPE_FLTOVF): Likewise.
8051 (FPE_FLTUND): Likewise.
8052 (FPE_FLTRES): Likewise.
8053 (FPE_FLTINV): Likewise.
8054 (FPE_FLTSUB): Likewise.
8055 (SEGV_MAPERR): Likewise.
8056 (SEGV_ACCERR): Likewise.
8057 (BUS_ADRALN): Likewise.
8058 (BUS_ADRERR): Likewise.
8059 (BUS_OBJERR): Likewise.
8060 (BUS_MCEERR_AR): Likewise.
8061 (BUS_MCEERR_AO): Likewise.
8062 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8063 (TRAP_TRACE): Likewise.
8064 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8066 (CLD_KILLED): Likewise.
8067 (CLD_DUMPED): Likewise.
8068 (CLD_TRAPPED): Likewise.
8069 (CLD_STOPPED): Likewise.
8070 (CLD_CONTINUED): Likewise.
8071 (POLL_IN): Likewise.
8072 (POLL_OUT): Likewise.
8073 (POLL_MSG): Likewise.
8074 (POLL_ERR): Likewise.
8075 (POLL_PRI): Likewise.
8076 (POLL_HUP): Likewise.
8077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8078 (ILL_ILLOPN): Likewise.
8079 (ILL_ILLADR): Likewise.
8080 (ILL_ILLTRP): Likewise.
8081 (ILL_PRVOPC): Likewise.
8082 (ILL_PRVREG): Likewise.
8083 (ILL_COPROC): Likewise.
8084 (ILL_BADSTK): Likewise.
8085 (FPE_INTDIV): Likewise.
8086 (FPE_INTOVF): Likewise.
8087 (FPE_FLTDIV): Likewise.
8088 (FPE_FLTOVF): Likewise.
8089 (FPE_FLTUND): Likewise.
8090 (FPE_FLTRES): Likewise.
8091 (FPE_FLTINV): Likewise.
8092 (FPE_FLTSUB): Likewise.
8093 (SEGV_MAPERR): Likewise.
8094 (SEGV_ACCERR): Likewise.
8095 (BUS_ADRALN): Likewise.
8096 (BUS_ADRERR): Likewise.
8097 (BUS_OBJERR): Likewise.
8098 (BUS_MCEERR_AR): Likewise.
8099 (BUS_MCEERR_AO): Likewise.
8100 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8101 (TRAP_TRACE): Likewise.
8102 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8104 (CLD_KILLED): Likewise.
8105 (CLD_DUMPED): Likewise.
8106 (CLD_TRAPPED): Likewise.
8107 (CLD_STOPPED): Likewise.
8108 (CLD_CONTINUED): Likewise.
8109 (POLL_IN): Likewise.
8110 (POLL_OUT): Likewise.
8111 (POLL_MSG): Likewise.
8112 (POLL_ERR): Likewise.
8113 (POLL_PRI): Likewise.
8114 (POLL_HUP): Likewise.
8115 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8116 (ILL_ILLOPN): Likewise.
8117 (ILL_ILLADR): Likewise.
8118 (ILL_ILLTRP): Likewise.
8119 (ILL_PRVOPC): Likewise.
8120 (ILL_PRVREG): Likewise.
8121 (ILL_COPROC): Likewise.
8122 (ILL_BADSTK): Likewise.
8123 (ILL_DBLFLT): Likewise.
8124 (ILL_HARDWALL): Likewise.
8125 (FPE_INTDIV): Likewise.
8126 (FPE_INTOVF): Likewise.
8127 (FPE_FLTDIV): Likewise.
8128 (FPE_FLTOVF): Likewise.
8129 (FPE_FLTUND): Likewise.
8130 (FPE_FLTRES): Likewise.
8131 (FPE_FLTINV): Likewise.
8132 (FPE_FLTSUB): Likewise.
8133 (SEGV_MAPERR): Likewise.
8134 (SEGV_ACCERR): Likewise.
8135 (BUS_ADRALN): Likewise.
8136 (BUS_ADRERR): Likewise.
8137 (BUS_OBJERR): Likewise.
8138 (BUS_MCEERR_AR): Likewise.
8139 (BUS_MCEERR_AO): Likewise.
8140 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8141 (TRAP_TRACE): Likewise.
8142 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8144 (CLD_KILLED): Likewise.
8145 (CLD_DUMPED): Likewise.
8146 (CLD_TRAPPED): Likewise.
8147 (CLD_STOPPED): Likewise.
8148 (CLD_CONTINUED): Likewise.
8149 (POLL_IN): Likewise.
8150 (POLL_OUT): Likewise.
8151 (POLL_MSG): Likewise.
8152 (POLL_ERR): Likewise.
8153 (POLL_PRI): Likewise.
8154 (POLL_HUP): Likewise.
8155 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8156 (ILL_ILLOPN): Likewise.
8157 (ILL_ILLADR): Likewise.
8158 (ILL_ILLTRP): Likewise.
8159 (ILL_PRVOPC): Likewise.
8160 (ILL_PRVREG): Likewise.
8161 (ILL_COPROC): Likewise.
8162 (ILL_BADSTK): Likewise.
8163 (FPE_INTDIV): Likewise.
8164 (FPE_INTOVF): Likewise.
8165 (FPE_FLTDIV): Likewise.
8166 (FPE_FLTOVF): Likewise.
8167 (FPE_FLTUND): Likewise.
8168 (FPE_FLTRES): Likewise.
8169 (FPE_FLTINV): Likewise.
8170 (FPE_FLTSUB): Likewise.
8171 (SEGV_MAPERR): Likewise.
8172 (SEGV_ACCERR): Likewise.
8173 (BUS_ADRALN): Likewise.
8174 (BUS_ADRERR): Likewise.
8175 (BUS_OBJERR): Likewise.
8176 (BUS_MCEERR_AR): Likewise.
8177 (BUS_MCEERR_AO): Likewise.
8178 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8179 (TRAP_TRACE): Likewise.
8180 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8182 (CLD_KILLED): Likewise.
8183 (CLD_DUMPED): Likewise.
8184 (CLD_TRAPPED): Likewise.
8185 (CLD_STOPPED): Likewise.
8186 (CLD_CONTINUED): Likewise.
8187 (POLL_IN): Likewise.
8188 (POLL_OUT): Likewise.
8189 (POLL_MSG): Likewise.
8190 (POLL_ERR): Likewise.
8191 (POLL_PRI): Likewise.
8192 (POLL_HUP): Likewise.
8193 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8194 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8197 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8198 before #include of <time.h>.
8199 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8200 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8201 (test-xfail-UNIX98/sched.h/conform): Likewise.
8203 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8205 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8206 error absence of trapping exception support.
8207 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8209 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8211 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8212 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8213 * timezone/Makefile (testdata): Move definition above include of
8215 (test-zones): New variable.
8216 (tests-special): Add zone files.
8217 (build-testdata): Use $(evaluate-test).
8219 * elf/Makefile (tests-special): Rename tests to end with .out.
8220 ($(objpfx)noload-mem): Likewise.
8221 ($(objpfx)tst-leaks1-mem): Likewise.
8222 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8223 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8224 $(objpfx)test-iconvconfig.out.
8225 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8226 set -e inside subshell and redirect output to file.
8227 * iconvdata/Makefile (generated): Rename tests to end with .out.
8229 (tests-special): Rename tests to end with .out.
8230 ($(objpfx)mtrace-tst-loading): Likewise.
8231 * intl/Makefile (generated): Likewise.
8232 (tests-special): Likewise.
8233 ($(objpfx)mtrace-tst-gettext): Likewise.
8234 * misc/Makefile (generated): Likewise.
8235 (tests-special): Likewise.
8236 ($(objpfx)tst-error1-mem): Likewise.
8237 * nptl/Makefile (tests-special): Likewise.
8238 ($(objpfx)tst-stack3-mem): Likewise.
8239 (generated): Likewise.
8240 * posix/Makefile (generated): Likewise.
8241 (tests-special): Likewise.
8242 (xtests-special): Likewise.
8243 ($(objpfx)tst-fnmatch-mem): Likewise.
8244 ($(objpfx)bug-regex2-mem): Likewise.
8245 ($(objpfx)bug-regex14-mem): Likewise.
8246 ($(objpfx)bug-regex21-mem): Likewise.
8247 ($(objpfx)bug-regex31-mem): Likewise.
8248 ($(objpfx)tst-vfork3-mem): Likewise.
8249 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8250 ($(objpfx)tst-pcre-mem): Likewise.
8251 ($(objpfx)tst-boost-mem): Likewise.
8252 ($(objpfx)bug-ga2-mem): Likewise.
8253 ($(objpfx)bug-glob2-mem): Likewise.
8254 * resolv/Makefile (generate): Likewise.
8255 (tests-special): Likewise.
8256 (xtests-special): Likewise.
8257 (generated): Likewise.
8258 ($(objpfx)mtrace-tst-leaks): Likewise.
8259 ($(objpfx)mtrace-tst-leaks2): Likewise.
8261 * scripts/merge-test-results.sh: New file.
8262 * Makefile (tests-special-notdir): New variable.
8263 (tests): Run merge-test-results.sh.
8265 * Rules (tests-special-notdir): New variable.
8266 (xtests-special-notdir): Likewise.
8267 (tests): Run merge-test-results.sh
8270 * Makeconfig (test-xfail-name): New variable.
8271 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8272 compute variable name for expected failures.
8273 * conform/Makefile (conformtest-headers-data): New variable.
8274 (conformtest-standards): Likewise.
8275 (conformtest-headers-ISO): Likewise.
8276 (conformtest-headers-ISO99): Likewise.
8277 (conformtest-headers-ISO11): Likewise.
8278 (conformtest-headers-POSIX): Likewise.
8279 (conformtest-headers-XPG3): Likewise.
8280 (conformtest-headers-XPG4): Likewise.
8281 (conformtest-headers-UNIX98): Likewise.
8282 (conformtest-headers-XOPEN2K): Likewise.
8283 (conformtest-headers-POSIX2008): Likewise.
8284 (conformtest-headers-XOPEN2K8): Likewise.
8285 (conformtest-header-list-base): Likewise.
8286 (conformtest-header-list-tests): Likewise.
8287 (conformtest-header-base): Likewise.
8288 (conformtest-header-tests): Likewise.
8289 (tests-special): Add $(conformtest-header-list-tests). If
8290 [$(fast-check) && !$(cross-compiling)], add
8291 $(conformtest-header-tests) instead of
8292 $(objpfx)run-conformtest.out.
8293 (generated): Add $(conformtest-header-list-base). If
8294 [$(fast-check) && !$(cross-compiling)], add
8295 $(conformtest-header-base). Remove previous setting.
8296 ($(conformtest-header-list-tests)): New target.
8297 (test-xfail-run-conformtest): Remove variable.
8298 ($(objpfx)run-conformtest.out): Remove target.
8299 (test-xfail-ISO11/complex.h/conform): New variable.
8300 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8301 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8302 (test-xfail-XPG3/varargs.h/conform): Likewise.
8303 (test-xfail-XPG4/varargs.h/conform): Likewise.
8304 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8305 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8306 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8307 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8308 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8309 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8310 (test-xfail-XPG3/ftw.h/conform): Likewise.
8311 (test-xfail-XPG3/grp.h/conform): Likewise.
8312 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8313 (test-xfail-XPG3/limits.h/conform): Likewise.
8314 (test-xfail-XPG3/pwd.h/conform): Likewise.
8315 (test-xfail-XPG3/search.h/conform): Likewise.
8316 (test-xfail-XPG3/signal.h/conform): Likewise.
8317 (test-xfail-XPG3/stdio.h/conform): Likewise.
8318 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8319 (test-xfail-XPG3/string.h/conform): Likewise.
8320 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8321 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8322 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8323 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8324 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8325 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8326 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8327 (test-xfail-XPG3/termios.h/conform): Likewise.
8328 (test-xfail-XPG3/time.h/conform): Likewise.
8329 (test-xfail-XPG3/unistd.h/conform): Likewise.
8330 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8331 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8332 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8333 (test-xfail-XPG4/netdb.h/conform): Likewise.
8334 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8335 (test-xfail-XPG4/signal.h/conform): Likewise.
8336 (test-xfail-XPG4/stdio.h/conform): Likewise.
8337 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8338 (test-xfail-XPG4/stropts.h/conform): Likewise.
8339 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8340 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8341 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8342 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8343 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8344 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8345 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8346 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8347 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8348 (test-xfail-XPG4/termios.h/conform): Likewise.
8349 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8350 (test-xfail-XPG4/unistd.h/conform): Likewise.
8351 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8352 (test-xfail-POSIX/sched.h/conform): Likewise.
8353 (test-xfail-POSIX/signal.h/conform): Likewise.
8354 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8355 (test-xfail-POSIX/tar.h/conform): Likewise.
8356 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8357 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8358 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8359 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8360 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8361 (test-xfail-UNIX98/sched.h/conform): Likewise.
8362 (test-xfail-UNIX98/signal.h/conform): Likewise.
8363 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8364 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8365 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8366 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8367 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8368 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8369 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8370 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8371 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8372 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8373 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8374 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8375 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8376 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8377 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8378 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8379 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8380 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8381 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8382 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8383 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8384 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8385 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8386 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8387 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8388 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8389 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8390 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8391 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8392 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8393 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8394 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8395 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8396 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8397 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8398 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8399 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8400 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8401 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8402 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8403 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8404 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8405 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8406 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8407 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8408 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8409 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8410 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8411 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8412 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8413 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8414 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8415 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8416 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8417 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8418 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8419 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8420 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8421 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8422 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8423 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8424 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8425 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8426 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8427 (conformtest-cc-flags): Likewise.
8428 ($(conformtest-header-tests): New target.
8429 * conform/check-header-lists.sh: New file.
8430 * conform/run-conformtest.sh: Remove.
8432 * conform/conformtest.pl: Allow ' and \ in values given for
8434 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8436 [POSIX] (sys/types.h): Likewise.
8437 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8439 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8441 * conform/data/signal.h-data (SIGIO): Remove expectation.
8442 [XPG3] (SIGBUS): Do not expect.
8443 [POSIX || XPG3] (SIGPOLL): Likewise.
8444 [POSIX || XPG3] (SIGPROF): Likewise.
8445 [POSIX || XPG3] (SIGSYS): Likewise.
8446 [XPG3] (SIGTRAP): Likewise.
8447 [POSIX || XPG3] (SIGURG): Likewise.
8448 [POSIX || XPG3] (SIGVTALRM): Likewise.
8449 [POSIX || XPG3] (SIGXCPU): Likewise.
8450 [POSIX || XPG3] (SIGXFSZ): Likewise.
8451 [POSIX] (SA_SIGINFO): Expect.
8452 [XPG3] (siginfo_t): Do not expect type or contents.
8453 [POSIX] (si_pid): Do not expect element.
8454 [POSIX] (si_uid): Likewise.
8455 [POSIX] (si_addr): Likewise.
8456 [POSIX] (si_status): Likewise.
8457 [POSIX] (si_band): Likewise.
8458 [XPG4] (si_value): Likewise.
8459 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8460 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8461 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8462 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8463 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8464 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8465 [POSIX || XPG3] (ILL_COPROC): Likewise.
8466 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8467 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8468 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8469 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8470 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8471 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8472 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8473 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8474 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8475 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8476 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8477 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8478 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8479 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8480 [POSIX || XPG3] (CLD_EXITED): Likewise.
8481 [POSIX || XPG3] (CLD_KILLED): Likewise.
8482 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8483 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8484 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8485 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8486 [POSIX || XPG3] (POLL_IN): Likewise.
8487 [POSIX || XPG3] (POLL_OUT): Likewise.
8488 [POSIX || XPG3] (POLL_MSG): Likewise.
8489 [POSIX || XPG3] (POLL_ERR): Likewise.
8490 [POSIX || XPG3] (POLL_PRI): Likewise.
8491 [POSIX || XPG3] (POLL_HUP): Likewise.
8492 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8493 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8494 (SIG*): Do not allow.
8495 [XPG3] (si_*): Likewise.
8496 [XPG3] (SI_*): Likewise.
8497 [XPG3 || XPG4] (sigev_*): Likewise.
8498 [XPG3 || XPG4] (SIGEV_*): Likewise.
8499 [XPG3 || XPG4] (sival_*): Likewise.
8500 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8501 [POSIX || XPG3] (BUS_*): Likewise.
8502 [POSIX || XPG3] (CLD_*): Likewise.
8503 [POSIX || XPG3] (FPE_*): Likewise.
8504 [POSIX || XPG3] (ILL_*): Likewise.
8505 [POSIX || XPG3] (POLL_*): Likewise.
8506 [POSIX || XPG3] (SEGV_*): Likewise.
8507 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8508 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8509 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8510 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8511 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8512 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8513 Specify type and value.
8514 (TVERSLEN): Likewise.
8515 (REGTYPE): Likewise.
8516 (AREGTYPE): Likewise.
8517 (LNKTYPE): Likewise.
8518 (SYMTYPE): Likewise.
8519 (CHRTYPE): Likewise.
8520 (BLKTYPE): Likewise.
8521 (DIRTYPE): Likewise.
8522 (FIFOTYPE): Likewise.
8523 (CONTTYPE): Likewise.
8528 (TUWRITE): Likewise.
8531 (TGWRITE): Likewise.
8534 (TOWRITE): Likewise.
8536 [POSIX] (TSVTX): Expect constant.
8538 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8540 * Makefile (tests): Change dependencies to ....
8541 (tests-special): ... additions to this variable.
8542 (tests): Depend on $(tests-special).
8543 * Makerules (check-abi-list): New variable.
8544 (check-abi): Depend on $(check-abi-list).
8545 [$(subdir) = elf] (tests-special): Add
8546 $(objpfx)check-abi-libc.out.
8547 [$(build-shared) = yes && subdir] (tests-special): Add
8549 [$(build-shared) = yes && subdir] (tests): Do not depend on
8551 * Rules (tests): Depend on $(tests-special).
8552 (xtests): Depend on $(xtests-special).
8553 * catgets/Makefile (tests): Change dependencies to ....
8554 (tests-special): ... additions to this variable.
8555 * conform/Makefile (tests): Change dependencies to ....
8556 (tests-special): ... additions to this variable.
8557 * elf/Makefile (tests): Change dependencies to ....
8558 (tests-special): ... additions to this variable.
8559 * grp/Makefile (tests): Change dependencies to ....
8560 (tests-special): ... additions to this variable.
8561 * iconv/Makefile (xtests): Change dependencies to ....
8562 (xtests-special): ... additions to this variable.
8563 * iconvdata/Makefile (tests): Change dependencies to ....
8564 (tests-special): ... additions to this variable.
8565 * intl/Makefile (tests): Change dependencies to ....
8566 (tests-special): ... additions to this variable. Also add
8567 $(objpfx)tst-gettext.out.
8568 * io/Makefile (tests): Change dependencies to ....
8569 (tests-special): ... additions to this variable.
8570 * libio/Makefile (tests): Change dependencies to ....
8571 (tests-special): ... additions to this variable.
8572 * malloc/Makefile (tests): Change dependencies to ....
8573 (tests-special): ... additions to this variable.
8574 * misc/Makefile (tests): Change dependencies to ....
8575 (tests-special): ... additions to this variable.
8576 * nptl/Makefile (tests): Change dependencies to ....
8577 (tests-special): ... additions to this variable.
8578 * nptl_db/Makefile (tests): Change dependencies to ....
8579 (tests-special): ... additions to this variable.
8580 * posix/Makefile (tests): Change dependencies to ....
8581 (tests-special): ... additions to this variable.
8582 (xtests): Change dependencies to ....
8583 (xtests-special): ... additions to this variable.
8584 * resolv/Makefile (tests): Change dependencies to ....
8585 (tests-special): ... additions to this variable.
8586 (xtests): Change dependencies to ....
8587 (xtests-special): ... additions to this variable.
8588 * stdio-common/Makefile (tests): Change dependencies to ....
8589 (tests-special): ... additions to this variable.
8590 (do-tst-unbputc): Remove target.
8591 (do-tst-printf): Likewise.
8592 * stdlib/Makefile (tests): Change dependencies to ....
8593 (tests-special): ... additions to this variable.
8594 * string/Makefile (tests): Change dependencies to ....
8595 (tests-special): ... additions to this variable.
8596 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8597 (tests-special): ... additions to this variable.
8599 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8601 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8603 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8604 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8606 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8607 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8608 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8609 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8610 * conform/data/libgen.h-data [XPG3]: Likewise.
8611 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8612 * conform/data/ndbm.h-data [XPG3]: Likewise.
8613 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8614 * conform/data/netdb.h-data [XPG3]: Likewise.
8615 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8616 * conform/data/poll.h-data [XPG3]: Likewise.
8617 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8618 * conform/data/strings.h-data [XPG3]: Likewise.
8619 * conform/data/stropts.h-data [XPG3]: Likewise.
8620 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8621 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8622 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8624 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8625 * conform/data/sys/time.h-data [XPG3]: Likewise.
8626 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8627 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8628 * conform/data/sys/un.h-data [XPG3]: Likewise.
8629 * conform/data/syslog.h-data [XPG3]: Likewise.
8630 * conform/data/ucontext.h-data [XPG3]: Likewise.
8631 * conform/data/utmpx.h-data [XPG3]: Likewise.
8632 * conform/data/varargs.h-data [UNIX98]: Enable file.
8634 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8636 * math/libm-test.inc (struct test_f_f_data): Move expected results
8637 into structure for each rounding mode.
8638 (struct test_ff_f_data): Likewise.
8639 (struct test_ff_f_data_nexttoward): Likewise.
8640 (struct test_fi_f_data): Likewise.
8641 (struct test_fl_f_data): Likewise.
8642 (struct test_if_f_data): Likewise.
8643 (struct test_fff_f_data): Likewise.
8644 (struct test_c_f_data): Likewise.
8645 (struct test_f_f1_data): Likewise.
8646 (struct test_fF_f1_data): Likewise.
8647 (struct test_ffI_f1_data): Likewise.
8648 (struct test_c_c_data): Likewise.
8649 (struct test_cc_c_data): Likewise.
8650 (struct test_f_i_data): Likewise.
8651 (struct test_ff_i_data): Likewise.
8652 (struct test_f_l_data): Likewise.
8653 (struct test_f_L_data): Likewise.
8654 (struct test_fFF_11_data): Likewise.
8656 (RM_FE_DOWNWARD): Likewise.
8657 (RM_FE_TONEAREST): Likewise.
8658 (RM_FE_TOWARDZERO): Likewise.
8659 (RM_FE_UPWARD): Likewise.
8660 (RUN_TEST_LOOP_f_f): Update references to expected results.
8661 (RUN_TEST_LOOP_2_f): Likewise.
8662 (RUN_TEST_LOOP_fff_f): Likewise.
8663 (RUN_TEST_LOOP_c_f): Likewise.
8664 (RUN_TEST_LOOP_f_f1): Likewise.
8665 (RUN_TEST_LOOP_fF_f1): Likewise.
8666 (RUN_TEST_LOOP_fI_f1): Likewise.
8667 (RUN_TEST_LOOP_ffI_f1): Likewise.
8668 (RUN_TEST_LOOP_c_c): Likewise.
8669 (RUN_TEST_LOOP_cc_c): Likewise.
8670 (RUN_TEST_LOOP_f_i): Likewise.
8671 (RUN_TEST_LOOP_f_i_tg): Likewise.
8672 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8673 (RUN_TEST_LOOP_f_b): Likewise.
8674 (RUN_TEST_LOOP_f_b_tg): Likewise.
8675 (RUN_TEST_LOOP_f_l): Likewise.
8676 (RUN_TEST_LOOP_f_L): Likewise.
8677 (RUN_TEST_LOOP_fFF_11): Likewise.
8678 * math/gen-libm-test.pl (parse_args): Output four copies of
8679 expected results for each test.
8681 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8682 (__ASSUME_UTIMES): Remove.
8683 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8684 (__ASSUME_UTIMES): Likewise.
8686 * math/gen-auto-libm-tests.c: Update comment on output format.
8687 (output_for_one_input_case): Generate before-rounding and
8688 after-rounding information as conditions on output flags not
8689 floating-point format.
8690 * math/auto-libm-test-out: Regenerated.
8691 * math/gen-libm-test.pl (cond_value): New function.
8692 (or_cond_value): Use cond_value.
8693 (generate_testfile): Handle conditional exceptions.
8695 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8697 * math/libm-test.inc (max_valid_error): New variable.
8698 (init_max_error): Take new argument specifying whether function
8699 results are exactly determined. Set max_valid_error and bound
8700 other variables for errors based on this argument.
8701 (set_max_error): Do not record results above max_valid_error.
8702 (check_float_internal): Only accept errors of up to 0.5ulps if
8703 also at most max_valid_error.
8704 (START): Take new argument EXACT and pass it to init_max_error.
8705 (acos_test): Update call to START.
8706 (acos_test_tonearest): Likewise.
8707 (acos_test_towardzero): Likewise.
8708 (acos_test_downward): Likewise.
8709 (acos_test_upward): Likewise.
8710 (acosh_test): Likewise.
8711 (asin_test): Likewise.
8712 (asin_test_tonearest): Likewise.
8713 (asin_test_towardzero): Likewise.
8714 (asin_test_downward): Likewise.
8715 (asin_test_upward): Likewise.
8716 (asinh_test): Likewise.
8717 (atan_test): Likewise.
8718 (atanh_test): Likewise.
8719 (atan2_test): Likewise.
8720 (cabs_test): Likewise.
8721 (cacos_test): Likewise.
8722 (cacosh_test): Likewise.
8723 (carg_test): Likewise.
8724 (casin_test): Likewise.
8725 (casinh_test): Likewise.
8726 (catan_test): Likewise.
8727 (catanh_test): Likewise.
8728 (cbrt_test): Likewise.
8729 (ccos_test): Likewise.
8730 (ccosh_test): Likewise.
8731 (ceil_test): Likewise.
8732 (cexp_test): Likewise.
8733 (cimag_test): Likewise.
8734 (clog_test): Likewise.
8735 (clog10_test): Likewise.
8736 (conj_test): Likewise.
8737 (copysign_test): Likewise.
8738 (cos_test): Likewise.
8739 (cos_test_tonearest): Likewise.
8740 (cos_test_towardzero): Likewise.
8741 (cos_test_downward): Likewise.
8742 (cos_test_upward): Likewise.
8743 (cosh_test): Likewise.
8744 (cosh_test_tonearest): Likewise.
8745 (cosh_test_towardzero): Likewise.
8746 (cosh_test_downward): Likewise.
8747 (cosh_test_upward): Likewise.
8748 (cpow_test): Likewise.
8749 (cproj_test): Likewise.
8750 (creal_test): Likewise.
8751 (csin_test): Likewise.
8752 (csinh_test): Likewise.
8753 (csqrt_test): Likewise.
8754 (ctan_test): Likewise.
8755 (ctan_test_tonearest): Likewise.
8756 (ctan_test_towardzero): Likewise.
8757 (ctan_test_downward): Likewise.
8758 (ctan_test_upward): Likewise.
8759 (ctanh_test): Likewise.
8760 (ctanh_test_tonearest): Likewise.
8761 (ctanh_test_towardzero): Likewise.
8762 (ctanh_test_downward): Likewise.
8763 (ctanh_test_upward): Likewise.
8764 (erf_test): Likewise.
8765 (erfc_test): Likewise.
8766 (exp_test): Likewise.
8767 (exp_test_tonearest): Likewise.
8768 (exp_test_towardzero): Likewise.
8769 (exp_test_downward): Likewise.
8770 (exp_test_upward): Likewise.
8771 (exp10_test): Likewise.
8772 (exp10_test_tonearest): Likewise.
8773 (exp10_test_towardzero): Likewise.
8774 (exp10_test_downward): Likewise.
8775 (exp10_test_upward): Likewise.
8776 (pow10_test): Likewise.
8777 (exp2_test): Likewise.
8778 (expm1_test): Likewise.
8779 (expm1_test_tonearest): Likewise.
8780 (expm1_test_towardzero): Likewise.
8781 (expm1_test_downward): Likewise.
8782 (expm1_test_upward): Likewise.
8783 (fabs_test): Likewise.
8784 (fdim_test): Likewise.
8785 (floor_test): Likewise.
8786 (fma_test): Likewise.
8787 (fma_test_towardzero): Likewise.
8788 (fma_test_downward): Likewise.
8789 (fma_test_upward): Likewise.
8790 (fmax_test): Likewise.
8791 (fmin_test): Likewise.
8792 (fmod_test): Likewise.
8793 (fpclassify_test): Likewise.
8794 (frexp_test): Likewise.
8795 (hypot_test): Likewise.
8796 (ilogb_test): Likewise.
8797 (isfinite_test): Likewise.
8798 (finite_test): Likewise.
8799 (isgreater_test): Likewise.
8800 (isgreaterequal_test): Likewise.
8801 (isinf_test): Likewise.
8802 (isless_test): Likewise.
8803 (islessequal_test): Likewise.
8804 (islessgreater_test): Likewise.
8805 (isnan_test): Likewise.
8806 (isnormal_test): Likewise.
8807 (issignaling_test): Likewise.
8808 (isunordered_test): Likewise.
8809 (j0_test): Likewise.
8810 (j1_test): Likewise.
8811 (jn_test): Likewise.
8812 (ldexp_test): Likewise.
8813 (lgamma_test): Likewise.
8814 (gamma_test): Likewise.
8815 (lrint_test): Likewise.
8816 (lrint_test_tonearest): Likewise.
8817 (lrint_test_towardzero): Likewise.
8818 (lrint_test_downward): Likewise.
8819 (lrint_test_upward): Likewise.
8820 (llrint_test): Likewise.
8821 (llrint_test_tonearest): Likewise.
8822 (llrint_test_towardzero): Likewise.
8823 (llrint_test_downward): Likewise.
8824 (llrint_test_upward): Likewise.
8825 (log_test): Likewise.
8826 (log10_test): Likewise.
8827 (log1p_test): Likewise.
8828 (log2_test): Likewise.
8829 (logb_test): Likewise.
8830 (logb_test_downward): Likewise.
8831 (lround_test): Likewise.
8832 (llround_test): Likewise.
8833 (modf_test): Likewise.
8834 (nearbyint_test): Likewise.
8835 (nextafter_test): Likewise.
8836 (nexttoward_test): Likewise.
8837 (pow_test): Likewise.
8838 (pow_test_tonearest): Likewise.
8839 (pow_test_towardzero): Likewise.
8840 (pow_test_downward): Likewise.
8841 (pow_test_upward): Likewise.
8842 (remainder_test): Likewise.
8843 (drem_test): Likewise.
8844 (remainder_test_tonearest): Likewise.
8845 (drem_test_tonearest): Likewise.
8846 (remainder_test_towardzero): Likewise.
8847 (drem_test_towardzero): Likewise.
8848 (remainder_test_downward): Likewise.
8849 (drem_test_downward): Likewise.
8850 (remainder_test_upward): Likewise.
8851 (drem_test_upward): Likewise.
8852 (remquo_test): Likewise.
8853 (rint_test): Likewise.
8854 (rint_test_tonearest): Likewise.
8855 (rint_test_towardzero): Likewise.
8856 (rint_test_downward): Likewise.
8857 (rint_test_upward): Likewise.
8858 (round_test): Likewise.
8859 (scalb_test): Likewise.
8860 (scalbn_test): Likewise.
8861 (scalbln_test): Likewise.
8862 (signbit_test): Likewise.
8863 (sin_test): Likewise.
8864 (sin_test_tonearest): Likewise.
8865 (sin_test_towardzero): Likewise.
8866 (sin_test_downward): Likewise.
8867 (sin_test_upward): Likewise.
8868 (sincos_test): Likewise.
8869 (sinh_test): Likewise.
8870 (sinh_test_tonearest): Likewise.
8871 (sinh_test_towardzero): Likewise.
8872 (sinh_test_downward): Likewise.
8873 (sinh_test_upward): Likewise.
8874 (sqrt_test): Likewise.
8875 (sqrt_test_tonearest): Likewise.
8876 (sqrt_test_towardzero): Likewise.
8877 (sqrt_test_downward): Likewise.
8878 (sqrt_test_upward): Likewise.
8879 (tan_test): Likewise.
8880 (tan_test_tonearest): Likewise.
8881 (tan_test_towardzero): Likewise.
8882 (tan_test_downward): Likewise.
8883 (tan_test_upward): Likewise.
8884 (tanh_test): Likewise.
8885 (tgamma_test): Likewise.
8886 (trunc_test): Likewise.
8887 (y0_test): Likewise.
8888 (y1_test): Likewise.
8889 (yn_test): Likewise.
8890 (significand_test): Likewise.
8892 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8893 individual tests in comment.
8894 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8895 (prev_max_error): New variable.
8896 (prev_real_max_error): Likewise.
8897 (prev_imag_max_error): Likewise.
8898 (compare_ulp_data): Don't refer to test names in comment.
8899 (find_test_ulps): Remove function.
8900 (find_function_ulps): Likewise.
8901 (find_complex_function_ulps): Likewise.
8902 (init_max_error): Take function name as argument. Look up ulps
8904 (print_ulps): Remove function.
8905 (print_max_error): Use prev_max_error instead of calling
8907 (print_complex_max_error): Use prev_real_max_error and
8908 prev_imag_max_error instead of calling find_complex_function_ulps.
8909 (check_float_internal): Take max_ulp parameter instead of calling
8910 find_test_ulps. Don't call print_ulps.
8911 (check_float): Update call to check_float_internal.
8912 (check_complex): Update calls to check_float_internal.
8913 (START): Pass argument to init_max_error.
8914 * math/gen-libm-test.pl (%results): Don't include "kind"
8916 (parse_ulps): Don't handle ulps of individual tests.
8917 (print_ulps_file): Likewise.
8918 (output_ulps): Likewise.
8919 * math/README.libm-test: Update.
8920 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8922 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8923 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8924 * sysdeps/arm/libm-test-ulps: Likewise.
8925 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8926 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8927 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8928 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8929 * sysdeps/microblaze/libm-test-ulps: Likewise.
8930 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8931 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8932 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8933 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8934 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8935 * sysdeps/sh/libm-test-ulps: Likewise.
8936 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8937 * sysdeps/tile/libm-test-ulps: Likewise.
8938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8940 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8942 * math/libm-test.inc (print_complex_max_error): Check separately
8943 whether real and imaginary errors are within allowed range and
8944 pass 0 to print_complex_function_ulps instead of value within
8947 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8949 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8951 (get_handles_fopen): Likewise.
8952 (do_write_test): Likewise.
8954 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8956 * libio/fileops.c (do_ftell): Use cached offset when
8958 * libio/iofwide.c (do_ftell_wide): Likewise.
8959 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8961 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8964 * libio/libioP.h (get_file_offset): New function.
8965 * libio/fileops.c (get_file_offset): Likewise.
8966 (do_ftell): Likewise.
8967 (_IO_new_file_seekoff): Split out ftell logic.
8968 * libio/wfileops.c (do_ftell_wide): Likewise.
8969 (_IO_wfile_seekoff): Split out ftell logic.
8970 * libio/tst-ftell-active-handler.c: New test case.
8971 * libio/Makefile (tests): Add it.
8973 2014-03-03 Roland McGrath <roland@hack.frob.com>
8975 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8976 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8978 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8981 * nscd/connections.c (nscd_init): Call do_exit.
8982 (start_threads): Call do_exit and notify_parent.
8983 (begin_drop_privileges): Call do_exit.
8984 (finish_drop_privileges): Likewise.
8985 * nscd/selinux.c (preserve_capabilities): Likewise.
8986 (install_real_capabilities): Likewise.
8987 (nscd_selinux_enabled): Likewise.
8988 (avc_create_thread): Likewise.
8989 (avc_alloc_lock): Likewise.
8990 (nscd_avc_init): Likewise.
8991 * nscd/nscd.c (parent_fd): New static variable.
8992 (main): Create a pipe between parent and child processes.
8993 Skip closing parent_fd.
8994 (monitor_child): New function.
8995 (do_exit): Likewise.
8996 (notify_parent): Likewise.
8997 * nscd/nscd.h (notify_parent): Likewise.
8998 (do_exit): Likewise.
9000 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9002 * malloc/malloc.c (__libc_calloc): Revert last change.
9004 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9008 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9010 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9014 (__libc_ifunc_impl_list): Likewise.
9015 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9016 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9017 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9018 * string/strrchr.c: Define STRRCHR.
9020 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9022 * benchtest/bench-strtok.c (simple_strtok): Delete.
9023 (strtok_string): Use as benchmark.
9024 * string/strtok (STRTOK): New macro.
9026 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9028 * manual/threads.texi: Add header and standard comments to all
9031 * elf/dl-lookup.c (check_match): New function.
9032 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9033 (do_lookup_x): Remove nested function check_match. Use non-nested
9034 function check_match.
9036 2014-02-28 Roland McGrath <roland@hack.frob.com>
9038 * csu/Makefile (generated, before-compile): Use += rather than =.
9039 * catgets/Makefile (generated, generated-dirs): Likewise.
9040 * debug/Makefile (generated): Likewise.
9041 * dlfcn/Makefile (generated): Likewise.
9042 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9043 * iconvdata/Makefile (before-compile, generated): Likewise.
9044 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9045 * libio/Makefile (generated): Likewise.
9046 * malloc/Makefile (generated): Likewise.
9047 * manual/Makefile (generated, generated-dirs): Likewise.
9048 * misc/Makefile (generated): Likewise.
9049 * posix/Makefile (generated): Likewise.
9050 * resolv/Makefile (generated): Likewise.
9051 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9052 * timezone/Makefile (generated, generated-dirs): Likewise.
9054 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9056 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9059 power8 implementation.
9060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9061 file: POWER8 llround ifunc implementation.
9062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9063 (__lllround): Add POWER8 implementation.
9064 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9065 POWER8 llround implementation.
9067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9068 power8 implementation.
9069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9070 file: POWER8 llrint ifunc implementation.
9071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9072 Add POWER8 implementation.
9073 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9074 POWER8 llrint implementation.
9076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9077 power8 implementation.
9078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9079 file: POWER8 finite ifunc implementation.
9080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9081 Add POWER8 implementation.
9082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9084 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9085 POWER8 finite implementation.
9086 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9089 power8 implementation.
9090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9091 file: POWER8 isinf ifunc implementation.
9092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9093 POWER8 implementation.
9094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9096 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9097 isinf implementation.
9098 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9100 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9101 (INIT_ARCH): Add hwcap2 initialization.
9102 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9103 power8 implementation.
9104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9105 file: POWER8 isnan ifunc implementation.
9106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9107 POWER8 implementation.
9108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9110 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9111 isnan implementation.
9112 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9114 2014-02-27 Joey Ye <joey.ye@arm.com>
9116 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9117 (_FP_NANFRAC_Q): Set to zero.
9119 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9122 * math/auto-libm-test-in: New test inputs.
9123 * math/auto-libm-test-out: Regenerate.
9124 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9127 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9129 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9131 * scripts/evaluate-test.sh: Take new argument indicating whether
9132 failure is expected.
9133 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9134 indicating whether failure is expected.
9135 * conform/Makefile (test-xfail-run-conformtest): New variable.
9136 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9138 * posix/Makefile (test-xfail-annexc): New variable.
9139 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9141 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9143 * argp/Makefile: Include Makeconfig immediately after defining
9145 * assert/Makefile: Likewise.
9146 * benchtests/Makefile: Likewise.
9147 * catgets/Makefile: Likewise.
9148 * conform/Makefile: Likewise.
9149 * crypt/Makefile: Likewise.
9150 * csu/Makefile: Likewise.
9151 (all): Remove target.
9152 * ctype/Makefile: Include Makeconfig immediately after defining
9154 * debug/Makefile: Likewise.
9155 * dirent/Makefile: Likewise.
9156 * dlfcn/Makefile: Likewise.
9157 * gmon/Makefile: Likewise.
9158 * gnulib/Makefile: Likewise.
9159 * grp/Makefile: Likewise.
9160 * gshadow/Makefile: Likewise.
9161 * hesiod/Makefile: Likewise.
9162 * hurd/Makefile: Likewise.
9163 (all): Remove target.
9164 * iconvdata/Makefile: Include Makeconfig immediately after
9166 * inet/Makefile: Likewise.
9167 * intl/Makefile: Likewise.
9168 * io/Makefile: Likewise.
9169 * libio/Makefile: Likewise.
9170 (all): Remove target.
9171 * locale/Makefile: Include Makeconfig immediately after defining
9173 * login/Makefile: Likewise.
9174 * mach/Makefile: Likewise.
9175 (all): Remove target.
9176 * malloc/Makefile: Include Makeconfig immediately after defining
9178 (all): Remove target.
9179 * manual/Makefile: Include Makeconfig immediately after defining
9181 * math/Makefile: Likewise.
9182 * misc/Makefile: Likewise.
9183 * nis/Makefile: Likewise.
9184 * nss/Makefile: Likewise.
9185 * po/Makefile: Likewise.
9186 (all): Remove target.
9187 * posix/Makefile: Include Makeconfig immediately after defining
9189 * pwd/Makefile: Likewise.
9190 * resolv/Makefile: Likewise.
9191 * resource/Makefile: Likewise.
9192 * rt/Makefile: Likewise.
9193 * setjmp/Makefile: Likewise.
9194 * shadow/Makefile: Likewise.
9195 * signal/Makefile: Likewise.
9196 * socket/Makefile: Likewise.
9197 * soft-fp/Makefile: Likewise.
9198 * stdio-common/Makefile: Likewise.
9199 * stdlib/Makefile: Likewise.
9200 * streams/Makefile: Likewise.
9201 * string/Makefile: Likewise.
9202 * sunrpc/Makefile: Likewise.
9203 (all): Remove target.
9204 * sysvipc/Makefile: Include Makeconfig immediately after defining
9206 * termios/Makefile: Likewise.
9207 * time/Makefile: Likewise.
9208 * timezone/Makefile: Likewise.
9209 (all): Remove target.
9210 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9212 * wctype/Makefile: Likewise.
9214 2014-02-26 Steve Ellcey <sellcey@mips.com>
9216 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9217 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9218 (libc_feholdexcept_setround_mips): Ditto.
9219 (libc_feholdsetround): New.
9220 (libc_feholdsetroundf): New.
9221 (libc_feholdsetroundl): New.
9222 (libc_feupdateenv_test_mips): New.
9223 (libc_feupdateenv_test): New.
9224 (libc_feupdateenv_testf): New.
9225 (libc_feupdateenv_testl): New.
9226 (libc_feresetround): New.
9227 (libc_feresetroundf): New.
9228 (libc_feresetroundl): New.
9229 (libc_fetestexcept_mips): New.
9230 (libc_fetestexcept): New.
9231 (libc_fetestexceptf): New.
9232 (libc_fetestexceptl): New.
9234 (libc_feholdexcept_setround_mips_ctx): New.
9235 (libc_feholdexcept_setround_ctx): New.
9236 (libc_feholdexcept_setroundf_ctx): New.
9237 (libc_feholdexcept_setroundl_ctx): New.
9238 (libc_fesetenv_mips_ctx): New.
9239 (libc_fesetenv_ctx): New.
9240 (libc_fesetenv_ctxf): New.
9241 (libc_fesetenv_ctxl): New.
9242 (libc_feupdateenv_mips_ctx): New.
9243 (libc_feupdateenv_ctx): New.
9244 (libc_feupdateenvf_ctx): New.
9245 (libc_feupdateenvl_ctx): New.
9246 (libc_feholdsetround_mips_ctx): New.
9247 (libc_feholdsetround_ctx): New.
9248 (libc_feholdsetroundf_ctx): New.
9249 (libc_feholdsetroundl_ctx): New.
9250 (libc_feresetround_mips_ctx): New.
9251 (libc_feresetround_ctx): New.
9252 (libc_feresetroundf_ctx): New.
9253 (libc_feresetroundl_ctx): New.
9255 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9257 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9259 * manual/ipc.texi: New file.
9260 * manual/Makefile (chapters): Add ipc.
9261 * manual/job.texi: Add "Inter-Process Communication" to next.
9262 * manual/process.texi: Add "Inter-Process Communication" to prev.
9264 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9268 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9270 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9272 * manual/arith.texi: Fix spaces after sentences.
9273 * manual/charset.texi: Likewise.
9274 * manual/errno.texi: Likewise.
9275 * manual/install.texi: Likewise.
9276 * manual/llio.texi: Likewise.
9277 * manual/locale.texi: Likewise.
9278 * manual/maint.texi: Likewise.
9279 * manual/math.texi: Likewise.
9280 * manual/memory.texi: Likewise.
9281 * manual/message.texi: Likewise.
9282 * manual/probes.texi: Likewise.
9283 * manual/resource.texi: Likewise.
9284 * manual/signal.texi: Likewise.
9285 * manual/socket.texi: Likewise.
9286 * manual/stdio.texi: Likewise.
9287 * manual/string.texi: Likewise.
9288 * manual/time.texi: Likewise.
9289 * manual/users.texi: Likewise.
9291 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9294 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9295 _DEFAULT_SOURCE is defined.
9297 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9298 Carlos O'Donell <carlos@redhat.com>
9301 * elf/dl-tls.c (_dl_count_modids): New function.
9302 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9303 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9304 audit library and increment generation counter.
9305 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9306 * elf/tst-audit9.c: New file.
9307 * elf/tst-auditmod9a.c: New file.
9308 * elf/tst-auditmod9b.c: New file.
9309 * elf/Makefile: Add rules to build and run tst-audit9.
9311 2014-02-25 Florian Weimer <fweimer@redhat.com>
9314 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9316 2014-02-25 Will Newton <will.newton@linaro.org>
9318 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9319 (__longjmp): Restore sp and lr before restoring callee
9320 saved registers. Add longjmp and longjmp_target
9321 SystemTap probe point.
9322 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9323 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9324 Define to zero to match jmpbuf layout.
9325 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9326 (__sigsetjmp): Save sp and lr before saving callee
9327 saved registers. Add setjmp SystemTap probe point.
9329 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9331 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9333 2014-02-24 Andreas Schwab <schwab@suse.de>
9336 * elf/pldd.c (wait_for_ptrace_stop): New function.
9337 (main): Call it after attaching.
9339 2014-02-22 Roland McGrath <roland@hack.frob.com>
9341 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9342 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9343 Versions files is now verboten.
9344 * hurd/Versions (libc: GLIBC_2.0):
9345 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9346 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9347 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9348 * mach/Versions: Likewise.
9350 * csu/Versions: Remove unused %include.
9351 * resolv/Versions: Likewise.
9353 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9355 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9356 ($(objpfx)check-local-headers.out): Likewise.
9357 ($(objpfx)begin-end-check.out): Likewise.
9358 * Makerules (check-abi-%.out): Likewise.
9359 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9360 ($(objpfx)test2.cat): Likewise.
9361 ($(objpfx)de/libc.cat): Likewise.
9362 ($(objpfx)test-gencat.out): Likewise.
9363 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9364 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9365 ($(objpfx)noload-mem): Likewise.
9366 ($(objpfx)tst-pathopt.out): Likewise.
9367 ($(objpfx)tst-rtld-load-self.out): Likewise.
9368 ($(objpfx)tst-array1-cmp.out): Likewise.
9369 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9370 ($(objpfx)tst-array2-cmp.out): Likewise.
9371 ($(objpfx)tst-array3-cmp.out): Likewise.
9372 ($(objpfx)tst-array4-cmp.out): Likewise.
9373 ($(objpfx)tst-array5-cmp.out): Likewise.
9374 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9375 ($(objpfx)check-textrel.out): Likewise.
9376 ($(objpfx)check-execstack.out): Likewise.
9377 ($(objpfx)check-localplt.out): Likewise.
9378 ($(objpfx)order2-cmp.out): Likewise.
9379 ($(objpfx)tst-leaks1-mem): Likewise.
9380 ($(objpfx)tst-leaks1-static-mem): Likewise.
9381 ($(objpfx)tst-initorder-cmp.out): Likewise.
9382 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9383 ($(objpfx)tst-unused-dep.out): Likewise.
9384 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9385 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9386 * iconv/Makefile (test-iconvconfig): Likewise.
9387 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9388 ($(objpfx)iconv-test.out): Likewise.
9389 ($(objpfx)tst-tables.out): Likewise.
9390 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9391 ($(objpfx)tst-gettext.out): Likewise.
9392 ($(objpfx)tst-translit.out): Likewise.
9393 ($(objpfx)tst-gettext2.out): Likewise.
9394 ($(objpfx)tst-gettext4.out): Likewise.
9395 ($(objpfx)tst-gettext6.out): Likewise.
9396 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9397 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9398 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9399 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9400 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9401 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9402 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9403 ($(objpfx)wordexp-tst.out): Likewise.
9404 ($(objpfx)annexc.out): Likewise.
9405 ($(objpfx)tst-fnmatch-mem): Likewise.
9406 ($(objpfx)bug-regex2-mem): Likewise.
9407 ($(objpfx)bug-regex14-mem): Likewise.
9408 ($(objpfx)bug-regex21-mem): Likewise.
9409 ($(objpfx)bug-regex31-mem): Likewise.
9410 ($(objpfx)tst-vfork3-mem): Likewise.
9411 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9412 ($(objpfx)tst-pcre-mem): Likewise.
9413 ($(objpfx)tst-boost-mem): Likewise.
9414 ($(objpfx)tst-getconf.out): Likewise.
9415 ($(objpfx)bug-ga2-mem): Likewise.
9416 ($(objpfx)bug-glob2-mem): Likewise.
9417 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9418 ($(objpfx)mtrace-tst-leaks2): Likewise.
9419 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9420 ($(objpfx)tst-printf.out): Likewise.
9421 ($(objpfx)tst-setvbuf1.out): Likewise.
9422 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9423 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9424 ($(objpfx)tst-fmtmsg.out): Likewise.
9425 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9426 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9428 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9429 * bits/sigaction.h [__USE_MISC]: Likewise.
9430 * bits/waitstatus.h: Update #endif comments.
9431 * ctype/ctype.h: Likewise.
9432 * dirent/dirent.h: Likewise.
9433 [__USE_MISC]: Remove redundant conditionals.
9434 * grp/grp.h: Update #endif comments.
9435 [__USE_GNU]: Remove redundant conditionals.
9436 [__USE_MISC]: Likewise.
9437 * inet/netinet/in.h [__USE_GNU]: Likewise.
9438 * io/sys/stat.h [__USE_MISC]: Likewise.
9439 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9440 * libio/bits/stdio.h: Update #endif comments.
9441 [__USE_MISC]: Remove redundant conditionals.
9442 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9443 * libio/stdio.h: Update #endif comments.
9444 [__USE_MISC]: Remove redundant conditionals.
9445 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9446 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9447 * math/math.h: Update #else and #endif comments.
9448 [__USE_MISC]: Remove redundant conditionals.
9449 * misc/sys/uio.h: Update #endif comments.
9450 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9451 * posix/glob.h [__USE_MISC]: Likewise.
9452 * posix/sys/types.h: Update #endif comments.
9453 [__USE_MISC]: Remove redundant conditionals.
9454 * posix/sys/wait.h: Update #endif comments.
9455 [__USE_MISC]: Remove redundant conditionals.
9456 * posix/unistd.h: Update #endif comments.
9457 [__USE_MISC]: Remove redundant conditionals.
9458 * pwd/pwd.h [__USE_GNU]: Likewise.
9459 [__USE_MISC]: Likewise.
9460 * resolv/netdb.h [__USE_GNU]: Likewise.
9461 * signal/signal.h: Update #endif comments.
9462 [__USE_MISC]: Remove redundant conditionals.
9463 * stdlib/stdlib.h: Update #else and #endif comments.
9464 [__USE_MISC]: Remove redundant conditionals.
9465 [__USE_GNU]: Likewise.
9466 * string/bits/string2.h [__USE_MISC]: Likewise.
9467 * string/string.h: Update #endif comments.
9468 [__USE_MISC]: Remove redundant conditionals.
9469 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9471 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9472 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9473 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9475 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9477 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9479 [__USE_MISC]: Remove redundant conditionals.
9480 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9481 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9482 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9483 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9484 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9486 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9487 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9489 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9490 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9492 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9494 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9495 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9497 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9499 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9500 * sysdeps/x86/bits/string.h: Update #endif comments.
9501 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9503 * time/sys/time.h: Update #endif comments.
9504 * time/time.h: Likewise.
9505 [__USE_MISC]: Remove redundant conditionals.
9507 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9510 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9512 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9514 * Versions.def (librt): Add GLIBC_2.17.
9516 2014-02-21 Adam Conrad <adconrad@0c3.net>
9518 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9519 synonym for _SYS_AUXV_H to allow direct inclusion.
9520 * sysdeps/sparc/bits/hwcap.h: Likewise.
9521 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9522 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9523 * sysdeps/sparc/sysdep.h: Likewise.
9525 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9527 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9529 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9531 * benchtests/bench-strrchr.c: Print length instead of position.
9533 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9536 * sysdeps/unix/sysv/linux/kernel-features.h
9537 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9538 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9539 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9540 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9542 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9543 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9544 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9545 (__ASSUME_SENDMMSG): Define instead of using previous
9546 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9547 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9548 (__ASSUME_SENDMMSG_SYSCALL): Define.
9549 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9550 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9552 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9553 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9555 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9556 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9558 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9559 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9560 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9561 [__ASSUME_SENDMMSG]: Change conditionals to
9562 [__ASSUME_SENDMMSG_SOCKETCALL].
9563 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9564 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9566 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9567 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9569 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9570 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9571 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9572 [!__ASSUME_SENDMMSG]: Change conditional to
9573 [!__ASSUME_SENDMMSG_SOCKETCALL].
9574 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9575 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9579 * sysdeps/unix/sysv/linux/kernel-features.h
9580 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9581 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9582 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9583 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9584 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9585 [__i386__ || __sparc__]
9586 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9587 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9588 (__ASSUME_RECVMMSG): Define instead of using previous
9589 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9590 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9591 (__ASSUME_RECVMMSG_SYSCALL): Define.
9592 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9593 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9595 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9596 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9598 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9599 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9601 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9602 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9603 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9604 [__ASSUME_RECVMMSG]: Change condition to
9605 [__ASSUME_RECVMMSG_SOCKETCALL].
9606 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9607 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9609 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9610 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9611 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9613 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9614 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9615 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9616 [!__ASSUME_RECVMMSG]: Change condition to
9617 [!__ASSUME_RECVMMSG_SOCKETCALL].
9618 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9619 (__ASSUME_RECVMMSG_SYSCALL): Define.
9622 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9623 __powerpc__ || __s390__ || __sh__ || __sparc__]
9624 (__ASSUME_SOCKETCALL): Define.
9625 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9626 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9627 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9628 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9629 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9630 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9631 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9632 (__ASSUME_ACCEPT4): Define instead of using previous
9633 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9634 __powerpc__ || __sparc__ || __s390__)] condition.
9635 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9636 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9637 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9638 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9639 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9640 [!__ASSUME_ACCEPT4]: Change condition to
9641 [!__ASSUME_ACCEPT4_SOCKETCALL].
9642 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9643 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9644 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9645 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9646 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9647 __ASSUME_ACCEPT4_SYSCALL.
9648 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9649 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9650 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9651 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9652 __ASSUME_ACCEPT4_SYSCALL.
9653 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9654 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9655 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9656 [__ASSUME_ACCEPT4]: Change condition to
9657 [__ASSUME_ACCEPT4_SOCKETCALL].
9658 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9659 (__ASSUME_SOCKETCALL): Define.
9660 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9661 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9662 (__ASSUME_SOCKETCALL): Define.
9663 (__ASSUME_ACCEPT4): Remove.
9664 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9666 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9667 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9669 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9670 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9672 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9674 (HWCAP_ARM_LPAE): Likewise.
9675 (HWCAP_ARM_EVTSTRM): Likewise.
9676 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9677 Add vpfd32, lpae and evtstrm.
9678 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9681 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9683 * math/auto-libm-test-in: Add tests of clog10.
9684 * math/auto-libm-test-out: Regenerated.
9685 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9686 * sysdeps/i386/fpu/libm-test-ulps: Update.
9687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9689 2014-02-18 Andreas Schwab <schwab@suse.de>
9692 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9693 Store non-zero if the second buffer was newly allocated.
9694 (send_dg): Likewise.
9695 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9696 to send_vc and send_dg.
9697 (res_nsend): Pass NULL for ansp2_malloced.
9698 * resolv/res_query.c (__libc_res_nquery): Add parameter
9699 answerp2_malloced and pass it down to __libc_res_nsend.
9700 (res_nquery): Pass additional NULL to __libc_res_nquery.
9701 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9702 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9703 second answer buffer if answerp2_malloced was set.
9704 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9705 (__libc_res_nquerydomain): Add parameter
9706 answerp2_malloced and pass it down to __libc_res_nquery.
9707 (res_nquerydomain): Pass additional NULL to
9708 __libc_res_nquerydomain.
9709 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9710 additional NULL to __libc_res_nsend and __libc_res_nquery.
9711 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9712 additional NULL to __libc_res_nsearch.
9713 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9714 parameter of __libc_res_nsearch to check for separately allocated
9716 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9718 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9719 additional NULL to __libc_res_nquery.
9720 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9722 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9723 * include/resolv.h: Update prototypes of __libc_res_nquery,
9724 __libc_res_nsearch, __libc_res_nsend.
9726 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9728 * math/auto-libm-test-in: Add tests of fma.
9729 * math/auto-libm-test-out: Regenerated.
9730 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9731 (fma_towardzero_test_data): Likewise.
9732 (fma_downward_test_data): Likewise.
9733 (fma_upward_test_data): Likewise.
9734 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9736 (rounding_modes): Add values for new field.
9737 (func_calc_method): Add value mpfr_fff_f.
9738 (func_calc_desc): Add mpfr_fff_f union field.
9739 (test_function): Add field exact_args.
9740 (FUNC): Add macro argument EXACT_ARGS.
9741 (FUNC_mpfr_f_f): Update call to FUNC.
9742 (FUNC_mpfr_f_f): Likewise.
9743 (FUNC_mpfr_ff_f): Likewise.
9744 (FUNC_mpfr_if_f): Likewise.
9745 (FUNC_mpc_c_f): Likewise.
9746 (FUNC_mpc_c_c): Likewise.
9747 (test_functions): Add fma. Update calls to FUNC.
9748 (handle_input_arg): Add argument exact_args.
9749 (add_test): Update call to handle_input_arg.
9750 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9751 (output_for_one_input_case): Update call to calc_generic_results.
9752 Recalculate exact zero results in each rounding mode.
9754 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9755 non-negative before setting low bit.
9756 * math/auto-libm-test-in: Mark one asin test possibly having
9758 * math/auto-libm-test-out: Regenerated.
9759 * sysdeps/i386/fpu/libm-test-ulps: Update.
9760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9762 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9764 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9765 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9766 ports/sysdeps/unix/sysv/linux/microblaze.
9767 * README: Add missing listing for microblaze*-*-linux-gnu.
9769 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
9771 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9774 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9776 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9777 * sysdeps/unix/sysv/linux/ia64: Move directory from
9778 ports/sysdeps/unix/sysv/linux/ia64.
9779 * README: Update listing for ia64-*-linux-gnu.
9781 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9782 Joseph Myers <joseph@codesourcery.com>
9784 * Makeconfig (test-name): New variable.
9785 (evaluate-test): Likewise.
9786 * Makerules (do-test-clean): Remove .test-result files.
9787 (common-mostlyclean): Likewise.
9788 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9789 * scripts/evaluate-test.sh: New file.
9791 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9793 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9794 separate $(objpfx)tst-fopenloc-cmp.out and
9795 $(objpfx)tst-fopenloc-mem.out targets.
9796 (tests): Update dependencies.
9797 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9798 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9799 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9800 (tst-rxspencer-no-utf8-ARGS): New variable.
9801 (tst-rxspencer-no-utf8-ENV): Likewise.
9802 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9803 instead of $(objpfx)tst-rxspencer-mem.
9804 ($(objpfx)tst-rxspencer-mem): Change target to
9805 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9806 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9807 * posix/tst-rxspencer-no-utf8.c: New file.
9809 * elf/Makefile ($(objpfx)order.out): Remove rule.
9810 [$(run-built-tests) = yes] (tests): Depend on
9811 $(objpfx)order-cmp.out.
9812 ($(objpfx)order-cmp.out): New rule.
9813 [$(run-built-tests) = yes] (tests): Depend on
9814 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9815 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9816 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9817 $(objpfx)tst-array5-static-cmp.out.
9818 ($(objpfx)tst-array1.out): Remove rule.
9819 ($(objpfx)tst-array1-cmp.out): New rule.
9820 ($(objpfx)tst-array1-static.out): Remove rule.
9821 ($(objpfx)tst-array1-static-cmp.out): New rule.
9822 ($(objpfx)tst-array2.out): Remove rule.
9823 ($(objpfx)tst-array2-cmp.out): New rule.
9824 ($(objpfx)tst-array3.out): Remove rule.
9825 ($(objpfx)tst-array3-cmp.out): New rule.
9826 ($(objpfx)tst-array4.out): Remove rule.
9827 ($(objpfx)tst-array4-cmp.out): New rule.
9828 ($(objpfx)tst-array5.out): Remove rule.
9829 ($(objpfx)tst-array5-cmp.out): New rule.
9830 ($(objpfx)tst-array5-static.out): Remove rule.
9831 ($(objpfx)tst-array5-static-cmp.out): New rule.
9832 [$(run-built-tests) = yes] (tests): Depend on
9833 $(objpfx)order2-cmp.out.
9834 ($(objpfx)order2.out): Remove rule.
9835 ($(objpfx)order2-cmp.out): New rule.
9836 ($(objpfx)tst-initorder.out): Remove rule.
9837 [$(run-built-tests) = yes] (tests): Depend on
9838 $(objpfx)tst-initorder-cmp.out.
9839 ($(objpfx)tst-initorder-cmp.out): New rule.
9840 ($(objpfx)tst-initorder2.out): Remove rule.
9841 [$(run-built-tests) = yes] (tests): Depend on
9842 $(objpfx)tst-initorder2-cmp.out.
9843 ($(objpfx)tst-initorder2-cmp.out): New rule.
9844 [$(run-built-tests) = yes] (tests): Depend on
9845 $(objpfx)tst-unused-dep-cmp.out.
9846 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9847 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9848 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9849 on $(objpfx)tst-setvbuf1-cmp.out.
9850 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9851 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9852 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9853 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9854 ($(objpfx)tst-svc.out): Remove rule.
9855 ($(objpfx)tst-svc-cmp.out): New rule.
9857 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9859 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9860 * ctype/ctype.h [__USE_MISC]: Likewise.
9861 * dirent/dirent.h [__USE_MISC]: Likewise.
9862 * grp/grp.h [__USE_MISC]: Likewise.
9863 * io/fcntl.h [__USE_MISC]: Likewise.
9864 * io/sys/stat.h [__USE_MISC]: Likewise.
9865 * libio/stdio.h [__USE_MISC]: Likewise.
9866 * posix/unistd.h [__USE_MISC]: Likewise.
9867 * pwd/pwd.h [__USE_MISC]: Likewise.
9868 * stdlib.h [__USE_MISC]: Likewise.
9869 * string/bits/string2.h [__USE_MISC]: Likewise.
9870 * string/string.h [__USE_MISC]: Likewise.
9871 * time/time.h [__USE_MISC]: Likewise.
9873 2014-02-13 Andreas Schwab <schwab@suse.de>
9876 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9877 second answer buffer if it was separately allocated.
9879 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9881 * sysdeps/mips/math-tests.h: Include <features.h>.
9882 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9883 (ROUNDING_TESTS_long_double): Do not define.
9884 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9885 (EXCEPTION_TESTS_long_double): Likewise.
9886 * sysdeps/mips/mips64/libm-test-ulps: Update.
9888 * include/features.h (__USE_BSD): Remove macro definitions.
9889 (__USE_SVID): Likewise.
9890 (_BSD_SOURCE): Likewise.
9891 (_SVID_SOURCE): Likewise.
9892 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9893 from definition of _DEFAULT_SOURCE.
9894 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9896 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9897 * bits/mman.h [__USE_BSD]: Likewise.
9898 * bits/termios.h [__USE_BSD]: Likewise.
9899 * bits/waitstatus.h [__USE_BSD]: Likewise.
9900 * ctype/ctype.h [__USE_SVID]: Likewise.
9901 * dirent/dirent.h [__USE_BSD]: Likewise.
9902 * grp/grp.h [__USE_SVID]: Likewise.
9903 [__USE_BSD]: Likewise.
9904 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9905 * io/fcntl.h [__USE_BSD]: Likewise.
9906 * io/ftw.h [__USE_BSD]: Likewise.
9907 * io/sys/stat.h [__USE_BSD]: Likewise.
9908 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9909 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9910 * libio/stdio.h [__USE_SVID]: Likewise.
9911 [__USE_BSD]: Likewise.
9912 * math/math.h [__USE_SVID]: Likewise.
9913 [__USE_BSD]: Likewise.
9914 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9915 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9916 * misc/search.h [__USE_SVID]: Likewise.
9917 * misc/sys/mman.h [__USE_BSD]: Likewise.
9918 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9919 * misc/sys/uio.h [__USE_BSD]: Likewise.
9920 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9921 * posix/glob.h [__USE_BSD]: Likewise.
9922 * posix/regex.h [__USE_BSD]: Likewise.
9923 * posix/sys/types.h [__USE_BSD]: Likewise.
9924 [__USE_SVID]: Likewise.
9925 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9926 * posix/sys/wait.h [__USE_BSD]: Likewise.
9927 [__USE_SVID]: Likewise.
9928 * posix/unistd.h [__USE_BSD]: Likewise.
9929 [__USE_SVID]: Likewise.
9930 * pwd/pwd.h [__USE_SVID]: Likewise.
9931 * resolv/netdb.h [__USE_BSD]: Likewise.
9932 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9933 * signal/signal.h [__USE_BSD]: Likewise.
9934 [__USE_SVID]: Likewise.
9935 * socket/sys/socket.h [__USE_BSD]: Likewise.
9936 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9937 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9938 [__USE_SVID]: Likewise.
9939 * string/bits/string2.h [__USE_BSD]: Likewise.
9940 [__USE_SVID]: Likewise.
9941 * string/bits/string3.h [__USE_BSD]: Likewise.
9942 * string/endian.h [__USE_BSD]: Likewise.
9943 * string/string.h [__USE_SVID]: Likewise.
9944 [__USE_BSD]: Likewise.
9945 * string/strings.h [__USE_BSD]: Likewise.
9946 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9947 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9948 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9949 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9950 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9951 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9955 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9956 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9958 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9959 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9961 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9963 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9964 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9965 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9967 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9969 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9970 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9971 * termios/termios.h [__USE_BSD]: Likewise.
9972 * time/sys/time.h [__USE_BSD]: Likewise.
9973 * time/time.h [__USE_BSD]: Likewise.
9974 [__USE_SVID]: Likewise.
9976 * Makefile (subdir_targets): Remove subdir_lint.out.
9978 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9979 (do-tst-printf): Likewise.
9980 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9981 $(objpfx)tst-printf.out.
9983 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9985 * Makerules (check-abi-%): Change target to
9986 $(objpfx)check-abi-%.out.
9987 (check-abi target): Update dependencies.
9988 (check-abi-pattern variable): Redirect output of diff to $@.
9989 (check-abi variable): Likewise.
9990 * elf/Makefile (check-abi): Update dependencies.
9992 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9994 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9995 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9997 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9998 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9999 value has largest subnormal exponent.
10000 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10001 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10002 * sysdeps/aarch64/soft-fp/sfp-machine.h
10003 (_FP_TININESS_AFTER_ROUNDING): New macro.
10004 * sysdeps/alpha/soft-fp/sfp-machine.h
10005 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10006 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10008 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10009 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10010 * sysdeps/mips/soft-fp/sfp-machine.h
10011 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10012 * sysdeps/powerpc/soft-fp/sfp-machine.h
10013 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10014 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10016 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10017 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10018 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10019 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10020 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10023 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10026 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10029 2014-02-12 Richard Henderson <rth@redhat.com>
10031 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10032 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10033 * sysdeps/unix/sysv/linux/alpha: Move directory from
10034 ports/sysdeps/unix/sysv/linux/alpha.
10035 * README: Update listing for alpha-*-linux-gnu.
10037 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10039 * include/features.h: Update comment documenting feature test
10041 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10043 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10044 (_SVID_SOURCE): Likewise.
10045 (_DEFAULT_SOURCE): Update description of default features.
10046 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10048 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10049 (S_ISVTX): Likewise.
10050 * manual/math.texi (Mathematical Constants): Likewise.
10051 * manual/signal.texi (Interrupted Primitives): Likewise.
10052 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10053 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10054 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10055 Don't refer to _SVID_SOURCE in warning text.
10057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10059 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10061 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10062 * sysdeps/mips/dl-lookup.c: Remove.
10063 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10065 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10068 * math/auto-libm-test-in: Add testcase for expl.
10069 * math/auto-libm-test-out: Regenerate.
10070 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10071 calculation of unsafe.
10072 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10074 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10076 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10077 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10078 ports/sysdeps/unix/sysv/linux/aarch64.
10079 * README: Update listing for aarch64*-*-linux-gnu.
10081 2014-02-11 Will Newton <will.newton@linaro.org>
10083 * manual/probes.texi (Mathematical Function Probes): Use
10084 "triggered" instead of "hit".
10086 * manual/probes.texi (Internal Probes): Add documentation
10087 of setjmp, longjmp and longjmp_target probes.
10089 * include/stap-probe.h: Add comment about probe argument
10092 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10093 definition. (tr_where, tr_freehook, tr_mallochook,
10094 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10096 2014-02-11 David S. Miller <davem@davemloft.net>
10098 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10099 processing int_tests.
10101 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10103 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10104 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10105 * sysdeps/unix/sysv/linux/mips: Move directory from
10106 ports/sysdeps/unix/sysv/linux/mips.
10107 * README: Update listing for mips-*-linux-gnu and
10108 mips64-*-linux-gnu.
10110 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10112 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10113 * sysdeps/unix/sysv/linux/m68k: Move directory from
10114 ports/sysdeps/unix/sysv/linux/m68k.
10115 * README: Update listing for m68k-*-linux-gnu.
10117 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10119 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10120 * sysdeps/unix/sysv/linux/generic: Move directory from
10121 ports/sysdeps/unix/sysv/linux/generic.
10122 * sysdeps/unix/sysv/linux/tile: Move directory from
10123 ports/sysdeps/unix/sysv/linux/tile.
10124 * README: Update listing for tile*-*-linux-gnu.
10126 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10128 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10130 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10131 * catgets/open_catalog.c (__open_catalog): Likewise.
10132 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10133 * debug/confstr_chk.c: Likewise.
10134 * debug/fread_chk.c (__fread_chk): Likewise.
10135 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10136 * debug/getgroups_chk.c: Likewise.
10137 * debug/mbsnrtowcs_chk.c: Likewise.
10138 * debug/mbsrtowcs_chk.c: Likewise.
10139 * debug/mbstowcs_chk.c: Likewise.
10140 * debug/memcpy_chk.c: Likewise.
10141 * debug/memmove_chk.c: Likewise.
10142 * debug/mempcpy_chk.c: Likewise.
10143 * debug/memset_chk.c: Likewise.
10144 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10145 * debug/strcat_chk.c (__strcat_chk): Likewise.
10146 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10147 * debug/strncat_chk.c (__strncat_chk): Likewise.
10148 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10149 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10150 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10151 * debug/wcpncpy_chk.c: Likewise.
10152 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10153 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10154 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10155 * debug/wcsncpy_chk.c: Likewise.
10156 * debug/wcsnrtombs_chk.c: Likewise.
10157 * debug/wcsrtombs_chk.c: Likewise.
10158 * debug/wcstombs_chk.c: Likewise.
10159 * debug/wmemcpy_chk.c: Likewise.
10160 * debug/wmemmove_chk.c: Likewise.
10161 * debug/wmempcpy_chk.c: Likewise.
10162 * debug/wmemset_chk.c: Likewise.
10163 * dirent/scandirat.c (SCANDIRAT): Likewise.
10164 * dlfcn/dladdr1.c (dladdr1): Likewise.
10165 * dlfcn/dladdr.c (dladdr): Likewise.
10166 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10167 * dlfcn/dlerror.c (__dlerror): Likewise.
10168 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10169 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10170 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10171 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10172 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10173 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10174 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10175 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10177 * elf/dl-conflict.c: Likewise.
10178 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10179 * elf/dl-dst.h: Likewise.
10180 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10181 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10182 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10183 * elf/dl-init.c (call_init, _dl_init): Likewise.
10184 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10185 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10186 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10188 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10190 * elf/dl-minimal.c (__libc_memalign): Likewise.
10191 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10192 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10193 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10194 * elf/dl-sym.c (do_sym): Likewise.
10195 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10196 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10197 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10198 * elf/dl-writev.h (_dl_writev): Likewise.
10199 * elf/ldconfig.c (search_dir): Likewise.
10200 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10201 (dl_main): Likewise.
10202 * elf/setup-vdso.h (setup_vdso): Likewise.
10203 * grp/compat-initgroups.c (compat_call): Likewise.
10204 * grp/fgetgrent.c (fgetgrent): Likewise.
10205 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10206 * grp/putgrent.c (putgrent): Likewise.
10207 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10209 * hurd/hurdinit.c: Likewise.
10210 * iconvdata/8bit-gap.c (struct): Likewise.
10211 * iconvdata/ansi_x3.110.c : Likewise.
10212 * iconvdata/big5.c : Likewise.
10213 * iconvdata/big5hkscs.c : Likewise.
10214 * iconvdata/cp1255.c: Likewise.
10215 * iconvdata/cp1258.c : Likewise.
10216 * iconvdata/cp932.c : Likewise.
10217 * iconvdata/euc-cn.c: Likewise.
10218 * iconvdata/euc-jisx0213.c : Likewise.
10219 * iconvdata/euc-jp.c: Likewise.
10220 * iconvdata/euc-jp-ms.c : Likewise.
10221 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10222 * iconvdata/gb18030.c : Likewise.
10223 * iconvdata/gbbig5.c (const): Likewise.
10224 * iconvdata/gbgbk.c: Likewise.
10225 * iconvdata/gbk.c : Likewise.
10226 * iconvdata/ibm1364.c : Likewise.
10227 * iconvdata/ibm930.c : Likewise.
10228 * iconvdata/ibm932.c: Likewise.
10229 * iconvdata/ibm933.c : Likewise.
10230 * iconvdata/ibm935.c : Likewise.
10231 * iconvdata/ibm937.c : Likewise.
10232 * iconvdata/ibm939.c : Likewise.
10233 * iconvdata/ibm943.c: Likewise.
10234 * iconvdata/iso_11548-1.c: Likewise.
10235 * iconvdata/iso-2022-cn.c : Likewise.
10236 * iconvdata/iso-2022-cn-ext.c : Likewise.
10237 * iconvdata/iso-2022-jp-3.c: Likewise.
10238 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10239 * iconvdata/iso-2022-kr.c : Likewise.
10240 * iconvdata/iso646.c (gconv_end): Likewise.
10241 * iconvdata/iso_6937-2.c : Likewise.
10242 * iconvdata/iso_6937.c : Likewise.
10243 * iconvdata/iso8859-1.c: Likewise.
10244 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10245 * iconvdata/shift_jisx0213.c : Likewise.
10246 * iconvdata/sjis.c : Likewise.
10247 * iconvdata/t.61.c : Likewise.
10248 * iconvdata/tcvn5712-1.c : Likewise.
10249 * iconvdata/tscii.c: Likewise.
10250 * iconvdata/uhc.c : Likewise.
10251 * iconvdata/unicode.c (gconv_end): Likewise.
10252 * iconvdata/utf-16.c (gconv_end): Likewise.
10253 * iconvdata/utf-32.c (gconv_end): Likewise.
10254 * iconvdata/utf-7.c (base64): Likewise.
10255 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10256 * iconv/gconv_close.c (__gconv_close): Likewise.
10257 * iconv/gconv_open.c (__gconv_open): Likewise.
10258 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10259 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10260 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10261 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10262 (ucs4le_internal_loop_single): Likewise.
10263 * iconv/iconv.c (iconv): Likewise.
10264 * iconv/iconv_close.c: Likewise.
10265 * iconv/loop.c (SINGLE): Likewise.
10266 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10267 * include/atomic.h: Likewise.
10268 * inet/inet6_option.c (option_alloc): Likewise.
10269 * intl/bindtextdom.c (set_binding_values): Likewise.
10270 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10271 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10272 * intl/localealias.c (read_alias_file): Likewise.
10273 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10274 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10275 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10276 * libio/fmemopen.c (fmemopen): Likewise.
10277 * libio/iofgets.c (_IO_fgets): Likewise.
10278 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10279 * libio/iofgetws.c (fgetws): Likewise.
10280 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10281 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10282 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10283 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10284 * locale/findlocale.c (_nl_find_locale): Likewise.
10285 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10286 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10288 * locale/setlocale.c (setlocale): Likewise.
10289 * login/programs/pt_chown.c (main): Likewise.
10290 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10291 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10292 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10293 (mmap, mmap64, mremap, munmap): Likewise.
10294 * math/e_exp2l.c: Likewise.
10295 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10296 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10297 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10298 * math/s_catan.c (__catan): Likewise.
10299 * math/s_catanf.c (__catanf): Likewise.
10300 * math/s_catanh.c (__catanh): Likewise.
10301 * math/s_catanhf.c (__catanhf): Likewise.
10302 * math/s_catanhl.c (__catanhl): Likewise.
10303 * math/s_catanl.c (__catanl): Likewise.
10304 * math/s_ccosh.c (__ccosh): Likewise.
10305 * math/s_ccoshf.c (__ccoshf): Likewise.
10306 * math/s_ccoshl.c (__ccoshl): Likewise.
10307 * math/s_cexp.c (__cexp): Likewise.
10308 * math/s_cexpf.c (__cexpf): Likewise.
10309 * math/s_cexpl.c (__cexpl): Likewise.
10310 * math/s_clog10.c (__clog10): Likewise.
10311 * math/s_clog10f.c (__clog10f): Likewise.
10312 * math/s_clog10l.c (__clog10l): Likewise.
10313 * math/s_clog.c (__clog): Likewise.
10314 * math/s_clogf.c (__clogf): Likewise.
10315 * math/s_clogl.c (__clogl): Likewise.
10316 * math/s_csin.c (__csin): Likewise.
10317 * math/s_csinf.c (__csinf): Likewise.
10318 * math/s_csinh.c (__csinh): Likewise.
10319 * math/s_csinhf.c (__csinhf): Likewise.
10320 * math/s_csinhl.c (__csinhl): Likewise.
10321 * math/s_csinl.c (__csinl): Likewise.
10322 * math/s_csqrt.c (__csqrt): Likewise.
10323 * math/s_csqrtf.c (__csqrtf): Likewise.
10324 * math/s_csqrtl.c (__csqrtl): Likewise.
10325 * math/s_ctan.c (__ctan): Likewise.
10326 * math/s_ctanf.c (__ctanf): Likewise.
10327 * math/s_ctanh.c (__ctanh): Likewise.
10328 * math/s_ctanhf.c (__ctanhf): Likewise.
10329 * math/s_ctanhl.c (__ctanhl): Likewise.
10330 * math/s_ctanl.c (__ctanl): Likewise.
10331 * math/w_pow.c: Likewise.
10332 * math/w_powf.c: Likewise.
10333 * math/w_powl.c: Likewise.
10334 * math/w_scalb.c (sysv_scalb): Likewise.
10335 * math/w_scalbf.c (sysv_scalbf): Likewise.
10336 * math/w_scalbl.c (sysv_scalbl): Likewise.
10337 * misc/error.c (error_tail): Likewise.
10338 * misc/pselect.c (__pselect): Likewise.
10339 * nis/nis_callback.c (__nis_create_callback): Likewise.
10340 * nis/nis_call.c (__nisfind_server): Likewise.
10341 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10342 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10343 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10344 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10345 * nis/nis_lookup.c (nis_lookup): Likewise.
10346 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10347 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10348 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10349 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10350 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10351 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10352 * nis/nss_compat/compat-initgroups.c (add_group)
10353 (internal_getgrent_r): Likewise.
10354 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10355 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10356 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10357 (internal_getspnam_r): Likewise.
10358 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10359 (_nss_nis_getaliasbyname_r): Likewise.
10360 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10361 (_nss_nis_getntohost_r): Likewise.
10362 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10363 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10364 (_nss_nis_getgrgid_r): Likewise.
10365 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10366 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10367 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10368 (_nss_nis_gethostbyname4_r): Likewise.
10369 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10370 (initgroups_netid): Likewise.
10371 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10372 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10373 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10374 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10375 (_nss_nis_getprotobynumber_r): Likewise.
10376 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10377 (_nss_nis_getsecretkey): Likewise.
10378 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10379 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10380 (_nss_nis_getpwuid_r): Likewise.
10381 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10382 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10383 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10384 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10385 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10386 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10387 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10389 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10390 (_nss_nisplus_getntohost_r): Likewise.
10391 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10392 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10393 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10394 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10396 * nis/nss_nisplus/nisplus-initgroups.c
10397 (_nss_nisplus_initgroups_dyn): Likewise.
10398 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10399 (_nss_nisplus_getnetbyaddr_r): Likewise.
10400 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10401 (_nss_nisplus_getprotobynumber_r): Likewise.
10402 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10403 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10404 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10406 * nis/nss_nisplus/nisplus-service.c
10407 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10408 (_nss_nisplus_getservbyport_r): Likewise.
10409 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10410 (_nss_nisplus_getspnam_r): Likewise.
10411 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10413 * nscd/aicache.c (addhstaiX): Likewise.
10414 * nscd/cache.c (cache_search, prune_cache): Likewise.
10415 * nscd/connections.c (register_traced_file, send_ro_fd)
10416 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10417 (main_loop_epoll): Likewise.
10418 * nscd/grpcache.c (addgrbyX): Likewise.
10419 * nscd/hstcache.c (addhstbyX): Likewise.
10420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10421 * nscd/mem.c (gc, mempool_alloc): Likewise.
10422 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10423 (addinnetgrX): Likewise.
10424 * nscd/nscd-client.h (__nscd_acquire_maplock)
10425 (__nscd_drop_map_ref): Likewise.
10426 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10427 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10428 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10430 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10431 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10432 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10433 (__nscd_get_map_ref): Likewise.
10434 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10435 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10437 * nscd/pwdcache.c (addpwbyX): Likewise.
10438 * nscd/selinux.c (preserve_capabilities): Likewise.
10439 * nscd/servicescache.c (addservbyX): Likewise.
10440 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10441 * posix/fnmatch.c (fnmatch): Likewise.
10442 * posix/getopt.c (_getopt_internal_r): Likewise.
10443 * posix/glob.c (glob, glob_in_dir): Likewise.
10444 * posix/wordexp.c (exec_comm_child): Likewise.
10445 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10446 (getanswer_r, gaih_getanswer_slice): Likewise.
10447 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10448 * resolv/res_init.c: Likewise.
10449 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10450 * resolv/res_query.c (__libc_res_nquery): Likewise.
10451 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10453 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10454 * stdio-common/perror.c (perror): Likewise.
10455 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10456 * stdio-common/tmpnam.c (tmpnam): Likewise.
10457 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10458 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10459 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10461 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10462 * stdlib/putenv.c (putenv): Likewise.
10463 * stdlib/setenv.c (__add_to_environ): Likewise.
10464 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10465 * stdlib/strtol_l.c (INTERNAL): Likewise.
10466 * string/memmem.c (memmem): Likewise.
10467 * string/strerror.c (strerror): Likewise.
10468 * string/strnlen.c (__strnlen): Likewise.
10469 * string/test-memmem.c (simple_memmem): Likewise.
10470 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10471 * sunrpc/pm_getport.c (__get_socket): Likewise.
10472 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10473 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10474 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10475 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10477 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10478 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10479 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10480 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10481 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10482 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10484 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10486 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10487 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10488 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10489 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10490 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10492 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10493 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10494 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10495 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10496 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10497 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10499 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10501 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10503 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10504 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10505 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10506 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10507 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10508 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10509 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10510 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10511 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10512 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10513 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10515 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10516 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10518 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10520 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10522 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10524 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10526 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10528 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10530 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10531 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10532 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10533 * sysdeps/posix/sleep.c: Likewise.
10534 * sysdeps/posix/tempname.c: Likewise.
10535 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10536 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10538 * sysdeps/powerpc/powerpc32/dl-machine.h
10539 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10540 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10541 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10542 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10543 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10545 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10546 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10547 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10548 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10549 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10550 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10551 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10552 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10553 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10554 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10555 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10556 (elf_machine_lazy_rel): Likewise.
10557 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10558 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10559 (elf_machine_lazy_rel): Likewise.
10560 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10561 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10562 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10563 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10564 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10565 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10566 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10569 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10570 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10571 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10572 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10573 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10574 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10575 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10576 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10577 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10578 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10579 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10581 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10582 (__posix_fallocate64_l64): Likewise.
10583 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10584 (posix_fallocate): Likewise.
10585 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10587 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10588 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10589 (getifaddrs_internal): Likewise.
10590 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10591 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10592 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10593 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10594 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10595 (__posix_fallocate64_l64): Likewise.
10596 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10598 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10599 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10600 (__get_clockfreq): Likewise.
10601 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10602 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10603 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10604 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10605 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10606 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10607 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10608 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10610 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10611 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10612 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10613 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10614 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10615 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10616 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10618 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10619 (posix_fallocate): Likewise.
10620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10621 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10622 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10623 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10624 (elf_machine_rela, elf_machine_rela_relative)
10625 (elf_machine_lazy_rel): Likewise.
10626 * time/asctime.c (asctime_internal): Likewise.
10627 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10628 * time/tzset.c (__tzset_parse_tz): Likewise.
10629 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10630 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10631 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10632 * wcsmbs/wcsmbsload.h: Likewise.
10635 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10637 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10638 (arena_get2): Remove THREAD_STATS conditionals.
10639 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10640 (__malloc_stats, int): Likewise.
10642 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10644 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10645 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10647 * manual/setjmp.texi: Fix typos/grammar errors.
10649 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10650 Only return early when n is <= 0. Delete unused return statement.
10652 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10653 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10654 * debug/tst-longjmp_chk3.c: New file.
10656 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10657 (test_main): Replace code with set_fortify_handler call.
10658 * debug/test-strcpy_chk.c: Likewise.
10659 * debug/tst-chk1.c: Likewise.
10660 * debug/tst-longjmp_chk.c: Likewise.
10661 * test-skeleton.c: Include fcntl.h & paths.h
10662 (set_fortify_handler): Define.
10664 * debug/tst-longjmp_chk.c: Add header comment and include
10665 ../test-skeleton.c.
10666 (do_test): Mark static.
10667 (TEST_FUNCTION): Define.
10669 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10670 (IP_PMTUDISC_INTERFACE): Likewise.
10671 (IP_MULTICAST_IF): Likewise.
10672 (IP_MULTICAST_TTL): Likewise.
10673 (IP_MULTICAST_LOOP): Likewise.
10674 (IP_ADD_MEMBERSHIP): Likewise.
10675 (IP_DROP_MEMBERSHIP): Likewise.
10676 (IP_UNBLOCK_SOURCE): Likewise.
10677 (IP_BLOCK_SOURCE): Likewise.
10678 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10679 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10680 (IP_MSFILTER): Likewise.
10681 (MCAST_JOIN_GROUP): Likewise.
10682 (MCAST_BLOCK_SOURCE): Likewise.
10683 (MCAST_UNBLOCK_SOURCE): Likewise.
10684 (MCAST_LEAVE_GROUP): Likewise.
10685 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10686 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10687 (MCAST_MSFILTER): Likewise.
10688 (IP_MULTICAST_ALL): Likewise.
10689 (IP_UNICAST_IF): Likewise.
10691 * timezone/Makefile: Delete $(have-ksh) check.
10692 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10693 * timezone/tzselect.ksh: Add +x mode bits.
10695 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10696 (ANON_INODE_FS_MAGIC): Likewise.
10697 (BDEVFS_MAGIC): Likewise.
10698 (BINFMTFS_MAGIC): Likewise.
10699 (BTRFS_TEST_MAGIC): Likewise.
10700 (CRAMFS_MAGIC_WEND): Likewise.
10701 (DEBUGFS_MAGIC): Likewise.
10702 (ECRYPTFS_SUPER_MAGIC): Likewise.
10703 (EXT3_SUPER_MAGIC): Likewise.
10704 (EXT4_SUPER_MAGIC): Likewise.
10705 (FUTEXFS_SUPER_MAGIC): Likewise.
10706 (HOSTFS_SUPER_MAGIC): Likewise.
10707 (HUGETLBFS_MAGIC): Likewise.
10708 (MINIX3_SUPER_MAGIC): Likewise.
10709 (MTD_INODE_FS_MAGIC): Likewise.
10710 (NILFS_SUPER_MAGIC): Likewise.
10711 (OPENPROM_SUPER_MAGIC): Likewise.
10712 (PIPEFS_MAGIC): Likewise.
10713 (PSTOREFS_MAGIC): Likewise.
10714 (QNX6_SUPER_MAGIC): Likewise.
10715 (RAMFS_MAGIC): Likewise.
10716 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10717 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10718 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10719 (SECURITYFS_MAGIC): Likewise.
10720 (SELINUX_MAGIC): Likewise.
10721 (SMACK_MAGIC): Likewise.
10722 (SOCKFS_MAGIC): Likewise.
10723 (SQUASHFS_MAGIC): Likewise.
10724 (STACK_END_MAGIC): Likewise.
10725 (TMPFS_MAGIC): Likewise.
10726 (USBDEVICE_SUPER_MAGIC): Likewise.
10727 (V9FS_MAGIC): Likewise.
10728 (XENFS_SUPER_MAGIC): Likewise.
10729 (CRAMFS_MAGIC): Fix typo in comment.
10730 (EXT2_SUPER_MAGIC): Update comment.
10731 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10733 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10735 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10736 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10737 * sysdeps/unix/sysv/linux/arm: Move directory from
10738 ports/sysdeps/unix/sysv/linux/arm.
10739 * README: Update listing for arm-*-linux-gnueabi.
10741 * README: Remove mention of am33.
10743 2014-02-07 Roland McGrath <roland@hack.frob.com>
10745 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10746 than the comma operator, to avoid "rhs of comma has no effect"
10748 (__sigfillset, __sigandset, __sigorset): Likewise.
10749 * include/signal.h (__sigemptyset): Likewise.
10750 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10752 2014-02-07 Allan McRae <allan@archlinux.org>
10754 * version.h (RELEASE): Set to "development".
10755 (VERSION): Set to "2.19.90"
10756 * NEWS: Add 2.20 section.
10758 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10761 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10763 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10765 * manual/contrib.texi: Update entry for Carlos O'Donell,
10766 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10768 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10770 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10772 * sysdeps/unix/sysv/linux/kernel-features.h
10773 [__LINUX_KERNEL_VERSION >= 0x020621]
10774 (__ASSUME_PROC_PID_TASK_COMM): Define.
10776 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10779 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10780 conversion when destination buffer does not have enough space.
10781 * libio/tst-ftell-partial-wide.c: New test case.
10782 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10784 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10785 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10786 Leonard and Allan McRae.
10788 2014-02-04 David S. Miller <davem@davemloft.net>
10790 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10793 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10822 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10824 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10825 * shlib-versions: Likewise.
10827 2014-02-04 Roland McGrath <roland@hack.frob.com>
10828 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10830 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10831 (abilist-pattern): New variable, set to %-le.abilist.
10833 * Makerules (abilist-pattern): New variable.
10834 (vpath): Use $(abilist-pattern) in place of %.abilist.
10835 (check-abi-% pattern rule): Likewise.
10836 (check-abi, update-abi): Likewise.
10838 2014-02-04 Eric Wong <normalperson@yhbt.net>
10840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10842 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10844 * manual/startup.texi: Add next, previous, and top entries for
10845 the `Program Arguments' and `Environment Variables' nodes.
10847 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10849 * manual/macros.texi: Add comments before MTASC-safety macros.
10851 * manual/users.texi: Document MTASC-safety properties.
10853 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10854 (pthread_getspecific, pthread_setspecific): Format with
10855 @deftypefun, and add @safety note.
10856 * manual/signal.texi: Move comments that analyze the above
10857 functions to their home place.
10859 2014-02-03 Allan McRae <allan@archlinux.org>
10861 * po/sl.po: Update Slovenian translation from translation project.
10863 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10865 * manual/time.texi (timegm): Add missing blank after @c.
10866 Reported by Joseph Myers <joseph@codesourcery.com>.
10868 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10870 * manual/check-safety.sh: New.
10871 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10873 * manual/terminal.texi: Document MTASC-safety properties.
10875 * manual/filesys.texi: Document MTASC-safety properties.
10877 * manual/errno.texi: Document MTASC-safety properties.
10879 * manual/intro.texi: Document safety identifiers and
10882 * manual/string.texi (wcstok): Fix prototype.
10883 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10885 * manual/time.texi: Document MTASC-safety properties.
10887 * manual/string.texi: Document MTASC-safety properties.
10889 * manual/threads.texi: Document MTASC-safety properties.
10891 * manual/stdio.texi: Document MTASC-safety properties.
10893 * manual/syslog.texi: Document MTASC-safety properties.
10895 * manual/sysinfo.texi: Document MTASC-safety properties.
10897 * manual/startup.texi: Document MTASC-safety properties.
10899 * manual/socket.texi: Document MTASC-safety properties.
10901 * manual/signal.texi: Document MTASC-safety properties.
10903 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10905 * manual/setjmp.texi: Document MTASC-safety properties.
10907 * manual/search.texi: Document MTASC-safety properties.
10909 * manual/resource.texi: Document MTASC-safety properties.
10911 * manual/process.texi: Document MTASC-safety properties.
10913 * manual/platform.texi: Document MTASC-safety properties.
10915 * manual/pipe.texi: Document MTASC-safety properties.
10917 * manual/pattern.texi: Document MTASC-safety properties.
10919 * manual/message.texi: Document MTASC-safety properties.
10922 * manual/memory.texi: Document MTASC-safety properties.
10924 * manual/math.texi: Document MTASC-safety properties.
10926 * manual/locale.texi: Document MTASC-safety properties.
10928 * manual/llio.texi: Document MTASC-safety properties.
10930 * manual/libdl.texi: New.
10932 * manual/lang.texi: Document MTASC-safety properties.
10934 * manual/job.texi: Document MTASC-safety properties.
10936 * manual/getopt.texi: Document MTASC-safety properties.
10938 * manual/ctype.texi: Document MTASC-safety properties.
10940 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10943 * csu/libc-tls.c (static_map): Remove variable.
10944 (__libc_setup_tls): Use main executable's link map for TLS data.
10945 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10946 casing for LM_ID_BASE and GL(dl_nns).
10947 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10948 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10949 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10950 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10951 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10953 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10956 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10958 * manual/debug.texi: Document MTASC-safety properties.
10960 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10963 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10964 of __x86_64__ when disabling x87 inline functions.
10966 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10968 * manual/charset.texi: Document MTASC-safety properties.
10970 * manual/crypt.texi: Document MTASC-safety properties.
10972 * manual/conf.texi: Document MTASC-safety properties.
10974 * manual/arith.texi: Document MTASC-safety properties.
10976 * manual/argp.texi: Document MTASC-safety properties.
10978 * manual/macros.texi: Introduce macros to document multi
10979 thread, asynchronous signal and asynchronous cancellation
10981 * manual/intro.texi: Introduce the properties themselves.
10983 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10985 * sysdeps/sh/sh4/Makefile: New file.
10987 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10989 * math/gen-libm-test.pl ($srcdir): New variable.
10990 ($auto_input): Use it.
10992 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10995 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10996 access beyond array bounds when parsing netgroups file.
10998 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10999 the old buffer before realloc.
11001 2014-01-27 Allan McRae <allan@archlinux.org>
11003 * po/fr.po: Update French translation from translation project.
11005 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11007 * sysdeps/sh/libm-test-ulps: Regenerate.
11009 2014-01-24 David S. Miller <davem@davemloft.net>
11011 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11013 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11015 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11016 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11018 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11021 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11022 string pointers after reallocation.
11024 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11026 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11027 __SH4A__ instead of __SH_FPU_ANY__.
11029 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11031 * sysdeps/sh/fpu_control.h: New file.
11032 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11033 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11034 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11035 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11036 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11037 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11038 * sysdeps/sh/sys/ucontext.h: Remove.
11039 * sysdeps/sh/sys: Remove directory.
11041 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11043 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11044 s390/sys/ucontext.h.
11045 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11046 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11048 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11051 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11053 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11056 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11057 Adjust the vDSO correctly for internal calls.
11058 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11060 2014-01-20 Allan McRae <allan@archlinux.org>
11062 * po/ca.po: Update Catalan translation from translation project.
11064 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11066 * sysdeps/s390/sotruss-lib.c: New file.
11068 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11071 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11072 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11073 local calls issues by not having a PLT stub required for IFUNC calls.
11074 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11076 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11078 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11079 * math/test-fpucw-static.c: Likewise.
11081 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11084 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11086 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11088 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11089 implementation for powerpc.
11091 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11094 * sysdeps/posix/system.c (__libc_system): Do not enable
11095 asynchronous cancellation.
11097 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11100 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11101 handling only for numbers special also in the IEEE case.
11103 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11105 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11107 2014-01-11 Allan McRae <allan@archlinux.org>
11109 * po/bg.po: Update Bulgarian translation from translation project.
11111 * po/de.po: Update German translation from translation project.
11113 2014-01-10 Roland McGrath <roland@hack.frob.com>
11115 * sysdeps/generic/gcc-compat.h: New file.
11117 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11119 * benchtests/asin-inputs: Correct slow inputs.
11120 * benchtests/acos-inputs: Likewise.
11122 2014-01-10 Allan McRae <allan@archlinux.org>
11124 * po:sv.po: Update Swedish translation from translation project.
11126 * po/vi.po: Update Vietnamese translation from translation project.
11128 * po/eo.po: Update Esperanto translation from translation project.
11130 * po/cs.po: Update Czech translation from translation project.
11132 * po/nl.po: Update Dutch translation from translation project.
11134 * po/pl.po: Update Polish translation from translation project.
11136 * po/ru.po: Update Russian translation from translation project.
11138 * po/uk.po: Update Ukrainian translation from translation project.
11140 2014-01-08 Brooks Moses <bmoses@google.com>
11142 * elf/dl-load.c: Fix comment typo.
11144 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11146 * po/header.pot: Rename to...
11147 * po/pot.header: ... this.
11148 * po/Makefile: Use pot.header.
11150 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11151 Maxim Kuvyrkov <maxim@kugelworks.com>
11154 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11155 SRC and DEST against LEN.
11157 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11160 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11162 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11164 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11168 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11171 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11172 for large positive arguments.
11174 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11176 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11178 * math/auto-libm-test-in: Mark various tests with
11179 xfail-rounding:ldbl-128ibm.
11180 * math/auto-libm-test-out: Regenerated.
11183 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11184 Increase overflow threshold.
11186 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11189 * stdio-common/vfprintf.c: Check for integer overflow.
11191 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11193 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11194 the first argument and return value of __tls_get_addr_internal.
11196 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11198 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11199 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11201 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11203 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11204 * sysdeps/s390/rtld-global-offsets.sym: New file.
11205 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11207 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11208 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11209 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11211 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11212 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11218 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11219 halfs of GPRs for high_gprs contexts.
11220 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11221 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11223 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11225 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11227 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11228 for high GPRs (uc_high_gprs) and for future extensions
11230 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11231 for future extensions (__reserved).
11232 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11234 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11235 SC_HIGHGPRS offset definition.
11236 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11237 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11239 * Versions.def: Add GLIBC_2.19 for libpthread.
11240 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11241 siglongjmp for libpthread with GLIBC_2.19 symver.
11242 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11243 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11244 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11245 * sysdeps/s390/__longjmp.c: New file.
11246 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11247 * sysdeps/s390/longjmp.c: New file.
11248 * sysdeps/s390/setjmp.S: New file.
11249 * sysdeps/s390/sigjmp.S: New file.
11250 * sysdeps/s390/v1-longjmp.c: New file.
11251 * sysdeps/s390/v1-setjmp.h: New file.
11252 * sysdeps/s390/v1-sigjmp.c: New file.
11253 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11254 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11255 GLIBC_2.19 version.
11256 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11257 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11258 versioned symbols for ____longjmp_chk.
11259 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11269 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11270 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11271 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11272 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11273 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11274 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11275 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11276 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11277 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11278 * sysdeps/s390/rtld-__longjmp.c: New file.
11279 * sysdeps/s390/rtld-setjmp.S: New file.
11281 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11284 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11285 Return -__logl (x) for small positive arguments without evaluating
11288 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11290 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11292 (__ptrace_peeksiginfo_args): ... this.
11293 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11294 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11295 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11297 2014-01-06 Allan McRae <allan@archlinux.org>
11299 * inet/netinet/in.h: Fix typo in comment.
11301 2014-01-05 Andreas Jaeger <aj@suse.de>
11303 * sysdeps/i386/fpu/libm-test-ulps: Update.
11305 2014-01-05 Allan McRae <allan@archlinux.org>
11307 * po/libc.pot: Regenerated.
11309 * malloc/memusagestat.c: Fix gettext call formatting.
11311 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11313 * nscd/nscd.c: Improve usage() output.
11315 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11317 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11318 * sysdeps/unix/sysv/linux/configure: Regenerated.
11319 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11320 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11322 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11325 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11326 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11328 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11330 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11331 extra tokens at end of #undef directive.
11332 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11333 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11334 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11336 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11338 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11340 * math/auto-libm-test-in: Mark various tests with
11341 xfail-rounding:ldbl-128ibm.
11342 * math/auto-libm-test-out: Regenerated.
11344 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11347 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11348 numbers with subnormal high part when calculating exponent.
11351 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11355 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11357 (__ieee754_acoshl): Use __log1pl not __log1p.
11359 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11361 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11362 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11363 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11364 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11365 (reused_arena, arena_get2): Convert to GNU style.
11366 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11367 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11368 (memalign_check, __malloc_set_state): Likewise.
11369 * malloc/mallocbug.c (main): Likewise.
11370 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11371 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11372 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11373 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11374 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11375 (__posix_memalign, malloc_info): Likewise.
11376 * malloc/malloc.h: Likewise.
11377 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11378 (mallochook, memalignhook, reallochook, mabort): Likewise.
11379 * malloc/mcheck.h: Likewise.
11380 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11381 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11382 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11383 * malloc/morecore.c (__default_morecore): Likewise.
11384 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11385 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11386 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11387 (print_and_abort): Likewise.
11388 * malloc/obstack.h: Likewise.
11389 * malloc/set-freeres.c (__libc_freeres): Likewise.
11390 * malloc/tst-mallocstate.c (main): Likewise.
11391 * malloc/tst-mtrace.c (main): Likewise.
11392 * malloc/tst-realloc.c (do_test): Likewise.
11394 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11397 * nscd/netgroupcache.c (do_notfound): New function.
11398 (addgetnetgrentX): Use it.
11401 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11402 NSS_STATUS_NOTFOUND.
11404 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11406 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11409 2014-01-01 Allan McRae <allan@archlinux.org>
11411 * scripts/update-copyrights: Update configure input file suffix.
11413 * NEWS: Update copyright year.
11414 * catgets/gencat.c: Likewise.
11415 * csu/version.c: Likewise.
11416 * debug/catchsegv.sh: Likewise.
11417 * debug/pcprofiledump.c: Likewise.
11418 * debug/xtrace.sh: Likewise.
11419 * elf/ldconfig.c: Likewise.
11420 * elf/ldd.bash.in: Likewise.
11421 * elf/pldd.c: Likewise.
11422 * elf/sotruss.ksh: Likewise.
11423 * elf/sprof.c: Likewise.
11424 * iconv/iconv_prog.c: Likewise.
11425 * iconv/iconvconfig.c: Likewise.
11426 * locale/programs/locale.c: Likewise.
11427 * locale/programs/localedef.c: Likewise.
11428 * login/programs/pt_chown.c: Likewise.
11429 * malloc/memusage.sh: Likewise.
11430 * malloc/memusagestat.c: Likewise.
11431 * malloc/mtrace.pl: Likewise.
11432 * manual/libc.texinfo: Likewise.
11433 * nscd/nscd.c: Likewise.
11434 * nss/getent.c: Likewise.
11435 * nss/makedb.c: Likewise.
11436 * posix/getconf.c: Likewise.
11437 * scripts/test-installation.pl: Likewise.
11439 * All files with FSF copyright notices: Update copyright dates
11440 using scripts/update-copyrights.
11441 * intl/plural.c: Regenerated.
11442 * locale/programs/charmap-kw.h: Likewise.
11443 * locale/programs/locfile-kw.h: Likewise.
11445 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11447 * sysdeps/unix/sysv/linux/configure: Regenerated.
11448 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11449 the linux/fanotify.h header.
11450 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11451 HAVE_LINUX_FANOTIFY_H is defined.
11453 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11455 * benchtests/cos-inputs: New inputs.
11456 * benchtests/sin-inputs: Likewise.
11458 * benchtests/atan-inputs: New inputs. Fix name of multiple
11459 precision fallback inputs.
11461 * benchtests/atanh-inputs: New inputs.
11462 * benchtests/tanh-inputs: Likewise.
11464 * benchtests/acosh-inputs: New inputs.
11465 * benchtests/asinh-inputs: Likewise.
11467 * benchtests/cosh-inputs: New inputs.
11468 * benchtests/sinh-inputs: Likewise.
11470 * benchtests/acos-inputs: Add more inputs.
11471 * benchtests/asin-inputs: Likewise.
11473 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11476 * manual/arith.texi: Fix spelling.
11477 * manual/charset.texi: Likewise.
11478 * manual/errno.texi: Likewise.
11479 * manual/filesys.texi: Likewise.
11480 * manual/lang.texi: Likewise.
11481 * manual/llio.texi: Likewise.
11482 * manual/locale.texi: Likewise.
11483 * manual/message.texi: Likewise.
11484 * manual/resource.texi: Likewise.
11485 * manual/search.texi: Likewise.
11486 * manual/setjmp.texi: Likewise.
11487 * manual/stdio.texi: Likewise.
11488 * manual/string.texi: Likewise.
11489 * manual/sysinfo.texi: Likewise.
11490 * manual/time.texi: Likewise.
11492 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11494 * po/sl.po: New file.
11496 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11498 * .gitignore: Add core/.gdbinit/.gdb_history.
11500 2013-12-27 Allan McRae <allan@archlinux.org>
11503 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11504 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11506 2013-12-24 Brooks Moses <bmoses@google.com>
11508 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11509 all compilers that claim C++98 compliance, not just GCC.
11510 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11513 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11515 * NEWS: Restore accidentally deleted bug-fix entries.
11517 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11518 Ondřej Bílka <neleai@seznam.cz>
11521 * malloc/malloc.c (_int_free): Perform sanity check only if we
11524 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11527 * manual/stdio.texi (String Input Conversions): Clarify that character
11528 classes are not supported.
11530 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11534 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11537 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11538 Calculate results for small negative arguments directly rather
11539 than using reflection formula with special underflow handling.
11541 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11542 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11543 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11544 (fchflags): Likewise.
11545 (revoke): Likewise.
11546 (setlogin): Likewise.
11547 (sigaltstack): Likewise.
11549 (sigblock): Remove.
11550 (sigsetmask): Likewise.
11552 (waitpid): Likewise.
11553 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11554 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11556 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11557 * sysdeps/unix/bsd/Makefile: ... here.
11558 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11559 * sysdeps/unix/bsd/Versions: ... here.
11560 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11561 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11562 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11563 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11564 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11565 * sysdeps/unix/bsd/sigblock.c: ... here.
11566 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11567 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11568 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11569 * sysdeps/unix/bsd/sigvec.c: ... here.
11570 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11571 * sysdeps/unix/bsd/tcdrain.c: ... here.
11572 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11573 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11574 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11575 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11576 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11577 * sysdeps/unix/bsd/wait.c: ... here.
11578 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11579 * sysdeps/unix/bsd/wait3.c: ... here.
11580 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11581 * sysdeps/unix/bsd/waitpid.c: ... here.
11583 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11586 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11587 round-to-nearest for [!USE_AS_EXPM1L].
11588 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11589 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11590 more tests of exp and exp10. Expect some exp10 tests to miss
11591 exceptions or fail in directed rounding modes.
11592 * math/auto-libm-test-out: Regenerated.
11593 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11594 (exp10_test_tonearest): New function.
11595 (exp10_towardzero_test_data): New array.
11596 (exp10_test_towardzero): New function.
11597 (exp10_downward_test_data): New array.
11598 (exp10_test_downward): New function.
11599 (exp10_upward_test_data): New array.
11600 (exp10_test_upward): New function.
11601 (main): Call the new functions.
11602 * sysdeps/i386/fpu/libm-test-ulps: Update.
11603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11605 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11607 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11608 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11609 * math/auto-libm-test-out: Regenerated.
11610 * math/libm-test.inc (acosh_test_data): Add more tests.
11611 (atanh_test_data): Likewise.
11612 (ceil_test_data): Likewise.
11613 (copysign_test_data): Likewise.
11614 * sysdeps/i386/fpu/libm-test-ulps: Update.
11615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11617 * timezone/checktab.awk: Update from tzcode 2013i.
11618 * timezone/private.h: Likewise.
11619 * timezone/scheck.c: Likewise.
11620 * timezone/tzfile.h: Likewise.
11621 * timezone/tzselect.ksh: Likewise.
11622 * timezone/zdump.c: Likewise.
11623 * timezone/zic.c: Likewise.
11625 * math/auto-libm-test-in: Add tests of cpow.
11626 * math/auto-libm-test-out: Regenerated.
11627 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11628 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11630 (func_calc_desc): Add mpc_cc_c union field.
11631 (test_functions): Add cpow.
11632 (special_fill_2pi): New function.
11633 (special_real_inputs): Add 2pi.
11634 (calc_generic_results): Handle mpc_cc_c.
11635 * sysdeps/i386/fpu/libm-test-ulps: Update.
11636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11638 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11639 csqrt, ctan and ctanh.
11640 * math/auto-libm-test-out: Regenerated.
11641 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11642 (TEST_COND_x86): Likewise.
11643 (ccos_test_data): Use AUTO_TESTS_c_c.
11644 (ccosh_test_data): Likewise.
11645 (cexp_test_data): Likewise.
11646 (clog_test_data): Likewise.
11647 (csqrt_test_data): Likewise.
11648 (ctan_test_data): Likewise.
11649 (ctan_tonearest_test_data): Likewise.
11650 (ctan_towardzero_test_data): Likewise.
11651 (ctan_downward_test_data): Likewise.
11652 (ctan_upward_test_data): Likewise.
11653 (ctanh_test_data): Likewise.
11654 (ctanh_tonearest_test_data): Likewise.
11655 (ctanh_towardzero_test_data): Likewise.
11656 (ctanh_downward_test_data): Likewise.
11657 (ctanh_upward_test_data): Likewise.
11658 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11660 (func_calc_desc): Add mpc_c_c union field.
11661 (FUNC_mpc_c_c): New macro.
11662 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11663 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11665 (special_fill_min_subnorm_p120): New function.
11666 (special_real_inputs): Add min_subnorm_p120.
11667 (calc_generic_results): Handle mpc_c_c.
11668 * sysdeps/i386/fpu/libm-test-ulps: Update.
11669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11671 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11673 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11674 (do_sin_slow): New functions.
11675 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11676 (cslow2, csloww1, csloww2): Use the new functions.
11678 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11679 Use M to change sign of result instead of X. Assume X is
11681 (csloww1): Likewise.
11685 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11686 arguments A and DA.
11690 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11692 (sloww1): Don't adjust sign of DX.
11693 (csloww1): Likewise.
11694 (sloww2): Use X directly and don't adjust sign of DX.
11695 (csloww2): Likewise.
11697 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11699 * math/auto-libm-test-in: Add tests of cabs and carg.
11700 * math/auto-libm-test-out: Regenerated.
11701 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11702 (carg_test_data): Likewise.
11703 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11705 (func_calc_desc): Add mpc_c_f union field.
11706 (test_functions): Add cabs and carg.
11707 (calc_generic_results): Handle mpc_c_f.
11709 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11710 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11711 as a macro and a compat symbol.
11712 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11713 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11714 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11715 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11716 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11717 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11719 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11721 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11723 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11725 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11727 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11729 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11730 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11733 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11737 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11739 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11740 trailing whitespace removed.
11741 * scripts/config.guess: Update to version 2013-11-29.
11742 * scripts/config.sub: Update to version 2013-10-01.
11744 * math/auto-libm-test-in: Add tests of sincos.
11745 * math/auto-libm-test-out: Regenerated.
11746 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11747 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11749 (func_calc_desc): Add mpfr_f_11 union field.
11750 (test_functions): Add sincos.
11751 (calc_generic_results): Handle mpfr_f_11.
11752 * sysdeps/i386/fpu/libm-test-ulps: Update.
11753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11755 2013-12-19 Andreas Schwab <schwab@suse.de>
11757 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11759 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11760 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11761 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11763 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11765 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11766 * sysdeps/i386/fpu/libm-test-ulps: Update.
11767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11770 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11771 round-to-nearest mode when using frndint.
11772 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11773 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11774 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11776 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11778 * math/auto-libm-test-out: Regenerated.
11779 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11780 (TEST_COND_x86): Likewise.
11781 (expm1_tonearest_test_data): New array.
11782 (expm1_test_tonearest): New function.
11783 (expm1_towardzero_test_data): New array.
11784 (expm1_test_towardzero): New function.
11785 (expm1_downward_test_data): New array.
11786 (expm1_test_downward): New function.
11787 (expm1_upward_test_data): New array.
11788 (expm1_test_upward): New function.
11789 (main): Run the new test functions.
11790 * sysdeps/i386/fpu/libm-test-ulps: Update.
11791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11793 * include/features.h: Update comment documenting feature test
11794 macros. Mention _DEFAULT_SOURCE in comment.
11795 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11796 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11797 _BSD_SOURCE and _SVID_SOURCE.
11798 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11799 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11800 !_SVID_SOURCE]: Likewise.
11801 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11802 (__USE_POSIX_IMPLICITLY): Define.
11803 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11804 (_POSIX_SOURCE): Undefine and redefine.
11805 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11806 (_POSIX_C_SOURCE): Likewise.
11807 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11808 (Feature Test Macros): Update documentation of default features.
11810 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11812 * benchtests/Makefile: Add bench-strtok.
11813 * benchtests/bench-strtok.c: New file: strtok benchtest.
11815 2013-12-19 Allan McRae <allan@archlinux.org>
11817 * manual/install.texi: Suppress menu for plain text output.
11818 * INSTALL: Regenerated.
11820 2013-12-18 Brooks Moses <bmoses@google.com>
11823 * misc/getauxval.c: Include errno.h.
11824 (__getauxval): Set errno to ENOENT if the requested type is not
11826 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11827 don't declare with __attribute_const__.
11828 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11829 * manual/startup.texi: Document that getauxval sets errno.
11831 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11833 * math/auto-libm-test-in: Add tests of jn and yn.
11834 * math/auto-libm-test-out: Regenerated.
11835 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11836 (yn_test_data): Likewise.
11837 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11839 (func_calc_desc): Add mpfr_if_f union field.
11840 (FUNC_mpfr_if_f): New macro.
11841 (test_functions): Add jn and yn.
11842 (calc_generic_results): Assert type of second input for
11843 mpfr_ff_f. Handle mpfr_if_f.
11844 (output_for_one_input_case): Disable all checking for arguments
11845 fitting floating-point types in case of an integer argument.
11846 * sysdeps/i386/fpu/libm-test-ulps: Update.
11847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11850 Don't expect fegetround reference in libm.so.
11852 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11854 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11855 $(config-cflags-nofma).
11857 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11859 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11860 * math/auto-libm-test-out: Regenerated.
11863 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11864 to determine exponent and adjust argument to have exponent of -1.
11865 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11867 * math/auto-libm-test-out: Regenerated.
11868 * sysdeps/i386/fpu/libm-test-ulps: Update.
11869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11871 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11873 * manual/probes.texi: Remove cases when per-thread arenas are
11876 2013-12-18 Andreas Schwab <schwab@suse.de>
11878 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11879 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11880 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11881 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11882 * sysdeps/i386/i686/multiarch/Makefile: Update.
11883 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11885 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11887 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11888 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11890 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11893 Support TZ transition times < 00:00:00.
11894 This is needed for version-3 tz-format files; it supports time
11895 stamps past 2037 for America/Godthab (the only entry in the tz
11896 database for which this change is relevant).
11897 * manual/time.texi (TZ Variable): Document transition times
11898 from -167:59:59 through -00:00:01.
11899 * time/tzset.c (tz_rule): Time of day is now signed.
11900 (__tzset_parse_tz): Parse negative time of day.
11902 Document TZ transition times >= 25:00:00.
11903 * manual/time.texi (TZ Variable): Document transition times from
11904 25:00:00 through 167:59:59. These are already supported, and this
11905 support will help with version-3 tz-format files.
11907 * manual/time.texi (TZ Variable): Modernize North America example
11908 to reflect current (i.e., 2007-and-later) daylight saving rules.
11910 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11912 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11914 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11915 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11916 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11918 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11919 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11920 * sysdeps/unix/bsd/clock.c: Likewise.
11921 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11922 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11923 * sysdeps/unix/bsd/init-posix.c: Likewise.
11924 * sysdeps/unix/bsd/poll.c: Likewise.
11925 * sysdeps/unix/bsd/ptsname.c: Likewise.
11926 * sysdeps/unix/bsd/seekdir.c: Likewise.
11927 * sysdeps/unix/bsd/setegid.c: Likewise.
11928 * sysdeps/unix/bsd/seteuid.c: Likewise.
11929 * sysdeps/unix/bsd/setgid.c: Likewise.
11930 * sysdeps/unix/bsd/setrgid.c: Likewise.
11931 * sysdeps/unix/bsd/setruid.c: Likewise.
11932 * sysdeps/unix/bsd/setsid.c: Likewise.
11933 * sysdeps/unix/bsd/setuid.c: Likewise.
11934 * sysdeps/unix/bsd/sigaction.c: Likewise.
11935 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11936 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11937 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11938 * sysdeps/unix/bsd/telldir.c: Likewise.
11939 * sysdeps/unix/bsd/times.c: Likewise.
11940 * sysdeps/unix/bsd/usleep.c: Likewise.
11942 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11943 ($(objpfx)libbsd-compat.a): Remove rule.
11945 * include/features.h (__FAVOR_BSD): Do not define.
11946 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11947 features conflicting with POSIX.
11948 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11949 (_BSD_SOURCE): Remove description of not being a subset of other
11950 feature test macros.
11951 * manual/job.texi (getpgrp): Do not document BSD version.
11952 (getpgid): Do not document by reference to BSD getpgrp.
11953 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11954 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11955 * signal/signal.h [__FAVOR_BSD]: Likewise.
11956 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11957 instead of making contents conditional on [__FAVOR_BSD].
11958 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11960 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11964 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11967 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11968 values below 2**-450, not 2**-500.
11969 * math/auto-libm-test-in: Don't allow spurious underflow from
11971 * math/auto-libm-test-out: Regenerated.
11975 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11976 values of ha and hb and sort them after adjusting subnormal
11978 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11980 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11981 values of ea and eb and sort them after adjusting subnormal
11983 * math/auto-libm-test-in: Do not expect some hypot tests of
11984 subnormals to fail. Add more hypot tests.
11985 * math/auto-libm-test-out: Regenerated.
11987 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11990 * sysdeps/sh/s_fma.c: New file.
11991 * sysdeps/sh/s_fmaf.c: New file.
11992 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11994 * sysdeps/sh/Implies: Add sh/soft-fp.
11996 2013-12-16 Roland McGrath <roland@hack.frob.com>
11998 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11999 level of indirection to members `objname', `errstring', `malloced'.
12000 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12001 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12002 it as the __longjmp argument (just pass 1 instead).
12003 (_dl_catch_error): Initialize C with argument pointers and address of
12004 volatile local ERRCODE rather than copying values out of C at return.
12006 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12008 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12009 * math/auto-libm-test-out: Regenerated.
12010 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12011 (hypot_test_data): Likewise.
12012 (pow_test_data): Likewise.
12013 (pow_tonearest_test_data): Likewise.
12014 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12016 (func_calc_desc): Add mpfr_ff_f union field.
12017 (FUNC_mpfr_ff_f): New macro.
12018 (test_functions): Add atan2, hypot and pow.
12019 (special_fill_min): New function.
12020 (special_fill_minus_min): Likewise.
12021 (special_fill_min_subnorm): Likewise.
12022 (special_fill_minus_min_subnorm): Likewise.
12023 (special_real_inputs): Add min, -min, min_subnorm and
12025 (calc_generic_results): Handle mpfr_ff_f.
12026 * sysdeps/i386/fpu/libm-test-ulps: Update.
12027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12029 2013-12-16 Will Newton <will.newton@linaro.org>
12031 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12032 (Aligned Memory Blocks): Add documentation for aligned_alloc
12033 and suggest it as an alternative to posix_memalign.
12034 (Hooks for Malloc): Document __memalign_hook is also called
12035 for aligned_alloc. (Summary of Malloc): Add summary for
12036 aligned alloc. Document __memalign_hook is also called
12039 2013-12-16 Will Newton <will.newton@linaro.org>
12041 * manual/memory.texi (Malloc Examples): Clarify default
12042 alignment documentation. Suggest posix_memalign rather
12043 than memalign or valloc.
12044 (Aligned Memory Blocks): Remove suggestion to use memalign
12045 or valloc. Remove obsolete comment about BSD.
12046 Document memalign errno values and mark the function obsolete.
12047 Document posix_memalign returned error codes. Mark valloc
12048 as obsolete. (Hooks for Malloc): __memalign_hook is also
12049 called for posix_memalign and valloc.
12050 (Summary of Malloc): Add posix_memalign to function summary.
12051 __memalign_hook is also called for posix_memalign and valloc.
12053 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12055 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12059 (sloww): Use mynumber union. Expand ternary operator into
12060 if-else statements.
12061 (cslow): use mynumber union.
12063 2013-12-16 Allan McRae <allan@archlinux.org>
12065 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12066 * configure: Regenerated.
12068 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12071 * configure.ac: Added --enable-maintainer-mode. Check for
12072 autoconf when enabled.
12073 * configure: Regenerated.
12075 * nscd/nscd.service: New file.
12076 * nscd/nscd.tmpfiles: New file.
12078 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12081 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12082 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12083 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12084 (strstr): Add __strstr_sse2_unaligned ifunc.
12085 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12086 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12087 (strcasestr): Remove __strcasestr_sse42 ifunc.
12088 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12092 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12094 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12095 * sysdeps/sh/bits/fenv.h: ... here.
12096 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12098 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12100 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12102 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12103 hypotf multiarch implementations.
12104 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12105 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12106 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12107 multiarch hypot for PPC64.
12108 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12109 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12110 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12111 multiarch hypotf for PPC64.
12113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12114 modff multiarch implementations.
12115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12118 multiarch modf for PPC64.
12119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12122 multiarch modff for PPC64.
12124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12125 and logl multiarch implementations.
12126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12129 multiarch logb for PPC64.
12130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12133 multiarch logb for PPC64.
12134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12137 multiarch logb for PPC64.
12139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12140 isinff multiarch implementation.
12141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12145 multiarch isinf for PPC64.
12146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12149 multiarch isinff for PPC64.
12151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12152 finitef multiarch implementation.
12153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12157 multiarch finite for PPC64.
12158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12161 multiarch finitef for PPC64.
12163 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12164 lrint multiarch implementation.
12165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12169 multiarch llrint for PPC64.
12170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12171 multiarch lrint for PPC64.
12173 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12174 copysignf multiarch implementation.
12175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12180 multiarch copysign for PPC64.
12181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12182 multiarch copysignf for PPC64.
12184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12185 multiarch implementation.
12186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12194 multiarch llround for PPC64.
12195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12196 multiarch trunc for PPC64.
12197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12198 multiarch truncf for PPC64.
12200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12201 multiarch implementation.
12202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12210 multiarch llround for PPC64.
12211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12212 multiarch round for PPC64.
12213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12214 multiarch roundf for PPC64.
12216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12217 multiarch implementation.
12218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12226 multiarch llround for PPC64.
12227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12228 multiarch floor for PPC64.
12229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12230 multiarch floorf for PPC64.
12232 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12233 multiarch implementation.
12234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12242 multiarch llround for PPC64.
12243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12244 multiarch ceil for PPC64.
12245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12246 multiarch ceilf for PPC64.
12248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12249 multiarch implementation.
12250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12257 multiarch llround for PPC64.
12258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12259 multiarch lround for PPC64.
12261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12262 multiarch implementation.
12263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12270 multiarch isnan for PPC64.
12271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12272 multiarch isnanf for PPC64.
12274 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12275 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12276 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12277 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12278 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12281 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12282 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12283 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12284 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12287 multiarch implementations.
12288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12289 (__libc_ifunc_impl_list): Likewise.
12290 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12291 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12292 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12293 multiarch stpcpy for PPC64.
12295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12296 multiarch implementations.
12297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12298 (__libc_ifunc_impl_list): Likewise.
12299 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12300 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12301 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12302 multiarch strcpy for PPC64.
12304 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12305 redefine function name.
12306 (_wordcopy_fwd_dest_aligned): Likewise.
12307 (_wordcopy_bwd_aligned): Likewise.
12308 (_wordcopy_bwd_dest_aligned): Likewise.
12309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12310 multiarch implementations.
12311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12312 (__libc_ifunc_impl_list): Likewise.
12313 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12314 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12315 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12316 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12317 multiarch wcscpy for PPC64.
12319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12320 multiarch implementations.
12321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12322 (__libc_ifunc_impl_list): Likewise.
12323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12324 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12325 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12326 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12327 multiarch wcscpy for PPC64.
12329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12330 multiarch implementations.
12331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12332 (__libc_ifunc_impl_list): Likewise.
12333 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12334 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12335 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12336 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12337 multiarch wcsrchr for PPC64.
12339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12340 multiarch implementations.
12341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12342 (__libc_ifunc_impl_list): Likewise.
12343 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12344 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12345 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12346 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12347 multiarch wcschr for PPC64.
12349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12350 multiarch implementations.
12351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12352 (__libc_ifunc_impl_list): Likewise.
12353 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12354 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12355 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12356 multiarch strchrnul for PPC64.
12358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12361 (__libc_ifunc_impl_list): Likewise.
12362 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12363 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12364 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12365 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12371 (__libc_ifunc_impl_list): Likewise.
12372 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12373 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12374 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12375 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12379 multiarch implementations.
12380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12381 (__libc_ifunc_impl_list): Likewise.
12382 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12383 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12384 strncasecmp for PPC64.
12385 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12386 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12387 multiarch strncasecmp_l for PPC64.
12389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12390 multiarch implementations.
12391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12392 (__libc_ifunc_impl_list): Likewise.
12393 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12394 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12395 multiarch strcasecmp for PPC64.
12396 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12398 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12399 multiarch strcasecmp_l for PPC64.
12401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12404 (__libc_ifunc_impl_list): Likewise.
12405 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12406 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12407 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12413 (__libc_ifunc_impl_list): Likewise.
12414 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12415 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12416 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12422 (__libc_ifunc_impl_list): Likewise.
12423 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12424 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12425 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12426 rawmemrchr for PPC64.
12428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12431 (__libc_ifunc_impl_list): Likewise.
12432 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12433 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12434 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12440 (__libc_ifunc_impl_list): Likewise.
12441 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12442 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12443 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12449 (__libc_ifunc_impl_list): Likewise.
12450 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12451 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12452 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12455 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12456 avoid cretion of __bzero symbol.
12457 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12459 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12461 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12464 multiarch implementations.
12465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12466 (__libc_ifunc_impl_list): Likewise.
12467 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12468 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12469 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12470 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12472 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12473 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12474 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12475 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12476 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12478 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12480 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12484 (__libc_ifunc_impl_list): Likewise.
12485 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12486 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12487 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12488 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12492 multiarch for POWER/PPC64.
12493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12494 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12495 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12496 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12498 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12500 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12501 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12504 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12505 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12506 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12507 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12508 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12509 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12510 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12511 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12512 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12513 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12514 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12515 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12516 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12517 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12518 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12527 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12529 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12531 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12533 * benchtests/Makefile (bench): Add exp2 and log2.
12534 (LDLIBS-bench-exp2): Add -lm.
12535 (LDLIBS-bench-log2): Likewise.
12536 * benchtests/exp2-inputs: New inputs file.
12537 * benchtests/log2-inputs: New inputs file.
12538 * benchtests/log-inputs: Add new inputs.
12539 * benchtests/tan-inputs: Likewise.
12541 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12543 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12545 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12546 (csloww2): ... from here.
12548 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12549 instead of structures.
12550 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12551 (POLYNOMIAL): Likewise.
12552 (TAYLOR_SLOW): Likewise.
12558 (sloww1); Likewise.
12559 (sloww2): Likewise.
12560 (bsloww1): Likewise.
12561 (bsloww2): Likewise.
12562 (cslow2): Likewise.
12563 (csloww): Likewise.
12564 (csloww1): Likewise.
12565 (csloww2): Likewise.
12567 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12569 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12570 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12571 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12572 * malloc/hooks.c (realloc_check): Likewise.
12574 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12575 * malloc/arena.c: Remove PER_THREAD conditional.
12576 [!PER_THREAD]: Remove code.
12577 (ptmalloc_unlock_all2): Likewise.
12578 (ptmalloc_init): Likewise.
12579 (_int_new_arena): Likewise.
12580 (arena_get2): Likewise.
12581 * malloc/hooks.c (__malloc_get_state): Likewise.
12582 (__malloc_set_state): Likewise.
12583 * malloc/malloc.c: Likewise.
12584 (struct malloc_state): Likewise.
12585 (struct malloc_par): Likewise.
12586 (__libc_realloc): Likewise.
12587 (__libc_mallopt): Likewise.
12589 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12591 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12593 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12595 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12596 macro to a function. Check for zero perturb_byte.
12597 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12599 * malloc/malloc.c: (force_reg): Remove.
12600 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12601 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12602 force_reg by atomic_forced_read.
12603 * malloc/arena.c (ptmalloc_init): Likewise.
12604 * malloc/hooks.c (top_check): Likewise.
12606 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12610 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12614 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12616 * math/auto-libm-test-in: Add tests of lgamma.
12617 * math/auto-libm-test-out: Regenerated.
12618 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12619 (M_LOG_2_SQRT_PIl): Likewise.
12620 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12621 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12623 (func_calc_desc): Add mpfr_f_f1 union field.
12624 (ARGS1): New macro.
12632 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12633 (test_functions): Add lgamma.
12634 (calc_generic_results): Handle mpfr_f_f1.
12635 * sysdeps/i386/fpu/libm-test-ulps: Update.
12636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12638 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12640 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12641 __mpn_add_n for PowerPC64/POWER7.
12642 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12643 __mpn_sub_n for PowerPC64/POWER7.
12645 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12646 __mpn_addmul_1 for PowerPC64.
12647 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12648 __mpn_submul_1 for PowerPC64.
12649 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12651 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12654 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12657 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12659 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12661 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12663 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12664 add multiarch folders.
12665 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12666 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12667 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12668 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12669 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12670 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12671 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12672 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12673 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12674 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12675 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12684 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12690 multiarch __ieee754_hypot for PowerPC32.
12691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12696 multiarch __ieee754_hypotf for PowerPC32.
12698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12699 long_double_symbol only if __logbl is defined.
12700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12701 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12702 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12703 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12704 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12705 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12706 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12707 path for implementation.
12708 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12709 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12711 logb, and logbl multiarch implementations for PowerPC32.
12712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12717 multiarch logb for PowerPC32.
12718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12723 multiarch logbf for PowerPC32.
12724 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12728 multiarch logbl implementation for PowerPC32.
12730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12731 and modff multiarch implementations.
12732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12737 multiarch modf for PowerPC32.
12738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12743 multiarch modff for PowerPC32.
12745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12746 and lrintf multiarch implementations.
12747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12752 multiarch lrint for PowerPC32.
12753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12754 file: multiarch lrintf for PowerPC32.
12756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12757 and lroundf multiarch implementations.
12758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12765 multiarch lround for PowerPC32.
12766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12767 file: multiarch lroundf for PowerPC32.
12769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12770 copysign and copysignf multiarch implementations.
12771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12776 file: multiarch copysign for PowerPC32.
12777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12778 file: multiarch copysignf for PowerPC32.
12780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12781 and truncf multiarch implementations.
12782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12787 multiarch trunc for PowerPC32.
12788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12793 multiarch truncf for PowerPC32.
12795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12796 and roundf multiarch implementations.
12797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12802 multiarch round for PowerPC32.
12803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12808 multiarch roundf for PowerPC32.
12810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12811 and floorf multiarch implementations.
12812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12817 multiarch floor for PowerPC32.
12818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12823 multiarch floorf for PowerPC32.
12825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12826 and ceilf multiarch implementations.
12827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12832 multiarch ceil for PowerPC32.
12833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12838 multiarch ceilf for PowerPC32.
12840 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12842 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12843 FINITEF is defined.
12844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12845 and finitef multiarch implementations.
12846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12851 multiarch finite for PowerPC32.
12852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12855 file: multiarch finitef for PowerPC32.
12857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12858 and isinff multiarch implementations.
12859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12864 multiarch isinf for PowerPC32.
12865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12868 multiarch isinff for PowerPC32.
12870 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12871 alias when __isnan is defined.
12872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12873 and isnanf multiarch implementations.
12874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12883 multiarch isnan for PowerPC32.
12884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12889 multiarch isnanf for PowerPC32.
12891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12892 and sqrtf multiarch implementations.
12893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12898 multiarch sqrt for PowerPC32.
12899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12904 multiarch sqrtf for PowerPC32.
12906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12907 and llroundf multiarch implementations.
12908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12915 file: multiarch llround for PowerPC32.
12916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12917 file: multiarch llroundf for PowerPC32.
12919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12920 multiarch PowerPC32 fpu implementations.
12921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12926 multiarch llrint for PowerPC32.
12927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12936 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12938 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12940 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12942 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12943 multiarch wordcopy for PPC32.
12944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12947 (__libc_ifunc_impl_list): Likewise.
12948 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12949 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12950 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12951 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12952 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12953 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12955 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12958 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12963 multiarch wcscpy for PPC32.
12964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12967 (__libc_ifunc_impl_list): Likewise.
12968 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12969 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12970 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12971 sysdeps/powerpc/power6/wcscpy.c.
12973 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12974 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12976 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12978 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12981 multiarch wcsrchr for PPC32.
12982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12985 (__libc_ifunc_impl_list): Likewise.
12986 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12987 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12988 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12989 sysdeps/powerpc/power6/wcsrchr.c.
12991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12996 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12997 multiarch wcschr for PPc32.
12998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13000 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13001 (__libc_ifunc_impl_list): Likewise.
13002 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13003 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13004 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13005 sysdeps/powerpc/power6/wcschr.c.
13007 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13008 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13010 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13011 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13012 file: multiarch strchr for PPC32.
13013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13016 (__libc_ifunc_impl_list): Likewise.
13018 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13020 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13022 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13024 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13025 multiarch strchrnul for PPC32.
13026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13029 (__libc_ifunc_impl_list): Likewise.
13031 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13033 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13034 multiarch strncasecmp for PPC32.
13035 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13037 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13038 multiarch strncasecmp_l for PPC32.
13039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13040 strncasecmp multiarch objects.
13041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13042 (__libc_ifunc_impl_list): Likewise.
13044 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13046 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13047 multiarch strncasecmp for PPC32.
13048 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13050 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13051 multiarch strcasecmp_l for PPC32.
13052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13055 (__libc_ifunc_impl_list): Likewise.
13057 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13059 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13061 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13062 multiarch strncmp for PPC32.
13063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13066 (__libc_ifunc_impl_list): Likewise.
13068 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13069 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13071 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13072 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13076 (__libc_ifunc_impl_list): Likewise.
13078 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13080 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13082 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13086 (__libc_ifunc_impl_list): Likewise.
13088 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13090 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13092 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13093 multiarch rawmemchr for PPC32.
13094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13096 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13097 (__libc_ifunc_impl_list): Likewise.
13099 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13101 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13103 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13104 file: memrchr multiarch for PPC32.
13105 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13107 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13108 (__libc_ifunc_impl_list): Likewise.
13110 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13111 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13113 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13114 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13115 multiarch memchr for PPC32.
13116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13119 (__libc_ifunc_impl_list): Likewise.
13121 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13122 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13124 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13126 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13127 file: multiarch mempcpy for PPC32.
13128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13131 (__libc_ifunc_impl_list): Likewise.
13133 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13134 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13135 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13136 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13137 multiarch bzero for PPC32.
13138 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13140 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13142 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13143 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13144 file: multiarch memset for PPC32.
13145 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13147 memset multiarch objects.
13148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13149 (__libc_ifunc_impl_list): Likewise.
13151 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13153 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13156 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13160 (__libc_ifunc_impl_list): Likewise.
13162 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13163 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13164 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13166 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13168 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13170 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13171 multiarch memcpy for PPC32.
13172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13175 (__libc_ifunc_impl_list): Likewise.
13177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13178 support multiarch for POWER/PPC32.
13179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13181 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13183 Implies file to make multiarch folder appers before the fpu and
13184 default folder for power4 configuration.
13186 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13188 * scripts/bench.pl: Append volatile keyword to type.
13190 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13192 * sysdeps/sh/sotruss-lib.c: New file.
13193 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13195 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13199 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13202 * math/w_tgamma.c: Include <errno.h>.
13203 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13204 * math/w_tgammaf.c: Include <errno.h>.
13205 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13206 * math/w_tgammal.c: Include <errno.h>.
13207 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13208 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13209 underflow. Add more tgamma tests.
13210 * math/auto-libm-test-out: Regenerated.
13211 * sysdeps/i386/fpu/libm-test-ulps: Update.
13212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13214 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13215 sin, sinh, tan, tanh, tgamma, y0 and y1.
13216 * math/auto-libm-test-out: Regenerated.
13217 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13218 (TEST_COND_x86): Likewise.
13219 (M_E2l): Remove macro.
13221 (M_2_SQRT_PIl): Likewise.
13222 (M_SQRT_PIl): Likewise.
13223 (M_1_DIV_El): Likewise.
13224 (log_test_data): Use AUTO_TESTS_f_f.
13225 (log10_test_data): Likewise.
13226 (log1p_test_data): Likewise.
13227 (log2_test_data): Likewise.
13228 (sin_test_data): Likewise.
13229 (sin_tonearest_test_data): Likewise.
13230 (sin_towardzero_test_data): Likewise.
13231 (sin_downward_test_data): Likewise.
13232 (sin_upward_test_data): Likewise.
13233 (sinh_test_data): Likewise.
13234 (sinh_tonearest_test_data): Likewise.
13235 (sinh_towardzero_test_data): Likewise.
13236 (sinh_downward_test_data): Likewise.
13237 (sinh_upward_test_data): Likewise.
13238 (tan_test_data): Likewise.
13239 (tan_tonearest_test_data): Likewise.
13240 (tan_towardzero_test_data): Likewise.
13241 (tan_downward_test_data): Likewise.
13242 (tan_upward_test_data): Likewise.
13243 (tanh_test_data): Likewise.
13244 (tgamma_test_data): Likewise.
13245 (y0_test_data): Likewise.
13246 (y1_test_data): Likewise.
13247 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13248 (special_real_inputs): Add pi/4.
13249 * sysdeps/i386/fpu/libm-test-ulps: Update.
13250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13252 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13254 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13255 "longjmp_target" static probes.
13256 (__longjmp): Rename to __longjmp_symbol.
13257 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13258 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13259 on which longjmp to generate.
13260 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13261 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13263 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13264 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13265 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13266 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13267 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13268 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13270 __longjmp_symbol based on which __longjmp to generate.
13271 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13273 (setjmp): Rename to setjmp_symbol.
13274 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13275 (_setjmp): Rename to _setjmp_symbol.
13276 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13277 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13278 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13279 which setjmp to generate.
13280 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13281 "longjmp_target" static probes.
13283 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13285 * benchtests/README: Add note about output arguments.
13286 * benchtests/bench-sincos.c: Remove file.
13287 * benchtests/sincos-inputs: New file.
13288 * scripts/bench.pl: Identify output arguments and define
13289 static variables for them.
13291 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13294 * Makefile (INSTALL): Add install-plain.texi as the primary
13296 * manual/install-plain.texi: New file.
13297 * manual/install.texi: Include node directive only for
13298 non-plaintext output.
13300 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13302 * stdlib/longlong.h: Update from GCC.
13306 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13307 * math/w_j0f.c (y0f): Likewise.
13308 * math/w_j0l.c (__y0l): Likewise.
13309 * math/w_j1.c (y1): Likewise.
13310 * math/w_j1f.c (y1f): Likewise.
13311 * math/w_j1l.c (__y1l): Likewise
13312 * math/w_jn.c (yn): Likewise.
13313 * math/w_jnf.c (ynf): Likewise.
13314 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13315 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13316 value for Bessel function domain errors outside _SVID_ mode.
13317 Adjust sign of return value for yn (negative integer, 0).
13318 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13319 by zero in return for negative x and set sign appropriately for
13321 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13322 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13323 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13324 expectations in error cases.
13325 (y1_test_data): Likewise.
13326 (yn_test_data): Likewise.
13327 * sysdeps/i386/fpu/libm-test-ulps: Update.
13328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13330 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13332 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13333 "64" to "64-v1". Add "64-v2".
13334 (abi-64-options): Rename to ...
13335 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13336 (abi-64-condition): Rename to ...
13337 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13338 (abi-64-ld-soname): Rename to ...
13339 (abi-64-v1-ld-soname): ... this.
13340 (abi-64-v2-options): Define.
13341 (abi-64-v2-condition): Likewise.
13342 (abi-64-v2-ld-soname): Likewise.
13343 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13344 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13349 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13350 Alan Modra <amodra@gmail.com>
13352 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13353 New versions for use with the ELFv2 ABI.
13354 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13355 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13357 (struct La_ppc64v2_retval): Likewise.
13358 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13359 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13360 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13361 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13362 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13363 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13364 Do not save or restore CR.
13365 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13366 (_dl_profile_resolve): Do no save or restore CR. Support extended
13367 return values for ELFv2 ABI. Fix location of FPR return registers.
13368 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13369 updated values for _CALL_ELF == 2.
13370 (La_regs, La_retval, int_retval): Likewise.
13372 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13374 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13375 (FRAME_MIN_SIZE_PARM): Likewise.
13376 (FRAME_BACKCHAIN): Likewise.
13377 (FRAME_CR_SAVE): Likewise.
13378 (FRAME_LR_SAVE): Likewise.
13379 (FRAME_TOC_SAVE): Likewise.
13380 (FRAME_PARM_SAVE): Likewise.
13381 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13382 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13383 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13384 (call_mcount_parm_offset): New macro.
13385 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13386 (PROF): Use symbolic stack frame offsets.
13387 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13388 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13389 Redefine in terms of FRAME_MIN_SIZE.
13390 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13391 (_dl_profile_resolve): Likewise. Update comment.
13392 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13393 symbols stack frame offsets.
13394 (__sigsetjmp): Likewise.
13395 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13396 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13397 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13398 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13401 (FRAME_BACKCHAIN): Remove.
13402 (FRAME_CR_SAVE): Likewise.
13403 (FRAME_LR_SAVE): Likewise.
13404 (FRAME_COMPILER_DW): Likewise.
13405 (FRAME_LINKER_DW): Likewise.
13406 (FRAME_TOC_SAVE): Likewise.
13407 (FRAME_PARM_SAVE): Likewise.
13408 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13409 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13410 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13412 (CHECK_SP): Use symbolic stack frame offsets.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13414 zone" instead of caller's parameter save area for temp storage.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13416 Likewise. Also, use symbolic stack frame offsets.
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13418 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13419 our own stack frame instead of the caller's.
13420 (__socket): Use symbolic stack frame offsets.
13422 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13423 Alan Modra <amodra@gmail.com>
13425 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13427 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13428 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13429 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13431 (elf_machine_fixup_plt): Call it.
13432 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13434 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13435 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13436 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13437 r2 before calling target.
13439 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13440 Alan Modra <amodra@gmail.com>
13442 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13443 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13444 versions of macros to support ELFv2 ABI.
13445 (LOCALENTRY): New macro.
13446 (ENTRY, EALIGN): Use it.
13447 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13448 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13449 fall through into ENTRY entry point.
13450 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13451 Only define if _CALL_ELF != 2.
13453 (elf_machine_matches_host): Verify ABI version matches.
13454 (RTLD_START): Use LOCALENTRY.
13455 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13456 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13457 (PLT_ENTRY_WORDS): New macro.
13458 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13459 (elf_machine_runtime_setup): Support ELFv2 ABI.
13460 (elf_machine_fixup_plt): Likewise.
13461 (elf_machine_plt_conflict): Likewise.
13462 (resolve_ifunc): Likewise.
13463 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13464 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13467 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13469 (makecontext): Support ELFv2 ABI.
13470 * elf/elf.h (EF_PPC64_ABI): Define.
13472 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13474 * sysdeps/powerpc/powerpc64/sysdep.h
13475 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13476 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13477 (ENTRY) [ASSEMBLER]: ... but instead here ...
13478 (EALIGN) [ASSEMBLER]: ... and here.
13479 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13480 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13481 (ENTRY_2) [!ASSEMBLER]: Use it.
13482 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13483 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13484 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13485 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13486 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13488 Use PPC64_LOAD_FUNCPTR.
13490 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13492 2013-12-04 Alan Modra <amodra@gmail.com>
13494 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13495 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13496 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13497 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13500 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13501 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13502 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13503 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13504 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13506 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13509 (__makecontext): Fix incorrect CFI when backtracing out of
13510 context created via makecontext.
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13512 (__setcontext): Fix incorrect CFI during switch to new context.
13513 (__novec_setcontext): Likewise.
13515 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13518 * time/strptime_l.c (__strptime_internal): Allow modifiers
13520 * time/tst-strptime.c (day_tests): Add testcase.
13522 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13524 * scripts/bench.pl: Skip over blank lines.
13526 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13529 * manual/time.texi (Calendar Time): Clarify what timezone functions
13532 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13536 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13538 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13540 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13541 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13542 * debug/memset_chk.c (__memset_chk): Likewise.
13543 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13544 * debug/strncpy_chk.c: Likewise.
13546 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13550 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13551 (__ieee754_exp): For possibly underflowing results, check size of
13552 result and force underflow exception if required.
13553 * math/auto-libm-test-in: Add more tests of exp.
13554 * math/auto-libm-test-out: Regenerated.
13555 * sysdeps/i386/fpu/libm-test-ulps: Update.
13556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13559 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13560 * math/w_exp2f.c (__exp2f): Likewise.
13561 * math/w_exp2l.c (__exp2l): Likewise.
13562 * math/auto-libm-test-in: Do not allow missing errno on exp2
13564 * math/auto-libm-test-out: Regenerated.
13566 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13569 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13570 handle filename validation.
13571 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13574 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13577 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13578 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13579 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13581 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13582 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13583 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13584 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13585 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13586 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13587 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13588 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13589 Add more erfc tests.
13590 * math/auto-libm-test-out: Regenerated.
13591 * sysdeps/i386/fpu/libm-test-ulps: Update.
13592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13594 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13595 exp2, expm1, j0 and j1.
13596 * math/auto-libm-test-out: Regenerated.
13597 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13598 (erfc_test_data): Likewise.
13599 (exp_test_data): Likewise.
13600 (exp_tonearest_test_data): Likewise.
13601 (exp_towardzero_test_data): Likewise.
13602 (exp_downward_test_data): Likewise.
13603 (exp_upward_test_data): Likewise.
13604 (exp10_test_data): Likewise.
13605 (exp2_test_data): Likewise.
13606 (expm1_test_data): Likewise.
13607 (j0_test_data): Likewise.
13608 (j1_test_data): Likewise.
13609 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13610 (input_flag_type): Add flag_xfail_rounding.
13611 (input_flags): Add xfail-rounding.
13612 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13613 (output_for_one_input_case): Handle flag_xfail_rounding.
13614 * sysdeps/i386/fpu/libm-test-ulps: Update.
13615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13617 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13620 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13623 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13626 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13627 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13628 (STAP_PROBE0): New macro.
13629 (STAP_PROBE1): Likewise.
13630 (STAP_PROBE2): Likewise.
13631 (STAP_PROBE3): Likewise.
13632 (STAP_PROBE4): Likewise.
13634 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13636 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13638 2013-12-02 Steve Ellcey <sellcey@mips.com>
13640 * benchtests/Makefile (bench): Add sqrt.
13641 (LDLIBS-bench-sqrt): New.
13642 * benchtests/sqrt-input: New.
13644 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13646 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13647 (GAIH_EAI): Likewise.
13648 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13649 (gaih_inet): Likewise.
13650 (getaddrinfo): Don't use GAIH_EAI.
13652 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13653 (struct gaih): Remove definition.
13655 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13657 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13658 Use HERRNOP directly.
13660 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13664 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13666 * math/gen-auto-libm-tests.c (test_functions): Add more
13667 single-argument functions.
13668 (special_fill_pi_2): New function.
13669 (special_fill_minus_pi_2): Likewise.
13670 (special_fill_pi_6): Likewise.
13671 (special_fill_minus_pi_6): Likewise.
13672 (special_fill_pi_3): Likewise.
13673 (special_fill_2pi_3): Likewise.
13674 (special_fill_e): Likewise.
13675 (special_fill_1_e): Likewise.
13676 (special_fill_e_minus_1): Likewise.
13677 (special_real_inputs): Add more special inputs.
13678 (output_for_one_input_case): Do not require ERANGE on underflow to
13679 zero if round-to-nearest result does not underflow to zero, unless
13680 exact results required.
13681 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13682 atan, atanh, cbrt, cos and cosh.
13683 * math/auto-libm-test-out: Regenerated.
13684 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13685 (acos_tonearest_test_data): Likewise.
13686 (acos_towardzero_test_data): Likewise.
13687 (acos_downward_test_data): Likewise.
13688 (acos_upward_test_data): Likewise.
13689 (acosh_test_data): Likewise.
13690 (asin_test_data): Likewise.
13691 (asin_tonearest_test_data): Likewise.
13692 (asin_towardzero_test_data): Likewise.
13693 (asin_upward_test_data): Likewise.
13694 (asinh_test_data): Likewise.
13695 (atan_test_data): Likewise.
13696 (atanh_test_data): Likewise.
13697 (cbrt_test_data): Likewise.
13698 (cos_test_data): Likewise.
13699 (cos_tonearest_test_data): Likewise.
13700 (cos_towardzero_test_data): Likewise.
13701 (cos_downward_test_data): Likewise.
13702 (cos_upward_test_data): Likewise.
13703 (cosh_test_data): Likewise.
13704 (cosh_tonearest_test_data): Likewise.
13705 (cosh_towardzero_test_data): Likewise.
13706 (cosh_downward_test_data): Likewise.
13707 (cosh_upward_test_data): Likewise.
13708 * sysdeps/i386/fpu/libm-test-ulps: Update.
13709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13711 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13714 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13715 * math/w_exp10f.c (__exp10f): Likewise.
13716 * math/w_exp10l.c (__exp10l): Likewise.
13717 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13718 errno settings in existing tests.
13721 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13722 precision control set to double precision.
13723 * sysdeps/i386/fpu/w_sqrt.c: New file.
13724 * math/auto-libm-test-in: Add more tests.
13725 * math/auto-libm-test-out: Update.
13727 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13728 (sqrt_test_tonearest): New function.
13729 (sqrt_towardzero_test_data): New variable.
13730 (sqrt_test_towardzero): New function.
13731 (sqrt_downward_test_data): New variable.
13732 (sqrt_test_downward): New function.
13733 (sqrt_upward_test_data): New variable.
13734 (sqrt_test_upward): New function.
13735 (main): Call the new functions.
13737 * math/gen-auto-libm-tests.c: New file.
13738 * math/auto-libm-test-in: Likewise.
13739 * math/auto-libm-test-out: New generated file.
13740 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13742 (%beautify): Add generated representations of zero.
13743 (top level): Set $auto_input and call parse_auto_input.
13744 (beautify): Remove trailing "f" from hex float constants.
13745 (parse_args): Handle XFAIL_TEST.
13746 (convert_condition): New function.
13747 (or_value): Likewise.
13748 (or_cond_value): Likewise.
13749 (generate_testfile): Handle AUTO_TESTS_* lines.
13750 (parse_auto_input): New function.
13751 * math/libm-test.inc (XFAIL_TEST): New macro.
13752 (ERRNO_UNCHANGED): Update value.
13753 (ERRNO_EDOM): Likewise.
13754 (ERRNO_ERANGE): Likewise.
13755 (IGNORE_RESULT): Likewise.
13756 (TEST_COND_flt_32): New macro.
13757 (TEST_COND_dbl_64): Likewise.
13758 (TEST_COND_ldbl_96_intel): Likewise.
13759 (TEST_COND_ldbl_96_m68k): Likewise.
13760 (TEST_COND_ldbl_128): Likewise.
13761 (TEST_COND_ldbl_128ibm): Likewise.
13762 (TEST_COND_long32): Likewise.
13763 (TEST_COND_long64): Likewise.
13764 (TEST_COND_before_rounding): Likewise.
13765 (TEST_COND_after_rounding): Likewise.
13766 (enable_test): Handle XFAIL_TEST flag.
13767 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13768 with finite results.
13769 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13770 auto-libm-test-out.
13772 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13773 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13776 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13777 __tls_get_addr_internal instead of __tls_get_offset in order to
13778 avoid GOT pointer dependency. Make rtld export
13779 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13780 __tls_get_addr since we are a __tls_get_offset platform.
13781 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13782 GOT pointer being set up before.
13783 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13785 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13787 * manual/math.texi (Errors in Math Functions): Document accuracy
13791 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13792 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13797 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13808 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13809 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13810 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13811 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13812 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13814 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13816 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13818 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13819 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13820 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13821 atomic-feupdateenv and flt-rounds.
13822 * sysdeps/powerpc/nofpu/Versions (libc): Add
13823 __atomic_feholdexcept, __atomic_feclearexcept,
13824 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13825 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13826 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13827 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13828 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13833 * manual/arith.texi (FP Exceptions): Document that exceptions may
13834 not be raised when matherr is used.
13835 (Math Error Reporting): Document overflow in directed rounding
13836 modes. Document that errno may not be set when finite values are
13837 returned on overflow. Document intent to set errno on underflow
13838 only for underflow to zero.
13841 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13842 round-to-nearest then adjust result for other rounding modes.
13843 * include/fenv.h (fegetround): Use libm_hidden_proto.
13844 * math/fegetround.c (fegetround): Use libm_hidden_def.
13845 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13846 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13847 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13848 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13850 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13851 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13852 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13853 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13855 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13858 * nss/Versions (libnss_files): Add
13859 _nss_files_gethostbyname3_r.
13860 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13862 (HOST_DB_LOOKUP): Remove macro.
13863 (_nss_files_gethostbyname_r): Implement function without the
13864 HOST_DB_LOOKUP macro.
13865 (_nss_files_gethostbyname2_r): Likewise.
13867 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13869 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13871 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13873 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13874 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13877 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13879 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13880 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13881 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13882 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13883 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13884 __fe_nomask_env_priv and attribute_hidden.
13885 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13886 (libc_feupdateenv_test_ppc): Likewise.
13887 (libc_feresetround_ppc): Likewise.
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13889 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13890 compat_symbol macro.
13891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13892 (__fe_nomask_env): Likewise.
13893 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13895 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13897 * string/Makefile: Remove ifunc tests.
13898 * string/test-string.h: Define TEST_IFUNC.
13899 * string/test-bcopy-ifunc.c: Remove.
13900 * string/test-bzero-ifunc.c: Likewise.
13901 * string/test-memccpy-ifunc.c: Likewise.
13902 * string/test-memchr-ifunc.c: Likewise.
13903 * string/test-memcmp-ifunc.c: Likewise.
13904 * string/test-memcpy-ifunc.c: Likewise.
13905 * string/test-memmem-ifunc.c: Likewise.
13906 * string/test-memmove-ifunc.c: Likewise.
13907 * string/test-mempcpy-ifunc.c: Likewise.
13908 * string/test-memrchr-ifunc.c: Likewise.
13909 * string/test-memset-ifunc.c: Likewise.
13910 * string/test-rawmemchr-ifunc.c: Likewise.
13911 * string/test-stpcpy-ifunc.c: Likewise.
13912 * string/test-stpncpy-ifunc.c: Likewise.
13913 * string/test-strcasecmp-ifunc.c: Likewise.
13914 * string/test-strcasestr-ifunc.c: Likewise.
13915 * string/test-strcat-ifunc.c: Likewise.
13916 * string/test-strchr-ifunc.c: Likewise.
13917 * string/test-strchrnul-ifunc.c: Likewise.
13918 * string/test-strcmp-ifunc.c: Likewise.
13919 * string/test-strcpy-ifunc.c: Likewise.
13920 * string/test-strcspn-ifunc.c: Likewise.
13921 * string/test-strlen-ifunc.c: Likewise.
13922 * string/test-strncasecmp-ifunc.c: Likewise.
13923 * string/test-strncat-ifunc.c: Likewise.
13924 * string/test-strncmp-ifunc.c: Likewise.
13925 * string/test-strncpy-ifunc.c: Likewise.
13926 * string/test-strnlen-ifunc.c: Likewise.
13927 * string/test-strpbrk-ifunc.c: Likewise.
13928 * string/test-strrchr-ifunc.c: Likewise.
13929 * string/test-strspn-ifunc.c: Likewise.
13930 * string/test-strstr-ifunc.c: Likewise.
13932 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13934 * benchtests/Makefile: Remove ifunc tests.
13935 * benchtests/bench-string.h: Define TEST_IFUNC.
13936 * benchtests/bench-bcopy-ifunc.c: Remove.
13937 * benchtests/bench-bzero-ifunc.c: Likewise.
13938 * benchtests/bench-memccpy-ifunc.c: Likewise.
13939 * benchtests/bench-memchr-ifunc.c: Likewise.
13940 * benchtests/bench-memcmp-ifunc.c: Likewise.
13941 * benchtests/bench-memcpy-ifunc.c: Likewise.
13942 * benchtests/bench-memmem-ifunc.c: Likewise.
13943 * benchtests/bench-memmove-ifunc.c: Likewise.
13944 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13945 * benchtests/bench-memrchr-ifunc.c: Likewise.
13946 * benchtests/bench-memset-ifunc.c: Likewise.
13947 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13948 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13949 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13950 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13951 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13952 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13953 * benchtests/bench-strcat-ifunc.c: Likewise.
13954 * benchtests/bench-strchr-ifunc.c: Likewise.
13955 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13956 * benchtests/bench-strcmp-ifunc.c: Likewise.
13957 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13958 * benchtests/bench-strcpy-ifunc.c: Likewise.
13959 * benchtests/bench-strcspn-ifunc.c: Likewise.
13960 * benchtests/bench-strlen-ifunc.c: Likewise.
13961 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13962 * benchtests/bench-strncat-ifunc.c: Likewise.
13963 * benchtests/bench-strncmp-ifunc.c: Likewise.
13964 * benchtests/bench-strncpy-ifunc.c: Likewise.
13965 * benchtests/bench-strnlen-ifunc.c: Likewise.
13966 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13967 * benchtests/bench-strrchr-ifunc.c: Likewise.
13968 * benchtests/bench-strsep-ifunc.c: Likewise.
13969 * benchtests/bench-strspn-ifunc.c: Likewise.
13970 * benchtests/bench-strstr-ifunc.c: Likewise.
13972 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13974 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13976 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13978 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13979 * rt/aio.h: Likewise.
13980 * sysdeps/gnu/bits/utmp.h: Likewise.
13981 * sysdeps/gnu/bits/utmpx.h: Likewise.
13982 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13983 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13984 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13985 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13986 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13987 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13988 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13989 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13990 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13991 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13992 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13993 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13994 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13996 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13997 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13998 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13999 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14000 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14001 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14002 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14003 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14004 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14005 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14006 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14008 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14009 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14010 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14011 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14012 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14013 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14014 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14015 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14016 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14017 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14018 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14019 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14020 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14021 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14022 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14023 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14025 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14028 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14029 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14031 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14033 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14034 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14037 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14039 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14040 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14041 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14042 (__fesetround): Remove define.
14043 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14044 rounding and exceptions handling.
14045 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14046 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14047 (__fe_nomask_env): Likewise.
14048 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14049 __fegetround instead of fegetround.
14050 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14051 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14053 2013-11-21 Roland McGrath <roland@hack.frob.com>
14055 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14058 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14060 2013-11-21 Meador Inge <meadori@codesourcery.com>
14063 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14064 (encrypt_r): Likewise.
14065 * malloc/obstack.h (obstack_free): Likewise.
14066 * posix/unistd.h (encrypt): Likewise.
14068 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14070 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14071 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14072 DL_CALL_DT_FINI() that call the functions directly.
14073 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14074 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14075 * elf/dl-fini.c: Likewise.
14077 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14079 * malloc/hooks.c (memalign_check): Add alignment rounding.
14080 * malloc/malloc.c (_mid_memalign): New function.
14081 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14082 Implement by calling _mid_memalign.
14083 * manual/probes.texi (Memory Allocation Probes): Remove
14084 memory_valloc_retry and memory_pvalloc_retry.
14086 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14088 * locale/programs/locarchive.c (open_archive): Add const
14089 qualifier to ARCHIVEFNAME and copy default fname to
14093 * libio/tst-widetext.input: Rename Oriya to Odia.
14094 * locale/iso-639.def: Likewise.
14096 * manual/probes.texi (Mathematical Function Probes): Add
14097 documentation for sin, cos, asin and acos probes.
14098 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14099 (__sin32): Add slowasin probe.
14100 (__cos32): Add slowacos probe.
14101 (__mpsin): Add slowsin probe.
14102 (__mpcos): Add slowcos probe.
14104 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14107 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14108 thread-local __sim_exceptions_thread and global
14109 __sim_exceptions_global.
14110 (__sim_disabled_exceptions): Change to thread-local
14111 __sim_disabled_exceptions_thread and global
14112 __sim_disabled_exceptions_global.
14113 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14114 and global __sim_round_mode_global.
14115 (__simulate_exceptions): Use thread-local floating-point state and
14116 set global state from it as needed.
14117 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14118 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14119 __sim_round_mode_thread.
14120 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14121 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14122 and global __sim_exceptions_global.
14123 (__sim_disabled_exceptions): Change to thread-local
14124 __sim_disabled_exceptions_thread and global
14125 __sim_disabled_exceptions_global.
14126 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14127 and global __sim_round_mode_global.
14128 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14129 (SIM_SET_GLOBAL): Likewise.
14130 * sysdeps/powerpc/soft-fp/sfp-machine.h
14131 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14132 __sim_round_mode_thread.
14133 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14134 __sim_disabled_exceptions_thread.
14135 (__sim_exceptions): Change to __sim_exceptions_thread.
14136 (__sim_disabled_exceptions): Change to
14137 __sim_disabled_exceptions_thread.
14138 (__sim_round_mode): Change to __sim_round_mode_thread.
14139 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14140 thread-local floating-point state and set global state from it as
14142 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14143 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14144 (__sim_disabled_exceptions): Remove extern declaration.
14145 (feenableexcept): Use thread-local floating-point state and set
14146 global state from it as needed.
14147 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14148 extern declaration.
14149 (__sim_disabled_exceptions): Likewise.
14150 (__sim_round_mode): Likewise.
14151 (__fegetenv): Use thread-local floating-point state.
14152 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14153 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14154 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14155 floating-point state and set global state from it as needed.
14156 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14157 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14158 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14160 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14161 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14163 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14164 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14165 Use __sim_round_mode_thread.
14166 * math/test-fenv-tls.c: New file.
14167 * math/Makefile (tests): Add test-fenv-tls.
14168 ($(objpfx)test-fenv-tls): Depend on
14169 $(common-objpfx)nptl/libpthread.so.
14171 2013-11-19 Andreas Schwab <schwab@suse.de>
14173 * locale/programs/locale.c (show_info): Decode wordarray elements.
14174 * locale/categories.def (LC_MONETARY): Add element for
14175 _NL_MONETARY_CRNCYSTR.
14176 * locale/C-monetary.c (conversion_rate): New variable.
14177 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14180 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14182 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14183 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14185 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14187 * elf/Makefile (tst-auxv): New test.
14188 * elf/tst-auxv.c: New
14189 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14191 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14193 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14194 (hidden_proto): Caller changed.
14195 (hidden_tls_proto): New macro.
14196 (libc_hidden_tls_proto): Likewise.
14197 (rtld_hidden_tls_proto): Likewise.
14198 (libm_hidden_tls_proto): Likewise.
14199 (libresolv_hidden_tls_proto): Likewise.
14200 (librt_hidden_tls_proto): Likewise.
14201 (libdl_hidden_tls_proto): Likewise.
14202 (libnss_files_hidden_tls_proto): Likewise.
14203 (libnsl_hidden_tls_proto): Likewise.
14204 (libnss_nisplus_hidden_tls_proto): Likewise.
14205 (libutil_hidden_tls_proto): Likewise.
14207 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14210 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14211 (decompose_rpath): Defer expansion to fillin_rpath.
14212 (_dl_init_paths): Pass linkmap to fillin_rpath.
14214 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14216 * benchtests/Makefile: Add strsep.
14217 * benchtests/bench-strsep.c: New file: strsep benchtest.
14218 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14220 2013-11-18 Andreas Schwab <schwab@suse.de>
14222 * locale/programs/locale.c (show_info) [case byte]: Check for
14223 '\377' instead of '\177'.
14224 * locale/C-monetary.c (not_available): Always use "\377".
14225 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14226 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14227 detect unavailable sign_posn locale elements.
14228 * locale/localeconv.c (__localeconv): For grouping and
14229 mon_grouping handle "\177" and "\377" like no grouping.
14230 (INT_ELEM): New macro. Use it to set all numeric members.
14231 * locale/programs/ld-monetary.c (monetary_read)
14232 <tok_mon_grouping>: Normalize single -1 to the empty string.
14233 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14236 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14239 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14240 when we match (nil).
14241 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14243 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14245 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14246 (NO_TEST_INLINE): Update value.
14247 (ERRNO_UNCHANGED): Likewise.
14248 (ERRNO_EDOM): Likewise.
14249 (ERRNO_ERANGE): Likewise.
14250 (IGNORE_RESULT): Likewise.
14251 (check_float_internal): Check signs of NaN results if
14252 TEST_NAN_SIGN used.
14253 (check_complex): Pass TEST_NAN_SIGN flag through to second
14254 check_float_internal call.
14255 (copysign_test_data): Add tests with quiet NaNs as second
14256 argument. Use TEST_NAN_SIGN.
14257 (fabs_test_data): Add test of negative quiet NaN argument. Use
14259 (signbit_test_data): Add tests of quiet NaN argument.
14260 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14262 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14264 (parse_args): Handle function results specified as IGNORE.
14265 * math/libm-test.inc (IGNORE_RESULT): New macro.
14266 (check_float_internal): Do not check numerical result if flag
14268 (check_complex): Pass through IGNORE_RESULT to second
14269 check_float_internal call.
14270 (check_int): Do not check numerical result if flag IGNORE_RESULT
14272 (check_long): Likewise.
14273 (check_bool): Likewise.
14274 (check_longlong): Likewise.
14275 (lrint_test_data): Add tests of infinite and NaN arguments.
14276 (lrint_tonearest_test_data): Likewise.
14277 (lrint_towardzero_test_data): Likewise.
14278 (lrint_downward_test_data): Likewise.
14279 (lrint_upward_test_data): Likewise.
14280 (llrint_test_data): Likewise.
14281 (llrint_tonearest_test_data): Likewise.
14282 (llrint_towardzero_test_data): Likewise.
14283 (llrint_downward_test_data): Likewise.
14284 (llrint_upward_test_data): Likewise.
14285 (lround_test_data): Likewise.
14286 (llround_test_data): Likewise.
14288 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14289 (ERRNO_UNCHANGED): Update value.
14290 (ERRNO_EDOM): Likewise.
14291 (ERRNO_ERANGE): Likewise.
14292 (NO_TEST_INLINE_FLOAT): New macro.
14293 (NO_TEST_INLINE_DOUBLE): Likewise.
14294 (enable_test): New function.
14295 (RUN_TEST_f_f): Check enable_test before running test.
14296 (RUN_TEST_2_f): Likewise.
14297 (RUN_TEST_fff_f): Likewise.
14298 (RUN_TEST_c_f): Likewise.
14299 (RUN_TEST_f_f1): Likewise.
14300 (RUN_TEST_fF_f1): Likewise.
14301 (RUN_TEST_fI_f1): Likewise.
14302 (RUN_TEST_ffI_f1): Likewise.
14303 (RUN_TEST_c_c): Likewise.
14304 (RUN_TEST_cc_c): Likewise.
14305 (RUN_TEST_f_i): Likewise.
14306 (RUN_TEST_f_i_tg): Likewise.
14307 (RUN_TEST_ff_i_tg): Likewise.
14308 (RUN_TEST_f_b): Likewise.
14309 (RUN_TEST_f_b_tg): Likewise.
14310 (RUN_TEST_f_l): Likewise.
14311 (RUN_TEST_f_L): Likewise.
14312 (RUN_TEST_fFF_11): Likewise.
14313 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14315 (cosh_test_data): Likewise.
14316 (exp_test_data): Likewise.
14317 (expm1_test_data): Likewise.
14318 (hypot_test_data): Likewise.
14319 (pow_test_data): Likewise.
14320 (sinh_test_data): Likewise.
14321 (tanh_test_data): Likewise.
14322 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14325 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14326 tests with quiet NaN input and output.
14327 (acosh_test_data): Likewise.
14328 (asin_test_data): Likewise.
14329 (asinh_test_data): Likewise.
14330 (atan_test_data): Likewise.
14331 (atanh_test_data): Likewise.
14332 (atan2_test_data): Likewise.
14333 (cbrt_test_data): Likewise.
14334 (cos_test_data): Likewise.
14335 (cosh_test_data): Likewise.
14336 (erf_test_data): Likewise.
14337 (erfc_test_data): Likewise.
14338 (exp_test_data): Likewise.
14339 (exp10_test_data): Likewise.
14340 (exp2_test_data): Likewise.
14341 (expm1_test_data): Likewise.
14342 (hypot_test_data): Likewise.
14343 (j0_test_data): Likewise.
14344 (j1_test_data): Likewise.
14345 (jn_test_data): Likewise.
14346 (lgamma_test_data): Likewise.
14347 (log_test_data): Likewise.
14348 (log10_test_data): Likewise.
14349 (log1p_test_data): Likewise.
14350 (log2_test_data): Likewise.
14351 (pow_test_data): Likewise.
14352 (scalb_test_data): Likewise.
14353 (sin_test_data): Likewise.
14354 (sincos_test_data): Likewise.
14355 (sinh_test_data): Likewise.
14356 (tan_test_data): Likewise.
14357 (tanh_test_data): Likewise.
14358 (tgamma_test_data): Likewise.
14359 (y0_test_data): Likewise.
14360 (y1_test_data): Likewise.
14361 (yn_test_data): Likewise.
14364 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14365 argument being NaN and avoid computations with second argument in
14367 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14368 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14369 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14371 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14373 * locale/iso-639.def: Add Chitwani Tharu (the).
14375 2013-11-14 Andreas Schwab <schwab@suse.de>
14377 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14378 word instead of empty string.
14380 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14383 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14385 (__fe_nomask_env): Likewise.
14387 2013-11-13 Steve Ellcey <sellcey@mips.com>
14389 * benchtests/bench-timing.h: Include time.h.
14391 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14394 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14396 * sysdeps/unix/sysv/linux/configure: Regenerated.
14398 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14401 * stdlib/strtod_l.c (round_and_return): Do not consider
14402 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14403 exponent one less than half the least subnormal exponent.
14404 * stdlib/test-strtod-round-data: Add more tests.
14405 * stdlib/tst-strtod-round.c (tests): Regenerated.
14407 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14410 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14411 (__fe_mask_env): Likewise.
14412 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14413 libm_hidden_proto and add function prototype.
14414 (__fe_mask_env): Add function prototype.
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14416 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14418 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14420 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14422 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14424 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14425 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14427 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14429 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14430 of htab_find_slot().
14432 2013-11-11 David S. Miller <davem@davemloft.net>
14435 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14436 symbol in the non-vis3 case in static builds.
14437 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14438 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14439 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14440 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14442 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14445 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14448 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14450 * benchtests/Makefile: Add bench-strtod.
14451 * benchtests/bench-strtod.c: New file: strtod benchtest
14453 2013-11-11 Andreas Schwab <schwab@suse.de>
14456 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14457 terminating NUL in key length.
14459 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14461 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14462 Add artificial ODP entry for vDSO symbol for PPC64.
14463 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14464 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14466 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14469 * nss/getent.c (services_keys): Recognize services starting with digit.
14471 2013-11-06 David S. Miller <davem@davemloft.net>
14474 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14475 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14477 2013-11-06 Will Newton <will.newton@linaro.org>
14479 * manual/memory.texi (Malloc Examples): Remove register
14480 keyword from examples.
14482 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14484 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14486 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14489 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14490 depending on [__GCC_IEC_559 > 0].
14491 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14492 depending on [__GCC_IEC_559_COMPLEX > 0].
14494 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14496 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14499 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14501 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14503 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14506 * malloc/malloc (malloc_info): Do not handle first bin as
14509 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14511 * locale/iso-639.def: Add Central Nahuatl (nhn).
14513 2013-11-01 Bruno Haible <bruno@clisp.org>
14516 * manual/math.texi (BSD Random): Specify range upper bound as
14519 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14521 * locale/iso-639.def: Add Meadow Mari (mhr).
14523 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14525 [BZ #14752], [BZ #15763]
14526 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14528 * rt/tst_shm.c: Add test for escaping directory.
14530 2013-10-31 Andreas Schwab <schwab@suse.de>
14533 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14534 followed by 'x' as part of digit sequence.
14535 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14537 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14540 * configure.ac: allow GNU Make 4.0 and greater.
14541 * configure: Regenerated.
14543 2013-10-30 Will Newton <will.newton@linaro.org>
14546 * malloc/hooks.c (memalign_check): Limit alignment to the
14547 maximum representable power of two.
14548 * malloc/malloc.c (__libc_memalign): Likewise.
14549 * malloc/tst-memalign.c (do_test): Add test for very
14550 large alignment values.
14551 * malloc/tst-posix_memalign.c (do_test): Likewise.
14553 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14556 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14557 (munmap_chunk): Likewise.
14558 (mremap_chunk): Likewise.
14560 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14563 * stdlib/div.c (div): Remove obsolete code.
14564 * stdlib/ldiv.c (ldiv): Likewise.
14565 * stdlib/lldiv.c (lldiv): Likewise.
14567 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14570 * nss/nss_files/files-XXX.c (get_contents_ret): New
14572 (get_contents): New function.
14573 (internal_getent): Use it. Expand size of LINEBUFLEN.
14575 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14577 * configure.in: Moved to ...
14578 * configure.ac: ... here. Change reference to configure.in
14580 * sysdeps/arm/preconfigure.ac: ... here.
14581 configure.in to configure.ac.
14582 * sysdeps/gnu/configure.in: Moved to ...
14583 * sysdeps/gnu/configure.ac: ... here.
14584 * sysdeps/i386/configure.in: Moved to ...
14585 * sysdeps/i386/configure.ac: ... here.
14586 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14587 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14588 * sysdeps/mach/configure.in: Moved to ...
14589 * sysdeps/mach/configure.ac: ... here.
14590 * sysdeps/mach/hurd/configure.in: Moved to ...
14591 * sysdeps/mach/hurd/configure.ac: ... here.
14592 * sysdeps/powerpc/configure.in: Moved to ...
14593 * sysdeps/powerpc/configure.ac: ... here.
14594 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14595 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14596 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14597 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14598 * sysdeps/s390/s390-32/configure.in: Moved to ...
14599 * sysdeps/s390/s390-32/configure.ac: ... here.
14600 * sysdeps/s390/s390-64/configure.in: Moved to ...
14601 * sysdeps/s390/s390-64/configure.ac: ... here.
14602 * sysdeps/sh/configure.in: Moved to ...
14603 * sysdeps/sh/configure.ac: ... here.
14604 * sysdeps/sparc/configure.in: Moved to ...
14605 * sysdeps/sparc/configure.ac: ... here.
14606 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14607 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14608 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14609 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14610 * sysdeps/x86_64/configure.in: Moved to ...
14611 * sysdeps/x86_64/configure.ac: ... here.
14612 * sysdeps/x86_64/preconfigure.in: Moved to ...
14613 * sysdeps/x86_64/preconfigure.ac: ... here.
14614 * aclocal.m4: Change reference to configure.in to configure.ac.
14615 * config.h.in: Likewise.
14616 * manual/install.texi: Likewise.
14617 * manual/maint.texi: Likewise.
14618 * Makefile: Likewise.
14619 * malloc/Makefile: Likewise.
14620 * nscd/Makefile: Likewise.
14621 * Makeconfig: Change reference to configure.in and
14622 preconfigure.in to configure.ac and preconfigure.ac
14624 * INSTALL: Regenerated.
14625 * configure: Likewise.
14626 * sysdeps/gnu/configure: Likewise.
14627 * sysdeps/i386/configure: Likewise.
14628 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14629 * sysdeps/mach/configure: Likewise.
14630 * sysdeps/mach/hurd/configure: Likewise.
14631 * sysdeps/powerpc/configure: Likewise.
14632 * sysdeps/powerpc/powerpc32/configure: Likewise.
14633 * sysdeps/powerpc/powerpc64/configure: Likewise.
14634 * sysdeps/s390/s390-32/configure: Likewise.
14635 * sysdeps/s390/s390-64/configure: Likewise.
14636 * sysdeps/sh/configure: Likewise.
14637 * sysdeps/sparc/configure: Likewise.
14638 * sysdeps/unix/sysv/linux/configure: Likewise.
14639 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14640 * sysdeps/x86_64/configure: Likewise.
14641 * sysdeps/x86_64/preconfigure: Likewise.
14643 2013-10-29 Andreas Schwab <schwab@suse.de>
14645 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14647 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14649 * benchtests/pow-inputs: Add new inputs.
14651 * benchtests/exp-inputs: Add new inputs.
14653 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14654 conditional check for return value.
14655 (__cos32): Likewise.
14657 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14659 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14660 to provide a boost for large inputs with word alignment.
14661 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14662 implementation based on optimized PPC64 strcpy.
14663 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14664 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14665 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14666 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14668 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14671 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14673 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14676 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14677 * time/tst-strptime.c (day_tests): Add testcase.
14679 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14682 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14684 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14687 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14688 MAP_FAILED on error.
14690 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14693 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14694 heap for large requests.
14696 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14699 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14700 result if the result has no associated interface.
14701 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14702 interface for all 127.X.Y.Z addresses.
14704 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14706 * locale/iso-639.def: Add Ligurian (lij)
14708 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14711 * sunrpc/rpc_main.c: Document rpcgen -5.
14713 2013-10-19 Michael Stahl <mstahl@redhat.com>
14715 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14717 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14720 * posix/glob.c: Match only directories when trailing slash is present.
14721 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14722 (main): Add testcase.
14724 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14727 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14729 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14731 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14732 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14733 AUTH_DES and cindex for FIPS 140-2.
14734 (DES Encryption): Add cindex FIPS 46-3.
14736 * locale/locarchive.h (struct locarhandle): Add fname.
14737 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14738 if an optional argument was specified to --list-archive,
14740 * locale/programs/locarchive.c (show_archive_content): Take new
14741 argument fname and pass it via ah.fname to open_archive.
14742 * locale/programs/localedef.h: Update decl.
14743 (open_archive): If AH->fname is non-null, open that file
14744 rather than the default file name, and don't ignore ENOENT.
14745 (create_archive): Set AH.fname to NULL.
14746 (delete_locales_from_archive): Likewise.
14747 (add_locales_to_archive): Likewise.
14748 * locale/programs/locfile.c (write_all_categories): Likewise.
14750 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14751 Aldy Hernandez <aldyh@redhat.com>
14753 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14754 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14755 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14756 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14757 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14758 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14759 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14760 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14761 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14762 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14763 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14764 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14765 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14766 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14767 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14769 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14771 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14773 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14775 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14776 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14778 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14779 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14780 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14781 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14783 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14784 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14785 * sysdeps/powerpc/preconfigure: Likewise.
14786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14788 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14789 Replace contents of file by #include of <fenv_libc.h>.
14790 * sysdeps/powerpc/soft-fp/sfp-machine.h
14791 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14793 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14794 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14795 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14796 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14797 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14798 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14800 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14801 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14802 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14803 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14804 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14806 Allow copysignl PLT reference to be missing.
14808 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14809 Joseph Myers <joseph@codesourcery.com
14812 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14814 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14816 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14818 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14819 * elf/tst-tls1.c: Likewise.
14820 * elf/tst-tls10.h: Likewise.
14821 * elf/tst-tls14.c: Likewise.
14822 * elf/tst-tls2.c: Likewise.
14823 * elf/tst-tls3.c: Likewise.
14824 * elf/tst-tls4.c: Likewise.
14825 * elf/tst-tls5.c: Likewise.
14826 * elf/tst-tls6.c: Likewise.
14827 * elf/tst-tls7.c: Likewise.
14828 * elf/tst-tls8.c: Likewise.
14829 * elf/tst-tls9.c: Likewise.
14830 * elf/tst-tlsmod1.c: Likewise.
14831 * elf/tst-tlsmod13.c: Likewise.
14832 * elf/tst-tlsmod13a.c: Likewise.
14833 * elf/tst-tlsmod14a.c: Likewise.
14834 * elf/tst-tlsmod16a.c: Likewise.
14835 * elf/tst-tlsmod16b.c: Likewise.
14836 * elf/tst-tlsmod2.c: Likewise.
14837 * elf/tst-tlsmod3.c: Likewise.
14838 * elf/tst-tlsmod4.c: Likewise.
14839 * elf/tst-tlsmod5.c: Likewise.
14840 * elf/tst-tlsmod6.c: Likewise.
14842 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14845 * malloc/malloc.c: remove checks for statistics.
14847 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14850 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14851 * inet/tst-network.c: Add testcase.
14853 2013-10-17 Andreas Schwab <schwab@suse.de>
14856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14857 to determine canonical name.
14859 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14861 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14862 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14867 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14868 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14870 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14871 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14873 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14876 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14885 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14886 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14887 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14888 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14889 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14890 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14891 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14898 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14899 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14900 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14901 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14902 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14903 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14904 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14905 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14906 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14907 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14908 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14910 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14911 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14912 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14913 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14914 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14916 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14917 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14918 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14920 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14923 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14924 make result into a quiet NaN.
14926 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14928 * soft-fp/adddf3.c: Fix horizontal whitespace.
14929 * soft-fp/addsf3.c: Likewise.
14930 * soft-fp/addtf3.c: Likewise.
14931 * soft-fp/divdf3.c: Likewise.
14932 * soft-fp/divsf3.c: Likewise.
14933 * soft-fp/divtf3.c: Likewise.
14934 * soft-fp/double.h: Likewise.
14935 * soft-fp/eqdf2.c: Likewise.
14936 * soft-fp/eqsf2.c: Likewise.
14937 * soft-fp/eqtf2.c: Likewise.
14938 * soft-fp/extenddftf2.c: Likewise.
14939 * soft-fp/extended.h: Likewise.
14940 * soft-fp/extendsfdf2.c: Likewise.
14941 * soft-fp/extendsftf2.c: Likewise.
14942 * soft-fp/extendxftf2.c: Likewise.
14943 * soft-fp/fixdfdi.c: Likewise.
14944 * soft-fp/fixdfsi.c: Likewise.
14945 * soft-fp/fixdfti.c: Likewise.
14946 * soft-fp/fixsfdi.c: Likewise.
14947 * soft-fp/fixsfsi.c: Likewise.
14948 * soft-fp/fixsfti.c: Likewise.
14949 * soft-fp/fixtfdi.c: Likewise.
14950 * soft-fp/fixtfsi.c: Likewise.
14951 * soft-fp/fixtfti.c: Likewise.
14952 * soft-fp/fixunsdfdi.c: Likewise.
14953 * soft-fp/fixunsdfsi.c: Likewise.
14954 * soft-fp/fixunsdfti.c: Likewise.
14955 * soft-fp/fixunssfdi.c: Likewise.
14956 * soft-fp/fixunssfsi.c: Likewise.
14957 * soft-fp/fixunssfti.c: Likewise.
14958 * soft-fp/fixunstfdi.c: Likewise.
14959 * soft-fp/fixunstfsi.c: Likewise.
14960 * soft-fp/fixunstfti.c: Likewise.
14961 * soft-fp/floatdidf.c: Likewise.
14962 * soft-fp/floatdisf.c: Likewise.
14963 * soft-fp/floatditf.c: Likewise.
14964 * soft-fp/floatsidf.c: Likewise.
14965 * soft-fp/floatsisf.c: Likewise.
14966 * soft-fp/floatsitf.c: Likewise.
14967 * soft-fp/floattidf.c: Likewise.
14968 * soft-fp/floattisf.c: Likewise.
14969 * soft-fp/floattitf.c: Likewise.
14970 * soft-fp/floatundidf.c: Likewise.
14971 * soft-fp/floatundisf.c: Likewise.
14972 * soft-fp/floatunditf.c: Likewise.
14973 * soft-fp/floatunsidf.c: Likewise.
14974 * soft-fp/floatunsisf.c: Likewise.
14975 * soft-fp/floatunsitf.c: Likewise.
14976 * soft-fp/floatuntidf.c: Likewise.
14977 * soft-fp/floatuntisf.c: Likewise.
14978 * soft-fp/floatuntitf.c: Likewise.
14979 * soft-fp/fmadf4.c: Likewise.
14980 * soft-fp/fmasf4.c: Likewise.
14981 * soft-fp/fmatf4.c: Likewise.
14982 * soft-fp/gedf2.c: Likewise.
14983 * soft-fp/gesf2.c: Likewise.
14984 * soft-fp/getf2.c: Likewise.
14985 * soft-fp/ledf2.c: Likewise.
14986 * soft-fp/lesf2.c: Likewise.
14987 * soft-fp/letf2.c: Likewise.
14988 * soft-fp/muldf3.c: Likewise.
14989 * soft-fp/mulsf3.c: Likewise.
14990 * soft-fp/multf3.c: Likewise.
14991 * soft-fp/negdf2.c: Likewise.
14992 * soft-fp/negsf2.c: Likewise.
14993 * soft-fp/negtf2.c: Likewise.
14994 * soft-fp/op-1.h: Likewise.
14995 * soft-fp/op-2.h: Likewise.
14996 * soft-fp/op-4.h: Likewise.
14997 * soft-fp/op-8.h: Likewise.
14998 * soft-fp/op-common.h: Likewise.
14999 * soft-fp/quad.h: Likewise.
15000 * soft-fp/single.h: Likewise.
15001 * soft-fp/soft-fp.h: Likewise.
15002 * soft-fp/sqrtdf2.c: Likewise.
15003 * soft-fp/sqrtsf2.c: Likewise.
15004 * soft-fp/sqrttf2.c: Likewise.
15005 * soft-fp/subdf3.c: Likewise.
15006 * soft-fp/subsf3.c: Likewise.
15007 * soft-fp/subtf3.c: Likewise.
15008 * soft-fp/truncdfsf2.c: Likewise.
15009 * soft-fp/trunctfdf2.c: Likewise.
15010 * soft-fp/trunctfsf2.c: Likewise.
15011 * soft-fp/trunctfxf2.c: Likewise.
15012 * soft-fp/unorddf2.c: Likewise.
15013 * soft-fp/unordsf2.c: Likewise.
15014 * soft-fp/unordtf2.c: Likewise.
15016 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15018 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15019 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15021 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15023 * elf/dl-libc.c: Clear initfini list after freeing.
15025 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15027 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15028 * soft-fp/addsf3.c: Likewise.
15029 * soft-fp/addtf3.c: Likewise.
15030 * soft-fp/divdf3.c: Likewise.
15031 * soft-fp/divsf3.c: Likewise.
15032 * soft-fp/divtf3.c: Likewise.
15033 * soft-fp/double.h: Likewise.
15034 * soft-fp/eqdf2.c: Likewise.
15035 * soft-fp/eqsf2.c: Likewise.
15036 * soft-fp/eqtf2.c: Likewise.
15037 * soft-fp/extenddftf2.c: Likewise.
15038 * soft-fp/extended.h: Likewise.
15039 * soft-fp/extendsfdf2.c: Likewise.
15040 * soft-fp/extendsftf2.c: Likewise.
15041 * soft-fp/extendxftf2.c: Likewise.
15042 * soft-fp/fixdfdi.c: Likewise.
15043 * soft-fp/fixdfsi.c: Likewise.
15044 * soft-fp/fixdfti.c: Likewise.
15045 * soft-fp/fixsfdi.c: Likewise.
15046 * soft-fp/fixsfsi.c: Likewise.
15047 * soft-fp/fixsfti.c: Likewise.
15048 * soft-fp/fixtfdi.c: Likewise.
15049 * soft-fp/fixtfsi.c: Likewise.
15050 * soft-fp/fixtfti.c: Likewise.
15051 * soft-fp/fixunsdfdi.c: Likewise.
15052 * soft-fp/fixunsdfsi.c: Likewise.
15053 * soft-fp/fixunsdfti.c: Likewise.
15054 * soft-fp/fixunssfdi.c: Likewise.
15055 * soft-fp/fixunssfsi.c: Likewise.
15056 * soft-fp/fixunssfti.c: Likewise.
15057 * soft-fp/fixunstfdi.c: Likewise.
15058 * soft-fp/fixunstfsi.c: Likewise.
15059 * soft-fp/fixunstfti.c: Likewise.
15060 * soft-fp/floatdidf.c: Likewise.
15061 * soft-fp/floatdisf.c: Likewise.
15062 * soft-fp/floatditf.c: Likewise.
15063 * soft-fp/floatsidf.c: Likewise.
15064 * soft-fp/floatsisf.c: Likewise.
15065 * soft-fp/floatsitf.c: Likewise.
15066 * soft-fp/floattidf.c: Likewise.
15067 * soft-fp/floattisf.c: Likewise.
15068 * soft-fp/floattitf.c: Likewise.
15069 * soft-fp/floatundidf.c: Likewise.
15070 * soft-fp/floatundisf.c: Likewise.
15071 * soft-fp/floatunsidf.c: Likewise.
15072 * soft-fp/floatunsisf.c: Likewise.
15073 * soft-fp/floatuntidf.c: Likewise.
15074 * soft-fp/floatuntisf.c: Likewise.
15075 * soft-fp/floatuntitf.c: Likewise.
15076 * soft-fp/fmadf4.c: Likewise.
15077 * soft-fp/fmasf4.c: Likewise.
15078 * soft-fp/fmatf4.c: Likewise.
15079 * soft-fp/gedf2.c: Likewise.
15080 * soft-fp/gesf2.c: Likewise.
15081 * soft-fp/getf2.c: Likewise.
15082 * soft-fp/ledf2.c: Likewise.
15083 * soft-fp/lesf2.c: Likewise.
15084 * soft-fp/letf2.c: Likewise.
15085 * soft-fp/muldf3.c: Likewise.
15086 * soft-fp/mulsf3.c: Likewise.
15087 * soft-fp/multf3.c: Likewise.
15088 * soft-fp/negdf2.c: Likewise.
15089 * soft-fp/negsf2.c: Likewise.
15090 * soft-fp/negtf2.c: Likewise.
15091 * soft-fp/op-1.h: Likewise.
15092 * soft-fp/op-2.h: Likewise.
15093 * soft-fp/op-4.h: Likewise.
15094 * soft-fp/op-8.h: Likewise.
15095 * soft-fp/op-common.h: Likewise.
15096 * soft-fp/quad.h: Likewise.
15097 * soft-fp/single.h: Likewise.
15098 * soft-fp/soft-fp.h: Likewise.
15099 * soft-fp/sqrtdf2.c: Likewise.
15100 * soft-fp/sqrtsf2.c: Likewise.
15101 * soft-fp/sqrttf2.c: Likewise.
15102 * soft-fp/subdf3.c: Likewise.
15103 * soft-fp/subsf3.c: Likewise.
15104 * soft-fp/subtf3.c: Likewise.
15105 * soft-fp/truncdfsf2.c: Likewise.
15106 * soft-fp/trunctfdf2.c: Likewise.
15107 * soft-fp/trunctfsf2.c: Likewise.
15108 * soft-fp/trunctfxf2.c: Likewise.
15109 * soft-fp/unorddf2.c: Likewise.
15110 * soft-fp/unordsf2.c: Likewise.
15111 * soft-fp/unordtf2.c: Likewise.
15113 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15116 * misc/error.c (error_tail): Fix possible buffer overflow.
15118 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15121 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15124 2013-10-14 P. J. McDermott <pj@pehjota.net>
15127 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15128 testing pipefail option.
15130 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15132 * soft-fp/double.h: Indent preprocessor directives inside #if.
15133 * soft-fp/extended.h: Likewise.
15134 * soft-fp/op-2.h: Likewise.
15135 * soft-fp/op-4.h: Likewise.
15136 * soft-fp/op-common.h: Likewise.
15137 * soft-fp/quad.h: Likewise.
15138 * soft-fp/single.h: Likewise.
15139 * soft-fp/soft-fp.h: Likewise.
15141 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15143 * iconv/iconv_prog.c: Fix typos.
15144 * stdio-common/psiginfo-data.h: Likewise.
15146 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15149 * locale/setlocale.c: Fix typo.
15151 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15154 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15155 signaling NaN arguments.
15156 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15157 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15160 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15161 unordered operands.
15162 * soft-fp/gesf2.c (__gesf2): Likewise.
15163 * soft-fp/getf2.c (__getf2): Likewise.
15164 * soft-fp/ledf2.c (__ledf2): Likewise.
15165 * soft-fp/lesf2.c (__lesf2): Likewise.
15166 * soft-fp/letf2.c (__letf2): Likewise.
15168 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15169 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15170 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15171 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15172 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15173 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15174 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15175 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15176 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15177 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15178 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15179 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15180 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15181 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15182 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15183 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15184 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15185 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15186 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15187 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15188 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15189 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15190 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15191 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15192 * soft-fp/floattidf.c (__floattidf): Likewise.
15193 * soft-fp/floattisf.c (__floattisf): Likewise.
15194 * soft-fp/floattitf.c (__floattitf): Likewise.
15195 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15196 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15197 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15198 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15199 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15200 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15201 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15202 * soft-fp/gesf2.c (__gesf2): Likewise.
15203 * soft-fp/getf2.c (__getf2): Likewise.
15204 * soft-fp/ledf2.c (__ledf2): Likewise.
15205 * soft-fp/lesf2.c (__lesf2): Likewise.
15206 * soft-fp/letf2.c (__letf2): Likewise.
15208 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15209 Undefine and redefine.
15210 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15211 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15212 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15213 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15214 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15215 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15216 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15217 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15218 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15219 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15220 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15221 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15222 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15223 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15224 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15227 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15228 without decrementing exponent if mantissa >= that for the
15229 denominator, not >.
15230 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15231 denominator, not >. Decrement exponent in < case instead of
15232 incrementing in >= case.
15233 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15234 without decrementing exponent if mantissa >= that for the
15235 denominator, not >.
15237 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15238 computing saturated result for unsigned overflow.
15240 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15241 Jeff Law <law@redhat.com>
15243 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15244 (atan2Mp): Add systemtap probe marker.
15245 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15246 (__ieee754_log): Add systemtap probe marker.
15247 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15248 (atanMp): Add systemtap probe marker.
15249 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15250 (tanMp): Add systemtap probe marker.
15251 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15252 (__slowexp): Add systemtap probe marker.
15253 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15254 (__slowpow): Add systemtap probe marker.
15255 * manual/probes.texi: Document probes.
15257 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15260 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15262 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15264 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15265 written to buffer but not flushed.
15266 * libio/iofwrite_u.c: Likewise.
15267 * libio/iopadn.c: Return bytes returned even if EOF was
15269 * libio/iowpadn.c: Likewise.
15270 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15271 if _IO_padn does not write the whole buffer.
15272 [!COMPILE_WPRINTF] (PAD): Likewise.
15274 2013-10-10 David S. Miller <davem@davemloft.net>
15276 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15279 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15281 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15282 instead of FSF address.
15283 * soft-fp/fixdfti.c: Likewise.
15284 * soft-fp/fixsfti.c: Likewise.
15285 * soft-fp/fixtfti.c: Likewise.
15286 * soft-fp/fixunsdfti.c: Likewise.
15287 * soft-fp/fixunssfti.c: Likewise.
15288 * soft-fp/fixunstfti.c: Likewise.
15289 * soft-fp/floattidf.c: Likewise.
15290 * soft-fp/floattisf.c: Likewise.
15291 * soft-fp/floattitf.c: Likewise.
15292 * soft-fp/floatuntidf.c: Likewise.
15293 * soft-fp/floatuntisf.c: Likewise.
15294 * soft-fp/floatuntitf.c: Likewise.
15295 * soft-fp/trunctfxf2.c: Likewise.
15297 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15298 * soft-fp/fixdfti.c: Likewise.
15299 * soft-fp/fixsfti.c: Likewise.
15300 * soft-fp/fixtfti.c: Likewise.
15301 * soft-fp/fixunsdfti.c: Likewise.
15302 * soft-fp/fixunssfti.c: Likewise.
15303 * soft-fp/fixunstfti.c: Likewise.
15304 * soft-fp/floattidf.c: Likewise.
15305 * soft-fp/floattisf.c: Likewise.
15306 * soft-fp/floattitf.c: Likewise.
15307 * soft-fp/floatuntidf.c: Likewise.
15308 * soft-fp/floatuntisf.c: Likewise.
15309 * soft-fp/floatuntitf.c: Likewise.
15310 * soft-fp/trunctfxf2.c: Likewise.
15312 2013-10-10 David S. Miller <davem@davemloft.net>
15314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15316 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15318 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15319 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15320 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15321 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15322 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15323 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15324 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15326 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15327 for NaNs before doing comparisons on argument.
15328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15331 2013-10-10 Will Newton <will.newton@linaro.org>
15333 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15334 passed to _int_memalign does not overflow.
15336 2013-10-10 Torvald Riegel <triegel@redhat.com>
15338 * scripts/bench.pl: Add include-sources directive.
15339 * benchtests/README: Update documentation.
15341 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15343 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15344 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15345 instead of FP_INIT_ROUNDMODE.
15346 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15347 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15350 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15351 copy class of input value.
15352 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15353 not handle exceptions.
15354 * soft-fp/negsf2.c (__negsf2): Likewise.
15355 * soft-fp/negtf2.c (__negtf2): Likewise.
15356 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15358 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15360 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15361 semicolon. From Linux kernel.
15363 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15365 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15367 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15370 * manual/socket.texi: Added statement about buffer
15371 for gethostbyname2_r.
15373 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15375 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15376 Use .p2align directive instead, throughout.
15377 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15378 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15379 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15380 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15381 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15382 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15383 * sysdeps/x86_64/strchr.S: Likewise.
15384 * sysdeps/x86_64/strrchr.S: Likewise.
15386 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15388 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15390 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15392 * sysdeps/generic/math_private.h (__mpsin1): Remove
15394 (__mpcos1): Likewise.
15395 (__mpsin): New argument __range_reduce.
15396 (__mpcos): Likewise.
15397 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15398 (slow): Use __mpsin and __mpcos.
15402 (sloww1): Likewise.
15403 (sloww2): Likewise.
15404 (bsloww): Likewise.
15405 (bsloww1): Likewise.
15406 (bsloww2): Likewise.
15407 (cslow2): Likewise.
15408 (csloww): Likewise.
15409 (csloww1): Likewise.
15410 (csloww2): Likewise.
15411 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15412 range_reduce. Merge in __mpsin1.
15413 (__mpcos): Likewise.
15414 (__mpsin1): Remove.
15415 (__mpcos1): Likewise.
15417 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15419 * locale/loadlocale.c (_nl_intern_locale_data): Use
15421 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15422 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15423 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15424 obstack data is appropriately aligned.
15425 (obstack_int32_grow_fast): Likewise.
15426 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15427 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15428 (add_locale_uint32_array): Likewise.
15430 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15432 * benchtests/Makefile: Remove ARGLIST and RET variables.
15433 ($(objpfx)bench-%.c): Pass only function name to the script.
15434 * benchtests/README: Update documentation.
15435 * benchtests/acos-inputs: Add new directives.
15436 * benchtests/acosh-inputs: Likewise.
15437 * benchtests/asin-inputs: Likewise.
15438 * benchtests/asinh-inputs: Likewise.
15439 * benchtests/atan-inputs: Likewise.
15440 * benchtests/atanh-inputs: Likewise.
15441 * benchtests/cos-inputs: Likewise.
15442 * benchtests/cosh-inputs: Likewise.
15443 * benchtests/exp-inputs: Likewise.
15444 * benchtests/log-inputs: Likewise.
15445 * benchtests/pow-inputs: Likewise.
15446 * benchtests/rint-inputs: Likewise.
15447 * benchtests/sin-inputs: Likewise.
15448 * benchtests/sinh-inputs: Likewise.
15449 * benchtests/tan-inputs: Likewise.
15450 * benchtests/tanh-inputs: Likewise.
15451 * scripts/bench.pl: Add support for new directives.
15453 2013-10-07 Alan Modra <amodra@gmail.com>
15455 * README: Fix careless merge.
15457 2013-10-05 Alan Modra <amodra@gmail.com>
15459 * NEWS: Mention powerpc64le support and bugs fixed.
15460 * README: Both big-endian and little-endian powerpc64 supported.
15462 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15464 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15465 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15466 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15467 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15469 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15471 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15474 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15476 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15477 Move -mhard-float appending from
15478 ports/sysdeps/powerpc/powerpc32/Makefile.
15479 [$(with-fp) = yes] (ASFLAGS): Likewise.
15480 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15481 * sysdeps/powerpc/nofpu: Move directory from
15482 ports/sysdeps/powerpc/nofpu.
15483 * sysdeps/powerpc/soft-fp: Move directory from
15484 ports/sysdeps/powerpc/soft-fp.
15485 * sysdeps/powerpc/powerpc32/405: Move directory from
15486 ports/sysdeps/powerpc/powerpc32/405.
15487 * sysdeps/powerpc/powerpc32/440: Move directory from
15488 ports/sysdeps/powerpc/powerpc32/440.
15489 * sysdeps/powerpc/powerpc32/464: Move directory from
15490 ports/sysdeps/powerpc/powerpc32/464.
15491 * sysdeps/powerpc/powerpc32/476: Move directory from
15492 ports/sysdeps/powerpc/powerpc32/476.
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15494 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15496 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15498 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15500 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15502 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15503 * README: Update for powerpc-*-linux-gnu software floating point
15506 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15507 case to powerpc/powerpc32*.
15508 * sysdeps/unix/sysv/linux/configure: Regenerated.
15510 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15511 (_FPU_MASK_OM): Define as 0x04.
15512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15520 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15523 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15526 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15527 and setcontext_e500.
15529 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15531 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15533 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15535 * manual/threads.texi (Default Thread Attributes): Fix typo.
15537 2013-10-04 Will Newton <will.newton@linaro.org>
15539 * malloc/Makefile: Add tst-memalign.
15540 * malloc/tst-memalign.c: New file.
15542 * malloc/tst-posix_memalign.c: Add comments.
15543 (do_test): Add comments and call free on all potentially
15544 allocated pointers. Add space after cast.
15546 * malloc/tst-pvalloc.c: Add comments.
15547 (do_test): Add comments and call free on all potentially
15548 allocated pointers. Remove duplicate check for NULL pointer.
15549 Add space after cast.
15551 * malloc/tst-valloc.c: Add comments.
15552 (do_test): Add comments and call free on all potentially
15553 allocated pointers. Remove duplicate check for NULL pointer.
15554 Add space after cast.
15556 2013-10-04 Alan Modra <amodra@gmail.com>
15558 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15559 Use stdint types in rather than __attribute__((mode())).
15560 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15562 2013-10-04 Alan Modra <amodra@gmail.com>
15564 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15565 Correct handling of unaligned relocs for little-endian.
15566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15568 2013-10-04 Alan Modra <amodra@gmail.com>
15570 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15571 * configure: Regenerate.
15572 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15573 * shlib-versions: Likewise.
15575 2013-10-04 Alan Modra <amodra@gmail.com>
15577 * string/tester.c (test_memrchr): Increment reported test cycle.
15579 2013-10-04 Alan Modra <amodra@gmail.com>
15581 * string/test-memcpy.c (do_one_test): When reporting errors, print
15582 string address and don't overrun end of string.
15584 2013-10-04 Alan Modra <amodra@gmail.com>
15586 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15587 insrdi. Make better use of reg selection to speed exit slightly.
15588 Schedule entry path a little better. Remove useless "are we done"
15589 checks on entry to main loop. Handle wrapping around zero address.
15590 Correct main loop count. Handle single left-over word from main
15591 loop inline rather than by using loop_small. Remove extra word
15592 case in loop_small caused by wrong loop count. Add little-endian
15594 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15595 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15597 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15598 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15599 support. Avoid rlwimi.
15600 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15602 2013-10-04 Alan Modra <amodra@gmail.com>
15604 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15605 insrdi. Formatting.
15606 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15607 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15608 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15609 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15610 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15611 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15613 2013-10-04 Alan Modra <amodra@gmail.com>
15615 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15616 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15617 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15618 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15619 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15620 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15621 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15622 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15623 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15624 use of regs. Use power7 mtocrf. Tidy function tails.
15626 2013-10-04 Alan Modra <amodra@gmail.com>
15628 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15629 Formatting. Consistently use rXXX register defines or rN defines.
15630 Use early exit labels that avoid restoring unused non-volatile regs.
15631 Make cr field use more consistent with rWORDn compares. Rename
15632 regs used as shift registers for unaligned loop, using rN defines
15633 for short lifetime/multiple use regs.
15634 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15635 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15636 addi 1,1,64 to pop stack frame. Simplify return value code.
15637 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15639 2013-10-04 Alan Modra <amodra@gmail.com>
15641 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15642 support. Correct typos, formatting. Optimize tail. Use insrdi
15643 rather than rlwimi.
15644 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15645 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15646 little-endian support. Correct typos.
15647 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15648 rather than rlwimi.
15649 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15650 in loop and entry code to keep "and." results.
15651 (strchr): Add little-endian support. Comment. Move cntlzd
15653 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15655 2013-10-04 Alan Modra <amodra@gmail.com>
15657 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15658 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15659 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15660 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15662 2013-10-04 Alan Modra <amodra@gmail.com>
15664 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15665 (rTMP): Define as r11.
15666 (strcmp): Add little-endian support. Optimise tail.
15667 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15668 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15669 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15670 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15671 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15673 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15675 2013-10-04 Alan Modra <amodra@gmail.com>
15677 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15678 little-endian support. Remove unnecessary "are we done" tests.
15679 Handle "s" wrapping around zero and extremely large "size".
15680 Correct main loop count. Handle single left-over word from main
15681 loop inline rather than by using small_loop. Correct comments.
15682 Delete "zero" tail, use "end_max" instead.
15683 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15685 2013-10-04 Alan Modra <amodra@gmail.com>
15687 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15688 support. Don't branch over align.
15689 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15690 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15691 support. Rearrange tmp reg use to suit. Comment.
15692 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15694 2013-10-04 Alan Modra <amodra@gmail.com>
15696 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15698 2013-10-04 Alan Modra <amodra@gmail.com>
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15701 conditional form of branch and link when obtaining pc.
15702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15704 2013-10-04 Alan Modra <amodra@gmail.com>
15706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15711 2013-10-04 Alan Modra <amodra@gmail.com>
15713 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15714 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15715 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15716 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15717 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15718 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15719 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15720 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15721 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15722 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15724 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15725 Alistair Popple <alistair@ozlabs.au.ibm.com>
15726 Alan Modra <amodra@gmail.com>
15729 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15730 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15731 _dl_hwcap access for little-endian.
15732 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15733 destroy vmx regs when saving unaligned.
15734 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15735 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15736 destroy vmx regs when saving unaligned.
15738 2013-10-04 Alan Modra <amodra@gmail.com>
15740 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15741 Don't use a union to pack hi/low value.
15743 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15745 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15747 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15749 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15750 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15751 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15753 2013-10-04 Alan Modra <amodra@gmail.com>
15755 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15756 constants to usual value for .cst8 section, and remove redundant
15758 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15759 constant for 0x1p52. Load little-endian words of double from
15760 correct stack offsets.
15762 2013-10-04 Alan Modra <amodra@gmail.com>
15764 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15765 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15766 words of double from correct stack offsets.
15767 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15768 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15769 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15770 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15771 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15772 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15773 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15774 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15775 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15776 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15777 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15778 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15779 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15780 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15781 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15782 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15783 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15785 2013-10-04 Alan Modra <amodra@gmail.com>
15787 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15788 64-bit int/double union.
15789 (_FPU_SETCW): Likewise.
15790 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15791 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15793 2013-10-04 Alan Modra <amodra@gmail.com>
15795 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15796 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15798 2013-10-04 Alan Modra <amodra@gmail.com>
15800 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15801 use vector int constants.
15802 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15804 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15806 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15807 array with long long.
15808 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15809 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15810 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15811 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15812 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15813 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15814 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15815 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15816 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15817 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15818 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15819 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15820 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15822 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15824 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15825 (__signbit): Likewise. Correct for little-endian.
15826 (__signbitl): Call __signbit.
15827 (lrint): Correct for little-endian.
15828 (lrintf): Call lrint.
15830 2013-10-04 Alan Modra <amodra@gmail.com>
15832 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15833 union 32-bit int array member with 64-bit int array.
15834 (t515, tm256): Double rather than long double.
15835 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15837 2013-10-04 Alan Modra <amodra@gmail.com>
15839 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15841 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15843 version of math_ldbl.h.
15845 2013-10-04 Alan Modra <amodra@gmail.com>
15847 [BZ #15734], [BZ #15735]
15848 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15849 all uses of ieee875 long double macros and unions. Simplify test
15850 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15851 ldbl_extract_mantissa value for ix,iy exponents. Properly
15852 normalize after ldbl_extract_mantissa, and don't add hidden bit
15853 already handled. Don't treat low word of ieee854 mantissa like
15854 low word of IBM long double and mask off bit when testing for
15856 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15857 all uses of ieee875 long double macros and unions. Simplify tests
15858 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15859 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15860 two1022, instead use their values. Recognise that tests for large
15861 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15862 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15863 Rewrite all uses of ieee875 long double macros and unions. Simplify
15864 test for 0.0L and nan. Correct negation.
15865 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15866 ieee875 long double macros and unions. Correct output for large
15867 magnitude x. Correct absolute value calculation.
15868 (__erfcl): Likewise.
15869 * math/libm-test.inc: Add tests for errors discovered in IBM long
15870 double versions of fmodl, remainderl, erfl and erfcl.
15872 2013-10-04 Alan Modra <amodra@gmail.com>
15874 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15875 all uses of ieee854 long double macros and unions. Simplify tests
15876 for long doubles that are fully specified by the high double.
15877 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15879 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15880 Remove dead code too.
15881 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15882 (__ieee754_ynl): Likewise.
15883 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15884 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15886 Remove dead code too.
15887 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15888 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15889 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15890 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15892 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15894 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15895 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15896 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15897 Comment on variable precision.
15898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15899 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15901 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15902 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15903 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15905 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15907 2013-10-04 Alan Modra <amodra@gmail.com>
15909 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15910 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15911 all uses of ieee854 long double macros and unions.
15912 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15913 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15914 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15915 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15916 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15917 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15919 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15920 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15921 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15922 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15923 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15924 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15925 Simplify sign and nan test too.
15926 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15927 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15928 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15929 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15931 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15932 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15935 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15936 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15937 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15938 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15939 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15941 2013-10-04 Alan Modra <amodra@gmail.com>
15943 * stdio-common/printf_size.c (__printf_size): Don't use
15944 union ieee854_long_double in fpnum union.
15945 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15946 signbit macro to retrieve sign from long double.
15947 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15948 retrieve sign from long double.
15949 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15950 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15951 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15952 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15953 * math/test-misc.c (main): Don't use union ieee854_long_double.
15955 2013-10-04 Alan Modra <amodra@gmail.com>
15958 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15959 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15960 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15961 calculation. Remove unnecessary test for denormal exponent.
15962 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15963 Correct handling of denormals. Avoid undefined shift behaviour.
15964 Correct normalisation of low mantissa when low double is denormal.
15965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15966 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15967 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15968 Correct normalisation of low mantissa. Test for overflow of high
15969 mantissa and normalise.
15970 (ldbl_nearbyint): Use more readable constant for two52.
15971 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15972 (__mpn_construct_long_double): Fix test for overflow of high
15973 mantissa and correct normalisation. Avoid undefined shift.
15975 2013-10-04 Alan Modra <amodra@gmail.com>
15977 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15978 (union ibm_extended_long_double): Define as an array of ieee754_double.
15979 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15980 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15981 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15982 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15986 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15991 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15993 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15994 page size instead of calling getpagesize.
15996 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15997 (LOCFILE_ALIGN_MASK): Likewise.
15998 (LOCFILE_ALIGN_UP): Likewise.
15999 (LOCFILE_ALIGNED_P): Likewise.
16000 * locale/programs/ld-collate.c (collate_output): Use the new
16001 macros instead of __alignof__ (int32_t).
16002 * locale/weight.h (findidx): Likewise.
16004 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16007 * manual/string.texi: Fix strncat and wcsncat.
16009 2013-10-03 Brooks Moses <bmoses@google.com>
16012 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16013 * Makerules: ...here, and adjust associated comments.
16015 2013-10-02 Will Newton <will.newton@linaro.org>
16017 * malloc/Makefile: Add tst-pvalloc.
16018 * malloc/tst-pvalloc.c: New file.
16020 2013-10-02 Will Newton <will.newton@linaro.org>
16022 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16023 improve test coverage.
16025 2013-10-02 Will Newton <will.newton@linaro.org>
16027 * malloc/Makefile: Add tst-posix_memalign.
16028 * malloc/tst-posix_memalign.c: New file.
16030 2013-10-01 Eric Blake <eblake@redhat.com>
16032 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16033 Use __THROWNL rather than __THROW on static functions.
16035 2013-09-30 Petr Machata <pmachata@redhat.com>
16037 * elf/elf.h (R_AARCH64_ABS16): New macro.
16038 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16039 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16040 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16041 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16042 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16043 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16044 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16045 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16046 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16047 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16048 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16049 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16050 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16051 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16052 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16053 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16054 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16055 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16056 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16057 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16058 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16059 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16060 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16061 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16062 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16063 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16064 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16065 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16066 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16067 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16068 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16069 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16070 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16071 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16072 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16073 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16074 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16075 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16076 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16077 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16078 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16079 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16080 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16081 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16082 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16083 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16084 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16085 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16086 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16087 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16088 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16089 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16090 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16091 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16092 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16093 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16094 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16095 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16096 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16097 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16098 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16099 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16100 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16101 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16102 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16103 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16104 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16105 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16106 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16107 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16108 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16109 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16110 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16111 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16112 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16113 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16114 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16115 (R_AARCH64_TLSDESC_LDR): Likewise.
16116 (R_AARCH64_TLSDESC_ADD): Likewise.
16117 (R_AARCH64_TLSDESC_CALL): Likewise.
16119 2013-09-30 Andreas Schwab <schwab@suse.de>
16122 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16123 the nss database lookup.
16124 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16127 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16129 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16131 2013-09-28 P. J. McDermott <pj@pehjota.net>
16133 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16134 ${Bash-specific parameter/pattern/string} parameter expansion.
16135 * sysdeps/unix/make-syscalls.sh: Likewise.
16137 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16139 * sysdeps/sh/stackguard-macros.h: New file.
16141 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16144 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16145 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16146 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16147 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16148 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16150 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16152 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16153 Fix thread ID register.
16155 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16157 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16158 [POSIX || UNIX98]: Require rather than permitting all symbols from
16160 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16161 element of struct sched_param.
16162 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16163 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16164 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16165 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16168 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16170 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16171 argument calculation.
16173 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16175 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16177 [POSIX] (pthread_attr_t): Do not require type.
16178 [POSIX] (pthread_cond_t): Likewise.
16179 [POSIX] (pthread_condattr_t): Likewise.
16180 [POSIX] (pthread_key_t): Likewise.
16181 [POSIX] (pthread_mutex_t): Likewise.
16182 [POSIX] (pthread_mutexattr_t): Likewise.
16183 [POSIX] (pthread_once_t): Likewise.
16184 [POSIX] (pthread_t): Likewise.
16185 [POSIX-based standards] (pthread_atfork): Expect function.
16187 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16188 Richard Sandiford <richard@codesourcery.com>
16190 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16191 (swap_endianness_p): New extern variable.
16192 (set_big_endian): New inline function.
16193 (maybe_swap_uint32): Likewise.
16194 (maybe_swap_uint32_array): Likewise.
16195 (maybe_swap_uint32_obstack): Likewise.
16196 * locale/programs/locfile.c: Include <stdbool.h>.
16197 (swap_endianness_p): New variable.
16198 (add_locale_uint32): Call maybe_swap_uint32.
16199 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16200 (write_locale_data): Call maybe_swap_uint32_array.
16201 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16203 (obstack_int32_grow_fast): Likewise.
16204 (output_weightwc): Call maybe_swap_uint32_obstack.
16205 (collate_output): Likewise.
16206 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16207 (OPT_LITTLE_ENDIAN): Likewise.
16208 (options): Add --little-endian and --big-endian options.
16209 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16210 * locale/programs/locarchive.c: Include "locfile.h".
16214 (create_archive): Use the new macros to access fields of
16215 structures directly mapped from or written to locale archives.
16216 (oldlocrecentcmp): Likewise.
16217 (enlarge_archive): Likewise.
16218 (insert_name): Likewise.
16219 (add_alias): Likewise.
16220 (add_locale): Likewise.
16221 (delete_locales_from_archive): Likewise.
16222 (show_archive_content): Likewise.
16223 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16226 2013-09-24 Roland McGrath <roland@hack.frob.com>
16228 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16229 http://www.gnu.org/doc/freemanuals.texi.
16230 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16232 2013-09-24 Will Newton <will.newton@linaro.org>
16234 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16237 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16239 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16242 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16244 * manual/threads.texi (POSIX Threads): Fix a typo.
16246 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16249 * string/tst-strcoll-overflow.c: New test case.
16250 * string/Makefile (xtests): Add tst-strcoll-overflow.
16251 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16252 cache if string sizes may cause integer overflow.
16255 * string/strcoll_l.c (coll_seq): New members rule, idx,
16256 save_idx and back_us.
16257 (get_next_seq_nocache): New function.
16258 (do_compare_nocache): New function.
16259 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16262 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16265 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16266 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16267 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16270 * elf/Makefile (tests): Add tst-ptrguard1.
16271 (tests-static): Add tst-ptrguard1-static.
16272 (tst-ptrguard1-ARGS): Define.
16273 (tst-ptrguard1-static-ARGS): Define.
16274 * elf/tst-ptrguard1.c: New file.
16275 * elf/tst-ptrguard1-static.c: New file.
16276 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16277 * sysdeps/i386/stackguard-macros.h: Likewise.
16278 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16279 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16280 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16281 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16282 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16283 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16285 2013-09-23 Hector Marco <hecmargi@upv.es>
16286 Ismael Ripoll <iripoll@disca.upv.es>
16287 Carlos O'Donell <carlos@redhat.com>
16290 * sysdeps/generic/stackguard-macros.h: Define
16291 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16292 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16293 Define __pointer_chk_guard_local.
16294 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16295 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16297 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16300 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16302 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16304 * include/string.h (__ffs): Declare as hidden.
16305 * string/ffs.c (__ffs): Define as hidden.
16306 * sysdeps/i386/ffs.c (__ffs): Likewise.
16307 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16308 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16309 * sysdeps/s390/ffs.c (__ffs): Likewise.
16310 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16312 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16314 * NEWS: Mention malloc probes.
16316 * malloc/arena.c (new_heap): New memory_heap_new probe.
16317 (grow_heap): New memory_heap_more probe.
16318 (shrink_heap): New memory_heap_less probe.
16319 (heap_trim): New memory_heap_free probe.
16320 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16321 (systrim): New memory_sbrk_less probe.
16322 * manual/probes.texi: Document them.
16324 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16325 * manual/probes.texi: Document it.
16327 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16328 (__libc_realloc): Add memory_realloc_retry probe.
16329 (__libc_memalign): Add memory_memalign_retry probe.
16330 (__libc_valloc): Add memory_valloc_retry probe.
16331 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16332 (__libc_calloc): Add memory_calloc_retry probe.
16333 * manual/probes.texi: Document them.
16335 * malloc/arena.c (get_free_list): Add probe
16336 memory_arena_reuse_free_list.
16337 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16338 and memory_arena_reuse.
16339 (arena_get2) [!PER_THREAD]: Likewise.
16340 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16341 memory_arena_reuse_realloc.
16342 * manual/probes.texi: Document them.
16344 * malloc/malloc.c (__libc_free): Add
16345 memory_mallopt_free_dyn_thresholds probe.
16346 (__libc_mallopt): Add multiple memory_mallopt probes.
16347 * manual/probes.texi: Document them.
16349 * malloc/malloc.c: Include stap-probe.h.
16350 (__libc_mallopt): Add memory_mallopt probe.
16351 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16352 * manual/probes.texi: New.
16353 * manual/Makefile (chapters): Add probes.
16354 * manual/threads.texi: Set next node.
16356 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16358 [BZ #15963, #13985]
16359 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16360 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16361 Add `Chinese' to `nan' entry name.
16363 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16365 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16366 (POLYNOMIAL): Likewise.
16367 (TAYLOR_SINCOS): Likewise.
16368 (TAYLOR_SLOW): Likewise.
16369 (__sin): Use TAYLOR_SINCOS.
16371 (slow): Use TAYLOR_SLOW.
16373 (bsloww): Likewise.
16374 (csloww): Likewise.
16376 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16378 * stdlib/strtod_l.c: Fix buffer overrun.
16380 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16382 * benchtests/Makefile (bench): Add sincos.
16383 * benchtests/bench-sincos.c: New file.
16385 * math/libm-test.inc (cos_test_data): New test inputs.
16386 (sin_test_data): Likewise.
16388 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16394 (sloww1): Likewise.
16395 (sloww2): Likewise.
16396 (bsloww1): Likewise.
16397 (bsloww2): Likewise.
16398 (cslow2): Likewise.
16399 (csloww1): Likewise.
16400 (csloww2): Likewise.
16402 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16407 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16411 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16413 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16414 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16415 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16416 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16417 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16418 * elf/cache.c (print_entry): Handle the new cache flags.
16420 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16421 Aldy Hernandez <aldyh@redhat.com>
16423 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16424 Change condition to [_SOFT_FLOAT].
16425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16437 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16440 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16443 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16445 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16446 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16447 (__longjmp): Use LOAD_GP to load saved GPRs.
16448 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16449 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16450 (__sigsetjmp): Use SAVE_GP to save GPRs.
16452 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16453 Do not append -msoft-float.
16454 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16456 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16458 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16460 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16463 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16464 (_FPU_GETCW): Use initial "__" on variable and field names but not
16465 on macro parameter name.
16466 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16467 parentheses around reference to macro parameter.
16469 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16471 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16473 (ctype_startup): Use uint32_t in cast and sizeof for
16476 2013-09-11 Jia Liu <proljc@gmail.com>
16478 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16480 [__FreeBSD__]: Likewise.
16482 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16484 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16485 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16486 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16487 (strchr): Remove __strchr_sse42 ifunc selection.
16488 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16489 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16491 2013-09-11 Will Newton <will.newton@linaro.org>
16493 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16494 parameter to RES. Remove hardcoded 1000 value.
16495 * benchtests/bench-skeleton.c (main): Pass RES parameter
16496 to TIMING_INIT and multiply result by 1000.
16498 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16502 2013-09-11 Andreas Schwab <schwab@suse.de>
16504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16506 (O_TMPFILE) [__USE_GNU]: Define.
16507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16510 2013-09-11 Will Newton <will.newton@linaro.org>
16513 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16516 2013-09-11 Will Newton <will.newton@linaro.org>
16519 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16522 2013-09-11 Will Newton <will.newton@linaro.org>
16525 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16528 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16530 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16531 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16532 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16533 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16534 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16536 2013-09-10 Allan McRae <allan@archlinux.org>
16539 * manual/arith.texi (Parsing of Floats): Clarify
16543 * manual/install.texi (Running make install): Mention
16545 * INSTALL: Regenerated.
16547 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16549 * csu/init-first.c (_init): Remove the !SHARED condition around
16550 FPU control word initialization.
16551 * elf/dl-support.c (_dl_fpu_control): New variable.
16552 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16553 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16554 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16555 * math/test-fpucw-static.c: New file.
16556 * math/test-fpucw-ieee.c: New file.
16557 * math/test-fpucw-ieee-static.c: New file.
16558 * math/Makefile (tests): Add `test-fpucw-ieee' and
16560 (tests-static): New variable.
16561 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16563 [($(build-shared),yes)]
16564 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16566 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16569 2013-09-09 Allan McRae <allan@archlinux.org>
16572 * manual/string.texi (Collation Functions): Fix typo in
16574 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16577 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16580 * libio/memstream.c (open_memstream): Fix memory leak.
16581 * libio/wmemstream.c (open_wmemstream): Likewise.
16584 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16586 2013-09-09 Will Newton <will.newton@linaro.org>
16588 * malloc/Makefile: Add tst-realloc to tests.
16589 * malloc/tst-realloc.c: New file.
16591 2013-09-09 Allan McRae <allan@archlinux.org>
16594 * COPYING: Update from GNU website to fix FSF address.
16595 * COPYING.LIB: Likewise.
16597 2013-09-06 David S. Miller <davem@davemloft.net>
16599 * po/zh_TW.po: Update Chinese (traditional) translation from
16600 translation project.
16602 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16603 Joseph Myers <joseph@codesourcery.com>
16605 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16607 (obstack_chunk_alloc): New macro.
16608 (obstack_chunk_free): Likewise.
16609 (record_offset): New function.
16610 (init_locale_data): Likewise.
16611 (align_locale_data): Likewise.
16612 (add_locale_empty): Likewise.
16613 (add_locale_raw_data): Likewise.
16614 (add_locale_raw_obstack): Likewise.
16615 (add_locale_string): Likewise.
16616 (add_locale_wstring): Likewise.
16617 (add_locale_uint32): Likewise.
16618 (add_locale_uint32_array): Likewise.
16619 (add_locale_char): Likewise.
16620 (start_locale_structure): Likewise.
16621 (end_locale_structure): Likewise.
16622 (start_locale_prelude): Likewise.
16623 (end_locale_prelude): Likewise.
16624 (write_locale_data): Take locale_file structure rather than an
16626 * locale/programs/locfile.h: Include "obstack.h".
16627 (struct locale_file): Change to store locale file contents instead
16629 (init_locale_data): New prototype.
16630 (align_locale_data): Likewise.
16631 (add_locale_empty): Likewise.
16632 (add_locale_raw_data): Likewise.
16633 (add_locale_raw_obstack): Likewise.
16634 (add_locale_string): Likewise.
16635 (add_locale_wstring): Likewise.
16636 (add_locale_uint32): Likewise.
16637 (add_locale_uint32_array): Likewise.
16638 (add_locale_char): Likewise.
16639 (start_locale_structure): Likewise.
16640 (end_locale_structure): Likewise.
16641 (start_locale_prelude): Likewise.
16642 (end_locale_prelude): Likewise.
16643 (write_locale_data): Update prototype.
16644 * locale/programs/3level.h (struct TABLE): Remove result field.
16645 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16646 Use new locale_file interface.
16647 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16648 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16649 * locale/programs/ld-address.c (address_output): Use new
16650 locale_file interface.
16651 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16653 (collate_finish): Don't call collseq_table_finalize.
16654 (collate_output): Use new locale_file interface.
16655 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16657 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16658 (TABLE): Move defines earlier in file.
16659 (ELEMENT): Likewise.
16660 (DEFAULT): Likewise.
16661 (wctrans_table_add): Move macro and inline function earlier in
16663 (struct wctype_table): Move type earlier in file.
16664 (add_locale_wctype_table): New static prototype.
16665 (struct locale_ctype_t): Use logical types instead of struct iovec
16666 pointers for members.
16667 (ctype_output): Use new locale_file interface.
16668 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16669 new locale_file interface.
16670 (allocate_arrays): Update for use of new locale_file interface.
16671 * locale/programs/ld-identification.c (identification_output): Use
16672 new locale_file interface.
16673 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16674 * locale/programs/ld-messages.c (messages_output): Likewise.
16675 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16676 * locale/programs/ld-name.c (name_output): Likewise.
16677 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16678 * locale/programs/ld-paper.c (paper_output): Likewise.
16679 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16680 * locale/programs/ld-time.c (time_output): Likewise.
16682 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16684 * benchtests/Makefile: Add memrchr benchmark.
16685 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16686 benchmark as memrchr.
16687 * benchtests/bench-memrchr-ifunc.c: New file.
16688 * benchtests/bench-memrchr.c: New file.
16690 2013-09-06 Will Newton <will.newton@linaro.org>
16692 * benchtests/Makefile (string-bench): Add memcpy.
16694 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16695 Cong Wang <amwang@redhat.com>
16698 * sysdeps/unix/sysv/linux/bits/in.h
16699 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16700 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16701 before __USE_KERNEL_IPV6_DEFS uses.
16702 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16704 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16705 sockaddr_in6, or ipv6_mreq.
16707 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16709 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16710 memory access for final bytes in some large inputs.
16711 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16713 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16715 * string/test-memrchr.c: New file.
16716 * string/test-memrchr-ifunc.c: New file.
16717 * string/Makefile: Add new memrchr testcase.
16719 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16721 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16722 fanotify_init returns EPERM.
16724 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16726 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16728 (top level): Treat second token from macro or constant entries for
16729 allowed headers as allowed.
16730 * include/complex.h: Condition internal declarations on
16732 * include/fenv.h: Condition include of <stdbool.h> and internal
16733 declarations on [!_ISOMAC].
16735 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16738 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16740 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16742 * configure.in (--enable-versioning): Remove configure option.
16743 (libc_cv_asm_symver_directive): Remove configure test.
16744 (libc_cv_ld_version_script_option): Likewise.
16745 (VERSIONING): Remove variable and AC_SUBST.
16746 (DO_VERSIONING): Remove AC_DEFINE.
16747 * configure: Regenerated.
16748 * config.h.in (DO_VERSIONING): Remove macro.
16749 * Makerules [$(versioning) = yes]: Change conditionals to
16750 [$(build-shared) = yes].
16751 * config.make.in (versioning): Remove variable.
16752 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16753 [$(build-shared) = yes].
16754 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16755 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16756 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16757 [$(build-shared) = yes].
16758 * extra-lib.mk [$(versioning) = yes]: Likewise.
16759 * hurd/Makefile [$(versioning) = yes]: Likewise.
16760 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16762 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16764 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16765 [SHARED && !NO_HIDDEN].
16766 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16768 [SHARED && DO_VERSIONING]: Likewise..
16769 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16770 [$(build-shared) = yes].
16771 * manual/install.texi (--disable-versioning): Remove
16773 * INSTALL: Regenerated.
16774 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16776 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16777 [$(build-shared) = yes].
16778 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16779 * sysdeps/i386/i686/multiarch/strstr-c.c
16780 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16781 [SHARED && !NO_HIDDEN].
16782 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16783 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16784 * sysdeps/powerpc/powerpc32/dl-machine.c
16785 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16786 * sysdeps/powerpc/powerpc32/sysdep.h
16787 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16788 to [SHARED && PIC && !NO_HIDDEN].
16789 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16790 conditional to [SHARED].
16792 2013-09-04 Will Newton <will.newton@linaro.org>
16794 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16795 * benchtests/bench-string.h: Include bench-timing.h instead
16796 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16797 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16798 call to HP_TIMING_DIFF_INIT.
16799 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16800 instead of hp-timing.h macros.
16801 * benchtests/bench-memchr.c: Likewise.
16802 * benchtests/bench-memcmp.c: Likewise.
16803 * benchtests/bench-memcpy.c: Likewise.
16804 * benchtests/bench-memmem.c: Likewise.
16805 * benchtests/bench-memmove.c: Likewise.
16806 * benchtests/bench-memset.c: Likewise.
16807 * benchtests/bench-rawmemchr.c: Likewise.
16808 * benchtests/bench-strcasecmp.c: Likewise.
16809 * benchtests/bench-strcasestr.c: Likewise.
16810 * benchtests/bench-strcat.c: Likewise.
16811 * benchtests/bench-strchr.c: Likewise.
16812 * benchtests/bench-strcmp.c: Likewise.
16813 * benchtests/bench-strcpy.c: Likewise.
16814 * benchtests/bench-strcpy_chk.c: Likewise.
16815 * benchtests/bench-strlen.c: Likewise.
16816 * benchtests/bench-strncasecmp.c: Likewise.
16817 * benchtests/bench-strncat.c: Likewise.
16818 * benchtests/bench-strncmp.c: Likewise.
16819 * benchtests/bench-strncpy.c: Likewise.
16820 * benchtests/bench-strnlen.c: Likewise.
16821 * benchtests/bench-strpbrk.c: Likewise.
16822 * benchtests/bench-strrchr.c: Likewise.
16823 * benchtests/bench-strspn.c: Likewise.
16824 * benchtests/bench-strstr.c: Likewise.
16826 2013-09-04 Will Newton <will.newton@linaro.org>
16828 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16830 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16833 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16834 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16835 * math/libm-test.inc (lgamma_test_data): Add more tests.
16836 * sysdeps/i386/fpu/libm-test-ulps: Update.
16837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16839 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16841 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16842 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16845 Add strcmp-sse2-unaligned
16846 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16848 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16850 * Versions.def (libc): Add GLIBC_2.19.
16852 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16854 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16855 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16857 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16860 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16861 intermediate calculations in recurrence.
16862 (__ieee754_ynf): Likewise.
16863 * math/libm-test.inc (jn_test_data): Do not allow spurious
16864 underflow exception. Add more tests.
16865 (yn_test_data): Add more tests.
16866 * sysdeps/i386/fpu/libm-test-ulps: Update.
16867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16869 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16871 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16873 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16875 * csu/init-first.c: Fix then/than typos.
16876 * locale/programs/ld-collate.c: Likewise.
16877 * locale/programs/linereader.h: Likewise.
16878 * manual/charset.texi: Likewise.
16879 * manual/filesys.texi: Likewise.
16880 * manual/stdio.texi: Likewise.
16881 * manual/string.texi: Likewise.
16882 * stdlib/fmtmsg.c: Likewise.
16883 * sysdeps/i386/stpncpy.S: Likewise.
16884 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16885 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16886 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16887 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16889 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16891 * elf/dl-open.c: Fix typos.
16892 * iconvdata/gbbig5.c: Likewise.
16893 * iconvdata/iso-2022-jp.c: Likewise.
16894 * iconv/gconv_int.h: Likewise.
16895 * iconv/loop.c: Likewise.
16896 * nis/rpcsvc/nis.h: Likewise.
16897 * resolv/ns_name.c: Likewise.
16898 * stdio-common/vfscanf.c: Likewise.
16899 * streams/stropts.h: Likewise.
16900 * sunrpc/rpc_thread.c: Likewise.
16901 * sysdeps/i386/strpbrk.S: Likewise.
16902 * sysdeps/ieee754/k_standard.c: Likewise.
16903 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16905 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16906 * sysdeps/mach/hurd/profil.c: Likewise.
16907 * sysdeps/s390/dl-procinfo.h: Likewise.
16908 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16909 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16910 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16911 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16912 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16914 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16916 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16917 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16919 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16921 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16922 aix specific files.
16923 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16924 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16925 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16926 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16927 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16928 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16929 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16930 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16932 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16933 Roland McGrath <roland@hack.frob.com>
16935 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16936 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16938 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16940 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16941 __executable_start symbol instead of _start.
16943 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16945 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16946 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16948 * sysdeps/gnu/ldsodefs.h: ... this new file.
16950 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16951 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16952 instead of ELFOSABI_LINUX.
16954 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16955 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16956 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16957 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16959 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16960 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16961 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16963 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16964 (ibm_extended_long_double): Add ieee_nan member.
16965 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16966 (do_test): New function.
16968 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16970 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16971 functions, renamed from truncdfsf_test, trunctfsf_test,
16973 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16975 (do_test): Run all these.
16977 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16979 * argp/argp-help.c: Fix typos.
16980 * argp/argp-parse.c: Likewise.
16981 * debug/backtracesyms.c: Likewise.
16982 * elf/elf.h: Likewise.
16983 * malloc/malloc.c: Likewise.
16984 * nis/nis_print.c: Likewise.
16985 * resolv/res_comp.c: Likewise.
16986 * stdlib/stdlib.h: Likewise.
16987 * sunrpc/clnt_tcp.c: Likewise.
16988 * sunrpc/clnt_udp.c: Likewise.
16989 * sunrpc/clnt_unix.c: Likewise.
16990 * sysdeps/unix/bsd/ptsname.c: Likewise.
16991 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16992 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16999 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17001 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17003 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17006 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17009 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17010 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17011 ($(objpfx)bug-dl-leaf): New rule.
17012 ($(objpfx)bug-dl-leaf.so): Likewise.
17013 ($(objpfx)bug-dl-leaf.out): Likewise.
17014 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17015 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17016 * dlfcn/bug-dl-leaf.c: New test.
17017 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17018 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17019 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17020 (dlclose): Likewise.
17021 (dlmopen): Likewise.
17023 2013-08-27 Roland McGrath <roland@hack.frob.com>
17025 * include/netdb.h [!_ISOMAC]:
17026 Don't include <tls.h>.
17027 (h_errno, __libc_h_errno): Move declaration and macros out of
17030 * include/resolv.h [_RESOLV_H_]:
17031 Don't include <tls.h>.
17032 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17033 * resolv/res_libc.c: Don't include <tls.h>.
17034 (_res): Use __attribute__ ((nocommon)) in place of
17035 __attribute__ ((section (".bss"))).
17037 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17038 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17040 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17042 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17043 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17045 * resolv/res_mkquery.c: Include <sys/time.h>.
17047 * inet/ifreq.c: Moved to ...
17048 * sysdeps/unix/ifreq.c: ... here.
17049 * inet/ifreq.c: New file, true stub version.
17051 * socket/sa_len.c: New file.
17052 * socket/Makefile (aux): Add it.
17053 * sysdeps/unix/sysv/linux/Makefile
17054 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17055 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17056 and #include <socket/sa_len.c>.
17057 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17058 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17060 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17061 * bits/socket.h: ... here.
17063 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17064 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17065 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17067 2013-08-27 Andreas Schwab <schwab@suse.de>
17070 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17071 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17072 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17073 * string/test-strcasecmp.c (test_main): Run tests in several
17075 * string/test-strncasecmp.c (test_main): Likewise.
17077 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17078 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17079 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17081 (__strncasecmp_ssse3) [PIC]: Likewise.
17083 2013-08-26 Roland McGrath <roland@hack.frob.com>
17085 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17087 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17088 instead of explicitly declaring xdecrypt.
17089 * nis/nss_nis/nis-publickey.c: Likewise.
17091 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17094 * nscd/aicache.c: Include res_hconf.h.
17095 (addhstaiX): Initialize res_hconf.
17097 2013-08-26 Andreas Schwab <schwab@suse.de>
17099 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17100 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17102 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17104 * nscd/aicache.c (addhstaiX): Fix indentation.
17106 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17108 * configure.ac: Quote $build_pt_chown test.
17109 * configure: Regenerated.
17111 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17114 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17115 * math/s_cexpf.c (__cexpf): Likewise.
17116 * math/s_cexpl.c (__cexpl): Likewise.
17117 * math/libm-test.inc (cexp_test_data): Correct expected return
17118 value for NaN + i0. Add another test.
17120 2013-08-22 David S. Miller <davem@davemloft.net>
17122 * po/ca.po: Update Catalan translation from translation project.
17123 * po/uk.po: Add Ukrainian translations from translation project.
17125 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17128 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17129 is infinite, not alongside NaN test.
17130 * math/s_fdimf.c (__fdimf): Likewise.
17131 * math/s_fdiml.c (__fdiml): Likewise.
17132 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17133 errno is unchanged.
17135 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17137 * argp/argp-help.c: Fix typos.
17138 * crypt/speeds.c: Likewise.
17139 * csu/check_fds.c: Likewise.
17140 * elf/dl-load.c: Likewise.
17141 * elf/dl-open.c: Likewise.
17142 * elf/reldep3.c: Likewise.
17143 * elf/reldep.c: Likewise.
17144 * elf/sprof.c: Likewise.
17145 * iconv/iconv_charmap.c: Likewise.
17146 * iconv/skeleton.c: Likewise.
17147 * iconv/strtab.c: Likewise.
17148 * io/lockf64.c: Likewise.
17149 * libio/libioP.h: Likewise.
17150 * resolv/gai_notify.c: Likewise.
17151 * resolv/ns_name.c: Likewise.
17152 * resolv/ns_samedomain.c: Likewise.
17153 * resolv/res_send.c: Likewise.
17154 * stdlib/random.c: Likewise.
17155 * sunrpc/rpc/xdr.h: Likewise.
17156 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17157 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17158 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17159 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17160 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17161 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17162 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17163 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17164 * sysdeps/mach/hurd/check_fds.c: Likewise.
17165 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17166 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17167 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17168 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17169 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17170 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17171 * sysdeps/pthread/aio_notify.c: Likewise.
17172 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17173 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17174 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17175 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17176 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17178 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17180 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17181 version if bit_Slow_SSE4_2 is set.
17182 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17183 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17185 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17188 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17189 trampoline stack frame information.
17190 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17191 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17192 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17193 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17194 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17195 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17196 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17197 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17199 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17200 interrupting a syscall and set with option SA_SIGINFO.
17202 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17205 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17206 argument is infinite.
17207 * math/s_cprojf.c (__cprojf): Likewise.
17208 * math/s_cprojl.c (__cprojl): Likewise.
17209 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17210 * math/libm-test.inc (cproj_test_data): Add more tests.
17212 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17214 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17215 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17216 size. Use __ffs to determine corresponding shift.
17218 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17219 Roland McGrath <roland@hack.frob.com>
17221 * Makefile (INSTALL): Remove trailing blank lines from output of
17224 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17226 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17227 Align 32 bit compat elf_greg to 8 bytes.
17229 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17231 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17233 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17235 * string/strcoll_l.c (coll_seq): New structure.
17236 (get_next_seq_cached): New function.
17237 (get_next_seq): New function.
17238 (do_compare): New function.
17239 (STRCOLL): Use GNU style definition. Simplify implementation
17240 by using get_next_seq, get_next_seq_cached and do_compare.
17242 2013-08-16 Florian Weimer <fweimer@redhat.com>
17246 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17248 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17250 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17251 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17252 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17254 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17255 GETDENTS_64BIT_ALIGNED.
17256 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17257 * manual/filesys.texi (Reading/Closing Directory): Document
17258 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17260 * manual/conf.texi (Limits for Files): Add portability note to
17261 NAME_MAX, PATH_MAX.
17262 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17264 2013-08-13 Andreas Schwab <schwab@suse.de>
17267 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17269 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17270 LDBL_MAX_EXP >= 16384]: Add tests for it.
17272 2013-08-12 David S. Miller <davem@davemloft.net>
17274 * version.h (RELEASE): Set to "development".
17275 (VERSION): Set to "2.18.90".
17276 * NEWS: Add 2.19 section.
17278 2013-08-03 David S. Miller <davem@davemloft.net>
17280 * po/ko.po: Update Korean translation from translation project.
17282 2013-08-01 David S. Miller <davem@davemloft.net>
17284 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17285 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17288 2013-07-30 David S. Miller <davem@davemloft.net>
17290 * po/fr.po: Update French translation from translation project.
17292 2013-07-28 David S. Miller <davem@davemloft.net>
17294 * po/cs.po: Update Czech translation from translation project.
17296 * po/sv.po: Update Swedish translation from translation project.
17298 2013-07-27 David S. Miller <davem@davemloft.net>
17300 * po/eo.po: Update Esperanto translation from translation project.
17302 * po/vi.po: Update Vietnamese translation from translation project.
17304 * po/de.po: Update German translation from translation project.
17306 2013-07-26 David S. Miller <davem@davemloft.net>
17308 * po/bg.po: Update Bulgarian translation from translation project.
17310 * po/nl.po: Update Dutch translation from translation project.
17311 * po/pl.po: Update Polish translation from translation project.
17312 * po/ru.po: Update Russian translation from translation project.
17314 2013-07-24 David S. Miller <davem@davemloft.net>
17316 * po/libc.pot: Update.
17318 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17320 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17321 variable page size.
17322 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17323 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17324 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17326 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17328 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17330 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17331 Andreas Schwab <schwab@suse.de>
17332 Roland McGrath <roland@hack.frob.com>
17333 Joseph Myers <joseph@codesourcery.com>
17334 Carlos O'Donell <carlos@redhat.com>
17337 * config.h.in: Define HAVE_PT_CHOWN.
17338 * config.make.in (build-pt-chown): New variable.
17339 * configure.in (--enable-pt_chown): New configure option.
17340 * configure: Regenerate.
17341 * login/Makefile: Include Makeconfig. Build pt_chown only if
17342 build-pt-chown is enabled.
17343 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17344 pt_chown to fix pty ownership.
17345 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17347 * manual/install.texi (Configuring and compiling): Mention
17348 --enable-pt_chown. Add @findex for grantpt.
17349 * INSTALL: Regenerate.
17351 2013-07-20 David S. Miller <davem@davemloft.net>
17353 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17354 difference between 32-bit and 64-bit.
17356 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17359 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17360 Avoid system header dependency with -ffreestanding.
17361 ($(objpfx)bits/syscall%d): Likewise.
17363 2013-07-13 David S. Miller <davem@davemloft.net>
17365 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17366 underflows from atanl/atan2l due to bug 15319.
17367 (casinh_test_data): Likewise.
17369 2013-07-07 David S. Miller <davem@davemloft.net>
17371 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17373 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17375 * sysdeps/i386/fpu/libm-test-ulps: Update.
17376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17378 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17380 * configure.in (--enable-lock-elision): Fix message text.
17381 * INSTALL: Regenerate.
17382 * configure: Regenerate.
17384 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17388 2013-07-03 Andreas Jaeger <aj@suse.de>
17390 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17392 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17393 (ptrace_peeksiginfo_args): Add.
17394 (__ptrace_peeksiginfo_flags): Add.
17395 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17397 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17399 2013-07-03 Allan McRae <allan@archlinux.org>
17401 * sysdeps/i386/fpu/libm-test-ulps: Update.
17403 2013-07-02 David S. Miller <davem@davemloft.net>
17405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17407 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17411 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17413 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17416 2013-07-02 Andi Kleen <ak@linux.intel.com>
17418 * config.h.in (ENABLE_LOCK_ELISION): Add.
17419 * configure.in (--enable-lock-elision): Add option.
17420 * manual/install.texi: Document --enable lock elision.
17421 * configure: Regenerate
17422 * INSTALL: Regenerate.
17424 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17426 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17427 SSE4.2 strcasecmp for libc.a.
17428 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17430 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17433 * soft-fp/op-common.h (_FP_FMA): New macro.
17434 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17435 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17436 (_FP_MUL_MEAT_1_imm): ... here.
17437 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17438 (_FP_MUL_MEAT_1_wide): ... here.
17439 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17440 (_FP_MUL_MEAT_1_hard): ... here.
17441 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17442 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17443 (_FP_MUL_MEAT_2_wide): ... here.
17444 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17445 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17446 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17447 (_FP_MUL_MEAT_2_gmp): ... here.
17448 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17449 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17450 (_FP_MUL_MEAT_4_wide): ... here.
17451 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17452 (_FP_MUL_MEAT_4_gmp): ... here.
17453 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17454 (_FP_WFRACBITS_DW_S): Likewise.
17455 (_FP_WFRACXBITS_DW_S): Likewise.
17456 (_FP_HIGHBIT_DW_S): Likewise.
17457 (FP_FMA_S): Likewise.
17458 (_FP_FRAC_HIGH_DW_S): Likewise.
17459 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17460 (_FP_WFRACBITS_DW_D): Likewise.
17461 (_FP_WFRACXBITS_DW_D): Likewise.
17462 (_FP_HIGHBIT_DW_D): Likewise.
17463 (FP_FMA_D): Likewise.
17464 (_FP_FRAC_HIGH_DW_D): Likewise.
17465 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17466 (_FP_WFRACBITS_DW_E): Likewise.
17467 (_FP_WFRACXBITS_DW_E): Likewise.
17468 (_FP_HIGHBIT_DW_E): Likewise.
17469 (FP_FMA_E): Likewise.
17470 (_FP_FRAC_HIGH_DW_E): Likewise.
17471 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17472 (_FP_WFRACBITS_DW_Q): Likewise.
17473 (_FP_WFRACXBITS_DW_Q): Likewise.
17474 (_FP_HIGHBIT_DW_Q): Likewise.
17475 (FP_FMA_Q): Likewise.
17476 (_FP_FRAC_HIGH_DW_Q): Likewise.
17477 * soft-fp/fmasf4.c: New file.
17478 * soft-fp/fmadf4.c: Likewise.
17479 * soft-fp/fmatf4.c: Likewise.
17481 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17484 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17486 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17488 (index_Slow_SSE4_2): Likewise.
17489 (index_Prefer_PMINUB_for_stringop): Likewise.
17490 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17491 bit_Slow_SSE4_2 is set.
17492 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17493 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17495 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17497 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17498 rtld_global._dl_hwcap2.
17499 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17501 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17502 POWER8 feature descriptions defined in _dl_hwcap2.
17503 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17504 string handling for POWER8 feature bits.
17505 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17506 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17507 _dl_powerpc_cap_flags.
17508 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17509 * sysdeps/powerpc/rtld-global-offsets.sym
17510 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17511 _dl_hwcap2 in the rtld_global_ro structure.
17513 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17515 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17516 hardware capabilities in support of AT_HWCAP2.
17517 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17518 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17520 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17521 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17522 explicitly the unknown a_type display mechanism is used.
17523 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17524 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17526 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17527 to macro prototype for AT_HWCAP2 support.
17528 * sysdeps/i386/dl-procinfo.h: Likewise.
17529 * sysdeps/s390/dl-procinfo.h: Likewise.
17530 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17531 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17532 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17533 return -1 for unknown a_type display fallback.
17534 * sysdeps/sparc/dl-procinfo.h: Likewise.
17535 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17536 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17538 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17540 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17541 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17543 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17546 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17547 mprotect making __stack_prot writable.
17549 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17550 Joseph Myers <joseph@codesourcery.com>
17552 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17553 as being properly aligned.
17555 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17557 * dlfcn/modstatic5.c: New file.
17558 * dlfcn/tststatic5.c: New file.
17559 * dlfcn/Makefile (tests): Add tststatic5.
17560 (tests-static): Likewise.
17561 (modules-names): Add modstatic5.
17562 (tststatic5-ENV): New variable.
17563 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17566 * elf/dl-support.c (_dl_main_map): New variable.
17567 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17568 (_dl_nns, _dl_load_adds): Set to 1.
17569 (_dl_initial_searchlist): Refer to _dl_main_map.
17570 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17571 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17572 call to _dl_get_origin.
17573 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17575 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17576 * dlfcn/modstatic3.c: New file.
17577 * dlfcn/tststatic3.c: New file.
17578 * dlfcn/tststatic4.c: New file.
17579 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17580 (tests-static): Likewise.
17581 (modules-names): Add modstatic3.
17582 (tststatic3-ENV, tststatic4-ENV): New variables.
17583 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17584 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17586 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17588 * configure.in (CC): Require GCC version 4.4 or later.
17589 * configure: Regenerated.
17590 * manual/install.texi (Tools for Compilation): Update GCC version
17592 * INSTALL: Regenerated.
17594 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17597 * string/test-memcmp.c (check2): New.
17598 (main): Call check2.
17600 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17602 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17605 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17607 (dl_open_worker) [!SHARED]: ... here.
17609 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17611 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17613 2013-06-25 Richard Henderson <rth@redhat.com>
17615 * locale/programs/locarchive.c: Include <libc-internal.h>
17617 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17619 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17620 trailing whitespace removed.
17622 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17625 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17626 * locale/programs/locarchive.c: Include libc-mmap.h.
17627 (prepare_address_space): Take two new outputs (the mmap base and len).
17628 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17630 (create_archive): Declare new mmap base and len values for
17631 prepare_address_space, and store the result in ah.
17632 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17633 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17634 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17635 Declare new mmap base and len values for
17636 prepare_address_space, and store the result in new_ah.
17637 (open_archive): Declare new mmap base and len values for
17638 prepare_address_space, and store the result in ah.
17639 (close_archive): If ah->mmap_base is not NULL, use that and
17640 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17641 * sysdeps/generic/libc-mmap.h: New file.
17643 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17645 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17646 (ALIGN_UP): Likewise.
17647 (PTR_ALIGN_DOWN): Likewise.
17648 (PTR_ALIGN_UP): Likewise.
17650 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17652 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17653 entry mapped to PPC_PLATFORM_POWER8.
17654 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17656 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17657 (_dl_string_platform): Add case for exporting platform position for
17659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17660 search path to sysdeps/powerpc/powerpc32/power8 directory.
17661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17662 search path to sysdeps/powerpc/powerpc64/power8 directory.
17663 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17664 power7 directories.
17665 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17666 power7 directories.
17668 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17670 * INSTALL: Regenerate.
17672 * nscd/connections.c (nscd_init): Fix comment.
17674 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17676 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17679 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17680 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17682 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17684 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17686 (DL_DST_REQ_STATIC): Remove macro.
17688 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17691 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17692 with a shift of 0 bits.
17694 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17696 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17699 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17702 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17704 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17706 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17707 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17708 accepts -fno-tree-loop-distribute-patterns.
17709 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17710 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17712 * string/memset.c (memset): Likewise.
17713 * string/test-memmove.c (simple_memmove): Disable loop transformation
17715 * string/test-memset.c (simple_memset): Likewise.
17716 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17717 * benchtests/bench-memset.c (simple_memset): Likewise.
17718 * configure: Regenerated.
17720 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17722 * math/test-misc.c (main): Ignore fesetround failure when failures
17723 of subsequent rounding tests would be ignored.
17726 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17727 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17728 * math/fegetenv.c (__fegetenv): Return 0.
17729 * math/fegetexcept.c (fegetexcept): Return 0.
17730 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17732 * math/feholdexcpt.c (feholdexcept): Return 0.
17733 * math/fesetenv.c (__fesetenv): Return 0.
17734 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17735 argument FE_TONEAREST.
17736 * math/feupdateenv.c (__feupdateenv): Return 0.
17737 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17739 2013-06-18 Roland McGrath <roland@hack.frob.com>
17741 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17742 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17743 ($(objpfx)rtld-%.os rules): Use them.
17745 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17747 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17750 2013-06-17 Roland McGrath <roland@hack.frob.com>
17752 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17753 length of target pattern, then descending length of dependency pattern.
17754 * configure.in (AWK): Require gawk 3.1.2 or newer.
17755 * manual/install.texi (Tools for Compilation): Say that we do.
17756 * configure: Regenerated.
17758 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17759 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17760 * scripts/sysd-rules.awk: ... this new script.
17761 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17762 than a glob-style pattern.
17764 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17766 * math/test-misc.c (main): Do not treat incorrectly rounded
17767 conversions as failure unless ROUNDING_TESTS passes.
17769 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17772 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17773 restore exception state around main square root computation, then
17774 check for inexactness explicitly.
17776 * math/libm-test.inc (fma_test_data): Add another test.
17778 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17780 * manual/threads.texi (Non-POSIX Extensions): New document
17781 node. Document pthread_getattr_default_np and
17782 pthread_setattr_default_np.
17784 * Versions.def (libpthread): Add GLIBC_2.18.
17785 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17794 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17805 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17808 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17810 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17811 H.J. Lu <hjl.tools@gmail.com>
17814 * sysdeps/x86_64/rtld-memset.c: Remove file.
17815 * sysdeps/x86_64/rtld-memset.S: New file.
17817 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17819 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17820 (test_in_one_mode): Take arguments for whether the rounding mode
17821 is supported for each floating-point type.
17822 (do_test): Pass new arguments to test_in_one_mode using
17825 2013-06-13 Roland McGrath <roland@hack.frob.com>
17827 * posix/tst-waitid.c (do_test): Distinguish different instances of
17828 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17829 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17830 before entering the kernel for waitpid.
17832 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17834 * NEWS: Fix note on clock function precision. Text by Roland
17837 2013-06-13 Roland McGrath <roland@hack.frob.com>
17839 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17840 it into place only when and if the sanity check passes.
17842 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17844 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17845 output for whether conversion result is exact. Take argument
17846 indicating whether type is IBM long double.
17847 (round_for_all): Change need_exact field to ibm_ld.
17848 * stdlib/tst-strtod-round.c (struct exactness): New type.
17849 (struct test): Change bool ld_ok field to struct exactness exact.
17850 (TEST): Update all definitions for change to field.
17851 (tests): Regenerate array contents.
17852 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17853 field value. Check for IBM long double here.
17854 (do_test): Update calls to test_in_one_mode.
17856 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17859 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17860 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17862 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17865 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17866 generated by the compiler on loop optimizations.
17867 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17868 general definitions.
17870 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17872 * math/bug-nextafter.c: Include <math-tests.h>.
17873 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17875 * math/bug-nexttoward.c: Include <math-tests.h>.
17876 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17878 * math/test-misc.c: Include <math-tests.h>.
17879 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17882 2013-06-12 Andreas Jaeger <aj@suse.de>
17884 * po/ia.po: Update Interlingua translation from translation
17887 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17889 * include/fenv.h: Include stdbool.h.
17890 (struct rm_ctx): New structure.
17891 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17893 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17894 (SET_RESTORE_ROUNDF): Likewise.
17895 (SET_RESTORE_ROUNDL): Likewise.
17896 (SET_RESTORE_ROUND_NOEX): Likewise.
17897 (SET_RESTORE_ROUND_NOEXF): Likewise.
17898 (SET_RESTORE_ROUND_NOEXL): Likewise.
17899 (SET_RESTORE_ROUND_53BIT): Likewise.
17900 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17901 (libc_feresetround_noexf_ctx): Likewise.
17902 (libc_feresetround_noexl_ctx): Likewise.
17903 (libc_feholdsetround_53bit_ctx): Likewise.
17904 (libc_feresetround_53bit_ctx): Likewise.
17905 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17906 (libc_feholdexcept_setround_sse_ctx): New function.
17907 (libc_fesetenv_sse_ctx): Likewise.
17908 (libc_feupdateenv_sse_ctx): Likewise.
17909 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17910 (libc_feholdexcept_setround_387_ctx): Likewise.
17911 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17912 (libc_feholdsetround_387_prec_ctx): Likewise.
17913 (libc_feholdsetround_387_ctx): Likewise.
17914 (libc_feholdsetround_387_53bit_ctx): Likewise.
17915 (libc_feholdsetround_sse_ctx): Likewise.
17916 (libc_feresetround_sse_ctx): Likewise.
17917 (libc_feresetround_387_ctx): Likewise.
17918 (libc_feupdateenv_387_ctx): Likewise.
17919 (libc_feholdexcept_setroundf_ctx): Define macro.
17920 (libc_fesetenvf_ctx): Likewise.
17921 (libc_feupdateenvf_ctx): Likewise.
17922 (libc_feholdsetroundf_ctx): Likewise.
17923 (libc_feresetroundf_ctx): Likewise.
17924 (libc_feholdexcept_setround_ctx): Likewise.
17925 (libc_fesetenv_ctx): Likewise.
17926 (libc_feupdateenv_ctx): Likewise.
17927 (libc_feholdsetround_ctx): Likewise.
17928 (libc_feresetround_ctx): Likewise.
17929 (libc_feholdexcept_setroundl_ctx): Likewise.
17930 (libc_feupdateenvl_ctx): Likewise.
17931 (libc_feholdsetroundl_ctx): Likewise.
17932 (libc_feresetroundl_ctx): Likewise.
17933 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17934 (libc_feresetround_53bit_ctx): Likewise.
17936 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17938 * locale/iso-639.def: Convert to UTF-8.
17940 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17942 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17943 (EXCEPTION_TESTS_double): Likewise.
17944 (EXCEPTION_TESTS_long_double): Likewise.
17945 (EXCEPTION_TESTS): Likewise.
17946 * math/libm-test.inc (test_exceptions): Only test exceptions if
17947 EXCEPTION_TESTS (FLOAT).
17949 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17951 * benchtests/Makefile (string-bench): Add strcpy_chk and
17953 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17954 * benchtests/bench-stpcpy_chk.c: New file.
17955 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17956 * benchtests/bench-strcpy_chk.c: New file.
17957 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17959 (do_test): Likewise.
17961 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17963 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17964 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17965 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17966 with tabs where appropriate.
17967 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17969 [PPC_PLATFORM_PPC440]: Likewise.
17970 [PPC_PLATFORM_PPC464]: Likewise.
17971 [PPC_PLATFORM_PPC476]: Likewise.
17972 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17973 ppc464, and ppc476 platform strings merging from ports/
17976 2013-06-11 Andreas Schwab <schwab@suse.de>
17979 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17980 (from_ucs4_idx): Regenerate.
17981 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17982 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17983 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17984 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17985 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17986 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17987 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17988 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17989 from FROM_LOOP and TO_LOOP specific macros.
17990 (BODY): Handle combining characters.
17991 * iconvdata/BIG5HKSCS.irreversible: Update.
17992 * iconvdata/BIG5HKSCS.precomposed: New file.
17993 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17995 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17997 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17999 * include/sys/time.h: Fix indentation and add copyright header.
18001 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18002 (do_test): Likewise.
18003 * string/test-memchr.c (do_one_test): Likewise.
18004 (do_test): Likewise.
18005 * string/test-memcmp.c (do_one_test): Likewise.
18006 (do_test): Likewise.
18007 * string/test-memcpy.c (do_one_test): Likewise.
18008 (do_test): Likewise.
18009 * string/test-memmem.c (do_one_test): Likewise.
18010 (do_test): Likewise.
18011 (do_random_tests): Likewise.
18012 * string/test-memmove.c (do_one_test): Likewise.
18013 (do_test): Likewise.
18014 * string/test-memset.c (do_one_test): Likewise.
18015 (do_test): Likewise.
18016 * string/test-rawmemchr.c (do_one_test): Likewise.
18017 (do_test): Likewise.
18018 * string/test-strcasecmp.c (do_one_test): Likewise.
18019 (do_test): Likewise.
18020 * string/test-strcasestr.c (do_one_test): Likewise.
18021 (do_test): Likewise.
18022 * string/test-strcat.c (do_one_test): Likewise.
18023 (do_test): Likewise.
18024 * string/test-strchr.c (do_one_test): Likewise.
18025 (do_test): Likewise.
18026 * string/test-strcmp.c (do_one_test): Likewise.
18027 (do_test): Likewise.
18028 * string/test-strcpy.c (do_one_test): Likewise.
18029 (do_test): Likewise.
18030 * string/test-string.h: Likewise.
18031 (test_init): Likewise.
18032 * string/test-strlen.c (do_one_test): Likewise.
18033 (do_test): Likewise.
18034 * string/test-strncasecmp.c (do_one_test): Likewise.
18035 (do_test): Likewise.
18036 * string/test-strncat.c (do_one_test): Likewise.
18037 (do_test): Likewise.
18038 * string/test-strncmp.c (do_one_test): Likewise.
18039 (do_test_limit): Likewise.
18040 (do_test): Likewise.
18041 * string/test-strncpy.c (do_one_test): Likewise.
18042 (do_test): Likewise.
18043 * string/test-strnlen.c (do_one_test): Likewise.
18044 (do_test): Likewise.
18045 * string/test-strpbrk.c (do_one_test): Likewise.
18046 (do_test): Likewise.
18047 * string/test-strrchr.c (do_one_test): Likewise.
18048 (do_test): Likewise.
18049 * string/test-strspn.c (do_one_test): Likewise.
18050 (do_test): Likewise.
18051 * string/test-strstr.c (do_one_test): Likewise.
18052 (do_test): Likewise.
18054 * benchtests/Makefile (string-bench): Add string benchmarks.
18055 * benchtests/bench-bcopy-ifunc.c: New file.
18056 * benchtests/bench-bcopy.c: New file.
18057 * benchtests/bench-bzero-ifunc.c: New file.
18058 * benchtests/bench-bzero.c: New file.
18059 * benchtests/bench-memccpy-ifunc.c: New file.
18060 * benchtests/bench-memccpy.c: New file.
18061 * benchtests/bench-memchr-ifunc.c: New file.
18062 * benchtests/bench-memchr.c: New file.
18063 * benchtests/bench-memcmp-ifunc.c: New file.
18064 * benchtests/bench-memcmp.c: New file.
18065 * benchtests/bench-memmem-ifunc.c: New file.
18066 * benchtests/bench-memmem.c: New file.
18067 * benchtests/bench-memmove-ifunc.c: New file.
18068 * benchtests/bench-memmove.c: New file.
18069 * benchtests/bench-mempcpy-ifunc.c: New file.
18070 * benchtests/bench-mempcpy.c: New file.
18071 * benchtests/bench-memset-ifunc.c: New file.
18072 * benchtests/bench-memset.c: New file.
18073 * benchtests/bench-rawmemchr-ifunc.c: New file.
18074 * benchtests/bench-rawmemchr.c: New file.
18075 * benchtests/bench-stpcpy-ifunc.c: New file.
18076 * benchtests/bench-stpcpy.c: New file.
18077 * benchtests/bench-stpncpy-ifunc.c: New file.
18078 * benchtests/bench-stpncpy.c: New file.
18079 * benchtests/bench-strcasecmp-ifunc.c: New file.
18080 * benchtests/bench-strcasecmp.c: New file.
18081 * benchtests/bench-strcasestr-ifunc.c: New file.
18082 * benchtests/bench-strcasestr.c: New file.
18083 * benchtests/bench-strcat-ifunc.c: New file.
18084 * benchtests/bench-strcat.c: New file.
18085 * benchtests/bench-strchr-ifunc.c: New file.
18086 * benchtests/bench-strchr.c: New file.
18087 * benchtests/bench-strchrnul-ifunc.c: New file.
18088 * benchtests/bench-strchrnul.c: New file.
18089 * benchtests/bench-strcmp-ifunc.c: New file.
18090 * benchtests/bench-strcmp.c: New file.
18091 * benchtests/bench-strcpy-ifunc.c: New file.
18092 * benchtests/bench-strcpy.c: New file.
18093 * benchtests/bench-strcspn-ifunc.c: New file.
18094 * benchtests/bench-strcspn.c: New file.
18095 * benchtests/bench-strlen-ifunc.c: New file.
18096 * benchtests/bench-strlen.c: New file.
18097 * benchtests/bench-strncasecmp-ifunc.c: New file.
18098 * benchtests/bench-strncasecmp.c: New file.
18099 * benchtests/bench-strncat-ifunc.c: New file.
18100 * benchtests/bench-strncat.c: New file.
18101 * benchtests/bench-strncmp-ifunc.c: New file.
18102 * benchtests/bench-strncmp.c: New file.
18103 * benchtests/bench-strncpy-ifunc.c: New file.
18104 * benchtests/bench-strncpy.c: New file.
18105 * benchtests/bench-strnlen-ifunc.c: New file.
18106 * benchtests/bench-strnlen.c: New file.
18107 * benchtests/bench-strpbrk-ifunc.c: New file.
18108 * benchtests/bench-strpbrk.c: New file.
18109 * benchtests/bench-strrchr-ifunc.c: New file.
18110 * benchtests/bench-strrchr.c: New file.
18111 * benchtests/bench-strspn-ifunc.c: New file.
18112 * benchtests/bench-strspn.c: New file.
18113 * benchtests/bench-strstr-ifunc.c: New file.
18114 * benchtests/bench-strstr.c: New file.
18116 * benchtests/Makefile: Disable parallel execution of targets.
18117 (string-bench): Add memcpy.
18118 (benchset): New variable to store a list of benchmark sets.
18119 (bench-func): Renamed from bench.
18120 (bench-set): New target.
18121 (bench): Depend on bench-func and bench-set.
18122 * benchtests/README: Add section on benchmark sets.
18123 * benchtests/bench-memcpy-ifunc.c: New file.
18124 * benchtests/bench-memcpy.c: New file.
18125 * benchtests/bench-string.h: New file.
18127 2013-06-11 Andreas Schwab <schwab@suse.de>
18130 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18131 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18132 values in the triple.
18133 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18134 terminator in the group key.
18136 2013-06-11 Andreas Jaeger <aj@suse.de>
18138 * po/zh_TW.po: Update Chinese (traditional) translation from
18139 translation project.
18141 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18143 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18144 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18145 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18146 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18147 (clock_getcpuclockid): Likewise.
18148 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18149 Add weak_alias and libc_hidden_def.
18150 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18151 * rt/clock_gettime.c (clock_gettime): Rename to
18152 __clock_gettime. Add weak_alias and libc_hidden_def.
18153 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18154 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18155 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18156 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18157 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18159 * rt/clock_settime.c (clock_settime): Rename to
18160 __clock_settime. Add weak_alias and libc_hidden_def.
18161 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18163 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18165 * mach/err_boot.sub: Remove trailing whitespace.
18166 * mach/err_ipc.sub: Likewise.
18167 * mach/err_mach.sub: Likewise.
18169 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18170 (ROUNDING_TESTS_double): Likewise.
18171 (ROUNDING_TESTS_long_double): Likewise.
18172 (ROUNDING_TESTS): Likewise.
18173 * math/libm-test.inc: Include <math-tests.h>.
18174 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18175 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18176 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18177 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18179 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18181 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18184 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18186 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18187 otherwise empty TRANS lines.
18188 * sysdeps/gnu/errlist.c: Regenerated.
18190 * catgets/gencat.c (error_print): Use (void) in function
18192 * crypt/crypt_util.c (__init_des): Likewise.
18193 * crypt/speeds.c (Stop): Likewise.
18195 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18196 * inet/ruserpass.c (token): Likewise.
18197 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18198 * intl/localealias.c (extend_alias_table): Likewise.
18199 * intl/plural-exp.c (init_germanic_plural): Likewise.
18200 * libio/fcloseall.c (__fcloseall): Likewise.
18201 * libio/genops.c (_IO_flush_all): Likewise.
18202 (_IO_flush_all_linebuffered): Likewise.
18203 (_IO_cleanup): Likewise.
18204 (_IO_iter_begin): Likewise.
18205 (_IO_iter_end): Likewise.
18206 (_IO_list_lock): Likewise.
18207 (_IO_list_unlock): Likewise.
18208 (_IO_list_resetlock): Likewise.
18209 * libio/getchar.c (getchar): Likewise.
18210 * libio/getchar_u.c (getchar_unlocked): Likewise.
18211 * libio/getwchar.c (getwchar): Likewise.
18212 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18213 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18214 * login/getpt.c (__getpt): Likewise.
18215 * login/tst-utmp.c (main): Likewise.
18216 * malloc/hooks.c (__malloc_check_init): Likewise.
18217 * malloc/malloc.c (__malloc_stats): Likewise.
18218 * malloc/mtrace.c (tr_break): Likewise.
18219 (mtrace): Likewise.
18220 (muntrace): Likewise.
18221 * misc/fstab.c (endfsent): Likewise.
18222 * misc/getclktck.c (__getclktck): Likewise.
18223 * misc/getdtsz.c (__getdtablesize): Likewise.
18224 * misc/gethostid.c (gethostid): Likewise.
18225 * misc/getpagesize.c (__getpagesize): Likewise.
18226 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18227 (__get_nprocs): Likewise.
18228 (__get_phys_pages): Likewise.
18229 (__get_avphys_pages): Likewise.
18230 * misc/getttyent.c (getttyent): Likewise.
18231 (setttyent): Likewise.
18232 (endttyent): Likewise.
18233 * misc/getusershell.c (getusershell): Likewise.
18234 (endusershell): Likewise.
18235 (setusershell): Likewise.
18236 (initshells): Likewise.
18237 * misc/hsearch.c (__hdestroy): Likewise.
18238 * misc/sync.c (sync): Likewise.
18239 * misc/syslog.c (closelog_internal): Likewise.
18240 (closelog): Likewise.
18241 * misc/ttyslot.c (ttyslot): Likewise.
18242 * misc/vhangup.c (vhangup): Likewise.
18243 * posix/fork.c (__fork): Likewise.
18244 * posix/getegid.c (__getegid): Likewise.
18245 * posix/geteuid.c (__geteuid): Likewise.
18246 * posix/getgid.c (__getgid): Likewise.
18247 * posix/getpid.c (__getpid): Likewise.
18248 * posix/getppid.c (__getppid): Likewise.
18249 * posix/getuid.c (__getuid): Likewise.
18250 * posix/pause.c (pause): Likewise.
18251 * posix/setpgrp.c (setpgrp): Likewise.
18252 * posix/setsid.c (__setsid): Likewise.
18253 * posix/test-vfork.c (noop): Likewise.
18254 * resolv/gethnamaddr.c (_endhtent): Likewise.
18255 (_gethtent): Likewise.
18256 (ht_endhostent): Likewise.
18257 (gethostent): Likewise.
18258 (dns_service): Likewise.
18259 * stdlib/drand48.c (drand48): Likewise.
18260 * stdlib/lrand48.c (lrand48): Likewise.
18261 * stdlib/mrand48.c (mrand48): Likewise.
18262 * stdlib/rand.c (rand): Likewise.
18263 * stdlib/random.c (__random): Likewise.
18264 * stdlib/setenv.c (clearenv): Likewise.
18265 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18266 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18267 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18268 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18269 (__get_nprocs): Likewise.
18270 (__get_phys_pages): Likewise.
18271 (__get_avphys_pages): Likewise.
18272 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18273 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18274 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18275 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18276 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18277 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18278 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18279 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18280 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18281 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18282 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18283 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18284 * sysdeps/posix/clock.c (clock): Likewise.
18285 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18286 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18287 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18288 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18289 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18290 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18291 (__get_nprocs_conf): Likewise.
18292 (__get_phys_pages): Likewise.
18293 (__get_avphys_pages): Likewise.
18294 * time/clock.c (clock): Likewise.
18295 * time/tzset.c (__tzname_max): Likewise.
18297 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18299 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18300 (__bswap_32): Do not use "register".
18301 * crypt/crypt.c (_ufc_doit_r): Likewise.
18302 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18303 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18304 * gmon/gmon.c (__monstartup): Likewise.
18305 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18306 * hurd/hurdmalloc.c (more_memory): Likewise.
18307 (malloc): Likewise.
18309 (realloc): Likewise.
18310 (malloc_fork_prepare): Likewise.
18311 (malloc_fork_parent): Likewise.
18312 (malloc_fork_child): Likewise.
18313 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18314 (_svcauth_des): Likewise.
18315 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18316 * inet/inet_net.c (inet_network): Likewise.
18317 * inet/inet_netof.c (inet_netof): Likewise.
18318 * inet/rcmd.c (__validuser2_sa): Likewise.
18319 * io/fts.c (fts_open): Likewise.
18320 (fts_load): Likewise.
18321 (fts_close): Likewise.
18322 (fts_read): Likewise.
18323 (fts_children): Likewise.
18324 (fts_build): Likewise.
18325 (fts_stat): Likewise.
18326 (fts_sort): Likewise.
18327 (fts_alloc): Likewise.
18328 (fts_lfree): Likewise.
18329 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18330 (_IO_file_xsgetn): Likewise.
18331 (_IO_file_xsgetn_mmap): Likewise.
18332 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18333 (_IO_cookie_write): Likewise.
18334 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18335 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18336 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18337 * malloc/obstack.c (_obstack_begin): Likewise.
18338 (_obstack_begin_1): Likewise.
18339 (_obstack_newchunk): Likewise.
18340 (_obstack_allocated_p): Likewise.
18341 (obstack_free): Likewise.
18342 (_obstack_memory_used): Likewise.
18343 * misc/getttyent.c (getttynam): Likewise.
18344 (getttyent): Likewise.
18347 * misc/getusershell.c (initshells): Likewise.
18348 * misc/syslog.c (__vsyslog_chk): Likewise.
18349 * misc/ttyslot.c (ttyslot): Likewise.
18350 * nis/nis_hash.c (__nis_hash): Likewise.
18351 * posix/fnmatch_loop.c (FCT): Likewise.
18352 * posix/getconf.c (print_all): Likewise.
18354 * posix/getopt.c (exchange): Likewise.
18355 * posix/glob.c (globfree): Likewise.
18356 (prefix_array): Likewise.
18357 (__glob_pattern_type): Likewise.
18358 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18359 (NS_GET32): Likewise.
18360 (NS_PUT16): Likewise.
18361 (NS_PUT32): Likewise.
18362 * resolv/gethnamaddr.c (getanswer): Likewise.
18363 (gethostbyname2): Likewise.
18364 (gethostbyaddr): Likewise.
18365 (_gethtent): Likewise.
18366 (_gethtbyname2): Likewise.
18367 (_gethtbyaddr): Likewise.
18368 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18369 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18370 * resolv/res_init.c (__res_vinit): Likewise.
18371 (net_mask): Likewise.
18372 * resolv/res_mkquery.c (outchar): Likewise.
18374 * stdio-common/printf_fp.c (outchar): Likewise.
18376 * stdio-common/printf_fphex.c (outchar): Likewise.
18378 * stdio-common/printf_size.c (outchar): Likewise.
18380 * stdio-common/test_rdwr.c (main): Likewise.
18381 * stdio-common/tfformat.c (matches): Likewise.
18382 * stdio-common/vfprintf.c (outchar): Likewise.
18383 (printf_unknown): Likewise.
18384 (buffered_vfprintf): Likewise.
18385 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18386 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18387 (ReadFile): Likewise.
18388 * stdlib/qsort.c (SWAP): Likewise.
18389 (_quicksort): Likewise.
18390 * stdlib/setenv.c (__add_to_environ): Likewise.
18391 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18392 * stdlib/strtol_l.c (__strtol_l): Likewise.
18393 * stdlib/tst-strtod.c (main): Likewise.
18394 * stdlib/tst-strtol.c (main): Likewise.
18395 * stdlib/tst-strtoll.c (main): Likewise.
18396 * string/bits/string2.h (__strcmp_cc): Likewise.
18397 (__strcmp_cg): Likewise.
18398 (__strcspn_c1): Likewise.
18399 (__strcspn_c2): Likewise.
18400 (__strcspn_c3): Likewise.
18401 (__strspn_c1): Likewise.
18402 (__strspn_c2): Likewise.
18403 (__strspn_c3): Likewise.
18404 (__strsep_1c): Likewise.
18405 (__strsep_2c): Likewise.
18406 (__strsep_3c): Likewise.
18407 * string/memccpy.c (__memccpy): Likewise.
18408 * string/stpcpy.c (__stpcpy): Likewise.
18409 * string/strcmp.c (strcmp): Likewise.
18410 * string/strrchr.c (strrchr): Likewise.
18411 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18413 * sysdeps/mach/hurd/getcwd.c
18414 (_hurd_canonicalize_directory_name_internal): Likewise.
18415 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18416 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18417 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18418 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18419 Likewise, in both definitions.
18420 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18422 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18423 64] (__bswap_64): Likewise.
18424 * time/test_time.c (main): Likewise.
18425 * time/tzfile.c (__tzfile_read): Likewise.
18426 (__tzfile_compute): Likewise.
18427 * time/tzset.c (__tzset_parse_tz): Likewise.
18428 (tzset_internal): Likewise.
18429 (compute_change): Likewise.
18430 * wcsmbs/wcscat.c (__wcscat): Likewise.
18431 * wcsmbs/wcschr.c (wcschr): Likewise.
18432 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18433 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18434 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18435 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18436 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18437 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18438 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18439 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18440 * wcsmbs/wmemset.c (wmemset): Likewise.
18442 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18444 * scripts/config.guess: Update to version 2013-05-16.
18445 * scripts/config.sub: Update to version 2013-04-24.
18446 * scripts/install-sh: Update to version 2011-11-20.07.
18447 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18448 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18450 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18452 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18453 * elf/sln.c: Likewise.
18454 * hurd/hurd/ioctl.h: Likewise.
18455 * hurd/hurdmalloc.c: Likewise.
18456 * hurd/xattr.c: Likewise.
18457 * include/shlib-compat.h: Likewise.
18458 * inet/ruserpass.c: Likewise.
18459 * libio/iofgets_u.c: Likewise.
18460 * libio/iofgetws_u.c: Likewise.
18461 * locale/programs/ld-identification.c: Likewise.
18462 * locale/programs/ld-time.c: Likewise.
18463 * mach/msg-destroy.c: Likewise.
18464 * nss/nss_files/files-netgrp.c: Likewise.
18465 * resolv/res_data.c: Likewise.
18466 * soft-fp/op-1.h: Likewise.
18467 * soft-fp/op-2.h: Likewise.
18468 * soft-fp/op-4.h: Likewise.
18469 * soft-fp/op-common.h: Likewise.
18470 * stdio-common/printf_fphex.c: Likewise.
18471 * stdlib/strtod_l.c: Likewise.
18472 * sunrpc/rpc/clnt.h: Likewise.
18473 * sysdeps/generic/framestate.c: Likewise.
18474 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18475 * sysdeps/i386/bsd-setjmp.S: Likewise.
18476 * sysdeps/i386/__longjmp.S: Likewise.
18477 * sysdeps/i386/setjmp.S: Likewise.
18478 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18479 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18480 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18481 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18482 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18483 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18484 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18485 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18486 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18487 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18488 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18489 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18490 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18491 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18492 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18493 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18494 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18495 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18496 * sysdeps/ieee754/support.c: Likewise.
18497 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18498 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18499 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18500 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18501 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18502 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18503 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18504 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18505 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18506 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18507 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18508 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18509 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18510 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18511 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18512 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18513 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18516 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18518 * posix/transbug.c: Remove executable mode.
18520 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18522 * crypt/speeds.c: Remove trailing whitespace.
18523 * dlfcn/default.c: Likewise.
18524 * elf/ifuncdep2.c: Likewise.
18525 * elf/ifuncmain1.c: Likewise.
18526 * elf/ifuncmain1vis.c: Likewise.
18527 * elf/testobj.h: Likewise.
18528 * elf/tst-stackguard1.c: Likewise.
18529 * gmon/sys/gmon.h: Likewise.
18530 * hurd/hurdmsg.c: Likewise.
18531 * hurd/new-fd.c: Likewise.
18532 * hurd/ports-get.c: Likewise.
18533 * iconvdata/ibm1008_420.c: Likewise.
18534 * inet/tst-getni1.c: Likewise.
18535 * inet/tst-getni2.c: Likewise.
18536 * libio/ioungetc.c: Likewise.
18537 * libio/wfiledoalloc.c: Likewise.
18538 * manual/libm-err-tab.pl: Likewise.
18539 * math/w_dremf.c: Likewise.
18540 * misc/ftruncate.c: Likewise.
18541 * posix/bug-glob2.c: Likewise.
18542 * posix/tst-pcre.c: Likewise.
18543 * posix/wait4.c: Likewise.
18544 * resolv/README: Likewise.
18545 * resolv/res_debug.h: Likewise.
18546 * resolv/tst-inet_ntop.c: Likewise.
18547 * setjmp/bug269-setjmp.c: Likewise.
18548 * soft-fp/extended.h: Likewise.
18549 * soft-fp/op-1.h: Likewise.
18550 * soft-fp/op-2.h: Likewise.
18551 * soft-fp/op-4.h: Likewise.
18552 * soft-fp/op-8.h: Likewise.
18553 * soft-fp/testit.c: Likewise.
18554 * stdio-common/bug16.c: Likewise.
18555 * stdlib/random.c: Likewise.
18556 * sunrpc/rpcsvc/rquota.x: Likewise.
18557 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18558 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18559 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18560 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18561 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18562 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18563 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18564 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18565 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18566 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18567 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18568 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18569 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18570 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18571 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18572 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18573 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18574 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18575 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18576 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18577 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18578 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18579 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18580 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18581 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18586 * sysdeps/ieee754/s_lib_version.c: Likewise.
18587 * sysdeps/mach/hurd/check_fds.c: Likewise.
18588 * sysdeps/mach/hurd/getsockname.c: Likewise.
18589 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18590 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18591 * sysdeps/powerpc/bits/link.h: Likewise.
18592 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18593 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18594 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18595 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18596 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18597 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18598 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18599 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18600 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18601 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18602 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18603 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18604 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18605 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18606 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18607 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18608 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18609 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18610 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18611 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18612 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18613 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18614 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18615 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18616 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18617 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18618 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18619 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18620 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18621 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18622 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18623 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18624 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18625 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18626 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18627 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18628 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18629 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18630 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18631 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18632 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18633 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18634 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18635 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18636 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18637 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18638 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18639 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18640 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18641 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18644 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18645 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18646 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18647 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18648 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18649 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18650 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18651 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18652 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18653 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18654 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18655 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18656 * sysdeps/powerpc/sysdep.h: Likewise.
18657 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18658 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18659 * sysdeps/sh/dl-trampoline.S: Likewise.
18660 * sysdeps/sh/memset.S: Likewise.
18661 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18662 * sysdeps/sh/strlen.S: Likewise.
18663 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18664 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18665 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18666 * sysdeps/sparc/sparc32/rem.S: Likewise.
18667 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18668 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18669 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18670 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18671 * sysdeps/sparc/sparc32/urem.S: Likewise.
18672 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18673 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18674 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18675 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18676 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18677 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18678 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18679 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18680 * sysdeps/unix/bsd/times.c: Likewise.
18681 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18682 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18686 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18687 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18688 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18689 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18690 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18691 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18692 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18693 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18694 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18695 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18696 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18697 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18698 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18699 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18700 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18701 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18702 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18703 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18704 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18705 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18706 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18707 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18708 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18709 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18710 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18711 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18712 * sysdeps/x86_64/strcspn.S: Likewise.
18714 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18716 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18717 generated file. Regenerate properly from gen-translit.pl.
18718 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18719 locale/C-translit.h.
18721 2013-06-05 Andreas Schwab <schwab@suse.de>
18724 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18725 week as 6 instead of -1.
18726 * time/tst-strptime.c (day_tests): Add test case.
18728 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18730 * sysdeps/generic/math_private.h
18731 (libc_feholdexcept_setround_53bit): Replace with
18732 libc_feholdsetround_53bit.
18733 (libc_feupdateenv_53bit): Replace with
18734 libc_feresetround_53bit.
18735 (SET_RESTORE_ROUND_53BIT): Adjust.
18737 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18739 * string/test-strchrnul.c: Add copyright header.
18741 * posix/tst-getaddrinfo4.c: Increase test timeout.
18743 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18746 * math/libm-test.inc (MAX_EXP): Remove
18748 (ulp): Use MIN_EXP - MANT_DIG.
18749 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18751 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18753 * po/be.po: Revert last change.
18754 * po/zh_CN.po: Likewise.
18755 * po/header.pot: Likewise.
18757 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18759 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18760 link-libc-deps to empty as target-specific variable.
18761 * Makerules (link-libc-args): New variable.
18762 (libc-for-link): Likewise.
18763 (link-libc-deps): Likewise.
18764 (lib%.so): Depend on $(link-libc-deps). Link with
18766 (build-module): Link with $(link-libc-args).
18767 (build-module-asneeded): Likewise.
18768 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18770 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18771 target-specific variable.
18772 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18773 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18774 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18776 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18778 ($(objpfx)libpcprofile.so): Likewise.
18779 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18781 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18782 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18783 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18785 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18786 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18787 * login/Makefile ($(objpfx)libutil.so): Likewise.
18788 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18789 * math/Makefile ($(objpfx)libm.so): Likewise.
18790 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18791 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18792 variable instead of depending directly on libc.
18793 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18794 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18796 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18798 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18799 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18800 ($(objpfx)libanl.so): Likewise.
18801 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18803 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18805 * sysdeps/i386/fpu/Makefile: Remove file.
18806 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18807 ($(objpfx)libm.so): Remove dependency on ld.so.
18809 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18812 * nis/yp_xdr.c (XDRMAXNAME): Define.
18813 (XDRMAXRECORD): Define.
18814 (xdr_domainname): Use XDRMAXNAME.
18815 (xdr_mapname): Likewise.
18816 (xdr_peername): Likewise.
18817 (xdr_keydat): Use XDRMAXRECORD.
18818 (xdr_valdat): Likewise.
18820 2013-05-30 Jeff Law <law@redhat.com>
18823 * manual/errno.texi (ESTALE): Update to account for more than
18824 just NFS file systems.
18825 * sysdeps/gnu/errlist.c: Regenerated.
18827 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18830 * elf/Makefile (tests): Add tst-null-argv.
18831 (modules-names): Add tst-null-argv-lib.
18832 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18833 (tst-null-argv-ENV): Set environment for tst-null-argv.
18834 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18835 (RTLD_PROGNAME): New macro.
18836 * elf/tst-null-argv.c: New test case.
18837 * elf/tst-null-argv-lib.c: Library for test case.
18838 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18839 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18840 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18841 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18842 * elf/dl-init.c (call_init): Likewise.
18843 (_dl_init): Likewise.
18844 * elf/dl-load.c (print_search_path): Likewise.
18845 (_dl_map_object): Likewise.
18846 * elf/dl-lookup.c (do_lookup_x): Likewise.
18847 (add_dependency): Likewise.
18848 (_dl_lookup_symbol_x): Likewise.
18849 (_dl_debug_bindings): Likewise.
18850 * elf/dl-open.c (_dl_show_scope): Likewise.
18851 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18852 * elf/dl-version.c (match_symbol): Likewise.
18853 (_dl_check_map_versions): Likewise.
18854 * elf/rtld.c (dl_main): Likewise.
18855 (print_unresolved): Use RTLD_PROGNAME.
18856 (print_missing_version): Likewise.
18857 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18858 (elf_machine_rela): Likewise.
18859 * sysdeps/powerpc/powerpc32/dl-machine.c
18860 (__process_machine_rela): Likewise.
18861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18863 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18865 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18867 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18872 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18874 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18876 * po/be.po: Add descriptive title.
18877 * po/zh_CN.po: Likewise.
18878 * po/header.pot: Likewise.
18880 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18882 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18884 (enlarge_archive): Likewise.
18886 2013-05-28 Ben North <ben@redfrontdoor.org>
18888 * manual/arith.texi (frexp): It is the magnitude of the return
18889 value which lies in [0.5, 1), not the return value itself.
18891 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18895 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18897 * stdio-common/bug26.c (main): Correct fscanf template.
18899 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18900 declare _dl_skip_args.
18902 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18905 * manual/platform.texi: Add missing @end deftypefun.
18907 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18910 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18911 bit of mantissa of 2^16382.
18912 * math/libm-test.inc (hypot_test_data): Add more tests.
18914 * math/libm-test.inc: Add drem and pow10 to list of tested
18916 (pow10_test): New function.
18917 (drem_test): Likewise.
18918 (drem_test_tonearest): Likewise.
18919 (drem_test_towardzero): Likewise.
18920 (drem_test_downward): Likewise.
18921 (drem_test_upward): Likewise.
18922 (main): Call the new functions.
18924 * math/libm-test.inc (finite_test_data): Remove.
18925 (finite_test): Run tests from isfinite_test_data.
18926 (gamma_test_data): Remove.
18927 (gamma_test): Run tests from lgamma_test_data.
18928 * sysdeps/i386/fpu/libm-test-ulps: Update.
18929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18931 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18933 * manual/platform.texi: Add PowerPC PPR function set documentation.
18934 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18937 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18939 * math/libm-test.inc (MAX_EXP): Define.
18941 (ulp): New function.
18942 (check_float_internal): Use ULPDIFF.
18943 (cpow_test): Disable failing test.
18944 (check_ulp): Test ulp() implemetnation.
18945 (main): Call check_ulp before starting tests.
18947 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18949 * math/gen-libm-test.pl (generate_testfile): Do not handle
18950 START_DATA and END_DATA.
18951 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18953 (acos_tonearest_test_data): Likewise.
18954 (acos_towardzero_test_data): Likewise.
18955 (acos_downward_test_data): Likewise.
18956 (acos_upward_test_data): Likewise.
18957 (acosh_test_data): Likewise.
18958 (asin_test_data): Likewise.
18959 (asin_tonearest_test_data): Likewise.
18960 (asin_towardzero_test_data): Likewise.
18961 (asin_downward_test_data): Likewise.
18962 (asin_upward_test_data): Likewise.
18963 (asinh_test_data): Likewise.
18964 (atan_test_data): Likewise.
18965 (atanh_test_data): Likewise.
18966 (atan2_test_data): Likewise.
18967 (cabs_test_data): Likewise.
18968 (cacos_test_data): Likewise.
18969 (cacosh_test_data): Likewise.
18970 (carg_test_data): Likewise.
18971 (casin_test_data): Likewise.
18972 (casinh_test_data): Likewise.
18973 (catan_test_data): Likewise.
18974 (catanh_test_data): Likewise.
18975 (cbrt_test_data): Likewise.
18976 (ccos_test_data): Likewise.
18977 (ccosh_test_data): Likewise.
18978 (ceil_test_data): Likewise.
18979 (cexp_test_data): Likewise.
18980 (cimag_test_data): Likewise.
18981 (clog_test_data): Likewise.
18982 (clog10_test_data): Likewise.
18983 (conj_test_data): Likewise.
18984 (copysign_test_data): Likewise.
18985 (cos_test_data): Likewise.
18986 (cos_tonearest_test_data): Likewise.
18987 (cos_towardzero_test_data): Likewise.
18988 (cos_downward_test_data): Likewise.
18989 (cos_upward_test_data): Likewise.
18990 (cosh_test_data): Likewise.
18991 (cosh_tonearest_test_data): Likewise.
18992 (cosh_towardzero_test_data): Likewise.
18993 (cosh_downward_test_data): Likewise.
18994 (cosh_upward_test_data): Likewise.
18995 (cpow_test_data): Likewise.
18996 (cproj_test_data): Likewise.
18997 (creal_test_data): Likewise.
18998 (csin_test_data): Likewise.
18999 (csinh_test_data): Likewise.
19000 (csqrt_test_data): Likewise.
19001 (ctan_test_data): Likewise.
19002 (ctan_tonearest_test_data): Likewise.
19003 (ctan_towardzero_test_data): Likewise.
19004 (ctan_downward_test_data): Likewise.
19005 (ctan_upward_test_data): Likewise.
19006 (ctanh_test_data): Likewise.
19007 (ctanh_tonearest_test_data): Likewise.
19008 (ctanh_towardzero_test_data): Likewise.
19009 (ctanh_downward_test_data): Likewise.
19010 (ctanh_upward_test_data): Likewise.
19011 (erf_test_data): Likewise.
19012 (erfc_test_data): Likewise.
19013 (exp_test_data): Likewise.
19014 (exp_tonearest_test_data): Likewise.
19015 (exp_towardzero_test_data): Likewise.
19016 (exp_downward_test_data): Likewise.
19017 (exp_upward_test_data): Likewise.
19018 (exp10_test_data): Likewise.
19019 (exp2_test_data): Likewise.
19020 (expm1_test_data): Likewise.
19021 (fabs_test_data): Likewise.
19022 (fdim_test_data): Likewise.
19023 (finite_test_data): Likewise.
19024 (floor_test_data): Likewise.
19025 (fma_test_data): Likewise.
19026 (fma_towardzero_test_data): Likewise.
19027 (fma_downward_test_data): Likewise.
19028 (fma_upward_test_data): Likewise.
19029 (fmax_test_data): Likewise.
19030 (fmin_test_data): Likewise.
19031 (fmod_test_data): Likewise.
19032 (fpclassify_test_data): Likewise.
19033 (frexp_test_data): Likewise.
19034 (gamma_test_data): Likewise.
19035 (hypot_test_data): Likewise.
19036 (ilogb_test_data): Likewise.
19037 (isfinite_test_data): Likewise.
19038 (isgreater_test_data): Likewise.
19039 (isgreaterequal_test_data): Likewise.
19040 (isinf_test_data): Likewise.
19041 (isless_test_data): Likewise.
19042 (islessequal_test_data): Likewise.
19043 (islessgreater_test_data): Likewise.
19044 (isnan_test_data): Likewise.
19045 (isnormal_test_data): Likewise.
19046 (issignaling_test_data): Likewise.
19047 (isunordered_test_data): Likewise.
19048 (j0_test_data): Likewise.
19049 (j1_test_data): Likewise.
19050 (jn_test_data): Likewise.
19051 (ldexp_test_data): Likewise.
19052 (lgamma_test_data): Likewise.
19053 (lrint_test_data): Likewise.
19054 (lrint_tonearest_test_data): Likewise.
19055 (lrint_towardzero_test_data): Likewise.
19056 (lrint_downward_test_data): Likewise.
19057 (lrint_upward_test_data): Likewise.
19058 (llrint_test_data): Likewise.
19059 (llrint_tonearest_test_data): Likewise.
19060 (llrint_towardzero_test_data): Likewise.
19061 (llrint_downward_test_data): Likewise.
19062 (llrint_upward_test_data): Likewise.
19063 (log_test_data): Likewise.
19064 (log10_test_data): Likewise.
19065 (log1p_test_data): Likewise.
19066 (log2_test_data): Likewise.
19067 (logb_test_data): Likewise.
19068 (logb_downward_test_data): Likewise.
19069 (lround_test_data): Likewise.
19070 (llround_test_data): Likewise.
19071 (modf_test_data): Likewise.
19072 (nearbyint_test_data): Likewise.
19073 (nextafter_test_data): Likewise.
19074 (nexttoward_test_data): Likewise.
19075 (pow_test_data): Likewise.
19076 (pow_tonearest_test_data): Likewise.
19077 (pow_towardzero_test_data): Likewise.
19078 (pow_downward_test_data): Likewise.
19079 (pow_upward_test_data): Likewise.
19080 (remainder_test_data): Likewise.
19081 (remainder_tonearest_test_data): Likewise.
19082 (remainder_towardzero_test_data): Likewise.
19083 (remainder_downward_test_data): Likewise.
19084 (remainder_upward_test_data): Likewise.
19085 (remquo_test_data): Likewise.
19086 (rint_test_data): Likewise.
19087 (rint_tonearest_test_data): Likewise.
19088 (rint_towardzero_test_data): Likewise.
19089 (rint_downward_test_data): Likewise.
19090 (rint_upward_test_data): Likewise.
19091 (round_test_data): Likewise.
19092 (scalb_test_data): Likewise.
19093 (scalbn_test_data): Likewise.
19094 (scalbln_test_data): Likewise.
19095 (signbit_test_data): Likewise.
19096 (sin_test_data): Likewise.
19097 (sin_tonearest_test_data): Likewise.
19098 (sin_towardzero_test_data): Likewise.
19099 (sin_downward_test_data): Likewise.
19100 (sin_upward_test_data): Likewise.
19101 (sincos_test_data): Likewise.
19102 (sinh_test_data): Likewise.
19103 (sinh_tonearest_test_data): Likewise.
19104 (sinh_towardzero_test_data): Likewise.
19105 (sinh_downward_test_data): Likewise.
19106 (sinh_upward_test_data): Likewise.
19107 (sqrt_test_data): Likewise.
19108 (tan_test_data): Likewise.
19109 (tan_tonearest_test_data): Likewise.
19110 (tan_towardzero_test_data): Likewise.
19111 (tan_downward_test_data): Likewise.
19112 (tan_upward_test_data): Likewise.
19113 (tanh_test_data): Likewise.
19114 (tgamma_test_data): Likewise.
19115 (trunc_test_data): Likewise.
19116 (y0_test_data): Likewise.
19117 (y1_test_data): Likewise.
19118 (yn_test_data): Likewise.
19119 (significand_test_data): Likewise.
19121 * math/gen-libm-test.pl (@functions): Remove variable.
19122 (generate_testfile): Don't handle START and END lines.
19123 * math/libm-test.inc (START): New macro.
19125 (END_COMPLEX): Likewise.
19126 (acos_test): Use END macro without arguments.
19127 (acos_test_tonearest): Likewise.
19128 (acos_test_towardzero): Likewise.
19129 (acos_test_downward): Likewise.
19130 (acos_test_upward): Likewise.
19131 (acosh_test): Likewise.
19132 (asin_test): Likewise.
19133 (asin_test_tonearest): Likewise.
19134 (asin_test_towardzero): Likewise.
19135 (asin_test_downward): Likewise.
19136 (asin_test_upward): Likewise.
19137 (asinh_test): Likewise.
19138 (atan_test): Likewise.
19139 (atanh_test): Likewise.
19140 (atan2_test): Likewise.
19141 (cabs_test): Likewise.
19142 (cacos_test): Use END_COMPLEX macro without arguments.
19143 (cacosh_test): Likewise.
19144 (carg_test): Use END macro without arguments.
19145 (casin_test): Use END_COMPLEX macro without arguments.
19146 (casinh_test): Likewise.
19147 (catan_test): Likewise.
19148 (catanh_test): Likewise.
19149 (cbrt_test): Use END macro without arguments.
19150 (ccos_test): Use END_COMPLEX macro without arguments.
19151 (ccosh_test): Likewise.
19152 (ceil_test): Use END macro without arguments.
19153 (cexp_test): Use END_COMPLEX macro without arguments.
19154 (cimag_test): Use END macro without arguments.
19155 (clog_test): Use END_COMPLEX macro without arguments.
19156 (clog10_test): Likewise.
19157 (conj_test): Likewise.
19158 (copysign_test): Use END macro without arguments.
19159 (cos_test): Likewise.
19160 (cos_test_tonearest): Likewise.
19161 (cos_test_towardzero): Likewise.
19162 (cos_test_downward): Likewise.
19163 (cos_test_upward): Likewise.
19164 (cosh_test): Likewise.
19165 (cosh_test_tonearest): Likewise.
19166 (cosh_test_towardzero): Likewise.
19167 (cosh_test_downward): Likewise.
19168 (cosh_test_upward): Likewise.
19169 (cpow_test): Use END_COMPLEX macro without arguments.
19170 (cproj_test): Likewise.
19171 (creal_test): Use END macro without arguments.
19172 (csin_test): Use END_COMPLEX macro without arguments.
19173 (csinh_test): Likewise.
19174 (csqrt_test): Likewise.
19175 (ctan_test): Likewise.
19176 (ctan_test_tonearest): Likewise.
19177 (ctan_test_towardzero): Likewise.
19178 (ctan_test_downward): Likewise.
19179 (ctan_test_upward): Likewise.
19180 (ctanh_test): Likewise.
19181 (ctanh_test_tonearest): Likewise.
19182 (ctanh_test_towardzero): Likewise.
19183 (ctanh_test_downward): Likewise.
19184 (ctanh_test_upward): Likewise.
19185 (erf_test): Use END macro without arguments.
19186 (erfc_test): Likewise.
19187 (exp_test): Likewise.
19188 (exp_test_tonearest): Likewise.
19189 (exp_test_towardzero): Likewise.
19190 (exp_test_downward): Likewise.
19191 (exp_test_upward): Likewise.
19192 (exp10_test): Likewise.
19193 (exp2_test): Likewise.
19194 (expm1_test): Likewise.
19195 (fabs_test): Likewise.
19196 (fdim_test): Likewise.
19197 (finite_test): Likewise.
19198 (floor_test): Likewise.
19199 (fma_test): Likewise.
19200 (fma_test_towardzero): Likewise.
19201 (fma_test_downward): Likewise.
19202 (fma_test_upward): Likewise.
19203 (fmax_test): Likewise.
19204 (fmin_test): Likewise.
19205 (fmod_test): Likewise.
19206 (fpclassify_test): Likewise.
19207 (frexp_test): Likewise.
19208 (gamma_test): Likewise.
19209 (hypot_test): Likewise.
19210 (ilogb_test): Likewise.
19211 (isfinite_test): Likewise.
19212 (isgreater_test): Likewise.
19213 (isgreaterequal_test): Likewise.
19214 (isinf_test): Likewise.
19215 (isless_test): Likewise.
19216 (islessequal_test): Likewise.
19217 (islessgreater_test): Likewise.
19218 (isnan_test): Likewise.
19219 (isnormal_test): Likewise.
19220 (issignaling_test): Likewise.
19221 (isunordered_test): Likewise.
19222 (j0_test): Likewise.
19223 (j1_test): Likewise.
19224 (jn_test): Likewise.
19225 (ldexp_test): Likewise.
19226 (lgamma_test): Likewise.
19227 (lrint_test): Likewise.
19228 (lrint_test_tonearest): Likewise.
19229 (lrint_test_towardzero): Likewise.
19230 (lrint_test_downward): Likewise.
19231 (lrint_test_upward): Likewise.
19232 (llrint_test): Likewise.
19233 (llrint_test_tonearest): Likewise.
19234 (llrint_test_towardzero): Likewise.
19235 (llrint_test_downward): Likewise.
19236 (llrint_test_upward): Likewise.
19237 (log_test): Likewise.
19238 (log10_test): Likewise.
19239 (log1p_test): Likewise.
19240 (log2_test): Likewise.
19241 (logb_test): Likewise.
19242 (logb_test_downward): Likewise.
19243 (lround_test): Likewise.
19244 (llround_test): Likewise.
19245 (modf_test): Likewise.
19246 (nearbyint_test): Likewise.
19247 (nextafter_test): Likewise.
19248 (nexttoward_test): Likewise.
19249 (pow_test): Likewise.
19250 (pow_test_tonearest): Likewise.
19251 (pow_test_towardzero): Likewise.
19252 (pow_test_downward): Likewise.
19253 (pow_test_upward): Likewise.
19254 (remainder_test): Likewise.
19255 (remainder_test_tonearest): Likewise.
19256 (remainder_test_towardzero): Likewise.
19257 (remainder_test_downward): Likewise.
19258 (remainder_test_upward): Likewise.
19259 (remquo_test): Likewise.
19260 (rint_test): Likewise.
19261 (rint_test_tonearest): Likewise.
19262 (rint_test_towardzero): Likewise.
19263 (rint_test_downward): Likewise.
19264 (rint_test_upward): Likewise.
19265 (round_test): Likewise.
19266 (scalb_test): Likewise.
19267 (scalbn_test): Likewise.
19268 (scalbln_test): Likewise.
19269 (signbit_test): Likewise.
19270 (sin_test): Likewise.
19271 (sin_test_tonearest): Likewise.
19272 (sin_test_towardzero): Likewise.
19273 (sin_test_downward): Likewise.
19274 (sin_test_upward): Likewise.
19275 (sincos_test): Likewise.
19276 (sinh_test): Likewise.
19277 (sinh_test_tonearest): Likewise.
19278 (sinh_test_towardzero): Likewise.
19279 (sinh_test_downward): Likewise.
19280 (sinh_test_upward): Likewise.
19281 (sqrt_test): Likewise.
19282 (tan_test): Likewise.
19283 (tan_test_tonearest): Likewise.
19284 (tan_test_towardzero): Likewise.
19285 (tan_test_downward): Likewise.
19286 (tan_test_upward): Likewise.
19287 (tanh_test): Likewise.
19288 (tgamma_test): Likewise.
19289 (trunc_test): Likewise.
19290 (y0_test): Likewise.
19291 (y1_test): Likewise.
19292 (yn_test): Likewise.
19293 (significand_test): Likewise.
19295 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19298 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19300 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19303 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19304 __ppc_mdoio and __ppc_mdoom.
19305 * manual/platform.texi: Document new functions __ppc_yield,
19306 __ppc_mdoio and __ppc_mdoom.
19308 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19310 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19311 (main): Mention "tls" pseudo-hwcap is legacy.
19312 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19314 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19316 * math/gen-libm-test.pl (parse_args): Output only string of
19317 arguments as text for test name, not full call or descriptions of
19318 tests for extra outputs.
19319 (generate_testfile): Do not pass function name to parse_args.
19320 Generate this_func variable from START.
19321 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19323 (struct test_ff_f_data): Likewise.
19324 (test_ff_f_data_nexttoward): Likewise.
19325 (struct test_fi_f_data): Likewise.
19326 (struct test_fl_f_data): Likewise.
19327 (struct test_if_f_data): Likewise.
19328 (struct test_fff_f_data): Likewise.
19329 (struct test_c_f_data): Likewise.
19330 (struct test_f_f1_data): Likewise. Remove field extra_name.
19331 (struct test_fF_f1_data): Likewise.
19332 (struct test_ffI_f1_data): Likewise.
19333 (struct test_c_c_data): Rename test_name field to arg_str.
19334 (struct test_cc_c_data): Likewise.
19335 (struct test_f_i_data): Likewise.
19336 (struct test_ff_i_data): Likewise.
19337 (struct test_f_l_data): Likewise.
19338 (struct test_f_L_data): Likewise.
19339 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19341 (COMMON_TEST_SETUP): New macro.
19342 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19343 (COMMON_TEST_CLEANUP): Likewise.
19344 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19345 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19347 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19348 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19350 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19351 (RUN_TEST_fff_f): Take argument string. Call new setup and
19353 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19354 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19356 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19357 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19359 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19360 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19362 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19363 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19365 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19366 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19368 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19369 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19371 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19372 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19374 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19375 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19377 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19378 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19380 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19381 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19383 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19384 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19386 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19387 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19389 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19390 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19392 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19393 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19395 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19396 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19398 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19400 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19402 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19403 to _sifields.sigfault.
19404 (si_addr_lsb): Define new macro.
19405 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19406 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19407 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19409 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19412 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19414 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19416 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19417 loading the domain.
19419 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19421 * math/gen-libm-test.pl (parse_args): Do not include expected
19422 result in test name.
19423 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19425 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19426 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19427 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19430 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19432 * benchtests/Makefile: Sort function entries.
19434 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19435 tanh, asinh, acosh, atanh.
19436 * benchtests/acos-inputs: New file.
19437 * benchtests/acosh-inputs: New file.
19438 * benchtests/asin-inputs: New file.
19439 * benchtests/asinh-inputs: New file.
19440 * benchtests/atanh-inputs: New file.
19441 * benchtests/cosh-inputs: New file.
19442 * benchtests/log-inputs: New file.
19443 * benchtests/sinh-inputs: New file.
19444 * benchtests/tanh-inputs: New file.
19446 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19449 * posix/tst-getaddrinfo4.c: New test.
19450 * posix/Makefile (tests): Add it.
19452 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19455 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19456 when no services were used.
19457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19458 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19460 2013-05-21 Andreas Schwab <schwab@suse.de>
19463 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19464 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19466 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19467 redundant variable declarations and reallocation of buffer when
19468 parsing as IPv6 address. Always set NSS status when called from
19469 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19470 buffer too small. Correct computation of needed size.
19471 * nss/Makefile (tests): Add test-digits-dots.
19472 * nss/test-digits-dots.c: New test.
19474 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19476 * benchtests/Makefile: Remove instructions for adding
19478 * benchtests/README: New file to explain how to execute and
19479 enhance the benchmark tests.
19481 2013-05-21 Andreas Schwab <schwab@suse.de>
19484 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19485 * setjmp/tst-sigsetjmp.c: New test.
19487 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19489 * sysdeps/x86_64/memset.S (memset): New implementation.
19490 (__bzero): Likewise.
19491 (__memset_tail): New function.
19493 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19495 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19496 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19497 __memcpy_sse2_unaligned ifunc selection.
19498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19499 Add memcpy-sse2-unaligned.S.
19500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19501 Add: __memcpy_sse2_unaligned.
19503 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19506 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19507 math_force_eval before restoring floating-point envrionment.
19508 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19509 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19511 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19513 (__nearbyintl): Use math_force_eval before restoring
19514 floating-point environment.
19515 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19517 * math/gen-libm-test.pl (special_functions): Remove.
19518 (parse_args): Don't handle TEST_extra. Handle functions with no
19520 * math/libm-test.inc (struct test_sincos_data): Replace with
19521 struct test_fFF_11_data.
19522 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19523 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19524 (sincos_test_data): Change element type to struct
19525 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19526 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19527 RUN_TEST_LOOP_sincos.
19528 * math/README.libm-test: Don't mention special handling of
19529 individual functions.
19530 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19531 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19532 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19533 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19534 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19537 * math/gen-libm-test.pl (get_variable): Remove function.
19538 (parse_args): Don't show pointer parameters to call in test
19539 names. Use "extra output N" in test names for extra outputs
19540 rather than naming variables.
19542 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19545 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19546 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19547 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19549 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19551 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19554 * math/gen-libm-test.pl (@tests): Remove variable.
19555 ($count): Likewise.
19556 (new_test): Remove function.
19557 (show_exceptions): New function.
19558 (special_functions): Use show_exceptions instead of new_test.
19559 (parse_args): Likewise.
19560 (generate_testfile): Pass only function name in generated call to
19561 print_max_error or print_complex_max_error.
19562 (get_ulps): Do not handle complex tests specially.
19563 (output_test): Rename to ...
19564 (get_all_ulps_for_test): ... this. Return a string rather than
19565 printing to a file. Require ulps to be present.
19566 (output_ulps): Generate arrays rather than #defines.
19567 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19568 (struct ulp_data): New type.
19569 (BUILD_COMPLEX_ULP): Remove macro.
19570 (compare_ulp_data): New function.
19571 (find_ulps): Likewise.
19572 (find_test_ulps): Likewise.
19573 (find_function_ulps): Likewise.
19574 (find_complex_function_ulps): Likewise.
19575 (print_max_error): Determine allowed ulps using
19576 find_function_ulps.
19577 (print_complex_max_error): Determine allowed ulps using
19578 find_complex_function_ulps.
19579 (check_float_internal): Determine max ulps using find_test_ulps.
19580 (check_float): Do not take max_ulp parameter. Update call to
19581 check_float_internal.
19582 (check_complex): Likewise.
19583 (check_int): Do not take max_ulp parameter.
19584 (check_long): Likewise.
19585 (check_bool): Likewise.
19586 (check_longlong): Likewise.
19587 (struct test_f_f_data): Remove max_ulp field.
19588 (struct test_ff_f_data): Likewise.
19589 (struct test_ff_f_data_nexttoward): Likewise.
19590 (struct test_fi_f_data): Likewise.
19591 (struct test_fl_f_data): Likewise.
19592 (struct test_if_f_data): Likewise.
19593 (struct test_fff_f_data): Likewise.
19594 (struct test_c_f_data): Likewise.
19595 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19596 (struct test_fF_f1_data): Likewise.
19597 (struct test_ffI_f1_data): Likewise.
19598 (struct test_c_c_data): Remove max_ulp field.
19599 (struct test_cc_c_data): Likewise.
19600 (struct test_f_i_data): Likewise.
19601 (struct test_ff_i_data): Likewise.
19602 (struct test_f_l_data): Likewise.
19603 (struct test_f_L_data): Likewise.
19604 (struct test_sincos_data): Likewise.
19605 (RUN_TEST_f_f): Do not handle ulps.
19606 (RUN_TEST_LOOP_f_f): Likewise.
19607 (RUN_TEST_2_f): Likewise.
19608 (RUN_TEST_LOOP_2_f): Likewise.
19609 (RUN_TEST_fff_f): Likewise.
19610 (RUN_TEST_LOOP_fff_f): Likewise.
19611 (RUN_TEST_c_f): Likewise.
19612 (RUN_TEST_LOOP_c_f): Likewise.
19613 (RUN_TEST_f_f1): Likewise.
19614 (RUN_TEST_LOOP_f_f1): Likewise.
19615 (RUN_TEST_fF_f1): Likewise.
19616 (RUN_TEST_LOOP_fF_f1): Likewise.
19617 (RUN_TEST_fI_f1): Likewise.
19618 (RUN_TEST_LOOP_fI_f1): Likewise.
19619 (RUN_TEST_ffI_f1): Likewise.
19620 (RUN_TEST_LOOP_ffI_f1): Likewise.
19621 (RUN_TEST_c_c): Likewise.
19622 (RUN_TEST_LOOP_c_c): Likewise.
19623 (RUN_TEST_cc_c): Likewise.
19624 (RUN_TEST_LOOP_cc_c): Likewise.
19625 (RUN_TEST_f_i): Likewise.
19626 (RUN_TEST_LOOP_f_i): Likewise.
19627 (RUN_TEST_f_i_tg): Likewise.
19628 (RUN_TEST_LOOP_f_i_tg): Likewise.
19629 (RUN_TEST_ff_i_tg): Likewise.
19630 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19631 (RUN_TEST_f_b): Likewise.
19632 (RUN_TEST_LOOP_f_b): Likewise.
19633 (RUN_TEST_f_b_tg): Likewise.
19634 (RUN_TEST_LOOP_f_b_tg): Likewise.
19635 (RUN_TEST_f_l): Likewise.
19636 (RUN_TEST_LOOP_f_l): Likewise.
19637 (RUN_TEST_f_L): Likewise.
19638 (RUN_TEST_LOOP_f_L): Likewise.
19639 (RUN_TEST_sincos): Likewise.
19640 (RUN_TEST_LOOP_sincos): Likewise.
19642 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19646 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19647 main case of finite arguments, set rounding mode to FE_TONEAREST
19648 and discard exceptions.
19649 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19651 (remainder_tonearest_test_data): New variable.
19652 (remainder_test_tonearest): New function.
19653 (remainder_towardzero_test_data): New variable.
19654 (remainder_test_towardzero): New function.
19655 (remainder_downward_test_data): New variable.
19656 (remainder_test_downward): New function.
19657 (remainder_upward_test_data): New variable.
19658 (remainder_test_upward): New function.
19659 (main): Call the new test functions.
19661 * math/libm-test.inc (struct test_f_f1_data): Remove field
19663 (struct test_fF_f1_data): Likewise.
19664 (struct test_ffI_f1_data): Likewise.
19665 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19666 based on value of EXTRA_EXPECTED.
19667 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19668 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19669 EXTRA_VAR based on value of EXTRA_EXPECTED.
19670 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19671 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19672 EXTRA_VAR based on value of EXTRA_EXPECTED.
19673 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19674 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19675 EXTRA_VAR based on value of EXTRA_EXPECTED.
19676 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19677 * math/gen-libm-test.pl (parse_args): Don't output initializers
19678 for extra output values.
19680 * math/libm-test.inc (check_int): Expect result to be exactly
19681 equal to expected value and do not handle ulps.
19682 (check_long): Likewise.
19683 (check_longlong): Likewise.
19685 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19687 (cimag_test_data): Likewise.
19688 (conj_test_data): Likewise.
19689 (copysign_test_data): Likewise.
19690 (cproj_test_data): Likewise.
19691 (creal_test_data): Likewise.
19692 (fabs_test_data): Likewise.
19693 (fdim_test_data): Likewise.
19694 (finite_test_data): Likewise.
19695 (floor_test_data): Likewise.
19696 (fmax_test_data): Likewise.
19697 (fmin_test_data): Likewise.
19698 (fmod_test_data): Likewise.
19699 (fpclassify_test_data): Likewise.
19700 (frexp_test_data): Likewise.
19701 (ilogb_test_data): Likewise.
19702 (isfinite_test_data): Likewise.
19703 (isgreater_test_data): Likewise.
19704 (isgreaterequal_test_data): Likewise.
19705 (isinf_test_data): Likewise.
19706 (isless_test_data): Likewise.
19707 (islessequal_test_data): Likewise.
19708 (islessgreater_test_data): Likewise.
19709 (isnan_test_data): Likewise.
19710 (isnormal_test_data): Likewise.
19711 (issignaling_test_data): Likewise.
19712 (isunordered_test_data): Likewise.
19713 (ldexp_test_data): Likewise.
19714 (lrint_test_data): Likewise.
19715 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19716 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19717 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19718 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19719 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19720 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19722 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19723 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19724 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19725 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19727 (lrint_downward_test_data): Test for "inexact" exceptions.
19728 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19729 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19730 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19732 (lrint_upward_test_data): Test for "inexact" exceptions.
19733 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19735 (llrint_test_data): Test for "inexact" exceptions.
19736 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19737 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19738 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19739 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19740 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19741 (llrint_downward_test_data): Test for "inexact" exceptions.
19742 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19743 (llrint_upward_test_data): Test for "inexact" exceptions.
19744 (logb_test_data): Likewise.
19745 (logb_downward_test_data): Likewise.
19746 (nextafter_test_data): Likewise.
19747 (nexttoward_test_data): Likewise.
19748 (remainder_test_data): Likewise.
19749 (remquo_test_data): Likewise.
19750 (scalbn_test_data): Likewise.
19751 (scalbln_test_data): Likewise.
19752 (signbit_test_data): Likewise.
19753 (sqrt_test_data): Likewise.
19754 (significand_test_data): Likewise.
19756 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19759 * benchtests/bench-modf.c (struct args): Mark arg0 as
19761 * scripts/bench.pl: Mark members of struct args as volatile.
19763 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19766 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19767 negative infinity on POWER6 or lower.
19768 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19770 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19773 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19774 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19775 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19776 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19777 (_FP_SETQNAN): New macro.
19778 (_FP_SETQNAN_SEMIRAW): Likewise.
19779 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19780 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19781 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19782 (FP_EXTEND): Use _FP_FRAC_SNANP.
19783 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19784 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19786 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19788 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19791 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19793 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19794 with DIVIDE_BY_ZERO_EXCEPTION.
19795 (gamma_test_data): Likewise.
19796 (lgamma_test_data): Likewise.
19797 (log_test_data): Likewise.
19798 (log10_test_data): Likewise.
19799 (log2_test_data): Likewise.
19800 (tgamma_test_data): Likewise.
19802 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19803 (acos_test_tonearest): Likewise.
19804 (acos_test_towardzero): Likewise.
19805 (acos_test_downward): Likewise.
19806 (acos_test_upward): Likewise.
19807 (acosh_test): Likewise.
19808 (asin_test): Likewise.
19809 (asin_test_tonearest): Likewise.
19810 (asin_test_towardzero): Likewise.
19811 (asin_test_downward): Likewise.
19812 (asin_test_upward): Likewise.
19813 (asinh_test): Likewise.
19814 (atan_test): Likewise.
19815 (atanh_test): Likewise.
19816 (atan2_test): Likewise.
19817 (cabs_test): Likewise.
19818 (cacos_test): Likewise.
19819 (cacosh_test): Likewise.
19820 (casin_test): Likewise.
19821 (casinh_test): Likewise.
19822 (catan_test): Likewise.
19823 (catanh_test): Likewise.
19824 (cbrt_test): Likewise.
19825 (ccos_test): Likewise.
19826 (ccosh_test): Likewise.
19827 (cexp_test): Likewise.
19828 (clog_test): Likewise.
19829 (clog10_test): Likewise.
19830 (cos_test): Likewise.
19831 (cos_test_tonearest): Likewise.
19832 (cos_test_towardzero): Likewise.
19833 (cos_test_downward): Likewise.
19834 (cos_test_upward): Likewise.
19835 (cosh_test): Likewise.
19836 (cosh_test_tonearest): Likewise.
19837 (cosh_test_towardzero): Likewise.
19838 (cosh_test_downward): Likewise.
19839 (cosh_test_upward): Likewise.
19840 (cpow_test): Likewise.
19841 (csin_test): Likewise.
19842 (csinh_test): Likewise.
19843 (csqrt_test): Likewise.
19844 (ctan_test): Likewise.
19845 (ctan_test_tonearest): Likewise.
19846 (ctan_test_towardzero): Likewise.
19847 (ctan_test_downward): Likewise.
19848 (ctan_test_upward): Likewise.
19849 (ctanh_test): Likewise.
19850 (ctanh_test_tonearest): Likewise.
19851 (ctanh_test_towardzero): Likewise.
19852 (ctanh_test_downward): Likewise.
19853 (ctanh_test_upward): Likewise.
19854 (erf_test): Likewise.
19855 (erfc_test): Likewise.
19856 (exp_test): Likewise.
19857 (exp_test_tonearest): Likewise.
19858 (exp_test_towardzero): Likewise.
19859 (exp_test_downward): Likewise.
19860 (exp_test_upward): Likewise.
19861 (exp10_test): Likewise.
19862 (exp2_test): Likewise.
19863 (expm1_test): Likewise.
19864 (fmod_test): Likewise.
19865 (gamma_test): Likewise.
19866 (hypot_test): Likewise.
19867 (j0_test): Likewise.
19868 (j1_test): Likewise.
19869 (jn_test): Likewise.
19870 (lgamma_test): Likewise.
19871 (log_test): Likewise.
19872 (log10_test): Likewise.
19873 (log1p_test): Likewise.
19874 (log2_test): Likewise.
19875 (logb_test_downward): Likewise.
19876 (pow_test): Likewise.
19877 (pow_test_tonearest): Likewise.
19878 (pow_test_towardzero): Likewise.
19879 (pow_test_downward): Likewise.
19880 (pow_test_upward): Likewise.
19881 (remainder_test): Likewise.
19882 (remquo_test): Likewise.
19883 (sin_test): Likewise.
19884 (sin_test_tonearest): Likewise.
19885 (sin_test_towardzero): Likewise.
19886 (sin_test_downward): Likewise.
19887 (sin_test_upward): Likewise.
19888 (sincos_test): Likewise.
19889 (sinh_test): Likewise.
19890 (sinh_test_tonearest): Likewise.
19891 (sinh_test_towardzero): Likewise.
19892 (sinh_test_downward): Likewise.
19893 (sinh_test_upward): Likewise.
19894 (sqrt_test): Likewise.
19895 (tan_test): Likewise.
19896 (tan_test_tonearest): Likewise.
19897 (tan_test_towardzero): Likewise.
19898 (tan_test_downward): Likewise.
19899 (tan_test_upward): Likewise.
19900 (tanh_test): Likewise.
19901 (tgamma_test): Likewise.
19902 (y0_test): Likewise.
19903 (y1_test): Likewise.
19904 (yn_test): Likewise.
19906 * math/gen-libm-test.pl (adjust_arg): Remove function.
19907 (special_function): Remove argument $in_func. Only handle
19908 generating output for tables of tests, not inside functions.
19909 (parse_args): Likewise.
19910 (generate_testfile): Remove variable $in_func. Update call to
19912 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19913 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19914 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19915 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19916 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19917 (MAX_VALUE_INIT): Rename macro to max_value.
19918 (MIN_VALUE_INIT): Rename macro to min_value.
19919 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19920 (plus_zero): Remove variable.
19921 (minus_zero): Likewise.
19922 (plus_infty): Likewise.
19923 (minus_infty): Likewise.
19924 (qnan_value): Likewise.
19925 (max_value): Likewise.
19926 (min_value): Likewise.
19927 (min_subnorm_value): Likewise.
19929 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19931 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19932 uint64_t or uint32_t usage.
19933 * crypt/sha256-block.c: Likewise.
19934 * crypt/sha256-crypt.c: Likewise.
19935 * crypt/sha256.c: Likewise.
19936 * crypt/sha512-block.c: Likewise.
19937 * crypt/sha512-crypt.c: Likewise.
19938 * crypt/sha512.c: Likewise.
19939 * debug/backtrace-tst.c: Likewise.
19940 * debug/pcprofiledump.c: Likewise.
19941 * elf/cache.c: Likewise.
19942 * elf/dl-cache.c: Likewise.
19943 * elf/dl-misc.c: Likewise.
19944 * elf/dl-profile.c: Likewise.
19945 * elf/dl-support.c: Likewise.
19946 * elf/ldconfig.c: Likewise.
19947 * elf/sprof.c: Likewise.
19948 * iconv/dummy-repertoire.c: Likewise.
19949 * iconv/iconv_charmap.c: Likewise.
19950 * iconv/skeleton.c: Likewise.
19951 * iconvdata/8bit-generic.c: Likewise.
19952 * iconvdata/cp737.h: Likewise.
19953 * iconvdata/cp775.h: Likewise.
19954 * iconvdata/ibm1008.h: Likewise.
19955 * iconvdata/ibm1025.h: Likewise.
19956 * iconvdata/ibm1046.h: Likewise.
19957 * iconvdata/ibm1097.h: Likewise.
19958 * iconvdata/ibm1112.h: Likewise.
19959 * iconvdata/ibm1122.h: Likewise.
19960 * iconvdata/ibm1123.h: Likewise.
19961 * iconvdata/ibm1124.h: Likewise.
19962 * iconvdata/ibm1129.h: Likewise.
19963 * iconvdata/ibm1130.h: Likewise.
19964 * iconvdata/ibm1132.h: Likewise.
19965 * iconvdata/ibm1133.h: Likewise.
19966 * iconvdata/ibm1137.h: Likewise.
19967 * iconvdata/ibm1140.h: Likewise.
19968 * iconvdata/ibm1141.h: Likewise.
19969 * iconvdata/ibm1142.h: Likewise.
19970 * iconvdata/ibm1143.h: Likewise.
19971 * iconvdata/ibm1144.h: Likewise.
19972 * iconvdata/ibm1145.h: Likewise.
19973 * iconvdata/ibm1146.h: Likewise.
19974 * iconvdata/ibm1147.h: Likewise.
19975 * iconvdata/ibm1148.h: Likewise.
19976 * iconvdata/ibm1149.h: Likewise.
19977 * iconvdata/ibm1153.h: Likewise.
19978 * iconvdata/ibm1154.h: Likewise.
19979 * iconvdata/ibm1155.h: Likewise.
19980 * iconvdata/ibm1156.h: Likewise.
19981 * iconvdata/ibm1157.h: Likewise.
19982 * iconvdata/ibm1158.h: Likewise.
19983 * iconvdata/ibm1160.h: Likewise.
19984 * iconvdata/ibm1161.h: Likewise.
19985 * iconvdata/ibm1162.h: Likewise.
19986 * iconvdata/ibm1163.h: Likewise.
19987 * iconvdata/ibm1164.h: Likewise.
19988 * iconvdata/ibm1166.h: Likewise.
19989 * iconvdata/ibm1167.h: Likewise.
19990 * iconvdata/ibm12712.h: Likewise.
19991 * iconvdata/ibm1390.h: Likewise.
19992 * iconvdata/ibm1399.h: Likewise.
19993 * iconvdata/ibm16804.h: Likewise.
19994 * iconvdata/ibm4517.h: Likewise.
19995 * iconvdata/ibm4899.h: Likewise.
19996 * iconvdata/ibm4909.h: Likewise.
19997 * iconvdata/ibm4971.h: Likewise.
19998 * iconvdata/ibm5347.h: Likewise.
19999 * iconvdata/ibm803.h: Likewise.
20000 * iconvdata/ibm856.h: Likewise.
20001 * iconvdata/ibm901.h: Likewise.
20002 * iconvdata/ibm902.h: Likewise.
20003 * iconvdata/ibm9030.h: Likewise.
20004 * iconvdata/ibm9066.h: Likewise.
20005 * iconvdata/ibm921.h: Likewise.
20006 * iconvdata/ibm922.h: Likewise.
20007 * iconvdata/ibm9448.h: Likewise.
20008 * iconvdata/isiri-3342.h: Likewise.
20009 * iconvdata/jis0201.h: Likewise.
20010 * include/link.h: Likewise.
20011 * include/netdb.h: Likewise.
20012 * inet/check_native.c: Likewise.
20013 * inet/check_pf.c: Likewise.
20014 * inet/getipv4sourcefilter.c: Likewise.
20015 * inet/getnameinfo.c: Likewise.
20016 * inet/getsourcefilter.c: Likewise.
20017 * inet/htonl.c: Likewise.
20018 * inet/setipv4sourcefilter.c: Likewise.
20019 * inet/setsourcefilter.c: Likewise.
20020 * inet/test-inet6_opt.c: Likewise.
20021 * inet/tst-network.c: Likewise.
20022 * locale/C-collate.c: Likewise.
20023 * locale/C-ctype.c: Likewise.
20024 * locale/C-time.c: Likewise.
20025 * locale/C-translit.h: Likewise.
20026 * locale/loadarchive.c: Likewise.
20027 * locale/programs/3level.h: Likewise.
20028 * locale/programs/charmap.c: Likewise.
20029 * locale/programs/charmap.h: Likewise.
20030 * locale/programs/ld-address.c: Likewise.
20031 * locale/programs/ld-collate.c: Likewise.
20032 * locale/programs/ld-ctype.c: Likewise.
20033 * locale/programs/ld-identification.c: Likewise.
20034 * locale/programs/ld-measurement.c: Likewise.
20035 * locale/programs/ld-messages.c: Likewise.
20036 * locale/programs/ld-monetary.c: Likewise.
20037 * locale/programs/ld-name.c: Likewise.
20038 * locale/programs/ld-numeric.c: Likewise.
20039 * locale/programs/ld-paper.c: Likewise.
20040 * locale/programs/ld-telephone.c: Likewise.
20041 * locale/programs/ld-time.c: Likewise.
20042 * locale/programs/linereader.c: Likewise.
20043 * locale/programs/locale.c: Likewise.
20044 * locale/programs/locarchive.c: Likewise.
20045 * locale/programs/locfile.h: Likewise.
20046 * locale/programs/repertoire.c: Likewise.
20047 * locale/programs/simple-hash.c: Likewise.
20048 * locale/programs/simple-hash.h: Likewise.
20049 * malloc/memusage.c: Likewise.
20050 * malloc/memusagestat.c: Likewise.
20051 * nis/nis_defaults.c: Likewise.
20052 * nis/nis_hash.c: Likewise.
20053 * nis/nis_print.c: Likewise.
20054 * nis/nis_xdr.c: Likewise.
20055 * nscd/connections.c: Likewise.
20056 * nscd/hstcache.c: Likewise.
20057 * nscd/nscd_gethst_r.c: Likewise.
20058 * nscd/nscd_getserv_r.c: Likewise.
20059 * nscd/nscd_helper.c: Likewise.
20060 * nscd/servicescache.c: Likewise.
20061 * nss/makedb.c: Likewise.
20062 * nss/nss_db/db-XXX.c: Likewise.
20063 * nss/nss_db/db-initgroups.c: Likewise.
20064 * nss/nss_db/db-netgrp.c: Likewise.
20065 * nss/nss_files/files-network.c: Likewise.
20066 * nss/nss_files/files-parse.c: Likewise.
20067 * posix/bug-regex5.c: Likewise.
20068 * posix/fnmatch_loop.c: Likewise.
20069 * posix/regcomp.c: Likewise.
20070 * posix/regexec.c: Likewise.
20071 * posix/tst-rfc3484-2.c: Likewise.
20072 * posix/tst-rfc3484-3.c: Likewise.
20073 * posix/tst-rfc3484.c: Likewise.
20074 * resolv/nss_dns/dns-canon.c: Likewise.
20075 * resolv/nss_dns/dns-network.c: Likewise.
20076 * resolv/res_init.c: Likewise.
20077 * resolv/res_mkquery.c: Likewise.
20078 * resolv/tst-aton.c: Likewise.
20079 * stdlib/cxa_atexit.c: Likewise.
20080 * stdlib/cxa_finalize.c: Likewise.
20081 * stdlib/gen-fpioconst.c: Likewise.
20082 * stdlib/strtol_l.c: Likewise.
20083 * string/tst-endian.c: Likewise.
20084 * sunrpc/auth_des.c: Likewise.
20085 * sunrpc/clnt_udp.c: Likewise.
20086 * sunrpc/rtime.c: Likewise.
20087 * sunrpc/svcauth_des.c: Likewise.
20088 * sunrpc/xdr.c: Likewise.
20089 * sunrpc/xdr_intXX_t.c: Likewise.
20090 * sunrpc/xdr_rec.c: Likewise.
20091 * sysdeps/generic/ldconfig.h: Likewise.
20092 * sysdeps/generic/ldsodefs.h: Likewise.
20093 * sysdeps/generic/memusage.h: Likewise.
20094 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20095 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20096 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20097 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20098 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20099 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20100 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20101 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20102 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20103 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20104 * sysdeps/posix/getaddrinfo.c: Likewise.
20105 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20106 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20107 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20108 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20109 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20110 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20111 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20112 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20113 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20114 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20115 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20116 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20117 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20118 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20119 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20120 * sysdeps/x86_64/dl-tls.h: Likewise.
20121 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20122 * time/alt_digit.c: Likewise.
20123 * time/era.c: Likewise.
20124 * wcsmbs/tst-c16c32-1.c: Likewise.
20126 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20128 * math/libm-test.inc (struct test_sincos_data): New type.
20129 (RUN_TEST_LOOP_sincos): New macro.
20130 (sincos_test_data): New variable.
20131 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20133 2013-05-16 Richard Henderson <rth@redhat.com>
20135 * math/atest-exp2.c (LIMB64): New macro.
20136 (CONSTSZ): New macro.
20137 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20139 (print_mpn_fp): ... to function scope.
20140 (read_mpn_hex): Remove.
20141 (get_log2): Remove.
20142 (exp2_mpn): Use mp_log2.
20143 (main): Use mp_exp1.
20145 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20147 * math/libm-test.inc: Remove comment about not testing "inexact"
20149 (INEXACT_EXCEPTION): New macro.
20150 (NO_INEXACT_EXCEPTION): Likewise.
20151 (INVALID_EXCEPTION_OK): Update value.
20152 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20153 (OVERFLOW_EXCEPTION_OK): Likewise.
20154 (UNDERFLOW_EXCEPTION_OK): Likewise.
20155 (IGNORE_ZERO_INF_SIGN): Likewise.
20156 (ERRNO_UNCHANGED): Likewise.
20157 (ERRNO_EDOM): Likewise.
20158 (ERRNO_ERANGE): Likewise.
20159 (test_exceptions): Handle testing "inexact" exceptions.
20160 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20161 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20162 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20163 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20165 (rint_towardzero_test_data): Likewise.
20166 (rint_downward_test_data): Likewise.
20167 (rint_upward_test_data): Likewise.
20169 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20170 with OVERFLOW_EXCEPTION.
20171 (exp10_test_data): Likewise.
20172 (exp2_test_data): Likewise.
20173 (expm1_test_data): Likewise.
20174 (lgamma_test_data): Likewise.
20175 (pow_test_data): Likewise.
20176 (tgamma_test_data): Likewise.
20177 (yn_test_data): Remove duplicate test of overflow.
20179 * math/libm-test.inc (struct test_cc_c_data): New type.
20180 (RUN_TEST_LOOP_cc_c): New macro.
20181 (cpow_test_data): New variable.
20182 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20184 * math/libm-test.inc (struct test_f_L_data): New type.
20185 (RUN_TEST_LOOP_f_L): New macro.
20186 (llrint_test_data): New variable.
20187 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20188 (llrint_tonearest_test_data): New variable.
20189 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20190 (llrint_towardzero_test_data): New variable.
20191 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20192 (llrint_downward_test_data): New variable.
20193 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20194 (llrint_upward_test_data): New variable.
20195 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20196 (llround_test_data): New variable.
20197 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20199 2013-05-13 Peter Collingbourne <pcc@google.com>
20201 * math/atest-exp2.c (get_log2): Remove const attribute.
20203 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20205 * math/libm-test.inc (struct test_f_l_data): New type.
20206 (RUN_TEST_LOOP_f_l): New macro.
20207 (lrint_test_data): New variable.
20208 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20209 (lrint_tonearest_test_data): New variable.
20210 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20211 (lrint_towardzero_test_data): New variable.
20212 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20213 (lrint_downward_test_data): New variable.
20214 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20215 (lrint_upward_test_data): New variable.
20216 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20217 (lround_test_data): New variable.
20218 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20220 2013-05-15 Peter Collingbourne <pcc@google.com>
20222 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20223 (EXTRACT_WORDS64) Use where appropriate.
20224 (INSERT_WORDS64) Likewise.
20226 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20227 constraints with x constraints.
20228 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20230 * malloc/obstack.c (_obstack_compat): Add initializer.
20232 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20234 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20235 si_trapno and add si_addr_lsb to _sifields.sigfault.
20236 (si_trapno): Remove macro.
20237 (si_addr_lsb): Define new macro.
20238 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20240 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20242 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20243 instead of TEST_f_l.
20244 (llrint_test_tonearest): Likewise.
20245 (llrint_test_towardzero): Likewise.
20246 (llrint_test_downward): Likewise.
20247 (llrint_test_upward): Likewise.
20248 (llround_test): Likewise.
20250 * math/libm-test.inc (struct test_f_i_data): Add comment.
20251 (RUN_TEST_LOOP_f_b): New macro.
20252 (RUN_TEST_LOOP_f_b_tg): Likewise.
20253 (finite_test_data): New variable.
20254 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20255 (isfinite_test_data): New variable.
20256 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20257 (isinf_test_data): New variable.
20258 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20259 (isnan_test_data): New variable.
20260 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20261 (isnormal_test_data): New variable.
20262 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20263 (issignaling_test_data): New variable.
20264 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20265 (signbit_test_data): New variable.
20266 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20268 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20269 with INVALID_EXCEPTION.
20270 (acosh_test_data): Likewise.
20271 (asin_test_data): Likewise.
20272 (atanh_test_data): Likewise.
20273 (fmod_test_data): Likewise.
20274 (log_test_data): Likewise.
20275 (log10_test_data): Likewise.
20276 (log2_test_data): Likewise.
20277 (pow_test_data): Likewise.
20278 (sqrt_test_data): Likewise.
20279 (y0_test_data): Likewise.
20280 (y1_test_data): Likewise.
20281 (yn_test_data): Likewise.
20283 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20286 * math/libm-test.inc (struct test_ff_i_data): New type.
20287 (RUN_TEST_LOOP_ff_i_tg): New macro.
20288 (isgreater_test_data): New variable.
20289 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20290 (isgreaterequal_test_data): New variable.
20291 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20292 (isless_test_data): New variable.
20293 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20294 (islessequal_test_data): New variable.
20295 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20296 (islessgreater_test_data): New variable.
20297 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20298 (isunordered_test_data): New variable.
20299 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20301 2013-05-14 David S. Miller <davem@davemloft.net>
20303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20305 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20307 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20309 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20311 (struct test_f_i_data): Change type of max_ulp to int.
20313 * math/libm-test.inc (test_ffI_f1_data): New type.
20314 (RUN_TEST_LOOP_ffI_f1): New macro.
20315 (remquo_test_data): New variable.
20316 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20318 * setjmp/tst-setjmp-fp.c: New file.
20319 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20320 (link-libm): New variable.
20321 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20323 * math/libm-test.inc (struct test_f_i_data): New type.
20324 (RUN_TEST_LOOP_f_i): New macro.
20325 (RUN_TEST_LOOP_f_i_tg): Likewise.
20326 (fpclassify_test_data): New variable.
20327 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20328 (ilogb_test_data): New variable.
20329 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20331 * math/libm-test.inc (scalbln_test): Correct function name in END
20334 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20335 (RUN_TEST_LOOP_fI_f1): New macro.
20336 (frexp_test_data): New variable.
20337 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20339 * math/libm-test.inc (struct test_fF_f1_data): New type.
20340 (RUN_TEST_LOOP_fF_f1): New macro.
20341 (modf_test_data): New variable.
20342 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20344 * math/libm-test.inc (struct test_f_f1_data): New type.
20345 (RUN_TEST_LOOP_f_f1): New macro.
20346 (gamma_test_data): New variable.
20347 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20348 (lgamma_test_data): New variable.
20349 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20351 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20353 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20354 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20355 (main): Comment "tls" pseudo-hwcap.
20357 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20359 * math/libm-test.inc (struct test_fl_f_data): New type.
20360 (RUN_TEST_LOOP_fl_f): New variable.
20361 (scalbln_test_data): New variable.
20362 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20364 * math/libm-test.inc (struct test_fi_f_data): New type.
20365 (RUN_TEST_LOOP_fi_f): New macro.
20366 (ldexp_test_data): New variable.
20367 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20368 (scalbn_test_data): New variable.
20369 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20371 * math/libm-test.inc (struct test_c_f_data): New type.
20372 (RUN_TEST_LOOP_c_f): New macro.
20373 (cabs_test_data): New variable.
20374 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20375 (carg_test_data): New variable.
20376 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20377 (cimag_test_data): New variable.
20378 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20379 (creal_test_data): New variable.
20380 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20382 * math/libm-test.inc (struct test_if_f_data): New type.
20383 (RUN_TEST_LOOP_if_f): New macro.
20384 (jn_test_data): New variable.
20385 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20386 (yn_test_data): New variable.
20387 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20389 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20391 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20393 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20394 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20396 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20398 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20399 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20400 (bench-deps): Add bench-timing.h.
20401 * benchtests-bench-skeleton.c: Include bench-timing.h.
20402 (main): Use TIMING_* macros instead of clock_gettime.
20403 * benchtests/bench-timing.h: New file.
20406 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20407 Renamed from _LIB_VERSION.
20408 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20410 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20412 * math/libm-test.inc (struct test_fff_f_data): New type.
20413 (RUN_TEST_LOOP_fff_f): New macro.
20414 (fma_test_data): New variable.
20415 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20416 (fma_towardzero_test_data): New variable.
20417 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20418 (fma_downward_test_data): New variable.
20419 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20420 (fma_upward_test_data): New variable.
20421 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20423 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20424 (struct test_c_c_data): New type.
20425 (RUN_TEST_LOOP_c_c): New macro.
20426 (cacos_test_data): New variable.
20427 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20428 (cacosh_test_data): New variable.
20429 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20430 (casin_test_data): New variable.
20431 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20432 (casinh_test_data): New variable.
20433 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20434 (catan_test_data): New variable.
20435 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20436 (catanh_test_data): New variable.
20437 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20438 (ccos_test_data): New variable.
20439 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20440 (ccosh_test_data): New variable.
20441 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20442 (cexp_test_data): New variable.
20443 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20444 (clog_test_data): New variable.
20445 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20446 (clog10_test_data): New variable.
20447 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20448 (conj_test_data): New variable.
20449 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20450 (cproj_test_data): New variable.
20451 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20452 (csin_test_data): New variable.
20453 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20454 (csinh_test_data): New variable.
20455 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20456 (csqrt_test_data): New variable.
20457 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20458 (ctan_test_data): New variable.
20459 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20460 (ctan_tonearest_test_data): New variable.
20461 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20462 (ctan_towardzero_test_data): New variable.
20463 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20464 (ctan_downward_test_data): New variable.
20465 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20466 (ctan_upward_test_data): New variable.
20467 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20468 (ctanh_test_data): New variable.
20469 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20470 (ctanh_tonearest_test_data): New variable.
20471 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20472 (ctanh_towardzero_test_data): New variable.
20473 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20474 (ctanh_downward_test_data): New variable.
20475 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20476 (ctanh_upward_test_data): New variable.
20477 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20478 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20481 * math/libm-test.inc (struct test_ff_f_data): New type.
20482 (struct test_ff_f_data_nexttoward): Likewise.
20483 (RUN_TEST_LOOP_2_f): New macro.
20484 (RUN_TEST_LOOP_ff_f): Likewise.
20485 (atan2_test_data): New variable.
20486 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20487 (copysign_test_data): New variable.
20488 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20489 (fdim_test_data): New variable.
20490 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20491 (fmax_test_data): New variable.
20492 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20493 (fmin_test_data): New variable.
20494 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20495 (fmod_test_data): New variable.
20496 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20497 (hypot_test_data): New variable.
20498 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20499 (nextafter_test_data): New variable.
20500 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20501 (nexttoward_test_data): New variable.
20502 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20503 (pow_test_data): New variable.
20504 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20505 (pow_tonearest_test_data): New variable.
20506 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20507 (pow_towardzero_test_data): New variable.
20508 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20509 (pow_downward_test_data): New variable.
20510 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20511 (pow_upward_test_data): New variable.
20512 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20513 (remainder_test_data): New variable.
20514 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20515 (scalb_test_data): New variable.
20516 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20517 * sysdeps/i386/fpu/libm-test-ulps: Update.
20519 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20521 * math/libm-test.inc (fma_test): Use max_value instead of local
20523 (nextafter_test): Likewise.
20525 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20526 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20527 (acos_downward_test_data): New variable.
20528 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20529 (acos_upward_test_data): New variable.
20530 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20531 (acosh_test_data): New variable.
20532 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20533 (asin_test_data): New variable.
20534 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20535 (asin_tonearest_test_data): New variable.
20536 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20537 (asin_towardzero_test_data): New variable.
20538 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20539 (asin_downward_test_data): New variable.
20540 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20541 (asin_upward_test_data): New variable.
20542 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20543 (asinh_test_data): New variable.
20544 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20545 (atan_test_data): New variable.
20546 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20547 (atanh_test_data): New variable.
20548 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20549 (cbrt_test_data): New variable.
20550 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20551 (ceil_test_data): New variable.
20552 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20553 (cos_test_data): New variable.
20554 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20555 (cos_tonearest_test_data): New variable.
20556 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20557 (cos_towardzero_test_data): New variable.
20558 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20559 (cos_downward_test_data): New variable.
20560 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20561 (cos_upward_test_data): New variable.
20562 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20563 (cosh_test_data): New variable.
20564 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20565 (cosh_tonearest_test_data): New variable.
20566 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20567 (cosh_towardzero_test_data): New variable.
20568 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20569 (cosh_downward_test_data): New variable.
20570 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20571 (cosh_upward_test_data): New variable.
20572 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20573 (erf_test_data): New variable.
20574 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20575 (erfc_test_data): New variable.
20576 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20577 (exp_test_data): New variable.
20578 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20579 (exp_tonearest_test_data): New variable.
20580 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20581 (exp_towardzero_test_data): New variable.
20582 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20583 (exp_downward_test_data): New variable.
20584 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20585 (exp_upward_test_data): New variable.
20586 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20587 (exp10_test_data): New variable.
20588 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20589 (exp2_test_data): New variable.
20590 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20591 (expm1_test_data): New variable.
20592 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20593 (fabs_test_data): New variable.
20594 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20595 (floor_test_data): New variable.
20596 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20597 (j0_test_data): New variable.
20598 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20599 (j1_test_data): New variable.
20600 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20601 (log_test_data): New variable.
20602 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20603 (log10_test_data): New variable.
20604 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20605 (log1p_test_data): New variable.
20606 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20607 (log2_test_data): New variable.
20608 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20609 (logb_test_data): New variable.
20610 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20611 (logb_downward_test_data): New variable.
20612 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20613 (nearbyint_test_data): New variable.
20614 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20615 (rint_test_data): New variable.
20616 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20617 (rint_tonearest_test_data): New variable.
20618 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20619 (rint_towardzero_test_data): New variable.
20620 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20621 (rint_downward_test_data): New variable.
20622 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20623 (rint_upward_test_data): New variable.
20624 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20625 (round_test_data): New variable.
20626 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20627 (sin_test_data): New variable.
20628 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20629 (sin_tonearest_test_data): New variable.
20630 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20631 (sin_towardzero_test_data): New variable.
20632 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20633 (sin_downward_test_data): New variable.
20634 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20635 (sin_upward_test_data): New variable.
20636 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20637 (sinh_test_data): New variable.
20638 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20639 (sinh_tonearest_test_data): New variable.
20640 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20641 (sinh_towardzero_test_data): New variable.
20642 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20643 (sinh_downward_test_data): New variable.
20644 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20645 (sinh_upward_test_data): New variable.
20646 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20647 (sqrt_test_data): New variable.
20648 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20649 (tan_test_data): New variable.
20650 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20651 (tan_tonearest_test_data): New variable.
20652 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20653 (tan_towardzero_test_data): New variable.
20654 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20655 (tan_downward_test_data): New variable.
20656 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20657 (tan_upward_test_data): New variable.
20658 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20659 (tanh_test_data): New variable.
20660 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20661 (tgamma_test_data): New variable.
20662 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20663 (trunc_test_data): New variable.
20664 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20665 (y0_test_data): New variable.
20666 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20667 (y1_test_data): New variable.
20668 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20669 (significand_test_data): New variable.
20670 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20672 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20675 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20677 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20679 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20681 2013-05-10 Andreas Jaeger <aj@suse.de>
20684 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20685 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20687 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20689 * math/gen-libm-test.pl (adjust_arg): New function.
20690 (special_functions): Handle generating output in both functions
20692 (parse_args): Likewise.
20693 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20694 $in_func argument to parse_args.
20695 * math/libm-test.inc (struct test_f_f_data): New type.
20696 (IF_ROUND_INIT_): New macro.
20697 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20698 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20699 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20700 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20701 (ROUND_RESTORE_): Likewise.
20702 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20703 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20704 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20705 (ROUND_RESTORE_FE_UPWARD): Likewise.
20706 (RUN_TEST_LOOP_f_f): New macro.
20707 (acos_test_data): New variable.
20708 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20709 (acos_tonearest_test_data): New variable.
20710 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20712 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20714 * benchtests/bench-skeleton.c (startup): Fix coding style.
20716 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20719 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20720 negative infinity argument.
20721 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20722 negative infinity argument.
20723 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20724 negative infinity argument.
20725 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20728 2013-05-10 Florian Weimer <fweimer@redhat.com>
20730 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20731 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20732 * iconv/iconv_prog.c (main): Likewise.
20733 * locale/programs/charmap-dir.c (charmap_readdir)
20734 (fopen_uncompressed): Likewise.
20735 * locale/programs/locfile.c (siblings_uncached)
20736 (write_locale_data): Use lstat64 instead of lstat.
20737 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20740 2013-05-10 Andreas Jaeger <aj@suse.de>
20743 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20745 Include <locale.h>.
20747 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20749 * elf/dl-close.c (_dl_close_worker): Add comments.
20751 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20754 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20756 (__ieee754_rem_pio2l): Update comments.
20759 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20761 (__ieee754_rem_pio2l): Update comments.
20763 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20764 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20766 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20769 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20770 (M_PI_34_LOG10El): Likewise.
20771 (M_PI2_LOG10El): Likewise.
20772 (M_PI4_LOG10El): Likewise.
20773 (M_PI_LOG10El): Likewise.
20775 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20779 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20781 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20782 (MINUS_ZERO_INIT): Likewise.
20783 (PLUS_INFTY_INIT): Likewise.
20784 (MINUS_INFTY_INIT): Likewise.
20785 (QNAN_VALUE_INIT): Likewise.
20786 (MAX_VALUE_INIT): Likewise.
20787 (MIN_VALUE_INIT): Likewise.
20788 (MIN_SUBNORM_VALUE_INIT): Likewise.
20789 (plus_zero): Initialize with PLUS_ZERO_INIT.
20790 (minus_zero): Initialize with MINUS_ZERO_INIT.
20791 (plus_infty): Initialize with PLUS_INFTY_INIT.
20792 (minus_infty): Initialize with MINUS_INFTY_INIT.
20793 (qnan_value): Initialize with QNAN_VALUE_INIT.
20794 (max_value): Initialize with MAX_VALUE_INIT.
20795 (min_value): Initialize with MIN_VALUE_INIT.
20796 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20798 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20799 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20800 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20801 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20803 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20804 (RUN_TEST_2_f): Likewise.
20805 (RUN_TEST_ff_f): Likewise.
20806 (RUN_TEST_fi_f): Likewise.
20807 (RUN_TEST_fl_f): Likewise.
20808 (RUN_TEST_fff_f): Likewise.
20809 (RUN_TEST_c_f): Likewise.
20810 (RUN_TEST_f_f1): Likewise.
20811 (RUN_TEST_fF_f1): Likewise.
20812 (RUN_TEST_fI_f1): Likewise.
20813 (RUN_TEST_ffI_f1): Likewise.
20814 (RUN_TEST_c_c): Likewise.
20815 (RUN_TEST_cc_c): Likewise.
20816 (RUN_TEST_f_i): Likewise.
20817 (RUN_TEST_f_i_tg): Likewise.
20818 (RUN_TEST_ff_i_tg): Likewise.
20819 (RUN_TEST_f_b): Likewise.
20820 (RUN_TEST_f_b_tg): Likewise.
20821 (RUN_TEST_f_l): Likewise.
20822 (RUN_TEST_f_L): Likewise.
20823 (RUN_TEST_sincos): Likewise.
20824 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20825 whether to show exceptions. Do not include ");\n" in return
20827 (special_functions): Output call to RUN_TEST_sincos instead of
20828 check_float calls. Update calls to new_test.
20829 (parse_args): Output call to single RUN_TEST_* macro instead of
20830 check_* calls and other assignments. Update calls to new_test.
20836 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20837 input to result for tgamma overflow.
20838 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20839 (gamma_coeff): New variable.
20840 (NCOEFF): New macro.
20841 (gamma_positive): New function.
20842 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20843 underflow here. Use gamma_positive instead of exp (lgamma) for
20845 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20846 (gamma_coeff): New variable.
20847 (NCOEFF): New macro.
20848 (gammaf_positive): New function.
20849 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20850 underflow here. Use gamma_positive instead of exp (lgamma) for
20852 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20853 (gamma_coeff): New variable.
20854 (NCOEFF): New macro.
20855 (gammal_positive): New function.
20856 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20857 underflow here. Use gamma_positive instead of exp (lgamma) for
20859 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20860 (gamma_coeff): New variable.
20861 (NCOEFF): New macro.
20862 (gammal_positive): New function.
20863 (__ieee754_gammal_r): Handle positive infinity, overflow and
20864 underflow here. Handle NaN the same as positive infinity. Remove
20865 check x < 0xffffffff for negative integers. Use gamma_positive
20866 instead of exp (lgamma) for other arguments.
20867 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20868 (gamma_coeff): New variable.
20869 (NCOEFF): New macro.
20870 (gammal_positive): New function.
20871 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20872 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20873 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20874 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20875 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20876 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20877 * sysdeps/generic/math_private.h (__gamma_productf): New
20879 (__gamma_product): Likewise.
20880 (__gamma_productl): Likewise.
20881 * math/Makefile (libm-calls): Add gamma_product.
20882 * math/libm-test.inc (tgamma_test): Add more tests.
20883 * sysdeps/i386/fpu/libm-test-ulps: Update.
20884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20886 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20888 * benchtests/bench-skeleton.c (main): Preheat CPU.
20890 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20892 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20894 2013-05-07 Roland McGrath <roland@hack.frob.com>
20896 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20897 and _dl_skip_args_internal.
20899 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20901 * manual/message.texi (Message Translation): Talk about users.
20902 Message to key mapping impacts design.
20904 2013-05-06 Roland McGrath <roland@hack.frob.com>
20906 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20908 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20910 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20911 * sysdeps/wordsize-64/glob64.c: ... here.
20913 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20914 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20917 * debug/getlogin_r_chk.c: Moved to ...
20918 * login/getlogin_r_chk.c: ... here.
20919 * debug/Makefile (routines): Move getlogin_r_chk to ...
20920 * login/Makefile (routines): ... here.
20921 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20922 * login/Versions (libc: GLIBC_2.4): ... here.
20924 * io/poll.c (__poll): Renamed from poll.
20925 Add libc_hidden_def.
20926 (poll): Define as weak alias.
20928 * debug/ptsname_r_chk.c: Moved to ...
20929 * login/ptsname_r_chk.c: ... here.
20930 * debug/Makefile (routines): Move ptsname_r_chk to ...
20931 * login/Makefile (routines): ... here.
20932 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20933 * login/Versions (libc: GLIBC_2.4): ... here.
20935 * posix/getlogin.c: Moved to ...
20936 * login/getlogin.c: ... here.
20937 * posix/getlogin_r.c: Moved to ...
20938 * login/getlogin_r.c: ... here.
20939 * posix/getlogin_r.c: Moved to ...
20940 * login/getlogin_r.c: ... here.
20941 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20942 * login/Makefile (routines): ... here.
20943 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20944 * login/Versions (libc: GLIBC_2.0): ... here.
20946 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20947 (setrlimit): Define as weak alias.
20949 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20950 Call __ names for open, ftruncate, and close.
20951 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20952 (truncate): Define as weak alias.
20954 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20956 * math/gen-libm-test.pl (parse_args): Initialize x before each
20957 test of frexp, modf and remquo.
20959 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20960 test signgam value.
20962 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20966 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20968 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20970 2013-05-06 Roland McGrath <roland@hack.frob.com>
20972 * elf/dl-writev.h: New file.
20973 * elf/dl-misc.c: Include it.
20974 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20975 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20977 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20979 * math/libm-test.inc (noXFails): Remove variable.
20980 (noXPasses): Likewise.
20981 (BUILD_COMPLEX_INT): Remove macro.
20982 (print_screen): Remove xfail argument.
20983 (print_screen_max_error): Likewise.
20984 (update_stats): Likewise.
20985 (print_max_error): Likewise. Update calls to other affected
20987 (print_complex_max_error): Likewise.
20988 (test_single_exception): Update calls to print_screen.
20989 (test_single_errno): Likewise.
20990 (check_float_internal): Remove xfail argument. Update calls to
20991 other affected functions.
20992 (check_float): Likewise.
20993 (check_complex): Likewise.
20994 (check_int): Likewise.
20995 (check_long): Likewise.
20996 (check_bool): Likewise.
20997 (check_longlong): Likewise.
20998 (main): Don't print noXFails and noXPasses.
20999 * math/gen-libm-test.pl (top level): Don't mention expected
21000 failure handling in comment.
21001 (new_test): Don't handle expected failures.
21002 (parse_args): Don't mention expected failure handling in comment.
21003 (generate_testfile): Don't handle expected failures.
21004 (parse_ulps): Likewise.
21005 (print_ulps_file): Likewise.
21006 (get_failure): Remove function.
21007 (output_test): Don't handle expected failures.
21008 * make/README.libm-test: Don't mention expected failure handling.
21010 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21011 (minus_zero): Likewise.
21012 (plus_infty): Likewise.
21013 (minus_infty): Likewise.
21014 (qnan_value): Likewise.
21015 (max_value): Likewise.
21016 (min_value): Likewise.
21017 (min_subnorm_value): Likewise.
21018 (initialize): Do not initialize those variables dynamically.
21020 2013-05-03 Roland McGrath <roland@hack.frob.com>
21022 * io/open.c (__open_2): Moved to ...
21023 * io/open_2.c: ... this new file.
21024 * io/open64.c (__open64_2): Moved to ...
21025 * io/open64_2.c: ... this new file.
21026 * io/openat.c (__openat_2): Moved to ...
21027 * io/openat_2.c: ... this new file.
21028 * io/openat64.c (__openat64_2): Moved to ...
21029 * io/openat64_2.c: ... this new file.
21030 * io/Makefile (routines): Add them.
21031 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21032 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21033 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21034 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21035 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21036 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21037 (__openat64): Add hidden_ver.
21038 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21039 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21041 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21042 Separately conditionalize setting of GLRO(dl_sysinfo) so
21043 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21044 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21046 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21048 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21049 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21051 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21052 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21053 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21054 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21055 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21057 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21059 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21060 test signgam value.
21062 * math/libm-test.inc (hypot_test): Do not use
21063 IGNORE_ZERO_INF_SIGN.
21065 2013-05-03 Andreas Jaeger <aj@suse.de>
21067 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21069 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21070 (PF_MAX): Adjust for VSOCK change.
21072 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21076 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21079 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21080 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21081 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21083 2013-05-02 David S. Miller <davem@davemloft.net>
21085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21087 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21089 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21091 2013-05-01 Roland McGrath <roland@hack.frob.com>
21093 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21095 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21098 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21099 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21100 Use __attribute__ ((__gnu_inline__)).
21101 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21102 Don't use __attribute__ ((__gnu_inline__)).
21104 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21107 * math/s_catan.c (__catan): Handle small real or imaginary part of
21108 input specially to avoid spurious underflow.
21109 * math/s_catanf.c (__catanf): Likewise.
21110 * math/s_catanh.c (__catanh): Likewise.
21111 * math/s_catanhf.c (__catanhf): Likewise.
21112 * math/s_catanhl.c (__catanhl): Likewise.
21113 * math/s_catanl.c (__catanl): Likewise.
21114 * math/libm-test.inc (catan_test): Add more tests.
21115 (catanh_test): Likewise.
21116 * sysdeps/i386/fpu/libm-test-ulps: Update.
21117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21119 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21123 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21126 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21127 accurately for denominator in atan2.
21128 * math/s_catanf.c (__catanf): Likewise.
21129 * math/s_catanh.c (__catanh): Likewise.
21130 * math/s_catanhf.c (__catanhf): Likewise.
21131 * math/s_catanhl.c (__catanhl): Likewise.
21132 * math/s_catanl.c (__catanl): Likewise.
21133 * math/libm-test.inc (catan_test): Add more tests.
21134 (catanh_test): Likewise.
21135 * sysdeps/i386/fpu/libm-test-ulps: Update.
21136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21138 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21140 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21142 * benchtests/Makefile (bench): Remove slow benchmarks.
21143 * benchtests/atan-inputs: Add slow benchmark inputs.
21144 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21145 (BENCH_FUNC): Accept variant offset.
21147 * benchtests/bench-skeleton.c (main): Run benchmark for each
21149 * benchtests/cos-inputs: Add slow benchmark inputs.
21150 * benchtests/exp-inputs: Likewise.
21151 * benchtests/pow-inputs: Likewise.
21152 * benchtests/sin-inputs: Likewise.
21153 * benchtests/slowatan-inputs: Remove.
21154 * benchtests/slowatan.c: Remove.
21155 * benchtests/slowcos-inputs: Remove.
21156 * benchtests/slowcos.c: Remove.
21157 * benchtests/slowexp-inputs: Remove.
21158 * benchtests/slowexp.c: Remove.
21159 * benchtests/slowpow-inputs: Remove.
21160 * benchtests/slowpow.c: Remove.
21161 * benchtests/slowsin-inputs: Remove.
21162 * benchtests/slowsin.c: Remove.
21163 * benchtests/slowtan-inputs: Remove.
21164 * benchtests/slowtan.c: Remove.
21165 * benchtests/tan-inputs: Add slow benchmark inputs.
21166 * scripts/bench.pl: Parse comments and directives.
21168 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21170 ($(objpfx)bench-%.c): Remove *-ITER.
21171 * benchtests/bench-modf.c: Remove definition of ITER.
21172 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21173 (main): Loop for DURATION seconds instead of fixed number of
21175 * scripts/bench.pl: Don't expect iterations in parameters.
21177 2013-04-29 Roland McGrath <roland@hack.frob.com>
21179 * io/fchdir.c (__fchdir): Renamed from fchdir.
21180 (fchdir): Define as weak alias.
21182 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21184 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21185 (ERRNO_EDOM): Likewise.
21186 (ERRNO_ERANGE): Likewise.
21187 (noErrnoTests): New variable.
21188 (init_max_error): Set errno to 0.
21189 (test_single_errno): New function.
21190 (test_errno): Likewise.
21191 (check_float_internal): Call test_errno. Set errno to 0.
21192 (check_complex): Refer to errno tests in comment.
21193 (check_int): Call test_errno. Set errno to 0.
21194 (check_long): Likewise.
21195 (check_bool): Likewise.
21196 (check_longlong): Likewise.
21197 (cos_test): Use ERRNO_* flags for errno tests instead of
21199 (expm1_test): Likewise.
21200 (fmod_test): Likewise.
21201 (ilogb_test): Likewise.
21202 (lgamma_test): Likewise.
21203 (pow_test): Likewise.
21204 (remainder_test): Likewise.
21205 (sin_test): Likewise.
21206 (tan_test): Likewise.
21207 (yn_test): Likewise.
21208 (initialize): Set errno to 0.
21209 (main): Print number of errno tests.
21210 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21212 2013-04-29 Andreas Jaeger <aj@suse.de>
21215 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21219 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21220 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21224 * stdlib/random.c (__initstate): Return NULL if
21228 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21229 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21232 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21236 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21238 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21239 of individual tests.
21240 (casin_test): Likewise.
21241 (casinh_test): Likewise.
21243 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21246 * math/s_catan.c (__catan): Handle arguments with large real or
21247 imaginary part separately without squaring.
21248 * math/s_catanf.c (__catanf): Likewise.
21249 * math/s_catanh.c (__catanh): Likewise.
21250 * math/s_catanhf.c (__catanhf): Likewise.
21251 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21253 (__catanhl): Handle arguments with large real or imaginary part
21254 separately without squaring.
21255 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21257 (__catanl): Handle arguments with large real or imaginary part
21258 separately without squaring.
21259 * math/libm-test.inc (catan_test): Add more tests.
21260 (catanh_test): Likewise.
21261 * sysdeps/i386/fpu/libm-test-ulps: Update.
21262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21264 2013-04-27 Andreas Jaeger <aj@suse.de>
21267 * stdlib/stdlib.h: Update guards for qecvt.
21268 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21271 2013-04-27 Allan McRae <allan@archlinux.org>
21273 * sysdeps/i386/fpu/libm-test-ulps: Update.
21275 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21278 * math/s_catan.c: Include <float.h>.
21279 (__catan): Ensure underflow exception occurs for underflowed
21281 * math/s_catanf.c: Include <float.h>.
21282 (__catanf): Ensure underflow exception occurs for underflowed
21284 * math/s_catanh.c: Include <float.h>.
21285 (__catanh): Ensure underflow exception occurs for underflowed
21287 * math/s_catanhf.c: Include <float.h>.
21288 (__catanhf): Ensure underflow exception occurs for underflowed
21290 * math/s_catanhl.c: Include <float.h>.
21291 (__catanhl): Ensure underflow exception occurs for underflowed
21293 * math/s_catanl.c: Include <float.h>.
21294 (__catanl): Ensure underflow exception occurs for underflowed
21296 * math/libm-test.inc (catan_test): Add more tests.
21297 (catanh_test): Likewise.
21300 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21301 underflowed result.
21302 * math/s_ccoshf.c (__ccoshf): Likewise.
21303 * math/s_ccoshl.c (__ccoshl): Likewise.
21304 * math/s_csin.c (__csin): Likewise.
21305 * math/s_csinf.c (__csinf): Likewise.
21306 * math/s_csinh.c (__csinh): Likewise.
21307 * math/s_csinhf.c (__csinhf): Likewise.
21308 * math/s_csinhl.c (__csinhl): Likewise.
21309 * math/s_csinl.c (__csinl): Likewise.
21310 * math/libm-test.inc (ccos_test): Add more tests.
21311 (ccosh_test): Likewise.
21312 (csin_test): Likewise.
21313 (csinh_test): Likewise.
21315 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21317 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21318 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21319 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21320 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21321 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21322 powerpc/power5+/fpu folders.
21323 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21326 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21330 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21332 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21333 additions to variable.
21334 [$(config-machine) = x86_64] (modules-names): Likewise.
21335 ($(objpfx)tst-audit3): Remove dependency.
21336 ($(objpfx)tst-audit3.out): Likewise.
21337 ($(objpfx)tst-audit4): Likewise.
21338 ($(objpfx)tst-audit4.out): Likewise.
21339 ($(objpfx)tst-audit5): Likewise.
21340 ($(objpfx)tst-audit5.out): Likewise.
21341 ($(objpfx)tst-audit6): Likewise.
21342 ($(objpfx)tst-audit6.out): Likewise.
21343 ($(objpfx)tst-audit7): Likewise.
21344 ($(objpfx)tst-audit7.out): Likewise.
21345 (tst-audit3-ENV): Remove variable.
21346 (tst-audit4-ENV): Likewise.
21347 (tst-audit5-ENV): Likewise.
21348 (tst-audit6-ENV): Likewise.
21349 (tst-audit7-ENV): Likewise.
21350 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21351 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21352 addition to variable.
21353 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21354 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21355 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21356 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21357 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21358 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21359 tst-audit3, tst-audit4 and tst-audit5.
21360 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21361 tst-audit6 and tst-audit7.
21362 [$(subdir) = elf] (modules-names): Add audit modules for those
21364 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21365 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21366 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21367 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21368 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21369 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21370 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21371 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21372 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21373 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21374 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21375 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21376 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21377 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21378 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21379 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21381 [$(subdir) = elf && $(config-cflags-avx) = yes]
21382 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21383 [$(subdir) = elf && $(config-cflags-avx) = yes]
21384 (CFLAGS-tst-auditmod4a.c): Likewise.
21385 [$(subdir) = elf && $(config-cflags-avx) = yes]
21386 (CFLAGS-tst-auditmod4b.c): Likewise.
21387 [$(subdir) = elf && $(config-cflags-avx) = yes]
21388 (CFLAGS-tst-auditmod6b.c): Likewise.
21389 [$(subdir) = elf && $(config-cflags-avx) = yes]
21390 (CFLAGS-tst-auditmod6c.c): Likewise.
21391 [$(subdir) = elf && $(config-cflags-avx) = yes]
21392 (CFLAGS-tst-auditmod7b.c): Likewise.
21393 * elf/tst-audit3.c: Move to ...
21394 * sysdeps/x86_64/tst-audit3.c: ... here.
21395 * elf/tst-audit4.c: Move to ...
21396 * sysdeps/x86_64/tst-audit4.c: ... here.
21397 * elf/tst-audit5.c: Move to ...
21398 * sysdeps/x86_64/tst-audit5.c: ... here.
21399 * elf/tst-audit6.c: Move to ...
21400 * sysdeps/x86_64/tst-audit6.c: ... here.
21401 * elf/tst-audit7.c: Move to ...
21402 * sysdeps/x86_64/tst-audit7.c: ... here.
21403 * elf/tst-auditmod3a.c: Move to ...
21404 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21405 * elf/tst-auditmod3b.c: Move to ...
21406 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21407 * elf/tst-auditmod4a.c: Move to ...
21408 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21409 * elf/tst-auditmod4b.c: Move to ...
21410 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21411 * elf/tst-auditmod5a.c: Move to ...
21412 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21413 * elf/tst-auditmod5b.c: Move to ...
21414 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21415 * elf/tst-auditmod6a.c: Move to ...
21416 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21417 * elf/tst-auditmod6b.c: Move to ...
21418 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21419 * elf/tst-auditmod6c.c: Move to ...
21420 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21421 * elf/tst-auditmod7a.c: Move to ...
21422 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21423 * elf/tst-auditmod7b.c: Move to ...
21424 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21426 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21429 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21430 define unconditionally.
21431 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21432 define unconditionally.
21433 (INT8_C, INT16_C, etc.): Likewise.
21435 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21437 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21438 __ehdr_start with hidden visibility.
21440 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21442 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21444 * math/libm-test.inc (cos_test): Use accurate hex constants.
21445 (sincost_test): Likewise.
21447 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21449 * math/libm-test.inc (catan_test): Add more tests.
21450 (catanh_test): Likewise.
21452 * math/s_catanf.c (__catanf): Use suffixed floating-point
21454 * math/s_catanhf.c (__catanhf): Likewise.
21455 * math/s_catanhl.c (__catanhl): Likewise.
21456 * math/s_catanl.c (__catanl): Likewise.
21459 * math/s_catan.c (__catan): Calculate imaginary part of result
21460 with log1p not log unless computing log of number close to 0.
21461 * math/s_catanf.c (__catanf): Likewise.
21462 * math/s_catanl.c (__catanl): Likewise.
21463 * math/s_catanh.c (__catanh): Calculate real part of result with
21464 log1p not log unless computing log of number close to 0.
21465 * math/s_catanhf.c (__catanhf): Likewise.
21466 * math/s_catanhl.c (__catanhl): Likewise.
21467 * math/libm-test.inc (catan_test): Add more tests.
21468 (catanh_test): Likewise.
21469 * sysdeps/i386/fpu/libm-test-ulps: Update.
21470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21472 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21474 * benchtests/Makefile: Mention files in which fast and slow
21475 paths of math functions are implemented.
21477 2013-04-23 Roland McGrath <roland@hack.frob.com>
21479 * sysdeps/posix/timespec_get.c: New file.
21481 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21483 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21485 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21487 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21488 powerpc/power5/fpu folders.
21489 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21490 * benchtests/Makefile: Add modf testcase.
21491 * benchtests/bench-modf.c: New file: Benchmark test for mo
21493 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21496 * time/Makefile (tests): Add tst-strptime-whitespace.
21497 * time/strptime_l.c (get_number): Use ISSPACE.
21498 (__strptime_internal): Likewise.
21499 * time/tst-strptime-whitespace.c: New test case.
21501 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21503 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21505 (_nss_files_init): Set it here.
21507 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21509 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21510 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21513 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21515 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21517 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21522 2013-04-21 David S. Miller <davem@davemloft.net>
21524 * po/ru.po: Update Russion translation from translation project.
21526 2013-04-17 Adam Conrad <adconrad@0c3.net>
21528 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21531 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21533 * configure.in: Remove i386 configure warning. Remove i386 case.
21534 * configure: Regenerate.
21535 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21536 Add example to error message.
21537 * sysdeps/i386/configure: Regenerate.
21539 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21541 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21543 * benchtests/cos-inputs: New file.
21544 * benchtests/slowcos-inputs: New file.
21545 * benchtests/slowcos.c: New file.
21546 * benchtests/slowtan-inputs: New file.
21547 * benchtests/slowtan.c: New file.
21548 * benchtests/tan-inputs: New file.
21550 2013-04-16 Roland McGrath <roland@hack.frob.com>
21552 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21555 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21557 * benchtests/Makefile: Include cppflags-iterator.mk to add
21558 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21560 * Makefile.in (bench-clean): New target.
21561 * benchtests/Makefile (bench-clean): Likewise.
21563 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21565 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21567 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21569 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21571 2013-04-15 Andreas Schwab <schwab@suse.de>
21573 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21575 * nscd/pwdcache.c (cache_addpw): Likewise.
21576 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21579 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21581 * benchtests/Makefile (bench): Write all output to
21582 bench-out.tmp together.
21584 2013-04-15 Andreas Schwab <schwab@suse.de>
21586 * nscd/nscd.c (main): Don't fork again after closing files.
21588 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21590 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21592 * benchtests/Rules (bench-deps): Collect dependencies into a
21593 single variable. Add Makefile to dependencies.
21594 ($(objpfx)bench-%.c): Depend on bench-deps.
21596 2013-04-12 Roland McGrath <roland@hack.frob.com>
21597 Xavier Roche <roche+kml2@exalead.com>
21600 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21601 just that it's a file descriptor.
21602 * manual/llio.texi (Synchronizing AIO Operations): Update description
21603 for EBADF error from aio_fsync.
21605 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21607 * Rules (bench): Move target definition...
21608 * benchtests/Makefile: ... here.
21610 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21612 * math/libm-test.inc (cos_test): Fix PI/2 test.
21613 (sincos_test): Likewise.
21614 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21615 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21617 2013-04-11 Andreas Schwab <schwab@suse.de>
21620 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21621 accept exponent character only when digits were seen.
21622 * stdio-common/Makefile (tests): Add bug26.
21623 * stdio-common/bug26.c: New file.
21626 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21629 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21631 * Makeconfig (rtld-prefix): Define built linker prefix.
21632 * Rules (run-bench): Use it.
21633 * math/Makefile (run-regen-ulps): Likewise.
21635 * Rules (bench): Remove eval.
21637 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21638 Roland McGrath <roland@hack.frob.com>
21639 Ondrej Bilka <neleai@seznam.cz>
21642 * time/getdate.c: Include ctype.h and alloca.h.
21643 (__getdate_r): Trim leading and trailing spaces of input.
21644 * time/tst-getdate.c (tests): Add tests with leading and
21647 2013-04-08 Roland McGrath <roland@hack.frob.com>
21650 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21651 when computing value.
21653 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21655 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21656 Use testrun.sh to run libm tests.
21659 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21661 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21664 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21666 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21668 * Makefile.in (regen-ulps): New target.
21669 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21670 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21671 [ifneq (no,$(PERL)] (regen-ulps): New target.
21672 [ifeq (no,$(PERL)] (regen-ulps): New target.
21673 * math/libm-test.inc (ulps_file_name): Define.
21674 (output_dir): New variable.
21675 (options): Add "output-dir" option.
21676 (parse_opt): Handle 'o' case.
21677 (main): If output_dir is non-NULL use it as a prefix
21679 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21681 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21683 [BZ #10060, #10062]
21684 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21685 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21686 fail configure if __sync_val_compare_and_swap is not inlined.
21687 * sysdeps/i386/configure: Regenerate.
21688 * configure.in: Build for i686 when configured for i386.
21689 * configure: Regenerate.
21690 * README: Remove i386 reference.
21692 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21694 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21695 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21697 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21699 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21700 (lmsnanval): New variables.
21701 (F): Add conversion tests.
21702 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21703 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21705 * stdio-common/tstdiomisc.c (F): Properly collect individual
21708 [BZ #14686, #15336]
21709 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21710 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21711 Instead, use input NaN values or generate a qNaN by arithmetic
21712 operation. Also fix bugs to comply with the standard.
21713 * math/libm-test.inc (remainder_test): Add more tests.
21715 [BZ #15335, #15342]
21716 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21718 input NaN values or generate a qNaN by arithmetic operation.
21720 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21723 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21726 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21729 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21730 underflowed result.
21731 * math/s_cexpf.c (__cexpf): Likewise.
21732 * math/s_cexpl.c (__cexpl): Likewise.
21733 * math/libm-test.inc (cexp_test): Add more tests.
21735 2013-04-03 Andreas Schwab <schwab@suse.de>
21738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21739 order arrays from heap if bigger than alloca cutoff.
21741 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21743 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21744 (SNAN_TESTS_double): Refer to GCC PR56831.
21745 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21748 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21750 * Rules (bench): Move bench.out after the run is complete.
21752 * Rules (bench): Echo currently running benchmark.
21754 * benchtests/Makefile (bench): Add atan and slowatan.
21755 * benchtests/atan-inputs: New file.
21756 * benchtests/slowatan-inputs: New file.
21757 * benchtests/slowatan.c: New file.
21759 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21760 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21764 * sysdeps/unix/sysv/linux/kernel-features.h
21765 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21766 __ASSUME_XFS_RESTRICTED_CHOWN.
21767 * sysdeps/unix/sysv/linux/pathconf.c
21768 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21769 Save and restore errno.
21771 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21774 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21775 arguments using __kernel_casinh.
21776 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21777 arguments using __kernel_casinhf.
21778 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21779 arguments using __kernel_casinhl.
21780 * math/libm-test.inc (cacosh_test): Add more tests.
21781 * sysdeps/i386/fpu/libm-test-ulps: Update.
21782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21784 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21786 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21789 * bench/Makefile (bench): Add sin and slowsin.
21790 * benchtests/sin-inputs: New file.
21791 * benchtests/slowsin-inputs: New file.
21792 * benchtests/slowsin.c: New file.
21794 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21795 (bench): Add slowexp and slowpow.
21796 (exp-ITER): Increase iterations.
21797 (pow-ITER): Likewise.
21798 * benchtests/exp-inputs: Change input.
21799 * benchtests/pow-inputs: Likewise.
21800 * benchtests/slowexp-inputs: New file.
21801 * benchtests/slowexp.c: New file.
21802 * benchtests/slowpow-inputs: New file.
21803 * benchtests/slowpow.c: New file.
21805 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21807 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21809 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21810 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21811 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21812 * benchtests/Makefile: Add rint benchtest.
21813 * benchtests/rint-inputs: Input for rint benchtest.
21815 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21817 * Versions.def (libm): Add GLIBC_2.18.
21818 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21819 hidden libm prototypes.
21820 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21821 * math/Makefile (libm-calls): Add s_issignaling.
21822 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21823 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21824 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21826 * math/math.h [__USE_GNU] (issignaling): New macro.
21827 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21828 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21829 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21830 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21832 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21833 * manual/arith.texi (issignaling): New section.
21834 * manual/libm-err-tab.pl (@all_functions): Update comment.
21835 * math/gen-libm-test.pl (parse_args): Apply special handling for
21837 * math/libm-test.inc (print_float, issignaling_test): New
21839 (check_float_internal): Add issignaling checks.
21840 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21841 default definition.
21842 * sysdeps/powerpc/math-tests.h: New file.
21843 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21845 * math/test-snan.c (TEST_FUNC): Likewise.
21847 2013-03-30 David S. Miller <davem@davemloft.net>
21849 * po/de.po: Update from translation team.
21851 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21854 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21855 imaginary part less than 1.0 and real part less than 0.5
21857 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21858 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21859 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21860 (cacos_test): Add more tests.
21861 (casin_test): Likewise.
21862 (casinh_test): Likewise.
21863 * sysdeps/i386/fpu/libm-test-ulps: Update.
21864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21866 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21868 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21869 ONE with its value.
21871 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21872 (__pow_mp): Replace ONE and MONE with their values.
21873 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21874 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21875 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21876 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21877 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21878 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21880 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21882 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21883 (__pow_mp): Replace ZERO and MZERO with their values.
21884 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21885 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21886 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21888 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21889 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21892 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21894 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21896 2013-03-28 Roland McGrath <roland@hack.frob.com>
21898 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21899 Declare with __attribute__ ((weak)).
21900 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21901 Call __call_tls_dtors only if it's not NULL.
21903 2013-03-28 Roland McGrath <roland@hack.frob.com>
21905 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21906 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21907 magic __ehdr_start linker symbol if it's defined.
21908 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21909 them up here if it was already done.
21911 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21912 (_dl_aux_init): Use const in cast when setting it.
21913 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21914 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21915 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21917 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21919 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21920 * csu/libc-tls.c: Nor here.
21921 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21923 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21924 (__libc_message): Never call vsyslog.
21926 2013-03-28 Alan Modra <amodra@gmail.com>
21928 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21930 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21933 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21936 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21940 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21943 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21944 Don't add gid passed as argument.
21946 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21948 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21951 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21952 imaginary part between 1.0 and 1.5 and real part less than 0.5
21954 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21955 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21956 * math/libm-test.inc (cacos_test): Add more tests.
21957 (casin_test): Likewise.
21958 (casinh_test): Likewise.
21959 * sysdeps/i386/fpu/libm-test-ulps: Update.
21960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21962 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21964 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21967 (denorm): Likewise.
21968 (__dbl_mp): Likewise.
21969 (add_magnitudes): Likewise.
21970 (sub_magnitudes): Likewise.
21978 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21980 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21981 (__dubcos): Likewise.
21982 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21983 (__ieee754_acos): Likewise.
21984 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21985 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21986 (__exp1): Likewise.
21987 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21988 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21990 (my_log2): Likewise.
21991 (checkint): Likewise.
21992 * sysdeps/ieee754/dbl-64/e_remainder.c
21993 (__ieee754_remainder): Likewise.
21994 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21995 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21996 (bsloww): Likewise.
21997 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21999 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22000 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22001 MANTISSA_STORE_T to store computations on mantissa. Use
22002 macros for rounding and division.
22003 (denorm): Likewise.
22004 (__dbl_mp): Likewise.
22005 (add_magnitudes): Likewise.
22006 (sub_magnitudes): Likewise.
22009 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22010 powers of two in terms of TWOPOW macro.
22011 (mp_no): Make type of mantissa as MANTISSA_T.
22012 [!RADIXI]: Define RADIXI.
22013 [!TWO52]: Define TWO52.
22014 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22016 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22018 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22019 llroundl symbol when building for PPC32.
22021 2013-03-24 Mark H Weaver <mhw@netris.org>
22023 * manual/arith.texi (Normalization Functions): Fix prototypes for
22024 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22026 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22030 high value to check if expl overflow.
22031 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22032 to check for underflow and overflow.
22033 * math/libm-test.inc: Add exp test.
22035 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22038 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22041 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22043 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22046 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22048 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22049 wrap blocks consisting of several statements.
22051 * sysdeps/generic/math-tests.h: New file.
22052 * sysdeps/i386/fpu/math-tests.h: Likewise.
22053 * math/test-snan.c: Include it.
22054 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22056 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22059 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22060 (__ieee754_j0l): Do not improve calculations using cos of twice
22061 input for inputs above LDBL_MAX / 2.0L.
22062 (__ieee754_y0l): Likewise.
22063 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22064 (__ieee754_j1l): Do not improve calculations using cos of twice
22065 input for inputs above LDBL_MAX / 2.0L.
22066 (__ieee754_y1l): Likewise.
22067 * math/libm-test.inc (j0_test): Add another test.
22068 (j1_test): Likewise.
22069 (y0_test): Likewise.
22070 (y1_test): Likewise.
22071 * sysdeps/i386/fpu/libm-test-ulps: Update.
22073 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22075 * Rules ($(objpfx)bench-%.c): Include code from a C source
22078 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22081 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22082 imaginary part 1.0 and real part less than 0.5 specially.
22083 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22084 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22085 * math/libm-test.inc (cacos_test): Add more tests.
22086 (casin_test): Likewise.
22087 (casinh_test): Likewise.
22088 * sysdeps/i386/fpu/libm-test-ulps: Update.
22089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22091 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22093 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22094 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22096 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22098 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22099 * config.make.in (config-cflags-sse4): Remove variable.
22100 (config-cflags-avx): Likewise.
22101 (config-cflags-sse2avx): Likewise.
22102 (config-cflags-novzeroupper): Likewise.
22103 (config-asflags-i686): Likewise.
22104 (have-mfma4): Likewise.
22105 (have-as-vis3): Likewise.
22107 * configure.in (MIG): Do not AC_SUBST.
22108 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22109 (libc_cv_cc_sse4): Do not AC_SUBST.
22110 (libc_cv_cc_avx): Likewise.
22111 (libc_cv_cc_sse2avx): Likewise.
22112 (libc_cv_cc_novzeroupper): Likewise.
22113 (libc_cv_cc_fma4): Likewise.
22114 (libc_cv_as_i686): Likewise.
22115 (libc_cv_sparc_as_vis3): Likewise.
22116 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22118 (config-asflags-i686): Likewise.
22119 (config-cflags-avx): Likewise.
22120 (config-cflags-sse2avx): Likewise.
22121 (have-mfma4): Likewise.
22122 (config-cflags-novzeroupper): Likewise.
22123 * sysdeps/mach/configure.in (MIG): Likewise.
22124 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22125 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22127 (config-cflags-avx): Likewise.
22128 (config-cflags-sse2avx): Likewise.
22129 (have-mfma4): Likewise.
22130 (config-cflags-novzeroupper): Likewise.
22131 * configure: Regenerated.
22132 * sysdeps/i386/configure: Likewise.
22133 * sysdeps/mach/configure: Likewise.
22134 * sysdeps/sparc/configure: Likewise.
22135 * sysdeps/x86_64/configure: Likewise.
22137 2013-03-20 Roland McGrath <roland@hack.frob.com>
22140 * locale/programs/localedef.c (options): Put N_ translation marker
22141 on argument names, not just descriptions.
22143 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22145 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22147 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22150 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22152 2013-03-19 Roland McGrath <roland@hack.frob.com>
22154 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22155 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22156 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22157 [!BEFORE_ABORT] (before_abort): New function.
22158 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22159 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22160 (writev_for_fatal): New function.
22161 (WRITEV_FOR_FATAL): New macro; call that.
22162 (backtrace_and_maps): New function.
22163 (BEFORE_ABORT): New macro; call that.
22164 (struct str_list): Type removed.
22165 (__libc_message, __libc_fatal): Functions removed.
22166 Include <sysdeps/posix/libc_fatal.c> instead.
22168 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22170 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22172 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22175 2013-03-19 Andreas Schwab <schwab@suse.de>
22177 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22178 * sysdeps/gnu/configure: Regenerate.
22180 * configure.in: Substitute libc_cv_rtlddir.
22181 * configure: Regenerate.
22182 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22183 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22184 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22185 * elf/Makefile (install-others, CFLAGS-interp.c)
22186 (ldso_install, common-ldd-rewrite): Likewise.
22187 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22188 $(inst_slibdir)/$(rtld-installed-name).
22189 * scripts/rellns-sh: Add -p option.
22190 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22193 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22195 * manual/nptl.texi: Renamed to ...
22196 * manual/threads.texi: ... this.
22197 * manual/Makefile (chapters): Update.
22199 2013-03-18 Roland McGrath <roland@hack.frob.com>
22202 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22203 on argument names, not just descriptions.
22204 * malloc/memusagestat.c (options): Likewise.
22205 * nss/getent.c (options): Likewise.
22207 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22210 * iconv/iconv_prog.c (options): Put N_ translation marker
22211 on argument names, not just descriptions.
22212 * iconv/iconvconfig.c (options): Likewise.
22214 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22216 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22217 implementation which is faster on all x86_64 architectures.
22218 Tested on AMD, Intel Nehalem, SNB, IVB.
22219 * sysdeps/x86_64/strnlen.S: Likewise.
22221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22222 Remove all multiarch strlen and strnlen versions.
22223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22224 Remove strlen and strnlen related parts.
22226 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22227 Inline strlen part.
22228 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22230 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22231 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22232 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22233 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22234 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22235 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22237 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22239 * manual/memory.texi (Malloc Tunable Parameters):
22240 Sort parameters alphabetically. Add comments for missing entries.
22242 2013-03-17 David S. Miller <davem@davemloft.net>
22244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22246 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22249 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22250 for arguments at most half maximum finite value.
22251 * math/libm-test.inc (j0_test): Add more tests.
22252 (j1_test): Likewise.
22253 (y0_test): Likewise.
22254 (y1_test): Likewise.
22255 * sysdeps/i386/fpu/libm-test-ulps: Update.
22256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22259 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22260 1 / x and functions P and Q for arguments above 0x1p256L.
22261 (__ieee754_y0l): Likewise.
22262 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22263 (__ieee754_y1l): Likewise.
22264 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22265 (j1_test): Likewise.
22266 (y0_test): Likewise.
22267 (y1_test): Likewise.
22269 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22271 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22274 2013-03-15 Roland McGrath <roland@hack.frob.com>
22276 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22277 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22278 zero since it's initialized to EXEC_PAGESIZE.
22280 * sysdeps/unix/sysv/linux/ldsodefs.h
22281 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22282 * sysdeps/generic/ldsodefs.h: ... here.
22284 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22286 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22288 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22290 * math/test-snan.c: Renamed from
22291 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22292 * math/Makefile (tests): Add test-snan.
22293 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22296 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22297 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22299 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22300 __builtin_nan family of functions.
22301 * math/libm-test.inc (initialize): Initialize qnan_value with
22302 __builtin_nan family of functions.
22303 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22305 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22307 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22308 storage class. Initialize qNaN_var and sNaN_var with
22309 __builtin_nan and __builtin_nans families of functions,
22312 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22313 (sqrt_test): Remove duplicate test with qNaN input.
22314 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22315 (round_test, signbit_test, significand_test): Note missing +/-Inf
22316 as well as qNaN tests.
22318 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22319 qNaN_var. Fix a few strings, too.
22320 * math/libm-test.inc (nan_value): Rename to qnan_value.
22321 * math/gen-libm-test.pl (%beautify): Adjust to that.
22322 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22323 * math/test-misc.c (main): Likewise.
22324 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22325 to __qnan_bytes, and __qnan_union, respectively.
22326 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22328 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22329 and lqnanval, respectively.
22330 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22331 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22332 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22333 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22335 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22336 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22339 * math/test-misc.c (main): Fix copy'n'pastos.
22340 * misc/tst-efgcvt.c (special): Likewise.
22342 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22343 Remove declarations.
22345 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22347 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22348 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22349 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22350 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22352 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22354 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22355 macro to return vdso values correctly in IFUNC implementations.
22356 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22357 Optimization by using IFUNC.
22359 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22360 Richard Henderson <rth@redhat.com>
22361 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22363 * Makefile.in (bench): New target.
22364 * NEWS: Mention the benchmark framework.
22365 * Rules (bench): Likewise.
22366 (binaries-bench): Generate binaries for functions to
22368 * benchtests/Makefile: New makefile for benchmark tests.
22369 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22371 * benchtests/exp-inputs: New input file for EXP function.
22372 * benchtests/pow-inputs: New input file for POW function.
22373 * scripts/bench.pl: New script to generate source files for
22374 benchmark programs.
22376 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22378 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22379 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22380 computations on mantissa. Use macros for rounding and
22382 (denorm): Likewise.
22383 (__dbl_mp): Likewise.
22384 (add_magnitudes): Likewise.
22385 (sub_magnitudes): Likewise.
22388 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22389 powers of two in terms of TWOPOW macro.
22390 (mp_no): Make type of mantissa as MANTISSA_T.
22391 [!RADIXI]: Define RADIXI.
22392 [!TWO52]: Define TWO52.
22393 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22395 * manual/nptl.texi (cindex): Modify threads to pthreads.
22397 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22399 * sysdeps/x86_64/preconfigure: Regenerated.
22401 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22404 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22406 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22407 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22409 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22410 * math/libm-test.inc (j0_test): Do not allow one spurious
22411 underflow exception.
22412 (y1_test): Likewise.
22414 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22416 * manual/Makefile (chapters): Add nptl.
22417 * manual/debug.texi (Debugging Support): Add link to Threads
22419 * manual/nptl.texi: New file.
22421 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22423 2013-03-14 Petr Baudis <pasky@ucw.cz>
22425 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22426 for non-NULL pointer before the memory validity test. Pointed
22427 out by Holger Brunck <holger.brunck@keymile.com>.
22429 2013-03-13 Andreas Schwab <schwab@suse.de>
22431 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22434 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22436 * timezone/zic.c: Update from tzcode 2013b.
22438 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22440 * manual/install.texi (Configuring and compiling):
22441 Mention i686 and i586.
22442 * INSTALL: Regenerate.
22444 2013-03-12 Roland McGrath <roland@hack.frob.com>
22446 * sysdeps/init_array/elf-init.c: New file.
22448 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22449 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22451 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22452 __gmon_start__ as global, but as static with a .preinit_array pointer.
22453 * sysdeps/init_array/gmon-start.c: New file. Use that.
22454 * sysdeps/init_array/crti.S: New file, empty except for comments.
22455 * sysdeps/init_array/crtn.S: Likewise.
22457 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22459 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22462 Remove Prefer_SSE_for_memop.
22463 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22464 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22465 HAS_PREFER_SSE_FOR_MEMOP.
22466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22469 Remove bzero, memset ifunc support.
22470 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22471 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22472 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22473 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22475 2013-03-11 Andreas Schwab <schwab@suse.de>
22478 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22481 (GLIBC_2.16): Remove pthread_atfork.
22483 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22485 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22486 (ptestcases.h): Likewise.
22488 2013-03-08 Roland McGrath <roland@hack.frob.com>
22490 * Makeconfig ($(common-objpfx)config.status): Depend on
22491 sysdeps/*/preconfigure{,.in} too.
22493 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22495 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22496 (__free_hook): Use void * instead of __malloc_ptr_t.
22497 (__malloc_hook): Likewise.
22498 (__realloc_hook): Likewise.
22499 (__memalign_hook): Likewise.
22500 (__after_morecore_hook): Likewise.
22501 * malloc/arena.c (save_malloc_hook): Likewise.
22502 (save_free_hook): Likewise.
22503 * malloc/hooks.c (malloc_hook_ini): Likewise.
22504 (realloc_hook_ini): Likewise.
22505 (memalign_hook_ini): Likewise.
22506 * malloc/malloc.c (malloc_hook_ini): Likewise.
22507 (realloc_hook_ini): Likewise.
22508 (memalign_hook_ini): Likewise.
22509 (__free_hook): Likewise.
22510 (__malloc_hook): Likewise.
22511 (__realloc_hook): Likewise.
22512 (__memalign_hook): Likewise.
22513 (__libc_malloc): Likewise.
22514 (__libc_free): Likewise.
22515 (__libc_realloc): Likewise.
22516 (__libc_memalign): Likewise.
22517 (__libc_valloc): Likewise.
22518 (__libc_pvalloc): Likewise.
22519 (__libc_calloc): Likewise.
22520 (__posix_memalign): Likewise.
22521 * malloc/morecore.c (__sbrk): Likewise.
22522 (__default_morecore): Likewise.
22524 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22526 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22527 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22528 __malloc_ptrdiff_t.
22530 * malloc/malloc.h (__malloc_size_t): Remove macro.
22531 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22533 (old_memalign_hook): Likewise.
22534 (old_realloc_hook): Likewise.
22535 (struct hdr): Likewise.
22537 (mallochook): Likewise.
22538 (memalignhook): Likewise.
22539 (reallochook): Likewise.
22540 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22541 (tr_old_realloc_hook): Likewise.
22542 (tr_old_memalign_hook): Likewise.
22543 (tr_mallochook): Likewise.
22544 (tr_reallochook): Likewise.
22545 (tr_memalignhook): Likewise.
22547 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22549 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22550 default_ldbl_pack and using as default implementation.
22551 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22553 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22554 redundant definition.
22555 (ldbl_insert_mantissa): Likewise.
22556 (ldbl_canonicalize): Likewise.
22557 (ldbl_nearbyint): Likewise.
22558 (ldbl_pack): Rename to ldbl_pack_ppc.
22559 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22560 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22561 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22563 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22566 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22567 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22568 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22570 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22571 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22572 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22574 2013-03-07 Andreas Jaeger <aj@suse.de>
22576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22579 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22581 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22582 Include mpa.h and declare __MPEXP.
22583 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22584 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22585 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22586 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22587 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22588 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22589 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22591 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22592 (__slowpow): Use long double EXPL and LOGL functions to
22594 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22595 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22596 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22597 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22598 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22599 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22602 intermediate variable to calculate exponent.
22604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22608 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22609 [!NO__SQR]: Define __sqr.
22610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22611 and NO__SQR. Remove all code except __mul and __sqr. Include
22612 sysdeps/ieee754/dbl-64/mpa.c.
22613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22616 * posix/Makefile (tests): Add tst-pathconf.
22617 * posix/tst-pathconf.c: New test case.
22618 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22620 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22622 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22624 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22626 2013-03-06 Andreas Jaeger <aj@suse.de>
22628 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22629 definition via __MAP_ANONYMOUS.
22631 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22632 it's not part of Linux headers.
22634 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22635 (MAP_HUGE_MASK): Define.
22637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22639 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22640 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22642 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22643 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22645 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22646 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22648 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22650 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22651 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22652 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22653 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22654 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22655 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22657 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22660 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22661 Handle f2fs and efivarfs.
22663 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22666 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22667 (EFIVARFS_MAGIC): Add.
22668 (F2FS_LINK_MAX): Add.
22670 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22672 * stdio-common/vfprintf.c: Replace __builtin_expect with
22675 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22678 * sysdeps/generic/bp-sym.h: Remove file.
22679 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22680 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22681 <bp-sym.h> and <bp-asm.h>.
22682 (__longjmp): Don't use BP_SYM.
22683 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22685 (memcpy): Don't use BP_SYM.
22686 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22687 <bp-sym.h> and <bp-asm.h>.
22688 (memcpy): Don't use BP_SYM.
22689 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22691 (memcpy): Don't use BP_SYM.
22692 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22694 (memset): Don't use BP_SYM.
22695 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22696 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22697 (__bzero): Don't use BP_SYM.
22698 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22699 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22700 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22701 <bp-sym.h> and <bp-asm.h>.
22702 (memcmp): Don't use BP_SYM. Remove comment about bounded
22704 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22705 <bp-sym.h> and <bp-asm.h>.
22706 (memcpy): Don't use BP_SYM.
22707 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22708 <bp-sym.h> and <bp-asm.h>.
22709 (memset): Don't use BP_SYM.
22710 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22711 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22712 (__bzero): Don't use BP_SYM.
22713 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22714 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22715 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22716 <bp-sym.h> and <bp-asm.h>.
22717 (strncmp): Don't use BP_SYM. Remove comment about bounded
22719 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22720 <bp-sym.h> and <bp-asm.h>.
22721 (memcpy): Don't use BP_SYM.
22722 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22723 <bp-sym.h> and <bp-asm.h>.
22724 (memset): Don't use BP_SYM.
22725 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22726 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22727 (__bzero): Don't use BP_SYM.
22728 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22729 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22730 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22731 <bp-sym.h> and <bp-asm.h>.
22732 (__memchr): Don't use BP_SYM.
22733 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22734 <bp-sym.h> and <bp-asm.h>.
22735 (memcmp): Don't use BP_SYM. Remove comment about bounded
22737 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22738 <bp-sym.h> and <bp-asm.h>.
22739 (memcpy): Don't use BP_SYM.
22740 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22741 <bp-sym.h> and <bp-asm.h>.
22742 (__mempcpy): Don't use BP_SYM.
22743 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22744 <bp-sym.h> and <bp-asm.h>.
22745 (__memrchr): Don't use BP_SYM.
22746 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22747 <bp-sym.h> and <bp-asm.h>.
22748 (memset): Don't use BP_SYM.
22749 (__bzero): Likewise.
22750 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22751 <bp-sym.h> and <bp-asm.h>.
22752 (__rawmemchr): Don't use BP_SYM.
22753 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22754 <bp-sym.h> and <bp-asm.h>.
22755 (__STRCMP): Don't use BP_SYM.
22756 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22757 <bp-sym.h> and <bp-asm.h>.
22758 (strchr): Don't use BP_SYM.
22759 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22760 <bp-sym.h> and <bp-asm.h>.
22761 (__strchrnul): Don't use BP_SYM.
22762 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22763 <bp-sym.h> and <bp-asm.h>.
22764 (strlen): Don't use BP_SYM.
22765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22766 <bp-sym.h> and <bp-asm.h>.
22767 (strncmp): Don't use BP_SYM. Remove comment about bounded
22769 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22770 <bp-sym.h> and <bp-asm.h>.
22771 (__strnlen): Don't use BP_SYM.
22772 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22773 <bp-sym.h> and <bp-asm.h>.
22774 (__GI__setjmp): Don't use BP_SYM.
22775 (_setjmp): Likewise.
22776 (__sigsetjmp): Likewise.
22777 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22778 (L(start_addresses)): Don't use BP_SYM.
22779 (_start): Likewise.
22780 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22782 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22783 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22784 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22785 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22786 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22788 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22789 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22790 about bounded pointers.
22791 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22792 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22793 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22795 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22796 about bounded pointers. Remove GKM FIXME comments.
22797 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22798 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22800 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22801 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22802 Remove GKM FIXME comments.
22803 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22804 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22805 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22807 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22808 about bounded pointers. Remove GKM FIXME comment.
22809 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22811 (strncmp): Don't use BP_SYM. Remove comment about bounded
22813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22814 <bp-sym.h> and <bp-asm.h>.
22815 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22817 <bp-sym.h> and <bp-asm.h>.
22818 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22821 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22823 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22826 2013-03-05 David S. Miller <davem@davemloft.net>
22828 * po/es.po: Update from translation team.
22830 2013-03-05 Andreas Jaeger <aj@suse.de>
22832 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22833 <bits/mman-linux.h>.
22834 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22836 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22837 <bits/mman-linux.h> to end of file.
22838 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22840 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22841 <bits/mman-linux.h> to end of file.
22842 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22844 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22845 <bits/mman-linux.h> to end of file.
22847 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22848 (MCL_CURRENT, MCL_FUTURE): Define here.
22850 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22853 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22855 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22857 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22859 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22860 fourth parameter needed for rt_sigprocmask syscall.
22861 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22862 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22863 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22864 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22865 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22866 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22868 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22871 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22872 comment about bounded pointers.
22873 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22874 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22876 2013-03-04 Andreas Jaeger <aj@suse.de>
22878 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22879 common definitions.
22881 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22882 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22883 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22884 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22885 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22888 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22891 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22892 __ieee754_sqrl instead of __sqrl.
22894 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22896 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22897 * sysdeps/powerpc/fpu_control.h: ... here.
22898 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22899 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22900 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22901 * sysdeps/powerpc/bits/mathinline.h: ... here.
22903 2013-03-01 Roland McGrath <roland@hack.frob.com>
22905 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22906 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22907 to just [NEED_DL_SYSINFO_DSO].
22908 * elf/dl-support.c: Likewise.
22909 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22910 * elf/rtld.c (dl_main): Likewise.
22911 * elf/setup-vdso.h (setup_vdso): Likewise.
22912 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22913 * sysdeps/unix/sysv/linux/dl-sysdep.c
22914 (_dl_discover_osversion): Likewise.
22916 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22918 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22919 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22921 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22923 * NEWS: Mention libm performance improvements and non-x86 PI
22926 * csu/libc-start.c (__pthread_initialize_minimal): Change
22927 function arguments.
22928 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22930 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22933 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22934 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22935 <bp-sym.h> and <bp-asm.h>.
22936 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22937 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22939 (memcpy): Don't use BP_SYM.
22940 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22942 (__mpn_add_n): Don't use BP_SYM.
22943 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22944 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22946 (__mpn_addmul_1): Don't use BP_SYM.
22947 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22948 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22950 (_setjmp): Don't use BP_SYM.
22951 (__novmx_setjmp): Likewise.
22952 (__GI__setjmp): Likewise.
22953 (__vmx_setjmp): Likewise.
22954 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22956 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22957 (__bzero): Don't use BP_SYM.
22958 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22959 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22960 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22961 <bp-sym.h> and <bp-asm.h>.
22962 (memcpy): Don't use BP_SYM.
22963 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22964 <bp-sym.h> and <bp-asm.h>.
22965 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22966 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22967 <bp-sym.h> and <bp-asm.h>.
22968 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22969 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22971 (__mpn_lshift): Don't use BP_SYM.
22972 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22973 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22975 (memset): Don't use BP_SYM.
22976 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22977 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22978 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22980 (__mpn_mul_1): Don't use BP_SYM.
22981 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22982 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22983 <bp-sym.h> and <bp-asm.h>.
22984 (memcmp): Don't use BP_SYM.
22985 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22986 <bp-sym.h> and <bp-asm.h>.
22987 (memcpy): Don't use BP_SYM.
22988 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22989 <bp-sym.h> and <bp-asm.h>.
22990 (memset): Don't use BP_SYM.
22991 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22992 <bp-sym.h> and <bp-asm.h>.
22993 (strncmp): Don't use BP_SYM.
22994 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22995 <bp-sym.h> and <bp-asm.h>.
22996 (memcpy): Don't use BP_SYM.
22997 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22998 <bp-sym.h> and <bp-asm.h>.
22999 (memset): Don't use BP_SYM.
23000 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23001 <bp-sym.h> and <bp-asm.h>.
23002 (__memchr): Don't use BP_SYM.
23003 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23004 <bp-sym.h> and <bp-asm.h>.
23005 (memcmp): Don't use BP_SYM.
23006 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23007 <bp-sym.h> and <bp-asm.h>.
23008 (memcpy): Don't use BP_SYM.
23009 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23010 <bp-sym.h> and <bp-asm.h>.
23011 (__mempcpy): Don't use BP_SYM.
23012 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23013 <bp-sym.h> and <bp-asm.h>.
23014 (__memrchr): Don't use BP_SYM.
23015 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23016 <bp-sym.h> and <bp-asm.h>.
23017 (memset): Don't use BP_SYM.
23018 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23019 <bp-sym.h> and <bp-asm.h>.
23020 (__rawmemchr): Don't use BP_SYM.
23021 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23022 <bp-sym.h> and <bp-asm.h>.
23023 (__STRCMP): Don't use BP_SYM.
23024 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23025 <bp-sym.h> and <bp-asm.h>.
23026 (strchr): Don't use BP_SYM.
23027 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23028 <bp-sym.h> and <bp-asm.h>.
23029 (__strchrnul): Don't use BP_SYM.
23030 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23031 <bp-sym.h> and <bp-asm.h>.
23032 (strlen): Don't use BP_SYM.
23033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23034 <bp-sym.h> and <bp-asm.h>.
23035 (strncmp): Don't use BP_SYM.
23036 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23037 <bp-sym.h> and <bp-asm.h>.
23038 (__strnlen): Don't use BP_SYM.
23039 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23041 (__mpn_rshift): Don't use BP_SYM.
23042 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23043 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23044 <bp-sym.h> and <bp-asm.h>.
23045 (__sigsetjmp): Don't use BP_SYM.
23046 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23047 (L(start_addresses)): Don't use BP_SYM.
23048 (_start): Likewise.
23049 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23051 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23052 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23053 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23054 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23056 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23057 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23058 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23059 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23061 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23063 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23064 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23066 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23068 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23069 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23070 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23072 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23074 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23076 (strncmp): Don't use BP_SYM,
23077 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23079 (__mpn_sub_n): Don't use BP_SYM.
23080 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23081 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23083 (__mpn_submul_1): Don't use BP_SYM.
23084 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23086 <bp-sym.h> and <bp-asm.h>.
23087 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23089 <bp-sym.h> and <bp-asm.h>.
23090 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23093 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23096 Use ZK to minimize writes to Z.
23097 (sub_magnitudes): Simplify code a bit.
23098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23099 Use ZK to minimize writes to Z.
23100 (sub_magnitudes): Simplify code a bit.
23102 2013-02-27 Roland McGrath <roland@hack.frob.com>
23104 * csu/gmon-start.c: Add special exception to license text.
23106 2013-02-27 Richard Henderson <rth@redhat.com>
23108 * scripts/config.guess: Update from config.git.
23109 * scripts/config.sub: Likewise.
23111 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23113 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23115 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23117 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23119 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23121 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23123 2013-02-26 Roland McGrath <roland@hack.frob.com>
23125 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23126 [$(build-shared = yes].
23128 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23130 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23131 (__mul): Reduce iterations for calculating mantissa.
23133 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23135 (__mpranred): Likewise.
23138 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23139 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23141 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23143 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23144 Define __attribute__.
23146 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23148 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23150 * posix/regex_internal.h (__attribute): Remove.
23151 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23152 (re_string_context_at): Likewise.
23153 (bitset_not): Use __attribute__ and mark function as possibly
23155 (bitset_merge): Likewise.
23156 (bitset_mask): Likewise.
23157 (re_string_char_size_at): Likewise.
23158 (re_string_wchar_at): Likewise.
23159 (re_string_elem_size_at): Likewise.
23161 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23163 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23167 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23171 (denorm): Likewise.
23172 (__dbl_mp): Likewise.
23173 (add_magnitudes): Likewise.
23174 (sub_magnitudes): Likewise.
23178 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23181 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23184 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23188 up changes with default code.
23189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23192 2013-02-24 Allan McRae <allan@archlinux.org>
23194 * manual/socket.texi (The Internet Namespace): Order menu items
23195 to match that in the file.
23197 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23198 node listing of the info page menu.
23200 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23203 * sysdeps/i386/bp-asm.h: Remove file.
23204 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23205 (PARMS): Do not use macros from bp-asm.h.
23209 (__mpn_add_n): Do not use BP_SYM
23210 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23212 (PARMS): Do not use macros from bp-asm.h.
23215 (__mpn_addmul_1): Do not use BP_SYM
23216 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23218 (PARMS): Do not use macros from bp-asm.h.
23219 (SIGMSK): Likewise.
23220 (_setjmp): Likewise. Do not use BP_SYM.
23221 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23223 (PARMS): Do not use macros from bp-asm.h.
23224 (SIGMSK): Likewise.
23225 (setjmp): Likewise. Do not use BP_SYM.
23226 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23228 (PARMS): Do not use macros from bp-asm.h.
23229 (__frexp): Do not use BP_SYM.
23231 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23233 (PARMS): Do not use macros from bp-asm.h.
23234 (__frexpf): Do not use BP_SYM.
23235 (frexpf): Likewise.
23236 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23238 (PARMS): Do not use macros from bp-asm.h.
23239 (__frexpl): Do not use BP_SYM.
23240 (frexpl): Likewise.
23241 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23243 (PARMS): Do not use macros from bp-asm.h.
23244 (__remquo): Do not use BP_SYM.
23245 (remquo): Likewise.
23246 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23248 (PARMS): Do not use macros from bp-asm.h.
23249 (__remquof): Do not use BP_SYM.
23250 (remquof): Likewise.
23251 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23253 (PARMS): Do not use macros from bp-asm.h.
23254 (__remquol): Do not use BP_SYM.
23255 (remquol): Likewise.
23256 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23258 (PARMS): Do not use macros from bp-asm.h.
23261 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23262 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23264 (PARMS): Do not use macros from bp-asm.h.
23265 (strlen): Do not use BP_SYM.
23266 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23268 (PARMS): Do not use macros from bp-asm.h.
23272 (__mpn_add_n): Do not use BP_SYM.
23273 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23275 (PARMS): Do not use macros from bp-asm.h.
23278 (__mpn_addmul_1): Do not use BP_SYM.
23279 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23282 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23284 (PARMS): Do not use macros from bp-asm.h.
23287 (__mpn_lshift): Do not use BP_SYM.
23288 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23290 (PARMS): Do not use macros from bp-asm.h.
23294 (memcpy): Likewise. Do not use BP_SYM.
23295 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23296 libc_hidden_def and weak_alias.
23297 (mempcpy): Do not use BP_SYM in weak_alias.
23298 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23300 (PARMS): Do not use macros from bp-asm.h.
23303 [!BZERO_P] (CHR): Likewise.
23304 (memset): Likewise. Do not use BP_SYM.
23305 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23307 (PARMS): Do not use macros from bp-asm.h.
23310 (__mpn_mul_1): Do not use BP_SYM.
23311 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23313 (PARMS): Do not use macros from bp-asm.h.
23316 (__mpn_rshift): Do not use BP_SYM.
23317 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23319 (PARMS): Do not use macros from bp-asm.h.
23322 (strchr): Likewise. Do not use BP_SYM.
23323 (index): Do not use BP_SYM in weak_alias.
23324 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23326 (PARMS): Do not use macros from bp-asm.h.
23329 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23330 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23332 (PARMS): Do not use macros from bp-asm.h.
23333 (strlen): Do not use BP_SYM.
23334 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23336 (PARMS): Do not use macros from bp-asm.h.
23340 (__mpn_sub_n): Do not use BP_SYM.
23341 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23343 (PARMS): Do not use macros from bp-asm.h.
23346 (__mpn_submul_1): Do not use BP_SYM.
23347 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23349 (PARMS): Do not use macros from bp-asm.h.
23353 (__mpn_add_n): Do not use BP_SYM.
23354 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23357 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23359 (PARMS): Do not use macros from bp-asm.h.
23362 (memcmp): Do not use BP_SYM.
23363 (bcmp): Do not use BP_SYM in weak_alias.
23364 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23366 (PARMS): Do not use macros from bp-asm.h.
23370 (memcpy): Likewise. Do not use BP_SYM.
23371 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23373 (PARMS): Do not use macros from bp-asm.h.
23377 (memmove): Likewise. Do not use BP_SYM.
23378 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23380 (PARMS): Do not use macros from bp-asm.h.
23384 (__mempcpy): Likewise. Do not use BP_SYM.
23385 (mempcpy): Do not use BP_SYM in weak_alias.
23386 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23388 (PARMS): Do not use macros from bp-asm.h.
23391 [!BZERO_P] (CHR): Likewise.
23392 (memset): Likewise. Do not use BP_SYM.
23393 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23395 (PARMS): Do not use macros from bp-asm.h.
23397 (strcmp): Do not use BP_SYM.
23398 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23400 (PARMS): Do not use macros from bp-asm.h.
23403 [USE_AS_STRTOK_R] (SAVE): Likewise.
23404 (FUNCTION): Likewise. Do not use BP_SYM.
23405 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23407 (strtok_r): Likewise.
23408 (__GI___strtok_r): Likewise.
23409 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23410 (PARMS): Do not use macros from bp-asm.h.
23413 (__mpn_lshift): Do not use BP_SYM.
23414 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23415 (PARMS): Do not use macros from bp-asm.h.
23418 (__memchr): Do not use BP_SYM.
23419 (memchr): Do not use BP_SYM in weak_alias.
23420 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23421 (PARMS): Do not use macros from bp-asm.h.
23424 (memcmp): Do not use BP_SYM.
23425 (bcmp): Do not use BP_SYM in weak_alias.
23426 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23427 (PARMS): Do not use macros from bp-asm.h.
23430 (__mpn_mul_1): Do not use BP_SYM.
23431 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23433 (PARMS): Do not use macros from bp-asm.h.
23436 (__rawmemchr): Do not use BP_SYM.
23437 (rawmemchr): Do not use BP_SYM in weak_alias.
23438 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23439 (PARMS): Do not use macros from bp-asm.h.
23442 (__mpn_rshift): Do not use BP_SYM.
23443 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23444 (PARMS): Do not use macros from bp-asm.h.
23445 (SIGMSK): Likewise.
23446 (__sigsetjmp): Likewise. Do not use BP_SYM.
23447 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23448 (_start): Do not use BP_SYM.
23449 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23450 (PARMS): Do not use macros from bp-asm.h.
23453 (__stpcpy): Likewise. Do not use BP_SYM.
23454 (stpcpy): Do not use BP_SYM in weak_alias.
23455 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23457 (PARMS): Do not use macros from bp-asm.h.
23461 (__stpncpy): Likewise. Do not use BP_SYM.
23462 (stpncpy): Do not use BP_SYM in weak_alias.
23463 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23464 (PARMS): Do not use macros from bp-asm.h.
23467 (strchr): Likewise. Do not use BP_SYM.
23468 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23470 (PARMS): Do not use macros from bp-asm.h.
23473 (__strchrnul): Likewise. Do not use BP_SYM.
23474 (strchrnul): Do not use BP_SYM in weak_alias.
23475 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23477 (PARMS): Do not use macros from bp-asm.h.
23479 (strcspn): Do not use BP_SYM.
23480 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23482 (PARMS): Do not use macros from bp-asm.h.
23485 (strpbrk): Likewise. Do not use BP_SYM.
23486 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23488 (PARMS): Do not use macros from bp-asm.h.
23491 (strrchr): Likewise. Do not use BP_SYM.
23492 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23493 (PARMS): Do not use macros from bp-asm.h.
23495 (strspn): Do not use BP_SYM.
23496 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23497 (PARMS): Do not use macros from bp-asm.h.
23501 (FUNCTION): Likewise. Do not use BP_SYM.
23502 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23504 (strtok_r): Likewise.
23505 (__GI___strtok_r): Likewise.
23506 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23507 (PARMS): Do not use macros from bp-asm.h.
23511 (__mpn_sub_n): Do not use BP_SYM.
23512 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23514 (PARMS): Do not use macros from bp-asm.h.
23517 (__mpn_submul_1): Do not use BP_SYM.
23518 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23520 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23522 (PARMS): Do not use macros from bp-asm.h.
23527 (__clone): Do not use BP_SYM.
23528 (clone): Do not use BP_SYM in weak_alias.
23529 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23531 (PARMS): Do not use macros from bp-asm.h.
23533 (__mmap64): Do not use BP_SYM.
23534 (mmap64): Do not use BP_SYM in weak_alias.
23535 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23536 <bp-sym.h> and <bp-asm.h>.
23537 (PARMS): Do not use macros from bp-asm.h.
23538 (__posix_fadvise64_l64): Do not use BP_SYM.
23539 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23540 (PARMS): Do not use macros from bp-asm.h.
23542 (semtimedop): Do not use BP_SYM.
23543 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23546 2013-02-21 Allan McRae <allan@archlinux.org>
23548 * manual/message.texi (Charset conversion in gettext):
23549 Move @end statement to beginning of line.
23551 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23558 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23559 (denorm): Likewise.
23560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23563 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23565 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23566 tail-call to the resolved function if pltexit isn't needed.
23568 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23571 or Y being zero as being unlikely.
23572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23575 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23577 * manual/nss.texi (System Databases and Name Service Switch):
23578 Remove frobnicate @pxref.
23580 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23582 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23583 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23585 2013-02-20 Petr Machata <pmachata@redhat.com>
23587 * elf/elf.h (R_ARM_TARGET1): New macro.
23588 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23589 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23590 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23591 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23592 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23593 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23594 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23595 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23596 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23597 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23598 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23599 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23600 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23601 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23602 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23603 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23604 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23605 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23606 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23607 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23608 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23609 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23610 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23611 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23612 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23613 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23614 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23615 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23616 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23617 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23618 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23619 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23620 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23621 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23622 (R_ARM_THM_GOT_BREL12): Likewise.
23623 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23624 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23625 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23626 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23627 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23628 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23629 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23630 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23631 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23633 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23635 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23636 __attribute_used__ to __attribute__ ((unused)).
23638 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23640 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23643 comment formatting.
23644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23646 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23649 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23651 (ENTER): Remove both macro definitions.
23653 (CHECK_BOUNDS_LOW): Likewise.
23654 (CHECK_BOUNDS_HIGH): Likewise.
23655 (CHECK_BOUNDS_BOTH): Likewise.
23656 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23657 (RETURN_BOUNDED_POINTER): Likewise.
23658 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23659 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23660 (POP_ERRNO_LOCATION_RETURN): Likewise.
23661 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23662 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23663 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23665 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23666 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23667 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23668 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23669 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23670 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23671 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23672 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23673 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23674 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23675 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23676 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23677 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23678 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23680 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23681 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23683 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23684 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23685 * sysdeps/i386/i586/memset.S (memset): Likewise.
23686 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23687 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23688 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23690 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23691 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23692 Change uses of L(2) to L(out).
23693 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23694 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23695 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23696 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23697 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23699 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23700 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23702 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23703 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23704 (RETURN): Do not use macro LEAVE.
23705 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23706 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23707 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23708 * sysdeps/i386/i686/memset.S (memset): Likewise.
23709 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23710 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23711 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23712 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23714 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23715 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23716 L(1_2) and L(1_3) into L(1).
23717 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23718 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23719 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23720 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23721 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23722 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23723 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23724 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23725 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23727 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23728 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23729 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23730 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23731 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23732 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23733 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23734 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23735 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23736 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23737 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23738 * sysdeps/i386/strspn.S (strspn): Likewise.
23739 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23741 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23742 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23743 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23744 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23745 L(1_3) into L(1_1).
23746 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23747 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23748 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23750 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23752 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23754 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23757 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23759 * math/atest-exp.c (exp_mpn): Remove ROUND.
23760 * math/atest-exp2.c (exp_mpn): Likewise.
23761 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23763 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23764 * stdlib/tst-tls-atexit-lib.c: Likewise.
23765 * stdlib/tst-tls-atexit.c: Likewise.
23767 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23769 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23770 and __attribute_alloc_size__.
23772 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23774 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23775 __attribute_alloc_size__.
23776 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23777 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23779 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23781 * include/programs/xmalloc.h: New file.
23782 * catgets/gencat.c: Include it.
23783 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23784 * elf/pldd.c: Likewise.
23785 * iconv/iconv_charmap.c: Likewise.
23786 * iconv/iconvconfig.c: Likewise.
23787 * iconv/strtab.c: Likewise.
23788 * locale/programs/locale.c: Likewise.
23789 * locale/programs/localedef.h: Likewise.
23790 * locale/programs/simple-hash.c: Likewise.
23791 * nscd/nscd.h: Likewise.
23792 * nss/makedb.c: Likewise.
23793 * sysdeps/generic/ldconfig.h: Likewise.
23795 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23797 * Versions.def: Add GLIBC_2.18.
23798 * include/link.h (struct link_map): New member l_tls_dtor_count.
23799 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23800 (__call_tls_dtors): Likewise.
23801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23802 __cxa_thread_atexit_impl.
23803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23811 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23819 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23820 (tests): Add test case tst-tls-atexit.
23821 (modules-names): Add shared library for tst-tls-atexit.
23822 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23823 (GLIBC_PRIVATE): Add __call_tls_dtors.
23824 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23826 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23827 * stdlib/tst-tls-atexit.c: New test case.
23828 * stdlib/tst-tls-atexit-lib.c: New test case.
23830 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23832 * elf/Versions (ld): Add _dl_find_dso_for_object.
23833 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23834 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23835 (dl_open_worker): Use _dl_find_dso_for_object.
23836 * elf/dl-sym.c (do_sym): Likewise.
23837 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23839 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23841 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23842 Syntactic changes only.
23843 (_dl_runtime_profile): Do a tail-call to the resolved function.
23845 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23848 * sysdeps/x86_64/bp-asm.h: Remove file.
23849 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23850 <bp-sym.h> and <bp-asm.h>.
23851 (__clone): Do not use BP_SYM.
23852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23853 <bp-sym.h> and <bp-asm.h>.
23854 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23855 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23857 (_setjmp): Do not use BP_SYM.
23858 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23860 (setjmp): Do not use BP_SYM.
23861 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23863 (mempcpy): Do not use BP_SYM in weak_alias.
23864 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23866 (strchr): Do not use BP_SYM.
23867 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23869 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23870 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23871 (_start): Do not use BP_SYM.
23872 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23874 (strcat): Do not use BP_SYM.
23875 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23877 (STRCMP): Do not use BP_SYM.
23878 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23880 (STRCPY): Do not use BP_SYM.
23881 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23883 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23885 (FUNCTION): Do not use BP_SYM.
23886 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23888 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23890 2013-02-17 Andreas Jaeger <aj@suse.de>
23892 * time/Versions: Sort entries.
23893 * string/Versions: Likewise.
23894 * resolv/Versions: Likewise.
23895 * posix/Versions: Likewise.
23896 * iconv/Versions: Likewise.
23897 * elf/Versions: Likewise.
23898 * wcsmbs/Versions: Likewise.
23900 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23902 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23903 loop termination condition.
23905 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23906 variable to calculate EZ.
23909 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23910 the lower precision input.
23912 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23915 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23916 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23917 (run-via-rtld-prefix): Do not handle %-bp tests.
23918 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23919 (all-object-suffixes): Remove .ob.
23920 (bppfx): Remove variable.
23921 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23922 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23923 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23924 [$(build-bounded) = yes] (libtype.ob): Likewise.
23925 * Makerules (elide-routines.ob): Remove variable.
23926 (do-tests-clean): Do not handle *-bp.out.
23927 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23928 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23929 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23930 (tests): Do not include $(tests-bp.out).
23931 (xtests): Do not include $(xtests-bp.out).
23932 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23933 [$(build-bounded) = yes] ($(addprefix
23934 $(objpfx),$(binaries-bounded))): Remove rule.
23935 ($(objpfx)%-bp.out): Remove rule.
23936 * config.make.in (build-bounded): Remove variable.
23937 * crypt/Makefile [$(build-bounded) = yes]
23938 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23939 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23940 append to variable.
23941 [$(build-bounded) = yes] (install-lib): Likewise.
23942 [$(build-bounded) = yes] (generated): Likewise.
23943 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23945 * intl/Makefile [$(build-bounded) = yes]
23946 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23947 * math/Makefile [$(build-bounded) = yes]
23948 ($(tests:%=$(objpfx)%-bp): Likewise.
23949 * misc/Makefile [$(build-bounded) = yes]
23950 ($(objpfx)tst-tsearch-bp): Likewise.
23951 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23952 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23954 * string/Makefile (o-objects.ob): Remove variable.
23955 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23956 (CFLAGS-.ob): Remove variable.
23957 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23958 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23959 both definitions of variable.
23960 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23961 (ASFLAGS-.ob): Remove variable.
23963 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23966 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23967 Remove __BOUNDED_POINTERS__ from condition.
23968 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23969 * string/bits/string2.h [!__NO_STRING_INLINES &&
23970 !__BOUNDED_POINTERS__]: Likewise.
23971 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23973 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23974 Remove conditional code.
23975 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23976 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23977 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23981 * csu/libc-start.c: Do not include <bp-sym.h>.
23982 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23983 * elf/dl-open.c: Do not include <bp-sym.h>.
23984 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23985 * math/fegetenv.c: Do not include <bp-sym.h>.
23986 (fegetenv): Do not use BP_SYM in versioned symbols.
23987 * nptl/sysdeps/pthread/bits/libc-lockP.h
23988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23991 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23993 (__pthread_mutex_destroy): Likewise.
23994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23995 (__pthread_mutex_lock): Likewise.
23996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23997 (__pthread_mutex_trylock): Likewise.
23998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23999 (__pthread_mutex_unlock): Likewise.
24000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24001 (__pthread_mutexattr_init): Likewise.
24002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24003 (__pthread_mutexattr_destroy): Likewise.
24004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24005 (__pthread_mutexattr_settype): Likewise.
24006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24007 (__pthread_rwlock_init): Likewise.
24008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24009 (__pthread_rwlock_destroy): Likewise.
24010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24011 (__pthread_rwlock_rdlock): Likewise.
24012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24013 (__pthread_rwlock_tryrdlock): Likewise.
24014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24015 (__pthread_rwlock_wrlock): Likewise.
24016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24017 (__pthread_rwlock_trywrlock): Likewise.
24018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24019 (__pthread_rwlock_unlock): Likewise.
24020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24021 (__pthread_key_create): Likewise.
24022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24023 (__pthread_setspecific): Likewise.
24024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24025 (__pthread_getspecific): Likewise.
24026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24029 (_pthread_cleanup_push_defer): Likewise.
24030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24031 (_pthread_cleanup_pop_restore): Likewise.
24032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24033 (pthread_setcancelstate): Likewise.
24034 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24036 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24037 (memchr): Do not use BP_SYM in weak_alias.
24038 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24039 (fegetenv): Do not use BP_SYM in versioned symbols.
24040 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24041 (fesetenv): Do not use BP_SYM in versioned symbols.
24042 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24043 (feupdateenv): Do not use BP_SYM in versioned symbols.
24044 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24045 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24046 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24047 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24048 (open64): Do not use BP_SYM in weak_alias.
24049 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24050 (fegetenv): Do not use BP_SYM in versioned symbols.
24051 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24052 (fesetenv): Do not use BP_SYM in versioned symbols.
24053 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24054 (feupdateenv): Do not use BP_SYM in versioned symbols.
24055 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24056 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24057 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24058 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24059 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24060 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24061 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24063 (__libc_start_main): Do not use BP_SYM.
24065 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24068 redundant return line.
24070 (denorm): Likewise.
24071 (dbl_mp): Likewise.
24072 (sub_magnitudes): Likewise.
24078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24080 (denorm): Likewise.
24081 (dbl_mp): Likewise.
24082 (sub_magnitudes): Likewise.
24089 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24091 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24092 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24095 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24096 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24098 of __mul for squares.
24099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24103 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24104 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24106 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24109 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24111 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24112 prototype or function definition. Rename ubp_* variables and
24113 parameters. Remove argv definitions conditional on
24114 [__BOUNDED_POINTERS__].
24115 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24116 * elf/dl-runtime.c (_dl_fixup): Likewise.
24117 * include/set-hooks.h (RUN_HOOK): Likewise.
24118 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24120 * string/strcpy.c (strcpy): Do not use __unbounded.
24121 * sysdeps/generic/frame.h (struct layout): Likewise.
24122 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24123 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24124 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24125 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24126 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24127 (__backtrace): Likewise.
24128 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24130 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24131 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24132 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24134 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24135 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24136 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24137 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24138 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24139 Do not use __unbounded.
24140 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24141 Rename __unboundedrlimits parameter to rlimits in prototype.
24142 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24143 Do not use __unbounded.
24144 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24145 not use __ptrvalue.
24146 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24147 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24148 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24149 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24150 __ptrvalue or __unbounded.
24151 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24152 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24154 (__new_msgctl): Do not use __ptrvalue.
24155 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24157 (__libc_msgrcv): Do not use __ptrvalue.
24158 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24159 startup_info): Do not use __unbounded.
24160 (__libc_start_main): Likewise. Rename ubp_* variables and
24161 parameters. Remove argv definitions conditional on
24162 [__BOUNDED_POINTERS__].
24163 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24165 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24167 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24169 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24171 (__new_shmctl): Do not use __ptrvalue.
24172 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24173 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24175 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24176 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24177 (__libc_sigaction): Likewise.
24178 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24179 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24181 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24183 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24185 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24187 * string/mempcpy.c: Implement by calling memcpy.
24189 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24196 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24197 values in the mantissa.
24199 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24200 minimize writes to Z.
24201 (sub_magnitudes): Simplify code a bit.
24203 2013-02-12 Roland McGrath <roland@hack.frob.com>
24205 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24206 from the message. The linker prefixes all warnings with that already.
24208 2013-02-12 Andreas Schwab <schwab@suse.de>
24211 * posix/regexec.c (extend_buffers): Add parameter min_len.
24212 (check_matching): Pass minimum needed length.
24213 (clean_state_log_if_needed): Likewise.
24214 (get_subexp): Likewise.
24215 * posix/Makefile (tests): Add bug-regex34.
24216 (bug-regex34-ENV): Define.
24217 * posix/bug-regex34.c: New file.
24220 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24221 elements compare against the byte sequence of it, not its name.
24222 * posix/Makefile (tests): Add bug-regex35.
24223 (bug-regex35-ENV): Define.
24224 * posix/bug-regex35.c: New file.
24226 2013-02-11 Tom de Vries <tom@codesourcery.com>
24228 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24230 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24231 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24232 (CHECK_EOL): Add undef.
24234 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24236 * bits/stdlib-bsearch.h: New file.
24237 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24238 * stdlib/stdlib.h: Likewise.
24240 2013-02-11 Roland McGrath <roland@hack.frob.com>
24242 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24243 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24245 * manual/search.texi (Array Search Function): Add missing const in
24247 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24248 declaration to use rlim_t.
24249 (Basic Scheduling Functions): Remove erroneous const from
24250 sched_getparam prototype. Remove erroneous * from
24251 sched_get_priority_max and sched_get_priority_min prototypes.
24252 (Resource Usage): Fix summary @comment on vtimes to refer to
24253 sys/vtimes.h rather than vtimes.h.
24254 Add missing *s in vtimes prototype.
24255 (Limits on Resources): Fix ulimit prototype to return long int.
24256 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24257 prototypes to use long int rather than double.
24258 (BSD Random): Fix initstate and setstate to use char *, not void *.
24259 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24260 prototype to make second argument 'struct aiocb64 *const[]'.
24261 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24262 (Status of AIO Operations): Remove erroneous const in aio_return and
24263 aio_return64 prototypes.
24264 (Synchronizing I/O): Fix sync prototype to return void.
24265 * manual/startup.texi (Suboptions): Remove an erroneous const in
24266 getsubopt prototype.
24267 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24268 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24269 use size_t rather than int.
24270 (Scanning All Users): Likewise for getpwent_r.
24271 (Setting Groups): Add missing const to setgroups prototype.
24272 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24273 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24274 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24275 'const void *' rather than 'const char *'.
24276 (Host Address Functions): Likewise for inet_ntop.
24277 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24278 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24279 ssize_t for return value.
24280 (Sending Data): Likewise for send, sendto, sendmsg.
24281 (Socket Option Functions): Add a missing const in setsockopt prototype.
24282 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24283 use wchar_t for the argument.
24284 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24285 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24287 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24288 double/float/long double for second argument.
24289 Fix return types of significand, significandf, significandl.
24290 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24291 argument in fchmod prototype.
24292 (File Owner): Use uid_t and gid_t in fchown prototype.
24293 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24294 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24295 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24296 use 'const struct dirent **' as argument types to CMP function pointer
24298 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24299 (File Times): Fix summary magic @comment for struct utimbuf and utime
24300 to refer to utime.h, not time.h.
24301 * manual/string.texi (Argz Functions): Add missing const in
24302 argz_extract and argz_next prototypes.
24303 (Finding Tokens in a String): Likewise for basename.
24304 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24305 (Copying and Concatenation): Fix typo in wmemmove prototype.
24306 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24307 (Signal Stack): Remove erroneous const in sigstack prototype.
24308 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24310 (Simple Calendar Time): Likewise for stime.
24311 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24313 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24314 say sys/sysctl.h instead.
24315 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24316 and vsyslog prototypes.
24318 2013-02-11 Tom de Vries <tom@codesourcery.com>
24320 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24323 2013-02-11 Roland McGrath <roland@hack.frob.com>
24325 * misc/sys/mman.h: Fix typo in mremap comment.
24327 2013-02-08 Roland McGrath <roland@hack.frob.com>
24329 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24330 the '\0' terminator.
24332 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24335 * debug/segfault.c: Don't include <bp-checks.h>.
24336 * sysdeps/generic/bp-checks.h: Remove file.
24337 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24338 (__GETDENTS): Don't use CHECK_N.
24339 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24340 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24341 (__getgroups): Don't use CHECK_N.
24342 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24343 (setgroups): Don't use CHECK_N.
24344 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24345 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24346 (__libc_msgrcv): Don't use CHECK_N.
24347 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24348 (__libc_msgsnd): Don't use CHECK_N.
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24351 (__libc_pread): Don't use CHECK_N.
24352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24353 include <bp-checks.h>.
24354 (__libc_pread64): Don't use CHECK_N.
24355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24356 include <bp-checks.h>.
24357 (__libc_pwrite): Don't use CHECK_N.
24358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24359 include <bp-checks.h>.
24360 (__libc_pwrite64): Don't use CHECK_N.
24361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24363 (__libc_pread): Don't use CHECK_N.
24364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24365 include <bp-checks.h>.
24366 (__libc_pread64): Don't use CHECK_N.
24367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24368 include <bp-checks.h>.
24369 (__libc_pwrite): Don't use CHECK_N.
24370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24371 include <bp-checks.h>.
24372 (__libc_pwrite64): Don't use CHECK_N.
24373 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24374 (do_pread): Don't use CHECK_N.
24375 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24376 (do_pread64): Don't use CHECK_N.
24377 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24378 (do_pwrite): Don't use CHECK_N.
24379 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24380 (do_pwrite64): Don't use CHECK_N.
24381 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24382 (__libc_readv): Don't use CHECK_N.
24383 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24384 (semop): Don't use CHECK_N.
24385 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24387 (semtimedop): Don't use CHECK_N.
24388 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24389 (__libc_pread): Don't use CHECK_N.
24390 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24392 (__libc_pread64): Don't use CHECK_N.
24393 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24395 (__libc_pwrite): Don't use CHECK_N.
24396 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24398 (__libc_pwrite64): Don't use CHECK_N.
24399 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24401 (__libc_msgrcv): Don't use CHECK_N.
24402 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24403 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24404 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24405 (__libc_writev): Don't use CHECK_N.
24407 2013-02-08 Roland McGrath <roland@hack.frob.com>
24409 * string/strcpy.c: Removed unused variable.
24411 * Makeconfig (+sysdep-includes): Define with := rather than =.
24412 Use an existing include/ subdir of each sysdeps dir before it.
24414 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24416 * nscd/connection.c (register_traced_file): Comment function.
24417 [HAVE_INOTIFY] (union __inev): Define.
24418 [HAVE_INOTIFY] (inotify_check_files): New function.
24419 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24420 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24422 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24424 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24426 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24427 loaded if not already and that a failure is permanent.
24429 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24432 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24433 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24435 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24438 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24439 (CHECK_1_NULL_OK): Likewise.
24440 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24441 (__fxstat): Do not use CHECK_1.
24442 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24444 (___fxstat64): Do not use CHECK_1.
24445 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24447 (__fxstatat): Do not use CHECK_1.
24448 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24450 (__fxstatat64): Do not use CHECK_1.
24451 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24453 (__fxstat): Do not use CHECK_1.
24454 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24456 (__fxstatat): Do not use CHECK_1.
24457 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24459 (__getresgid): Do not use CHECK_1.
24460 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24462 (__getresuid): Do not use CHECK_1.
24463 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24465 (__lxstat): Do not use CHECK_1.
24466 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24468 (__old_msgctl): Do not use CHECK_1.
24469 (__new_msgctl): Likewise.
24470 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24472 (__new_setrlimit): Do not use CHECK_1.
24473 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24475 (__old_shmctl): Do not use CHECK_1.
24476 (__new_shmctl): Likewise.
24477 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24479 (__xstat): Do not use CHECK_1.
24480 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24481 (__lxstat): Do not use CHECK_1.
24482 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24484 (___lxstat64): Do not use CHECK_1.
24485 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24486 (__old_msgctl): Do not use CHECK_1.
24487 (__new_msgctl): Likewise.
24488 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24490 (__gettimeofday): Do not use CHECK_1.
24491 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24492 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24493 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24495 (__gettimeofday): Do not use CHECK_1.
24496 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24497 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24498 (__new_shmctl): Do not use CHECK_1.
24499 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24501 (do_sigtimedwait): Do not use CHECK_1.
24502 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24504 (do_sigwaitinfo): Do not use CHECK_1.
24505 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24507 (msgctl): Do not use CHECK_1.
24508 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24510 (shmctl): Do not use CHECK_1.
24511 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24512 (ustat): Do not use CHECK_1.
24513 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24515 (__fxstat): Do not use CHECK_1.
24516 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24518 (__fxstatat): Do not use CHECK_1.
24519 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24521 (__lxstat): Do not use CHECK_1.
24522 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24524 (__xstat): Do not use CHECK_1.
24525 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24526 (__xstat): Do not use CHECK_1.
24527 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24528 (___xstat64): Do not use CHECK_1.
24531 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24533 (CHECK_BOUNDS_HIGH): Likewise.
24534 * string/strcpy.c: Do not include <bp-checks.h>.
24535 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24537 2013-02-07 Roland McGrath <roland@hack.frob.com>
24539 * nscd/nscd-client.h (__nscd_drop_map_ref):
24540 Add __attribute__ ((unused)).
24541 * nis/nss-nisplus.h (niserr2nss): Likewise.
24543 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24544 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24546 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24547 Remove inline keyword.
24548 * include/rounding-mode.h (round_away): Likewise.
24549 * libio/wfileops.c (adjust_wide_data): Likewise.
24550 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24551 (__m128i_strloadu_tolower): Likewise.
24552 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24553 (__m128i_strloadu_tolower): Likewise.
24554 * time/mktime.c (ydhms_diff): Likewise.
24555 * locale/elem-hash.h (elem_hash): Likewise.
24556 * locale/setlocale.c (setdata): Likewise.
24557 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24558 (re_string_wchar_at): Likewise.
24559 (bitset_not, bitset_merge, bitset_mask): Likewise.
24560 [!(__GNUC__ > 3)] (inline): Remove macro.
24561 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24562 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24563 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24564 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24565 * string/memcmp.c (memcmp_bytes): Likewise.
24566 * locale/programs/locarchive.c (compute_hashval): Likewise.
24567 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24568 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24569 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24570 * nss/getent.c (print_rpc, print_protocols): Likewise.
24571 (print_passwd, print_group, print_aliases): Likewise.
24572 * nis/nss-nisplus.h (niserr2nss): Likewise.
24573 * nscd/connections.c (restart_p): Likewise.
24574 Change return type to bool.
24576 2013-02-05 Roland McGrath <roland@hack.frob.com>
24578 * Makeconfig (all-Depend-files): Add existing
24579 $(sorted-subdirs:=/Depend) files.
24580 (all-subdirs): Remove nss.
24581 * sysdeps/unix/inet/Subdirs: Add it here instead.
24582 * hesiod/Depend: New file.
24584 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24585 instead of calling alloca.
24587 * io/lseek.c (__lseek): Rename to __libc_lseek.
24588 Define __lseek as an alias.
24590 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24592 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24594 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24595 else clause and remove check for non-standard endianness.
24597 2013-02-04 David S. Miller <davem@davemloft.net>
24599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24601 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24604 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24605 (__ubp_memchr): Remove prototype.
24606 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24607 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24608 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24609 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24610 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24612 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24613 (__ubp_memchr): Likewise.
24614 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24615 (__ubp_memchr): Likewise.
24616 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24617 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24618 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24619 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24621 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24622 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24623 (__getcwd): Do not use CHECK_STRING.
24624 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24626 (__real_chown): Do not use CHECK_STRING.
24627 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24629 (fchownat): Do not use CHECK_STRING.
24630 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24632 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24634 (__lchown): Do not use CHECK_STRING.
24635 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24636 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24637 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24638 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24640 include <bp-checks.h>.
24641 (truncate64): Do not use CHECK_STRING.
24642 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24644 (__real_chown): Do not use CHECK_STRING.
24645 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24647 (__lchown): Do not use CHECK_STRING.
24648 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24650 (__chown): Do not use CHECK_STRING.
24651 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24653 (truncate64): Do not use CHECK_STRING.
24654 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24656 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24657 (__xmknod): Do not use CHECK_STRING.
24658 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24660 (__xmknodat): Do not use CHECK_STRING.
24661 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24662 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24664 2013-02-04 Andreas Schwab <schwab@suse.de>
24667 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24668 * include/netdb.h: Likewise for h_errno.
24669 * elf/tst-stackguard1.c: Include <tls.h>.
24671 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24673 * elf/link.h (struct link_map): Extend the l_addr comment.
24674 * include/link.h (struct link_map): Likewise.
24676 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24679 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24680 (BOUNDED_1): Remove macro.
24681 * debug/backtrace.c: Don't include <bp-checks.h>.
24682 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24683 (__backtrace): Likewise.
24684 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24686 (__backtrace): Don't use BOUNDED_1.
24687 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24689 (__backtrace): Don't use BOUNDED_1.
24690 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24691 (__backtrace): Don't use BOUNDED_1.
24692 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24693 (shmat): Don't use BOUNDED_N.
24695 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24698 * sysdeps/generic/bp-start.h: Remove file.
24699 * csu/libc-start.c: Don't include <bp-start.h>.
24700 (LIBC_START_MAIN): Set up __environ directly instead of using
24701 INIT_ARGV_and_ENVIRON.
24702 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24706 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24708 (CHECK_FCNTL): Likewise.
24709 (CHECK_N_PAGES): Likewise.
24712 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24714 (CHECK_SIGSET_NULL_OK): Likewise.
24715 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24717 (sigpending): Don't use CHECK_SIGSET.
24718 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24720 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24721 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24723 (do_sigsuspend): Don't use CHECK_SIGSET.
24724 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24726 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24727 (do_sigwait): Don't use CHECK_SIGSET.
24728 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24730 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24731 include <bp-checks.h>.
24732 (sigpending): Don't use CHECK_SIGSET.
24733 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24734 include <bp-checks.h>.
24735 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24736 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24738 (sigpending): Don't use CHECK_SIGSET.
24739 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24741 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24744 * sysdeps/generic/bp-semctl.h: Remove file.
24745 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24746 <bp-checks.h> and <bp-semctl.h>.
24747 (__old_semctl): Don't use CHECK_SEMCTL.
24748 (__new_semctl): Likewise.
24749 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24751 (__old_semctl): Don't use CHECK_SEMCTL.
24752 (__new_semctl): Likewise.
24753 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24754 <bp-checks.h> and <bp-semctl.h>.
24755 (__old_semctl): Don't use CHECK_SEMCTL.
24756 (__new_semctl): Likewise.
24757 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24758 <bp-checks.h> and <bp-semctl.h>.
24759 (semctl): Don't use CHECK_SEMCTL.
24762 * Makerules (elide-bp-thunks): Remove variable.
24763 (elide-routines.oS): Don't use $(elide-bp-thunks).
24764 (elide-routines.os): Likewise.
24765 (elide-routines.o): Likewise.
24766 (elide-routines.op): Likewise.
24767 (elide-routines.og): Likewise.
24768 (objects): Don't use $(bp-thunks).
24769 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24771 (common-generated): Do not add s-proto-bp.d.
24772 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24775 Do not generate makefile rules for bounded-pointer thunks.
24776 * sysdeps/generic/bp-thunks.h: Remove file.
24777 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24778 * sysdeps/unix/s-proto-bp.S: Likewise.
24781 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24782 parts of result separately when argument is not close to line from
24783 -i to i and one part of argument is small.
24784 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24785 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24786 * math/libm-test.inc (cacos_test): Add more tests.
24787 (casin_test): Likewise.
24788 (casinh_test): Likewise.
24789 * sysdeps/i386/fpu/libm-test-ulps: Update.
24790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24792 2013-01-31 David S. Miller <davem@davemloft.net>
24794 * po/de.po: Update from translation team.
24796 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24798 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24800 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24802 * configure.in (_AC_PROG_CC_C89): New definition.
24803 * configure: Regenerate.
24805 * configure.in (AC_PROG_CPP): New definition.
24806 * configure: Regenerate.
24808 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24810 * debug/tst-backtrace.h: New file.
24811 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24812 (ret): Remove variable.
24814 (FAIL): Remove macro.
24815 (NO_INLINE): Likewise.
24816 (fn1): Use match function instead of strstr.
24817 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24818 (ret): Remove variable.
24820 (FAIL): Remove macro.
24821 (NO_INLINE): Likewise.
24822 (fn): Use match function instead of strstr.
24823 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24824 (ret): Remove variable.
24826 (FAIL): Remove macro.
24827 (NO_INLINE): Likewise.
24828 (handle_signal): Use match function instead of strstr.
24829 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24830 (ret): Remove variable.
24832 (FAIL): Remove macro.
24833 (NO_INLINE): Likewise.
24834 (handle_signal): Use match function instead of strstr.
24836 2013-01-23 Roland McGrath <roland@hack.frob.com>
24838 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24840 2013-01-23 David S. Miller <davem@davemloft.net>
24842 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24843 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24844 argument of CAS if possible.
24845 * sysdeps/sparc/sparc64/bits/atomic.h
24846 (__arch_compare_and_exchange_val_32_acq): Likewise.
24847 (__arch_compare_and_exchange_val_64_acq): Likewise.
24849 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24851 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24852 * sysdeps/posix/ulimit.c: ... this.
24853 Include <limits.h>.
24854 * sysdeps/unix/bsd/ulimit.c: Remove file.
24856 2013-01-23 Adam Conrad <adconrad@0c3.net>
24858 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24859 (LDFLAGS-tst-array5): Likewise.
24861 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24864 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24865 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24866 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24867 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24869 2013-01-21 David S. Miller <davem@davemloft.net>
24871 * sysdeps/sparc/backtrace.c: New file.
24872 * sysdeps/sparc/sparc32/backtrace.h: New file.
24873 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24874 * sysdeps/sparc/sparc64/backtrace.h: New file.
24875 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24876 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24879 2013-01-21 Andreas Schwab <schwab@suse.de>
24882 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24885 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24891 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24892 Mark Mitchell <mark@codesourcery.com>
24893 Tom de Vries <tom@codesourcery.com>
24894 Paul Pluzhnikov <ppluzhnikov@google.com>
24896 * debug/tst-backtrace2.c: New file.
24897 * debug/tst-backtrace3.c: Likewise.
24898 * debug/tst-backtrace4.c: Likewise.
24899 * debug/tst-backtrace5.c: Likewise.
24900 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24901 (CFLAGS-tst-backtrace3.c): Likewise.
24902 (CFLAGS-tst-backtrace4.c): Likewise.
24903 (CFLAGS-tst-backtrace5.c): Likewise.
24904 (LDFLAGS-tst-backtrace2): Likewise.
24905 (LDFLAGS-tst-backtrace3): Likewise.
24906 (LDFLAGS-tst-backtrace4): Likewise.
24907 (LDFLAGS-tst-backtrace5): Likewise.
24908 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24909 tst-backtrace4 and tst-backtrace5.
24911 2013-01-18 Anton Blanchard <anton@samba.org>
24912 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24914 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24915 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24916 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24917 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24919 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24920 "+r" and remove output regs list as redundant. Add explicit inline
24921 asm to specify register of return val to work around compiler codegen
24922 bug. Remove (int) cast on return value. Add return type parameter to
24923 use in macro so that this macro does not truncate return value for
24925 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24926 pass to INTERNAL_VSYSCALL_NCS.
24927 (INLINE_VSYSCALL): Add 'long int' as return type to
24928 INTERNAL_VSYSCALL_NCS macro invocation.
24929 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24930 INTERNAL_VSYSCALL_NCS macro invocation.
24931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24933 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24936 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24937 Fix application of SIMD FP exception mask.
24939 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24940 mp_no from a power of two.
24941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24942 __mpexp_twomm1. Use __pow_mp.
24944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24947 2013-01-17 David S. Miller <davem@davemloft.net>
24949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24951 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24954 * include/complex.h: Condition contents on [!_COMPLEX_H].
24955 (__kernel_casinhf): New prototype.
24956 (__kernel_casinh): Likewise.
24957 (__kernel_casinhl): Likewise.
24958 * math/Makefile (libm_calls): Add k_casinh.
24959 * math/k_casinh.c: New file.
24960 * math/k_casinhf.c: Likewise.
24961 * math/k_casinhl.c: Likewise.
24962 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24963 finite nonzero arguments.
24964 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24965 finite nonzero arguments.
24966 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24967 finite nonzero arguments.
24968 * math/s_casinh.c: Do not include <float.h>.
24969 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24970 * math/s_casinhf.c: Do not include <float.h>.
24971 (__casinhf): Move code for finite nonzero arguments to
24973 * math/s_casinhl.c: Do not include <float.h>.
24974 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24976 (__casinhl): Move code for finite nonzero arguments to
24978 * math/libm-test.inc (cacos_test): Add more tests.
24979 * sysdeps/i386/fpu/libm-test-ulps: Update.
24980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24982 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24984 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24985 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24986 [!HAVE_MREMAP]: Remove [defined linux] case.
24987 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24989 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24991 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24993 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24995 * elf/elf.h (R_386_SIZE32): New relocation.
24996 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24998 (elf_machine_rela): Likewise.
24999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25000 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25002 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25004 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25005 (FP_FAST_FMA): Do not define.
25006 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25007 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25008 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25009 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25010 !_SOFT_FLOAT]: Likewise.
25011 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25012 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25014 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25015 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25016 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25017 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25018 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25019 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25022 2013-01-16 Andreas Schwab <schwab@suse.de>
25025 * include/stdlib.h (__mktemp): Add declaration.
25026 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25027 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25029 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25031 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25033 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25034 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25035 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25037 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25038 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25040 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25042 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25043 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25044 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25046 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25047 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25049 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25051 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25053 2013-01-15 David S. Miller <davem@davemloft.net>
25055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25056 trunc{,f} to libm-sysdep_routes.
25057 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25067 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25068 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25069 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25070 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25071 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25072 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25075 nearbyint{,f} to libm-sysdep_routes.
25076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25087 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25089 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25090 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25092 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25093 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25094 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25096 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25097 libc_feholdexcept and libc_fesetenv.
25099 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25101 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25103 2013-01-14 David S. Miller <davem@davemloft.net>
25105 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25106 (SPARC_ASM_VIS2_IFUNC): Likewise.
25107 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25109 use of 'siam' instruction.
25110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25116 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25117 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25143 routines to libm-sysdep_routines.
25144 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25147 fdim/fdimf to libm-sysdep_routines.
25148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25156 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25157 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25158 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25159 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25161 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25163 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25164 to optimize copies.
25166 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25171 local variable MPTWO.
25172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25175 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25177 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25180 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25182 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25184 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25186 * manual/pattern.texi (glob_t): Document gl_flags.
25187 (glob64_t): Likewise.
25189 2013-01-11 David S. Miller <davem@davemloft.net>
25191 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25192 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25193 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25194 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25195 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25196 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25197 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25198 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25199 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25200 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25201 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25202 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25203 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25205 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25206 sparc V9 rather than using V8 code.
25207 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25208 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25210 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25212 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25215 2013-01-11 Roland McGrath <roland@hack.frob.com>
25217 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25218 not in the main loop.
25219 * configure: Regenerated.
25221 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25223 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25224 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25226 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25227 [!__GLIBC_HAVE_LONG_LONG] case.
25228 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25229 condition to just #else.
25230 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25231 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25232 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25233 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25235 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25236 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25237 #elif condition to just #else.
25238 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25239 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25240 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25241 #elif condition to just #else.
25243 2013-01-11 Steve Ellcey <sellcey@mips.com>
25245 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25246 (EF_MIPS_ARCH_64): Fix value.
25247 (EF_MIPS_ARCH_32R2): New.
25248 (EF_MIPS_ARCH_64R2): New.
25250 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25252 * Makeconfig (+link-pie-before-libc): New.
25253 (+link-pie-after-libc): Likewise.
25254 (+link-pie-tests): Likewise.
25255 (+link-pie): Rewritten.
25256 (link-before-libc): Remove $(config-LDFLAGS).
25257 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25258 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25259 (config-LDFLAGS): Renamed to ...
25260 (rtld-LDFLAGS): This.
25261 (rtld-tests-LDFLAGS): New macro.
25262 (link-libc-rpath-link): Likewise.
25263 (link-libc-tests-rpath-link): Likewise.
25264 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25265 (link-libc): Prepand $(link-libc-rpath-link).
25266 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25267 (test-program-prefix): New macro.
25268 (test-via-rtld-prefix): Likewise.
25269 (test-program-cmd): Likewise.
25270 (host-test-program-cmd): Likewise.
25271 * Makefile ($(common-objpfx)testrun.sh): Replace
25272 $(run-program-prefix) with $(test-program-prefix).
25273 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25275 ($(common-objpfx)shlib.lds): Likewise.
25276 (build-module-helper): Likewise.
25277 ($(common-objpfx)format.lds): Likewise.
25278 * Rules (binaries-pie-tests): New.
25279 (binaries-pie-notests): Likewise.
25280 (binaries-pie): Rewritten.
25281 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25282 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25283 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25284 (make-test-out): Replace $(host-built-program-cmd) with
25285 $(host-test-program-cmd).
25286 * config.make.in (build-hardcoded-path-in-tests): New variable.
25287 * configure.in (--enable-hardcoded-path-in-tests): New configure
25289 (hardcoded_path_in_tests): New AC_SUBST.
25290 * configure: Regenerated.
25291 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25292 $(built-program-cmd) with $(test-program-cmd).
25293 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25294 (test_program_cmd): This.
25295 * elf/Makefile ($(objpfx)order.out): Run test with
25296 $(test-program-prefix).
25297 ($(objpfx)order2.out): Likewise.
25298 ($(objpfx)tst-initorder.out): Likewise.
25299 ($(objpfx)tst-initorder2.out): Likewise.
25300 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25301 $(test-program-cmd).
25302 ($(objpfx)tst-array1-static.out): Likewise.
25303 ($(objpfx)tst-array2.out): Likewise.
25304 ($(objpfx)tst-array3.out): Likewise.
25305 ($(objpfx)tst-array4.out): Likewise.
25306 ($(objpfx)tst-array5.out): Likewise.
25307 ($(objpfx)tst-array5-static.out): Likewise.
25308 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25309 $(test-program-cmd).
25310 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25311 $(run-program-prefix) with $(test-program-prefix).
25312 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25313 (test_program_prefix): This.
25314 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25315 $(run-program-prefix) with $(test-program-prefix).
25316 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25317 (test_program_prefix): This.
25318 * iconvdata/tst-tables.sh: Likewise.
25319 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25320 $(run-program-prefix) with $(test-program-prefix).
25321 ($(objpfx)tst-translit.out): Likewise.
25322 ($(objpfx)tst-gettext2.out): Likewise.
25323 ($(objpfx)tst-gettext4.out): Likewise.
25324 ($(objpfx)tst-gettext6.out): Likewise.
25325 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25326 (test_program_prefix): This.
25327 * intl/tst-gettext2.sh: Likewise.
25328 * intl/tst-gettext4.sh Likewise.
25329 * intl/tst-gettext6.sh: Likewise.
25330 * intl/tst-translit.sh: Likewise.
25331 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25332 with $(test-program-cmd).
25333 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25334 $(run-program-prefix) with $(test-program-prefix).
25335 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25336 (test_program_prefix): This.
25337 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25338 $(run-program-prefix) with $(test-program-prefix).
25339 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25340 (test_program_prefix): This.
25341 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25342 * posix/Makefile ($(objpfx)globtest.out): Replace
25343 $(run-via-rtld-prefix) and $(test-wrapper) with
25344 $(test-program-prefix) and $(test-via-rtld-prefix).
25345 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25346 $(test-program-prefix).
25347 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25348 $(host-test-program-cmd).
25349 (tst-spawn-ARGS): Likewise.
25350 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25351 $(test-program-prefix).
25352 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25353 (test_via_rtld_prefix): This.
25354 (test_wrapper): Renamed to ...
25355 (test_program_prefix): This.
25356 (run_program_prefix): Replaced by test_program_prefix.
25357 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25358 (test_program_prefix): This.
25359 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25360 with $(host-test-program-cmd).
25361 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25362 $(run-program-prefix) with $(test-program-prefix).
25363 ($(objpfx)tst-printf.out): Likewise.
25364 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25365 $(test-program-cmd).
25366 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25367 (test_program_prefix): This.
25368 * stdio-common/tst-unbputc.sh: Likewise.
25369 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25370 $(run-program-prefix) with $(test-program-prefix).
25371 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25372 (test_program_prefix): This.
25373 * string/Makefile ($(objpfx)tst-svc.out): Replace
25374 $(built-program-cmd) with $(test-program-cmd).
25376 2013-01-11 Andreas Jaeger <aj@suse.de>
25379 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25380 value. Sync with Linux 3.7.
25382 2013-01-10 David S. Miller <davem@davemloft.net>
25384 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25385 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25386 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25388 2013-01-10 Roland McGrath <roland@hack.frob.com>
25390 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25392 * configure: Regenerated.
25394 2013-01-10 David S. Miller <davem@davemloft.net>
25396 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25397 sparc V9 rather than using V8 code.
25398 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25399 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25401 2013-01-10 Roland McGrath <roland@hack.frob.com>
25403 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25404 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25405 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25406 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25407 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25408 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25409 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25410 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25411 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25412 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25413 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25414 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25415 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25416 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25417 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25418 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25419 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25420 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25421 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25422 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25423 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25424 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25425 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25426 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25427 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25428 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25429 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25431 2013-01-10 David S. Miller <davem@davemloft.net>
25433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25435 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25437 * posix/Makefile (tests-static): New variable.
25438 (tests): Add $(tests-static).
25439 (tst-exec-static-ARGS): New variable.
25440 (tst-spawn-static-ARGS): Likewise.
25441 * posix/tst-exec-static.c: New file.
25442 * posix/tst-spawn-static.c: Likewise.
25443 * posix/tst-exec.c: Support run directly.
25444 * posix/tst-spawn.c: Likewise.
25446 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25448 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25450 * math/bits/mathcalls.h (llrint): Likewise.
25451 (llround): Likewise.
25452 * stdlib/stdlib.h (struct drand48_data): Likewise.
25453 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25454 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25455 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25457 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25459 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25460 (elf_greg_t): Likewise.
25461 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25462 (__jmp_buf): Likewise.
25463 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25465 (llrint): Likewise, for all definitions.
25466 (llrintl): Likewise.
25468 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25469 Remove [__GNUC__] condition.
25470 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25471 condition to just [__USE_ISOC99].
25472 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25474 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25477 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25478 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25480 (_POSIX_V6_ILP32_OFF32): Likewise.
25481 (_XBS5_ILP32_OFF32): Likewise.
25482 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25483 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25485 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25487 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25490 doubles __mpexp_twomm1. Adjust usage.
25491 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25494 2013-01-10 Andreas Schwab <schwab@suse.de>
25497 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25498 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25500 2013-01-09 David S. Miller <davem@davemloft.net>
25503 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25504 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25505 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25506 (TCP_FASTOPEN): Define.
25507 (tcp_repair_opt): New structure.
25508 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25510 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25511 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25512 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25513 (tcp_cookie_transactions): New structure.
25515 2013-01-09 Anton Blanchard <anton@samba.org>
25517 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25518 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25519 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25520 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25522 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25524 * include/features.h (__USE_ANSI): Remove.
25526 2013-01-09 Roland McGrath <roland@hack.frob.com>
25528 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25530 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25532 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25534 * sysdeps/s390/fpu/libm-test-ulps: Update.
25536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25538 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25542 (denorm): Likewise.
25543 (__mp_dbl): Likewise.
25544 (__dbl_mp): Likewise.
25545 (add_magnitudes): Likewise.
25546 (sub_magnitudes): Likewise.
25552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25556 (denorm): Likewise.
25557 (__mp_dbl): Likewise.
25558 (__dbl_mp): Likewise.
25559 (add_magnitudes): Likewise.
25560 (sub_magnitudes): Likewise.
25566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25570 (denorm): Likewise.
25571 (__mp_dbl): Likewise.
25572 (__dbl_mp): Likewise.
25573 (add_magnitudes): Likewise.
25574 (sub_magnitudes): Likewise.
25581 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25583 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25584 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25585 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25586 2 && __USE_EXTERN_INLINES]: Likewise.
25588 2013-01-08 Andreas Jaeger <aj@suse.de>
25591 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25593 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25594 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25596 2013-01-07 Anton Blanchard <anton@samba.org>
25598 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25599 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25600 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25601 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25602 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25603 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25604 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25605 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25607 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25608 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25609 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25610 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25611 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25612 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25613 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25614 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25615 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25616 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25617 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25618 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25619 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25621 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25622 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25623 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25624 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25625 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25626 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25627 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25628 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25630 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25631 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25632 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25633 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25634 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25635 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25636 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25637 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25638 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25639 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25640 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25642 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25644 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25645 (__MALLOC_PMT): Likewise.
25646 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25647 [__GNUC__], only on [_LIBC].
25648 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25649 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25650 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25651 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25652 forward declaration.
25653 (realloc_hook_ini): Likewise.
25654 (memalign_hook_ini): Likewise.
25655 (__libc_memalign): Do not use __MALLOC_PMT in variable
25657 (__libc_valloc): Likewise.
25658 (__libc_pvalloc): Likewise.
25659 (__libc_calloc): Likewise.
25660 (__posix_memalign): Likewise.
25663 * math/s_casinh.c: Include <float.h>.
25664 (__casinh): Do not do computation with squaring and square root
25665 for large arguments.
25666 * math/s_casinhf.c: Include <float.h>.
25667 (__casinhf): Do not do computation with squaring and square root
25668 for large arguments.
25669 * math/s_casinhl.c: Include <float.h>.
25670 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25671 (__casinhl): Do not do computation with squaring and square root
25672 for large arguments.
25673 * math/libm-test.inc (casin_test): Add more tests.
25674 (casinh_test): Likewise.
25675 * sysdeps/i386/fpu/libm-test-ulps: Update.
25676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25678 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25680 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25681 (__x86_64_raw_data_cache_size): Likewise.
25682 (__x86_64_data_cache_size_half): Likewise.
25683 (__x86_64_raw_data_cache_size_half): Likewise.
25684 (__x86_64_shared_cache_size): Likewise.
25685 (__x86_64_raw_shared_cache_size): Likewise.
25686 (__x86_64_shared_cache_size_half): Likewise.
25687 (__x86_64_raw_shared_cache_size_half): Likewise.
25688 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25690 (__x86_data_cache_size): This.
25691 (__x86_64_raw_data_cache_size): Renamed to ...
25692 (__x86_raw_data_cache_size): This.
25693 (__x86_64_data_cache_size_half): Renamed to ...
25694 (__x86_data_cache_size_half): This.
25695 (__x86_64_raw_data_cache_size_half): Renamed to ...
25696 (__x86_raw_data_cache_size_half): This.
25697 (__x86_64_shared_cache_size): Renamed to ...
25698 (__x86_shared_cache_size): This.
25699 (__x86_64_raw_shared_cache_size): Renamed to ...
25700 (__x86_raw_shared_cache_size): This.
25701 (__x86_64_shared_cache_size_half): Renamed to ...
25702 (__x86_shared_cache_size_half): This.
25703 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25704 (__x86_raw_shared_cache_size_half): This.
25705 * sysdeps/x86_64/memcpy.S: Updated.
25706 * sysdeps/x86_64/memset.S: Likewise.
25707 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25708 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25709 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25711 2013-01-04 David S. Miller <davem@davemloft.net>
25713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25715 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25717 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25718 1 to avoid redefinition warning.
25719 (__USE_GNU): Don't define.
25720 (init_signaling_nan): Protoize.
25722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25724 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25726 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25728 (__cpymn): Likewise.
25729 (norm): Remove commented code.
25730 (denorm): Likewise.
25731 (__mp_dbl): Likewise.
25733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25734 (__cpymn): Likewise.
25735 (norm): Remove commented code.
25736 (denorm): Likewise.
25737 (__mp_dbl): Likewise.
25740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25741 mp_no value for 1.0 and 2.0.
25742 (norm): Use RADIXI instead of radixi.d.
25743 (denorm): Likewise.
25744 (__mul): Use 0.0 instead of zero.d.
25745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25746 mp_no value for 1.0 and 2.0.
25747 (norm): Use RADIXI instead of radixi.d.
25748 (denorm): Likewise.
25749 (__mul): Use 0.0 instead of zero.d.
25751 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25754 * math/s_casinh.c (__casinh): Reduce finite argument to first
25755 quadrant then set signs of results at the end.
25756 * math/s_casinhf.c (__casinhf): Likewise.
25757 * math/s_casinhl.c (__casinhl): Likewise.
25758 * math/libm-test.inc (casin_test): Add more tests.
25759 (casinh_test): Likewise.
25760 * sysdeps/i386/fpu/libm-test-ulps: Update.
25761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25763 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25765 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25767 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25769 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25771 (denorm): Likewise.
25772 (__mp_dbl): Likewise.
25775 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25776 and adjust the header comment.
25778 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25779 variable name from declaration.
25781 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25784 Initialize COMMON_CPUID_INDEX_7 element.
25785 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25786 (CPUID_RTM): Likewise.
25787 (HAS_RTM): Likewise.
25788 (COMMON_CPUID_INDEX_7): New enum.
25790 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25793 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25794 size is zero, record memory as freed.
25796 2013-01-03 Andreas Jaeger <aj@suse.de>
25798 * po/ia.po: Add new Interlingua translation.
25800 2012-01-03 Allan McRae <allan@archlinux.org>
25802 * locale/programs/localedef.c: Fix description of '--posix' flag.
25804 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25806 * NEWS: Update dates in second copyright notice.
25807 * README: Update copyright dates in example.
25808 * manual/libc.texinfo: Update copyright dates.
25809 * scripts/test-installation.pl: Update copyright date in --version
25812 * hurd/ctty-input.c: Fix copyright notice formatting.
25813 * hurd/ctty-output.c: Likewise.
25814 * hurd/dtable.c: Likewise.
25815 * hurd/hurd-raise.c: Likewise.
25816 * hurd/hurdprio.c: Likewise.
25817 * hurd/msgportdemux.c: Likewise.
25818 * misc/sys/file.h: Likewise.
25819 * misc/sys/ioctl.h: Likewise.
25820 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25821 * sysdeps/mach/hurd/chdir.c: Likewise.
25822 * sysdeps/mach/hurd/fchdir.c: Likewise.
25823 * sysdeps/mach/hurd/rename.c: Likewise.
25824 * sysdeps/mach/hurd/rmdir.c: Likewise.
25825 * sysdeps/mach/hurd/seekdir.c: Likewise.
25826 * sysdeps/mach/hurd/setsid.c: Likewise.
25827 * sysdeps/posix/wait3.c: Likewise.
25829 * All files with FSF copyright notices: Update copyright dates
25830 using scripts/update-copyrights.
25831 * intl/plural.c: Regenerated.
25832 * locale/programs/charmap-kw.h: Likewise.
25833 * locale/programs/locfile-kw.h: Likewise.
25835 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25837 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25840 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25841 calculation loop and add branch prediction.
25843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25844 check access beyond bounds of m1np.
25846 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25848 (__inv): Remove local variable MPTWO to use the global
25850 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25851 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25853 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25854 MP3HALFS static const.
25856 2013-01-01 David S. Miller <davem@davemloft.net>
25858 * po/ca.po: Update from translation team.
25860 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25862 * scripts/update-copyrights: New file.
25863 * Makeconfig: Reformat copyright notice.
25864 * ctype/ctype.h: Likewise.
25865 * debug/swprintf_chk.c: Likewise.
25866 * elf/dl-cache.c: Likewise.
25867 * elf/dl-debug.c: Likewise.
25868 * elf/dl-object.c: Likewise.
25869 * grp/initgroups.c: Likewise.
25870 * hurd/Makefile: Likewise.
25871 * hurd/hurd/signal.h: Likewise.
25872 * hurd/hurdfault.c: Likewise.
25873 * hurd/hurdioctl.c: Likewise.
25874 * hurd/hurdlookup.c: Likewise.
25875 * hurd/intr-msg.c: Likewise.
25876 * iconv/gconv_open.c: Likewise.
25877 * libio/swprintf.c: Likewise.
25878 * locale/lc-ctype.c: Likewise.
25879 * locale/nl_langinfo.c: Likewise.
25880 * mach/Machrules: Likewise.
25881 * mach/Makefile: Likewise.
25882 * malloc/obstack.h: Likewise.
25883 * manual/Makefile: Likewise.
25884 * manual/tsort.awk: Likewise.
25885 * misc/bits/stab.def: Likewise.
25886 * nis/nis_print_group_entry.c: Likewise.
25887 * nis/nis_table.c: Likewise.
25888 * nis/nss_compat/compat-pwd.c: Likewise.
25889 * nis/nss_compat/compat-spwd.c: Likewise.
25890 * po/Makefile: Likewise.
25891 * posix/fnmatch.c: Likewise.
25892 * posix/regex.h: Likewise.
25893 * resolv/Makefile: Likewise.
25894 * resolv/nss_dns/dns-network.c: Likewise.
25895 * resolv/res_hconf.c: Likewise.
25896 * scripts/gen-sorted.awk: Likewise.
25897 * soft-fp/soft-fp.h: Likewise.
25898 * stdio-common/printf.h: Likewise.
25899 * stdlib/monetary.h: Likewise.
25900 * stdlib/random.c: Likewise.
25901 * stdlib/random_r.c: Likewise.
25902 * sysdeps/generic/Makefile: Likewise.
25903 * sysdeps/gnu/Makefile: Likewise.
25904 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25906 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25908 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25911 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25912 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25913 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25914 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25915 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25916 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25917 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25918 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25919 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25920 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25922 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25924 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25925 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25926 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25927 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25928 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25932 * sysdeps/mach/hurd/errnos.awk: Likewise.
25933 * sysdeps/mach/hurd/fork.c: Likewise.
25934 * sysdeps/mach/hurd/getcwd.c: Likewise.
25935 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25936 * sysdeps/mach/hurd/mmap.c: Likewise.
25937 * sysdeps/mach/hurd/utimes.c: Likewise.
25938 * sysdeps/mach/hurd/xmknod.c: Likewise.
25939 * sysdeps/posix/profil.c: Likewise.
25940 * sysdeps/posix/readdir_r.c: Likewise.
25941 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25942 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25943 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25944 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25946 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25947 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25948 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25950 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25951 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25952 * sysdeps/pthread/lio_listio.c: Likewise.
25953 * sysdeps/sparc/dl-procinfo.h: Likewise.
25954 * sysdeps/unix/i386/sysdep.S: Likewise.
25955 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25956 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25957 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25958 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25960 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25961 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25962 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25963 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25964 * sysdeps/wordsize-32/divdi3.c: Likewise.
25965 * time/sys/time.h: Likewise.
25966 * wcsmbs/Makefile: Likewise.
25968 2013-01-01 David S. Miller <davem@davemloft.net>
25970 * po/fr.po: Update from translation team.
25972 * catgets/gencat.c: Update copyright year.
25973 * csu/version.c: Likewise.
25974 * debug/catchsegv.sh: Likewise.
25975 * debug/pcprofiledump.c: Likewise.
25976 * debug/xtrace.sh: Likewise.
25977 * elf/ldconfig.c: Likewise.
25978 * elf/ldd.bash.in: Likewise.
25979 * elf/pldd.c: Likewise.
25980 * elf/sotruss.ksh: Likewise.
25981 * elf/sprof.c: Likewise.
25982 * iconv/iconv_prog.c: Likewise.
25983 * iconv/iconvconfig.c: Likewise.
25984 * locale/programs/locale.c: Likewise.
25985 * locale/programs/localedef.c: Likewise.
25986 * login/programs/pt_chown.c: Likewise.
25987 * malloc/memusage.sh: Likewise.
25988 * malloc/memusagestat.c: Likewise.
25989 * malloc/mtrace.pl: Likewise.
25990 * nscd/nscd.c: Likewise.
25991 * nss/getent.c: Likewise.
25992 * nss/makedb.c: Likewise.
25993 * posix/getconf.c: Likewise.
25995 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25997 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26000 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26002 * math/bits/mathcalls.h (modf): Use __nonnull.
26004 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26006 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26007 (split): Use macro CN instead of the bare value.
26008 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26011 instead of the bare value.
26012 (power1): Likewise.
26014 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26016 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26018 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26020 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26022 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26023 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26024 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26025 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26027 2012-12-28 Andreas Jaeger <aj@suse.de>
26029 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26030 values are from Linux 3.7.
26032 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26033 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26035 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26037 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26040 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26042 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26043 variables with preprocessor constants.
26044 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26045 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26046 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26048 2012-12-27 Bruno Haible <bruno@clisp.org>
26051 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26054 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26057 and use variable directly.
26058 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26060 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26062 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26063 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26065 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26067 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26068 include directive. Remove local variable MPONE.
26069 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26070 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26071 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26073 2012-12-25 David S. Miller <davem@davemloft.net>
26075 * version.h (RELEASE): Set to "development".
26076 (VERSION): Set to "2.17.90".
26077 * NEWS: Add 2.18 section.
26079 2012-12-21 David S. Miller <davem@davemloft.net>
26081 * po/hr.po: Update from translation team.
26083 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26085 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26087 2012-12-19 Steve Ellcey <sellcey@mips.com>
26089 * NEWS: Mention new memcpy for MIPS.
26091 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26093 * manual/contrib.texi (Contributors): Spelling correction.
26095 2012-12-15 David S. Miller <davem@davemloft.net>
26097 * po/ru.po: Update from translation team.
26099 2012-12-13 David S. Miller <davem@davemloft.net>
26101 * NEWS: Mention IFUNC testsuite enhancements.
26103 * po/pl.po: Update from translation team.
26104 * po/bg.po: Likewise.
26106 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26107 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26109 2012-12-11 David S. Miller <davem@davemloft.net>
26111 * po/sv.po: Update from translation team.
26113 * po/vi.po: Update from translation team.
26115 * po/cs.po: Update from translation team.
26117 * po/de.po: Update from translation team.
26118 * po/eo.po: Likewise.
26119 * po/nl.po: Likewise.
26121 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26124 * manual/argp.texi (Argp Helper Functions): Move node to follow
26125 Argp Parsing State.
26128 * manual/conf.texi (Limits on File System Capacity): Mention if
26129 terminating null is included in the max size.
26131 2012-12-10 Andreas Jaeger <aj@suse.de>
26133 * po/cs.po: Update from translation team.
26135 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26137 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26138 void pointer and cast to uintptr_t.
26139 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26141 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26142 * sysdeps/s390/s390-64/memset.S: Likewise.
26144 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26147 * menual/message.texi (Message Translation): Fix typos.
26148 (Helper programs for gettext): Likewise.
26150 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26153 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26156 2012-12-07 David S. Miller <davem@davemloft.net>
26158 * po/libc.pot: Update.
26160 2012-12-07 Richard Henderson <rth@redhat.com>
26163 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26164 normal/normal case to before the switch.
26165 (_FP_DIV): Likewise.
26167 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26168 Mike Frysinger <vapier@gentoo.org>
26170 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26171 check for __NR_fadvise64_64.
26173 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26175 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26176 0, not just to plain "0" as a statement.
26177 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26180 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26182 * NEWS: Use sourceware.org in Bugzilla URL.
26184 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26187 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26189 * stdio-common/tst-put-error.c (do_test): Add newline to the
26190 padded test to ensure flush.
26192 2012-12-05 Jeff Law <law@redhat.com>
26194 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26196 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26198 * README: Don't refer to ports add-on as distributed separately.
26199 Mention AArch64 in list of systems supported in the ports add-on.
26201 * LICENSES: Add more non-FSF copyright and license notices.
26203 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26206 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26208 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26209 10000 as width of padded output.
26211 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26213 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26215 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26216 variable LX with __attribute__ ((unused)).
26217 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26219 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26220 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26221 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26222 with __attribute__ ((unused)).
26224 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26226 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26228 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26230 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26231 (CFLAGS-nldbl-acos.c): New variable.
26232 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26233 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26234 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26235 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26236 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26237 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26238 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26239 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26240 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26241 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26242 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26243 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26244 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26245 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26246 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26247 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26248 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26249 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26250 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26251 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26252 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26253 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26254 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26255 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26256 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26257 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26258 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26259 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26260 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26261 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26262 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26263 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26264 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26265 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26266 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26267 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26268 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26269 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26270 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26271 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26272 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26273 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26274 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26275 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26276 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26277 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26278 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26279 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26280 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26281 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26282 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26283 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26284 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26285 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26286 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26287 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26288 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26289 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26290 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26291 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26292 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26293 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26294 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26295 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26296 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26297 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26298 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26299 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26300 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26301 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26302 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26303 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26304 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26305 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26306 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26307 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26308 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26309 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26310 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26311 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26312 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26313 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26314 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26315 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26316 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26317 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26318 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26319 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26320 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26321 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26322 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26323 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26324 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26325 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26326 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26327 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26328 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26331 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26334 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26335 whole low double instead of just low 47 bits when splitting values
26338 2012-12-03 Allan McRae <allan@archlinux.org>
26340 * manual/stdio.texi (Predefined Printf Handlers): Remove
26341 @hsep and @vsep usage.
26343 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26345 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26346 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26348 2012-12-03 Jeff Law <law@redhat.com>
26350 * time/sys/time.h (settimeofday): Do not mark TV argument
26353 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26355 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26356 when currently writing and seek to current position when not.
26357 * libio/Makefile (tests): Remove bug-fclose1.
26358 * libio/bug-fclose1.c: Delete.
26360 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26362 * manual/arith.texi (feenableexcept): Fix typo.
26363 (fedisableexcept): Likewise.
26365 2012-11-30 Roland McGrath <roland@hack.frob.com>
26367 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26368 second, differently-typed declaration, rather than a cast.
26370 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26372 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26373 * include/rpc/svc.h: ... here.
26375 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26378 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26379 depending n and resplen2 to catch cases where answer
26382 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26384 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26385 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26387 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26389 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26391 2012-11-29 Roland McGrath <roland@hack.frob.com>
26393 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26395 2012-11-28 Jeff Law <law@redhat.com>
26398 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26399 dataset_temporary. Track alloca usage into alloca_used.
26400 If dataset is large allocate and release it via malloc/free.
26402 2012-06-04 Florian Weimer <fweimer@redhat.com>
26405 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26407 2012-11-28 David S. Miller <davem@davemloft.net>
26409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26411 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26414 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26415 of pi/2 rounded to nearest to 64 bits.
26416 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26417 nearest to 64 bits.
26418 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26421 2012-11-28 Jeff Law <law@redhat.com>
26422 Martin Osvald <mosvald@redhat.com>
26425 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26426 * sunrpc/svc.c: Include time.h.
26427 (__svc_accept_failed): New function.
26428 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26429 any reason other than EINTR, call __svc_accept_failed.
26430 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26431 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26433 2012-11-28 Andreas Schwab <schwab@suse.de>
26435 * scripts/abilist.awk: Also handle indirect functions in .opd
26438 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26441 * sysdeps/x86/fpu/powl_helper.c: New file.
26442 * sysdeps/x86/fpu/Makefile: Likewise.
26443 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26445 (__ieee754_powl): Use __powl_helper for finite arguments except
26446 integer exponents below 8.
26447 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26449 (__ieee754_powl): Use __powl_helper for finite arguments except
26450 integer exponents below 8.
26451 * math/libm-test.inc (pow_test): Add more tests and enable some
26452 previously disabled tests.
26453 * sysdeps/i386/fpu/libm-test-ulps: Update.
26454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26456 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26457 Carlos O'Donell <carlos_odonell@mentor.com>
26459 * nss/makedb.c (is_prime): Assert that input is odd and greater
26460 than 4. Note that fact in a comment too.
26461 (next_prime): Add 4 to input.
26463 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26466 * libio/Makefile (tests): Add test case tst-fwrite-error.
26467 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26468 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26469 * libio/tst-fwrite-error.c: New test case.
26471 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26473 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26474 before casting to void *.
26475 * include/libc-internal.h (__pointer_type): New macro.
26476 (__integer_if_pointer_type_sub): Likewise.
26477 (__integer_if_pointer_type): Likewise.
26478 (cast_to_integer): Likewise.
26479 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26480 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26481 before casting to atomic64_t.
26482 (atomic_exchange_acq): Likewise.
26483 (__arch_exchange_and_add_body): Likewise.
26484 (__arch_add_body): Likewise.
26485 (atomic_add_negative): Likewise.
26486 (atomic_add_zero): Likewise.
26488 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26490 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26491 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26492 (add_fdes): Likewise.
26493 (linear_search_fdes): Likewise.
26494 (binary_search_unencoded_fdes): Likewise.
26496 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26498 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26500 2012-11-24 Adam Conrad <adconrad@0c3.net>
26502 * configure.in: Autodetect C++ header directories.
26503 * configure: Regenerated.
26505 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26507 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26509 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26513 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26515 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26516 LDBL_MANT_DIG == 106]: Disable some tests.
26517 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26519 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26523 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26524 input for small inputs. Return +/- pi/2 for large inputs.
26525 * math/libm-test.inc (atan_test): Add more tests.
26527 * sysdeps/generic/unwind-dw2-fde-glibc.c
26528 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26529 __attribute__ ((unused)).
26532 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26533 x * y if x and y are nonzero and z is zero.
26536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26537 nonzero exponents with absolute value below 0x1p-117 to +/-
26541 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26542 up arguments below 2**-450, not just those below 2**-500.
26543 * math/libm-test.inc (hypot_test): Add another test.
26546 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26547 Return a+b for ratio over 2**120, not 2**60.
26548 * math/libm-test.inc (hypot_test): Add another test.
26550 * math/libm-test.inc (clog_test): Use
26551 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26552 (clog10_test): Likewise.
26555 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26557 2012-11-22 Andreas Schwab <schwab@suse.de>
26559 * sysdeps/i386/fpu/libm-test-ulps: Update.
26561 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26563 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26564 printf output with newline.
26566 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26569 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26570 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26571 -z nodlopen, -z initfirst and -z execstack support.
26572 * configure: Regenerated.
26574 * elf/elf.h (DF_1_NODIRECT): New macro.
26575 (DF_1_IGNMULDEF): Likewise.
26576 (DF_1_NOKSYMS): Likewise.
26577 (DF_1_NOHDR): Likewise.
26578 (DF_1_EDITED): Likewise.
26579 (DF_1_NORELOC): Likewise.
26580 (DF_1_SYMINTPOSE): Likewise.
26581 (DF_1_GLOBAUDIT): Likewise.
26582 (DF_1_SINGLETON): Likewise.
26583 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26584 DT_1_SUPPORTED_MASK bits.
26585 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26587 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26589 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26591 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26593 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26596 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26597 (sendmmsg): Move declarations...
26598 * socket/sys/socket.h: ... here.
26599 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26600 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26602 * socket/recvmmsg.c: ... this new file.
26603 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26604 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26605 definition of __sendmmsg hidden.
26606 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26607 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26608 Move ENOSYS stub into and include it from...
26609 * socket/sendmmsg.c: ... this new file.
26610 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26611 (sysdep_routines): Move recvmmsg and sendmmsg...
26612 * socket/Makefile (routines): ... here.
26613 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26614 (GLIBC_PRIVATE): Add __sendmmsg.
26615 * include/sys/socket.h (__sendmmsg): Add declarations.
26616 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26619 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26621 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26622 variable I1 with __attribute__ ((unused)).
26623 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26625 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26627 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26628 DUMMY variables with __attribute__ ((unused)).
26630 * bits/byteswap.h: Include <bits/types.h>.
26631 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26633 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26635 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26636 string_t. Do not manually set errno.
26637 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26638 length with __strnlen. Make sure to both set errno and return it on
26641 2012-11-19 David S. Miller <davem@davemloft.net>
26643 With help from Joseph Myers.
26644 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26645 very large arguments properly.
26646 * math/libm-test.inc (atan_test): New tests.
26647 (atan2_test): New tests.
26648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26651 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26654 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26657 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26658 [POSIX] (EADDRNOTAVAIL): Likewise.
26659 [POSIX] (EAFNOSUPPORT): Likewise.
26660 [POSIX] (EALREADY): Likewise.
26661 [POSIX] (ECONNABORTED): Likewise.
26662 [POSIX] (ECONNREFUSED): Likewise.
26663 [POSIX] (ECONNRESET): Likewise.
26664 [POSIX] (EDESTADDRREQ): Likewise.
26665 [POSIX] (EDQUOT): Likewise.
26666 [POSIX] (EHOSTUNREACH): Likewise.
26667 [POSIX] (EIDRM): Likewise.
26668 [POSIX] (EISCONN): Likewise.
26669 [POSIX] (ELOOP): Likewise.
26670 [POSIX] (EMULTIHOP): Likewise.
26671 [POSIX] (ENETDOWN): Likewise.
26672 [POSIX] (ENETUNREACH): Likewise.
26673 [POSIX] (ENOBUFS): Likewise.
26674 [POSIX] (ENODATA): Likewise.
26675 [POSIX] (ENOLINK): Likewise.
26676 [POSIX] (ENOMSG): Likewise.
26677 [POSIX] (ENOPROTOOPT): Likewise.
26678 [POSIX] (ENOSR): Likewise.
26679 [POSIX] (ENOSTR): Likewise.
26680 [POSIX] (ENOTCONN): Likewise.
26681 [POSIX] (ENOTSOCK): Likewise.
26682 [POSIX] (EOPNOTSUPP): Likewise.
26683 [POSIX] (EOVERFLOW): Likewise.
26684 [POSIX] (EPROTO): Likewise.
26685 [POSIX] (EPROTONOSUPPORT): Likewise.
26686 [POSIX] (EPROTOTYPE): Likewise.
26687 [POSIX] (ESTALE): Likewise.
26688 [POSIX] (ETIME): Likewise.
26689 [POSIX] (ETXTBSY): Likewise.
26690 [POSIX] (EWOULDBLOCK): Likewise.
26691 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26692 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26693 [POSIX] (SEEK_CUR): Likewise.
26694 [POSIX] (SEEK_END): Likewise.
26695 [POSIX || UNIX98] (mode_t): Do not require.
26696 [POSIX] (off_t): Likewise.
26697 [POSIX] (pid_t): Likewise.
26698 [POSIX] (sys/stat.h): Do not allow header.
26699 [POSIX] (unistd.h): Likewise.
26700 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26701 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26702 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26703 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26705 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26706 sigevent): Specify elements.
26707 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26709 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26710 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26712 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26713 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26714 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26715 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26716 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26717 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26718 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26719 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26720 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26721 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26722 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26723 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26724 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26725 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26727 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26729 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26731 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26733 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26734 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26735 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26736 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26737 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26738 Specify lower bound on value.
26739 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26740 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26741 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26742 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26743 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26744 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26745 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26746 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26748 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26750 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26751 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26752 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26753 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26754 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26755 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26756 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26757 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26758 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26759 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26760 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26761 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26762 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26763 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26764 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26765 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26767 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26769 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26770 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26771 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26772 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26773 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26774 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26776 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26777 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26778 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26779 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26780 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26781 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26782 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26784 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26785 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26786 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26787 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26788 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26789 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26790 specify as optional.
26791 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26792 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26793 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26794 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26795 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26796 [XPG3] (NL_LANGMAX): Likewise.
26797 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26798 [POSIX || XPG3] (NL_NMAX): Likewise.
26799 [POSIX || XPG3] (NL_SETMAX): Likewise.
26800 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26801 [XPG3] (NZERO): Likewise.
26802 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26803 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26804 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26805 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26806 (REG_ERANGE): Expect.
26807 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26809 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26810 Use (void) in prototype.
26811 [POSIX] (*_t): Allow.
26812 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26813 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26814 (WRDE_BADVAL): Expect.
26816 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26818 [XPG3 || XPG4] (O_RSYNC): Likewise.
26819 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26821 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26822 [XPG3 || XPG4] (sigqueue): Likewise.
26823 [XPG3 || XPG4] (sigtimedwait): Likewise.
26824 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26825 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26826 [XPG3 || XPG4] (vsnprintf): Likewise.
26827 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26829 [XPG3 || XPG4] (blksize_t): Likewise.
26830 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26832 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26833 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26834 [XPG3 || XPG4] (struct itimerspec): Likewise.
26835 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26836 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26837 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26838 [XPG3 || XPG4] (clockid_t): Likewise.
26839 [XPG3 || XPG4] (timer_t): Likewise.
26840 [XPG3 || XPG4] (clock_getres): Likewise.
26841 [XPG3 || XPG4] (clock_gettime): Likewise.
26842 [XPG3 || XPG4] (clock_settime): Likewise.
26843 [XPG3 || XPG4] (nanosleep): Likewise.
26844 [XPG3 || XPG4] (timer_create): Likewise.
26845 [XPG3 || XPG4] (timer_delete): Likewise.
26846 [XPG3 || XPG4] (timer_gettime): Likewise.
26847 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26848 [XPG3 || XPG4] (timer_settime): Likewise.
26849 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26850 [XPG3 || XPG4] (getlogin_r): Likewise.
26851 [XPG3 || XPG4] (pread): Likewise.
26852 [XPG3 || XPG4] (pthread_atfork): Likewise.
26853 [XPG3 || XPG4] (pwrite): Likewise.
26856 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26859 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26861 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26862 finalizing MALLSTREAM.
26864 * sysdeps/mach/hurd/syncfs.c: New file.
26866 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26869 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26870 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26871 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26872 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26873 (_nss_dns_gethostbyname4_r): Likewise.
26874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26875 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26877 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26880 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26882 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26884 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26885 * elf/cache.c (print_entry): Print ",AArch64" for
26888 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26889 * elf/cache.c (print_entry): Print ",hard-float" for
26892 2012-11-18 David S. Miller <davem@davemloft.net>
26894 With help from Joseph Myers.
26895 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26897 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26899 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26900 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26902 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26903 * math/libm-test.inc (y0_test): New tests.
26904 (y1_test): New tests.
26905 * sysdeps/i386/fpu/libm-test-ulps: Update.
26906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26909 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26911 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26913 * configure: Regenerated.
26915 2012-11-17 David S. Miller <davem@davemloft.net>
26918 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26919 nonzero exponents with absolute value below 0x1p-128 to +/-
26922 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26924 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26926 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26928 * posix/getconf-speclist.c: New file.
26929 * posix/posix-envs.def: Likewise.
26930 * posix/confstr.c (START_ENV_GROUP): New macro.
26931 (END_ENV_GROUP): Likewise.
26932 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26933 (KNOWN_PRESENT_ENV_STRING): Likewise.
26934 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26935 (UNKNOWN_ENVIRONMENT): Likewise.
26936 (confstr): Include posix-envs.def instead of handling
26937 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26938 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26939 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26940 (END_ENV_GROUP): Likewise.
26941 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26942 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26943 (UNKNOWN_ENVIRONMENT): Likewise.
26944 (__sysconf): Include posix-envs.def instead of handling associated
26945 cases directly here.
26946 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26947 preprocessing getconf-speclist.c rather than running getconf or
26948 generating empty file.
26950 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26952 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26954 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26957 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26959 2012-11-16 David S. Miller <davem@davemloft.net>
26961 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26962 smaller than LDBL_EPSILON/2.0L, just return xm1.
26964 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26966 * elf/tst-array1.c (init): Set constructor priority to 1000.
26967 (fini): Set destructor priority to 1000.
26968 * elf/tst-array2dep.c: Likewise.
26970 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26973 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26974 (_IO_new_file_xsputn): Also return EOF if none of the input
26975 data was written when overflow failed.
26976 * libio/iopadn.c (_IO_padn): Likewise.
26977 * libio/iowpadn.c (_IO_wpadn): Likewise.
26978 * stdio-common/tst-put-error.c: Add copyright notice.
26979 (do_test): Add case for printing padded string.
26980 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26981 _IO_padn returned error.
26982 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26983 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26986 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26988 * libio/libioP.h: Add comment note that the references to C++
26989 bits are now obsolete.
26991 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26993 * math/libm-test.inc (check_complex): Use asprintf.
26995 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26997 * debug/pcprofiledump.c (print_version): Update copyright year.
26998 * malloc/memusagestat.c (print_version): Likewise.
27000 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27003 * elf/Makefile (tests): Add tst-audit8.
27004 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27005 ($(objpfx)tst-audit8.out): New target.
27006 (tst-audit8-ENV): New variable.
27007 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27008 audit if l_reloc_result is NULL.
27009 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27010 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27011 * elf/tst-audit8.c: New file.
27013 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27015 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27016 * misc/Makefile (CFLAGS-select.c): Define.
27017 * posix/Makefile (CFLAGS-pause.c): Define.
27019 2012-11-13 David S. Miller <davem@davemloft.net>
27021 * crypt/Makefile: Move test targets after toplevel Rules
27022 inclusion. Grab any necessary sysdep routines when linking.
27023 * crypt/md5.c (md5_process_block): Remove define, we will always
27024 name it __md5_process_block.
27025 (md5_finish_ctx): Update md5_process_block call.
27026 (md5_stream): Likewise.
27027 (md5_process_bytes): Likewise.
27028 (md5_process_block): Rename to __md5_process_block and move to ...
27029 * crypt/md5-block.c: ... here.
27030 * crypt/sha256.c (sha256_process_block): Move to ...
27031 * crypt/sha256-block.c: ... here.
27032 * crypt/sha512.c (sha512_process_block): Move to ...
27033 * crypt/sha512-block.c: ... here.
27034 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27036 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27037 * sysdeps/sparc/sparc64/multiarch/Makefile
27038 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27040 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27041 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27043 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27044 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27045 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27046 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27047 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27048 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27049 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27050 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27051 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27053 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27054 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27056 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27058 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27060 * timezone/tzselect.ksh: Update from tzcode git revision
27061 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27062 * timezone/zdump.c: Likewise.
27063 * timezone/zic.c: Likewise.
27064 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27065 in TZVERSION setting, not $(PKGVERSION).
27066 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27067 REPORT_BUGS_TO settings.
27070 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27073 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27075 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27076 detection to immediately after _FP_ROUND().
27077 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27080 2012-11-11 David S. Miller <davem@davemloft.net>
27082 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27084 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27085 __close rather than their public counterparts.
27087 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27089 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27091 [UNIX98] (sem_timedwait): Do not expect.
27092 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27093 [XPG4 || UNIX98] (sockatmark): Do not expect.
27094 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27095 (clock_getcpuclockid): Do not expect.
27096 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27097 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27099 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27100 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27101 [UNIX98] (vwscanf): Likewise.
27102 [UNIX98] (vswscanf): Likewise.
27104 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27106 * timezone/version.h: Remove file.
27107 * timezone/README: Do not refer to version.h.
27108 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27109 $(objpfx)version.h.
27110 ($(objpfx)zdump.o): Likewise.
27111 ($(objpfx)version.h): New target.
27113 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27115 * timezone/README: Don't mention modification to tzselect.ksh.
27116 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27117 work on unmodified tzselect.ksh. Substitute version numbers in
27120 * Makefile (format-me): Remove.
27121 (INSTALL): Adjust indentation. Use commands directly instead of
27122 using $(format-me).
27124 * aclocal.m4 (ACX_PKGVERSION): New macro.
27125 (ACX_BUGURL): Likewise.
27126 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27127 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27128 (REPORT_BUGS_TO): Likewise.
27129 * configure: Regenerated.
27130 * config.h.in (PKGVERSION): New macro.
27131 (REPORT_BUGS_TO): Likewise.
27132 * config.make.in (PKGVERSION): New variable.
27133 (PKGVERSION_TEXI): Likewise.
27134 (REPORT_BUGS_TO): Likewise.
27135 (REPORT_BUGS_TEXI): Likewise.
27136 * Makefile (format-me): Use -I$(common-objpfx)manual.
27137 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27138 ($(common-objpfx)manual/%): New target.
27139 (manual/%): Remove target.
27140 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27141 (print_version): Use PKGVERSION.
27142 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27143 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27144 and REPORT_BUGS_TO.
27145 ($(objpfx)xtrace): Likewise.
27146 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27147 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27148 (print_version): Use PKGVERSION.
27149 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27150 (do_version): Use PKGVERSION.
27151 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27153 (common-ldd-rewrite): Likewise.
27154 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27155 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27156 (print_version): Use PKGVERSION.
27157 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27158 * elf/pldd.c (argp_program_bug_address): Remove variable.
27159 (more_help): New function.
27160 (argp): Use more_help.
27161 (print_version): Use PKGVERSION.
27162 * elf/sln.c (main): Use PKGVERSION.
27163 (usage): Use REPORT_BUGS_TO.
27164 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27165 (top level): Use PKGVERSION.
27166 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27167 (print_version): Use PKGVERSION.
27168 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27169 (print_version): Use PKGVERSION.
27170 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27171 (print_version): Use PKGVERSION.
27172 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27173 (print_version): Use PKGVERSION.
27174 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27175 (print_version): Use PKGVERSION.
27176 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27177 (print_version): Use PKGVERSION.
27178 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27180 ($(objpfx)memusage): Likewise.
27181 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27182 (do_version): Use PKGVERSION.
27183 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27184 (print_version): Use PKGVERSION.
27185 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27186 ($PKGVERSION): New variable.
27187 ($REPORT_BUGS_TO): Likewise.
27188 (usage): Use $REPORT_BUGS_TO.
27189 (top level): Use $PKGVERSION.
27190 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27191 ($(objpfx)pkgvers.texi): New rule.
27192 ($(objpfx)stamp-pkgvers): Likewise.
27193 * manual/install.texi: Include pkgvers.texi.
27194 (--with-pkgversion): Document new configure option.
27195 (--with-bugurl): Likewise.
27196 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27197 than necessarily for this particular distribution. Use
27198 REPORT_BUGS_TO for where to report bugs.
27199 * INSTALL: Regenerated.
27200 * manual/libc.texinfo: Include pkgvers.texi.
27201 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27202 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27203 (print_version): Use PKGVERSION.
27204 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27205 (print_version): Use PKGVERSION.
27206 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27207 (print_version): Use PKGVERSION.
27208 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27209 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27211 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27212 (print_version): Use PKGVERSION.
27213 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27214 (print_version): Use PKGVERSION.
27215 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27218 * timezone/checktab.awk: Update from tzcode 2012i.
27219 * timezone/ialloc.c: Likewise.
27220 * timezone/private.h: Likewise.
27221 * timezone/scheck.c: Likewise.
27222 * timezone/tzfile.h: Likewise.
27223 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27224 (TZVERSION): Hardcode tzcode version number.
27225 * timezone/zdump.c: Update from tzcode 2012i.
27226 * timezone/zic.c: Likewise.
27227 * timezone/version.h: New file.
27228 * timezone/README: Describe version.h. Update upstream location.
27231 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27232 (mktemp): Enable declaration.
27233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27234 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27235 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27236 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27238 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27240 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27242 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27250 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27251 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27252 for copies of such integer values.
27253 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27254 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27256 2012-11-09 Andreas Jaeger <aj@suse.de>
27258 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27259 definitions and declarations that are provided by
27260 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27262 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27264 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27265 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27266 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27269 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27271 * elf/elf.h: Update comment before AArch64 relocations.
27273 2012-11-07 David S. Miller <davem@davemloft.net>
27275 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27276 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27277 (__start_context): Declare.
27278 (__makecontext_ret): Delete.
27279 (__makecontext): Hook up __start_context instead of
27281 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27282 (sysdep_routines): Add __start_context when in stdlib.
27284 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27286 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27287 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27288 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27290 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27291 (READELF): New variable. Use it instead of hardcoded "readelf".
27293 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27295 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27296 * sysdeps/x86/Makefile: Here.
27297 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27298 * sysdeps/x86/tst-xmmymm.sh: This.
27300 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27302 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27304 [UNIX98] (pthread_barrier_t): Do not expect.
27305 [UNIX98] (pthread_barrierattr_t): Likewise.
27306 [UNIX98] (pthread_spinlock_t): Likewise.
27307 [UNIX98] (pthread_barrier_destroy): Likewise.
27308 [UNIX98] (pthread_barrier_init): Likewise.
27309 [UNIX98] (pthread_barrier_wait): Likewise.
27310 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27311 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27312 [UNIX98] (pthread_barrierattr_init): Likewise.
27313 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27314 [UNIX98] (pthread_getcpuclockid): Likewise.
27315 [UNIX98] (pthread_mutex_timedlock): Likewise.
27316 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27317 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27318 [UNIX98] (pthread_sigmask): Likewise.
27319 [UNIX98] (pthread_spin_destroy): Likewise.
27320 [UNIX98] (pthread_spin_init): Likewise.
27321 [UNIX98] (pthread_spin_lock): Likewise.
27322 [UNIX98] (pthread_spin_trylock): Likewise.
27323 [UNIX98] (pthread_spin_unlock): Likewise.
27324 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27326 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27327 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27328 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27329 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27330 [XPG3 || XPG4] (pthread_key_t): Likewise.
27331 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27332 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27333 [XPG3 || XPG4] (pthread_once_t): Likewise.
27334 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27335 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27336 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27337 [XPG3 || XPG4] (pthread_t): Likewise.
27339 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27341 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27343 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27344 Change function return type to int.
27346 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27347 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27348 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27349 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27350 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27351 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27352 [!POSIX] (posix_madvise): Likewise.
27353 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27355 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27356 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27357 (mode_t): Likewise.
27358 (posix_mem_offset): Likewise.
27359 (posix_typed_mem_get_info): Likewise.
27360 (posix_typed_mem_open): Likewise.
27362 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27363 Change condition to [XOPEN2K8].
27365 * conform/conformtest.pl: Preprocess allow-header data with -x c
27366 instead of from stdin.
27367 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27368 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27369 [C99-based standards] (cerfc): Likewise.
27370 [C99-based standards] (cexp2): Likewise.
27371 [C99-based standards] (cexpm1): Likewise.
27372 [C99-based standards] (clog10): Likewise.
27373 [C99-based standards] (clog1p): Likewise.
27374 [C99-based standards] (clog2): Likewise.
27375 [C99-based standards] (clgamma): Likewise.
27376 [C99-based standards] (ctgamma): Likewise.
27377 [C99-based standards] (cerff): Likewise.
27378 [C99-based standards] (cerfcf): Likewise.
27379 [C99-based standards] (cexp2f): Likewise.
27380 [C99-based standards] (cexpm1f): Likewise.
27381 [C99-based standards] (clog10f): Likewise.
27382 [C99-based standards] (clog1pf): Likewise.
27383 [C99-based standards] (clog2f): Likewise.
27384 [C99-based standards] (clgammaf): Likewise.
27385 [C99-based standards] (ctgammaf): Likewise.
27386 [C99-based standards] (cerfl): Likewise.
27387 [C99-based standards] (cerfcl): Likewise.
27388 [C99-based standards] (cexp2l): Likewise.
27389 [C99-based standards] (cexpm1l): Likewise.
27390 [C99-based standards] (clog10l): Likewise.
27391 [C99-based standards] (clog1pl): Likewise.
27392 [C99-based standards] (clog2l): Likewise.
27393 [C99-based standards] (clgammal): Likewise.
27394 [C99-based standards] (ctgammal): Likewise.
27395 * conform/data/inttypes.h-data [C99-based standards]: Include
27396 stdint.h-data. Remove all expectations for stdint.h contents.
27397 [C99-based standards] (PRI*): Do not allow.
27398 [C99-based standards] (SCN*): Likewise.
27399 [C99-based standards] (*_t): Likewise.
27400 [C99-based-standards] (PRId8): Expect macro.
27401 [C99-based-standards] (PRIi8): Likewise.
27402 [C99-based-standards] (PRIo8): Likewise.
27403 [C99-based-standards] (PRIu8): Likewise.
27404 [C99-based-standards] (PRIx8): Likewise.
27405 [C99-based-standards] (PRIX8): Likewise.
27406 [C99-based-standards] (SCNd8): Likewise.
27407 [C99-based-standards] (SCNi8): Likewise.
27408 [C99-based-standards] (SCNo8): Likewise.
27409 [C99-based-standards] (SCNu8): Likewise.
27410 [C99-based-standards] (SCNx8): Likewise.
27411 [C99-based-standards] (PRIdLEAST8): Likewise.
27412 [C99-based-standards] (PRIiLEAST8): Likewise.
27413 [C99-based-standards] (PRIoLEAST8): Likewise.
27414 [C99-based-standards] (PRIuLEAST8): Likewise.
27415 [C99-based-standards] (PRIxLEAST8): Likewise.
27416 [C99-based-standards] (PRIXLEAST8): Likewise.
27417 [C99-based-standards] (SCNdLEAST8): Likewise.
27418 [C99-based-standards] (SCNiLEAST8): Likewise.
27419 [C99-based-standards] (SCNoLEAST8): Likewise.
27420 [C99-based-standards] (SCNuLEAST8): Likewise.
27421 [C99-based-standards] (SCNxLEAST8): Likewise.
27422 [C99-based-standards] (PRIdFAST8): Likewise.
27423 [C99-based-standards] (PRIiFAST8): Likewise.
27424 [C99-based-standards] (PRIoFAST8): Likewise.
27425 [C99-based-standards] (PRIuFAST8): Likewise.
27426 [C99-based-standards] (PRIxFAST8): Likewise.
27427 [C99-based-standards] (PRIXFAST8): Likewise.
27428 [C99-based-standards] (SCNdFAST8): Likewise.
27429 [C99-based-standards] (SCNiFAST8): Likewise.
27430 [C99-based-standards] (SCNoFAST8): Likewise.
27431 [C99-based-standards] (SCNuFAST8): Likewise.
27432 [C99-based-standards] (SCNxFAST8): Likewise.
27433 [C99-based-standards] (PRId16): Likewise.
27434 [C99-based-standards] (PRIi16): Likewise.
27435 [C99-based-standards] (PRIo16): Likewise.
27436 [C99-based-standards] (PRIu16): Likewise.
27437 [C99-based-standards] (PRIx16): Likewise.
27438 [C99-based-standards] (PRIX16): Likewise.
27439 [C99-based-standards] (SCNd16): Likewise.
27440 [C99-based-standards] (SCNi16): Likewise.
27441 [C99-based-standards] (SCNo16): Likewise.
27442 [C99-based-standards] (SCNu16): Likewise.
27443 [C99-based-standards] (SCNx16): Likewise.
27444 [C99-based-standards] (PRIdLEAST16): Likewise.
27445 [C99-based-standards] (PRIiLEAST16): Likewise.
27446 [C99-based-standards] (PRIoLEAST16): Likewise.
27447 [C99-based-standards] (PRIuLEAST16): Likewise.
27448 [C99-based-standards] (PRIxLEAST16): Likewise.
27449 [C99-based-standards] (PRIXLEAST16): Likewise.
27450 [C99-based-standards] (SCNdLEAST16): Likewise.
27451 [C99-based-standards] (SCNiLEAST16): Likewise.
27452 [C99-based-standards] (SCNoLEAST16): Likewise.
27453 [C99-based-standards] (SCNuLEAST16): Likewise.
27454 [C99-based-standards] (SCNxLEAST16): Likewise.
27455 [C99-based-standards] (PRIdFAST16): Likewise.
27456 [C99-based-standards] (PRIiFAST16): Likewise.
27457 [C99-based-standards] (PRIoFAST16): Likewise.
27458 [C99-based-standards] (PRIuFAST16): Likewise.
27459 [C99-based-standards] (PRIxFAST16): Likewise.
27460 [C99-based-standards] (PRIXFAST16): Likewise.
27461 [C99-based-standards] (SCNdFAST16): Likewise.
27462 [C99-based-standards] (SCNiFAST16): Likewise.
27463 [C99-based-standards] (SCNoFAST16): Likewise.
27464 [C99-based-standards] (SCNuFAST16): Likewise.
27465 [C99-based-standards] (SCNxFAST16): Likewise.
27466 [C99-based-standards] (PRId32): Likewise.
27467 [C99-based-standards] (PRIi32): Likewise.
27468 [C99-based-standards] (PRIo32): Likewise.
27469 [C99-based-standards] (PRIu32): Likewise.
27470 [C99-based-standards] (PRIx32): Likewise.
27471 [C99-based-standards] (PRIX32): Likewise.
27472 [C99-based-standards] (SCNd32): Likewise.
27473 [C99-based-standards] (SCNi32): Likewise.
27474 [C99-based-standards] (SCNo32): Likewise.
27475 [C99-based-standards] (SCNu32): Likewise.
27476 [C99-based-standards] (SCNx32): Likewise.
27477 [C99-based-standards] (PRIdLEAST32): Likewise.
27478 [C99-based-standards] (PRIiLEAST32): Likewise.
27479 [C99-based-standards] (PRIoLEAST32): Likewise.
27480 [C99-based-standards] (PRIuLEAST32): Likewise.
27481 [C99-based-standards] (PRIxLEAST32): Likewise.
27482 [C99-based-standards] (PRIXLEAST32): Likewise.
27483 [C99-based-standards] (SCNdLEAST32): Likewise.
27484 [C99-based-standards] (SCNiLEAST32): Likewise.
27485 [C99-based-standards] (SCNoLEAST32): Likewise.
27486 [C99-based-standards] (SCNuLEAST32): Likewise.
27487 [C99-based-standards] (SCNxLEAST32): Likewise.
27488 [C99-based-standards] (PRIdFAST32): Likewise.
27489 [C99-based-standards] (PRIiFAST32): Likewise.
27490 [C99-based-standards] (PRIoFAST32): Likewise.
27491 [C99-based-standards] (PRIuFAST32): Likewise.
27492 [C99-based-standards] (PRIxFAST32): Likewise.
27493 [C99-based-standards] (PRIXFAST32): Likewise.
27494 [C99-based-standards] (SCNdFAST32): Likewise.
27495 [C99-based-standards] (SCNiFAST32): Likewise.
27496 [C99-based-standards] (SCNoFAST32): Likewise.
27497 [C99-based-standards] (SCNuFAST32): Likewise.
27498 [C99-based-standards] (SCNxFAST32): Likewise.
27499 [C99-based-standards] (PRId64): Likewise.
27500 [C99-based-standards] (PRIi64): Likewise.
27501 [C99-based-standards] (PRIo64): Likewise.
27502 [C99-based-standards] (PRIu64): Likewise.
27503 [C99-based-standards] (PRIx64): Likewise.
27504 [C99-based-standards] (PRIX64): Likewise.
27505 [C99-based-standards] (SCNd64): Likewise.
27506 [C99-based-standards] (SCNi64): Likewise.
27507 [C99-based-standards] (SCNo64): Likewise.
27508 [C99-based-standards] (SCNu64): Likewise.
27509 [C99-based-standards] (SCNx64): Likewise.
27510 [C99-based-standards] (PRIdLEAST64): Likewise.
27511 [C99-based-standards] (PRIiLEAST64): Likewise.
27512 [C99-based-standards] (PRIoLEAST64): Likewise.
27513 [C99-based-standards] (PRIuLEAST64): Likewise.
27514 [C99-based-standards] (PRIxLEAST64): Likewise.
27515 [C99-based-standards] (PRIXLEAST64): Likewise.
27516 [C99-based-standards] (SCNdLEAST64): Likewise.
27517 [C99-based-standards] (SCNiLEAST64): Likewise.
27518 [C99-based-standards] (SCNoLEAST64): Likewise.
27519 [C99-based-standards] (SCNuLEAST64): Likewise.
27520 [C99-based-standards] (SCNxLEAST64): Likewise.
27521 [C99-based-standards] (PRIdFAST64): Likewise.
27522 [C99-based-standards] (PRIiFAST64): Likewise.
27523 [C99-based-standards] (PRIoFAST64): Likewise.
27524 [C99-based-standards] (PRIuFAST64): Likewise.
27525 [C99-based-standards] (PRIxFAST64): Likewise.
27526 [C99-based-standards] (PRIXFAST64): Likewise.
27527 [C99-based-standards] (SCNdFAST64): Likewise.
27528 [C99-based-standards] (SCNiFAST64): Likewise.
27529 [C99-based-standards] (SCNoFAST64): Likewise.
27530 [C99-based-standards] (SCNuFAST64): Likewise.
27531 [C99-based-standards] (SCNxFAST64): Likewise.
27532 [C99-based-standards] (PRIdMAX): Likewise.
27533 [C99-based-standards] (PRIiMAX): Likewise.
27534 [C99-based-standards] (PRIoMAX): Likewise.
27535 [C99-based-standards] (PRIuMAX): Likewise.
27536 [C99-based-standards] (PRIxMAX): Likewise.
27537 [C99-based-standards] (PRIXMAX): Likewise.
27538 [C99-based-standards] (SCNdMAX): Likewise.
27539 [C99-based-standards] (SCNiMAX): Likewise.
27540 [C99-based-standards] (SCNoMAX): Likewise.
27541 [C99-based-standards] (SCNuMAX): Likewise.
27542 [C99-based-standards] (SCNxMAX): Likewise.
27543 [C99-based-standards] (PRIdPTR): Likewise.
27544 [C99-based-standards] (PRIiPTR): Likewise.
27545 [C99-based-standards] (PRIoPTR): Likewise.
27546 [C99-based-standards] (PRIuPTR): Likewise.
27547 [C99-based-standards] (PRIxPTR): Likewise.
27548 [C99-based-standards] (PRIXPTR): Likewise.
27549 [C99-based-standards] (SCNdPTR): Likewise.
27550 [C99-based-standards] (SCNiPTR): Likewise.
27551 [C99-based-standards] (SCNoPTR): Likewise.
27552 [C99-based-standards] (SCNuPTR): Likewise.
27553 [C99-based-standards] (SCNxPTR): Likewise.
27554 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27556 * conform/data/stdint.h-data: Update comments to clarify
27558 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27560 [C99-based standards] (INT8_MAX): Likewise.
27561 [C99-based standards] (INT16_MIN): Likewise.
27562 [C99-based standards] (INT16_MAX): Likewise.
27563 [C99-based standards] (INT32_MIN): Likewise.
27564 [C99-based standards] (INT32_MAX): Likewise.
27565 [C99-based standards] (INT64_MIN): Likewise.
27566 [C99-based standards] (INT64_MAX): Likewise.
27567 [C99-based standards] (UINT8_MAX): Likewise.
27568 [C99-based standards] (UINT16_MAX): Likewise.
27569 [C99-based standards] (UINT32_MAX): Likewise.
27570 [C99-based standards] (UINT64_MAX): Likewise.
27571 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27572 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27573 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27574 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27575 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27576 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27577 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27578 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27579 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27580 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27581 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27582 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27583 [C99-based standards] (INT_FAST8_MIN): Likewise.
27584 [C99-based standards] (INT_FAST8_MAX): Likewise.
27585 [C99-based standards] (INT_FAST16_MIN): Likewise.
27586 [C99-based standards] (INT_FAST16_MAX): Likewise.
27587 [C99-based standards] (INT_FAST32_MIN): Likewise.
27588 [C99-based standards] (INT_FAST32_MAX): Likewise.
27589 [C99-based standards] (INT_FAST64_MIN): Likewise.
27590 [C99-based standards] (INT_FAST64_MAX): Likewise.
27591 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27592 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27593 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27594 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27595 [C99-based standards] (INTPTR_MIN): Likewise.
27596 [C99-based standards] (INTPTR_MAX): Likewise.
27597 [C99-based standards] (UINTPTR_MAX): Likewise.
27598 [C99-based standards] (INTMAX_MIN): Likewise.
27599 [C99-based standards] (INTMAX_MAX): Likewise.
27600 [C99-based standards] (UINTMAX_MAX): Likewise.
27601 [C99-based standards] (PTRDIFF_MIN): Likewise.
27602 [C99-based standards] (PTRDIFF_MAX): Likewise.
27603 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27604 [C99-based standards] (SIZE_MAX): Likewise.
27605 [C99-based standards] (WCHAR_MAX): Likewise.
27606 [C99-based standards] (WINT_MAX): Likewise.
27607 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27608 constraint on value.
27609 [C99-based standards] (WCHAR_MIN): Likewise.
27610 [C99-based standards] (WINT_MIN): Likewise.
27611 [C99-based standards] (*_t): Allow.
27612 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27613 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27614 Include math.h-data and complex.h-data. Remove all expectations
27615 of math.h and complex.h contents.
27616 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27618 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27619 (struct tm): Expect tag.
27620 [C99-based-standards] (wcstof): Expect function.
27621 [C99-based-standards] (wcstold): Likewise.
27622 [C99-based-standards] (wcstoll): Likewise.
27623 [C99-based-standards] (wcstoull): Likewise.
27624 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27625 macro-int-constant. Specify type.
27626 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27627 constraint on value.
27628 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27630 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27632 [ISO C standards]: Do not allow headers.
27633 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27634 wcs[abcdefghijklmnopqrstuvwxyz]*.
27635 [ISO C standards] (*_t): Do not allow.
27636 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27638 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27639 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27641 [ISO C standards]: Do not allow headers.
27642 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27643 is[abcdefghijklmnopqrstuvwxyz]*.
27644 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27645 to[abcdefghijklmnopqrstuvwxyz]*.
27646 [ISO C standards] (*_t): Do not allow.
27647 * conform/data/stdalign.h-data: New file.
27648 * conform/data/stdbool.h-data: Likewise.
27649 * conform/data/stdnoreturn.h-data: Likewise.
27651 2012-11-07 Roland McGrath <roland@hack.frob.com>
27654 * manual/filesys.texi (Directory Entries): Typo fix.
27655 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27657 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27659 * elf/elf.h (EM_AARCH64): New macro.
27660 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27661 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27662 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27663 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27664 (R_AARCH64_TLSDESC): Likewise.
27665 (NT_ARM_TLS): Likewise.
27666 (NT_ARM_HW_BREAK): Likewise.
27667 (NT_ARM_HW_WATCH): Likewise.
27669 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27672 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27673 (__ieee754_powl): Saturate nonzero exponents with absolute value
27674 below 0x1p-79 to +/- 0x1p-79.
27675 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27676 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27677 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27678 nonzero exponents with absolute value below 0x1p-32 to +/-
27680 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27681 (__ieee754_powl): Saturate nonzero exponents with absolute value
27682 below 0x1p-79 to +/- 0x1p-79.
27683 * math/libm-test.inc (pow_test): Add more tests.
27685 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27687 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27688 _dl_s390_cap_flags with kernel. Increase string length.
27689 (_dl_s390_platforms): Add z196 and zEC12.
27691 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27693 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27694 Change XOPEN21K to XOPEN2K.
27696 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27698 * string/memmove.c: Use memcpy when possible.
27700 2012-11-06 Andreas Jaeger <aj@suse.de>
27702 * po/eo.po: Update from translation team.
27704 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27707 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27708 exponent and small x and y exponents, scale x or y up. Increase
27709 by 2 the exponent used in scaling up.
27710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27712 * math/libm-test.inc (fma_test): Add more tests.
27713 (fma_test_towardzero): Likewise.
27714 (fma_test_downward): Likewise.
27715 (fma_test_upward): Likewise.
27717 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27720 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27724 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27725 namespace for names of struct fields.
27726 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27728 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27729 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27731 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27734 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27736 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27738 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27742 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27745 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27749 definitely overflow as x * y not x * y + z.
27750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27752 * math/libm-test.inc (fma_test): Add more tests.
27753 (fma_test_towardzero): Likewise.
27754 (fma_test_downward): Likewise.
27755 (fma_test_upward): Likewise.
27757 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27761 * include/stub-tag.h: Remove file.
27762 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27764 * manual/maint.texi (Porting): Don't reference it.
27765 * Makerules ($(objpfx)stubs): Likewise.
27766 * dirent/closedir.c: Don't include <stub-tag.h>.
27767 * dirent/dirfd.c: Likewise.
27768 * dirent/fdopendir.c: Likewise.
27769 * dirent/getdents.c: Likewise.
27770 * dirent/getdents64.c: Likewise.
27771 * dirent/opendir.c: Likewise.
27772 * dirent/readdir.c: Likewise.
27773 * dirent/readdir64.c: Likewise.
27774 * dirent/readdir64_r.c: Likewise.
27775 * dirent/readdir_r.c: Likewise.
27776 * dirent/rewinddir.c: Likewise.
27777 * dirent/seekdir.c: Likewise.
27778 * dirent/telldir.c: Likewise.
27779 * gmon/profil.c: Likewise.
27780 * grp/setgroups.c: Likewise.
27781 * inet/if_index.c: Likewise.
27782 * io/access.c: Likewise.
27783 * io/chdir.c: Likewise.
27784 * io/chmod.c: Likewise.
27785 * io/chown.c: Likewise.
27786 * io/close.c: Likewise.
27787 * io/dup.c: Likewise.
27788 * io/dup2.c: Likewise.
27789 * io/dup3.c: Likewise.
27790 * io/euidaccess.c: Likewise.
27791 * io/faccessat.c: Likewise.
27792 * io/fchdir.c: Likewise.
27793 * io/fchmod.c: Likewise.
27794 * io/fchmodat.c: Likewise.
27795 * io/fchown.c: Likewise.
27796 * io/fchownat.c: Likewise.
27797 * io/fcntl.c: Likewise.
27798 * io/flock.c: Likewise.
27799 * io/fstatfs.c: Likewise.
27800 * io/fstatfs64.c: Likewise.
27801 * io/fstatvfs.c: Likewise.
27802 * io/fstatvfs64.c: Likewise.
27803 * io/futimens.c: Likewise.
27804 * io/fxstat.c: Likewise.
27805 * io/fxstat64.c: Likewise.
27806 * io/fxstatat.c: Likewise.
27807 * io/fxstatat64.c: Likewise.
27808 * io/getcwd.c: Likewise.
27809 * io/isatty.c: Likewise.
27810 * io/lchmod.c: Likewise.
27811 * io/lchown.c: Likewise.
27812 * io/link.c: Likewise.
27813 * io/linkat.c: Likewise.
27814 * io/lseek.c: Likewise.
27815 * io/lseek64.c: Likewise.
27816 * io/lxstat64.c: Likewise.
27817 * io/mkdir.c: Likewise.
27818 * io/mkdirat.c: Likewise.
27819 * io/mkfifo.c: Likewise.
27820 * io/mkfifoat.c: Likewise.
27821 * io/open.c: Likewise.
27822 * io/open64.c: Likewise.
27823 * io/openat.c: Likewise.
27824 * io/openat64.c: Likewise.
27825 * io/pipe.c: Likewise.
27826 * io/pipe2.c: Likewise.
27827 * io/poll.c: Likewise.
27828 * io/posix_fadvise.c: Likewise.
27829 * io/posix_fadvise64.c: Likewise.
27830 * io/posix_fallocate.c: Likewise.
27831 * io/posix_fallocate64.c: Likewise.
27832 * io/read.c: Likewise.
27833 * io/readlink.c: Likewise.
27834 * io/readlinkat.c: Likewise.
27835 * io/rmdir.c: Likewise.
27836 * io/sendfile.c: Likewise.
27837 * io/sendfile64.c: Likewise.
27838 * io/statfs.c: Likewise.
27839 * io/statfs64.c: Likewise.
27840 * io/statvfs.c: Likewise.
27841 * io/statvfs64.c: Likewise.
27842 * io/symlink.c: Likewise.
27843 * io/symlinkat.c: Likewise.
27844 * io/ttyname.c: Likewise.
27845 * io/ttyname_r.c: Likewise.
27846 * io/umask.c: Likewise.
27847 * io/unlink.c: Likewise.
27848 * io/unlinkat.c: Likewise.
27849 * io/utime.c: Likewise.
27850 * io/utimensat.c: Likewise.
27851 * io/write.c: Likewise.
27852 * io/xmknod.c: Likewise.
27853 * io/xmknodat.c: Likewise.
27854 * io/xstat.c: Likewise.
27855 * io/xstat64.c: Likewise.
27856 * login/getpt.c: Likewise.
27857 * login/grantpt.c: Likewise.
27858 * login/unlockpt.c: Likewise.
27859 * math/e_acoshl.c: Likewise.
27860 * math/e_acosl.c: Likewise.
27861 * math/e_asinl.c: Likewise.
27862 * math/e_atan2l.c: Likewise.
27863 * math/e_atanhl.c: Likewise.
27864 * math/e_coshl.c: Likewise.
27865 * math/e_expl.c: Likewise.
27866 * math/e_fmodl.c: Likewise.
27867 * math/e_gammal_r.c: Likewise.
27868 * math/e_hypotl.c: Likewise.
27869 * math/e_j0l.c: Likewise.
27870 * math/e_j1l.c: Likewise.
27871 * math/e_jnl.c: Likewise.
27872 * math/e_lgammal_r.c: Likewise.
27873 * math/e_log10l.c: Likewise.
27874 * math/e_log2l.c: Likewise.
27875 * math/e_logl.c: Likewise.
27876 * math/e_powl.c: Likewise.
27877 * math/e_rem_pio2l.c: Likewise.
27878 * math/e_sinhl.c: Likewise.
27879 * math/e_sqrtl.c: Likewise.
27880 * math/fclrexcpt.c: Likewise.
27881 * math/fedisblxcpt.c: Likewise.
27882 * math/feenablxcpt.c: Likewise.
27883 * math/fegetenv.c: Likewise.
27884 * math/fegetexcept.c: Likewise.
27885 * math/fegetround.c: Likewise.
27886 * math/feholdexcpt.c: Likewise.
27887 * math/fesetenv.c: Likewise.
27888 * math/fesetround.c: Likewise.
27889 * math/feupdateenv.c: Likewise.
27890 * math/fgetexcptflg.c: Likewise.
27891 * math/fraiseexcpt.c: Likewise.
27892 * math/fsetexcptflg.c: Likewise.
27893 * math/ftestexcept.c: Likewise.
27894 * math/k_cosl.c: Likewise.
27895 * math/k_rem_pio2l.c: Likewise.
27896 * math/k_sinl.c: Likewise.
27897 * math/k_tanl.c: Likewise.
27898 * math/s_asinhl.c: Likewise.
27899 * math/s_atanl.c: Likewise.
27900 * math/s_cbrtl.c: Likewise.
27901 * math/s_erfl.c: Likewise.
27902 * math/s_expm1l.c: Likewise.
27903 * math/s_log1pl.c: Likewise.
27904 * math/s_tanhl.c: Likewise.
27905 * misc/acct.c: Likewise.
27906 * misc/brk.c: Likewise.
27907 * misc/chflags.c: Likewise.
27908 * misc/chroot.c: Likewise.
27909 * misc/fchflags.c: Likewise.
27910 * misc/fgetxattr.c: Likewise.
27911 * misc/flistxattr.c: Likewise.
27912 * misc/fremovexattr.c: Likewise.
27913 * misc/fsetxattr.c: Likewise.
27914 * misc/fsync.c: Likewise.
27915 * misc/ftruncate.c: Likewise.
27916 * misc/futimes.c: Likewise.
27917 * misc/futimesat.c: Likewise.
27918 * misc/getdomain.c: Likewise.
27919 * misc/getdtsz.c: Likewise.
27920 * misc/gethostid.c: Likewise.
27921 * misc/gethostname.c: Likewise.
27922 * misc/getloadavg.c: Likewise.
27923 * misc/getpagesize.c: Likewise.
27924 * misc/getsysstats.c: Likewise.
27925 * misc/getxattr.c: Likewise.
27926 * misc/gtty.c: Likewise.
27927 * misc/ioctl.c: Likewise.
27928 * misc/lgetxattr.c: Likewise.
27929 * misc/listxattr.c: Likewise.
27930 * misc/llistxattr.c: Likewise.
27931 * misc/lremovexattr.c: Likewise.
27932 * misc/lsetxattr.c: Likewise.
27933 * misc/lutimes.c: Likewise.
27934 * misc/madvise.c: Likewise.
27935 * misc/mincore.c: Likewise.
27936 * misc/mlock.c: Likewise.
27937 * misc/mlockall.c: Likewise.
27938 * misc/mmap.c: Likewise.
27939 * misc/mprotect.c: Likewise.
27940 * misc/msync.c: Likewise.
27941 * misc/munlock.c: Likewise.
27942 * misc/munlockall.c: Likewise.
27943 * misc/munmap.c: Likewise.
27944 * misc/preadv.c: Likewise.
27945 * misc/preadv64.c: Likewise.
27946 * misc/ptrace.c: Likewise.
27947 * misc/pwritev.c: Likewise.
27948 * misc/pwritev64.c: Likewise.
27949 * misc/readv.c: Likewise.
27950 * misc/reboot.c: Likewise.
27951 * misc/remap_file_pages.c: Likewise.
27952 * misc/removexattr.c: Likewise.
27953 * misc/revoke.c: Likewise.
27954 * misc/select.c: Likewise.
27955 * misc/setdomain.c: Likewise.
27956 * misc/setegid.c: Likewise.
27957 * misc/seteuid.c: Likewise.
27958 * misc/sethostid.c: Likewise.
27959 * misc/sethostname.c: Likewise.
27960 * misc/setregid.c: Likewise.
27961 * misc/setreuid.c: Likewise.
27962 * misc/setxattr.c: Likewise.
27963 * misc/sstk.c: Likewise.
27964 * misc/stty.c: Likewise.
27965 * misc/swapoff.c: Likewise.
27966 * misc/swapon.c: Likewise.
27967 * misc/sync.c: Likewise.
27968 * misc/syncfs.c: Likewise.
27969 * misc/syscall.c: Likewise.
27970 * misc/truncate.c: Likewise.
27971 * misc/ualarm.c: Likewise.
27972 * misc/usleep.c: Likewise.
27973 * misc/ustat.c: Likewise.
27974 * misc/utimes.c: Likewise.
27975 * misc/vhangup.c: Likewise.
27976 * misc/writev.c: Likewise.
27977 * posix/_exit.c: Likewise.
27978 * posix/alarm.c: Likewise.
27979 * posix/execve.c: Likewise.
27980 * posix/fexecve.c: Likewise.
27981 * posix/fork.c: Likewise.
27982 * posix/fpathconf.c: Likewise.
27983 * posix/getaddrinfo.c: Likewise.
27984 * posix/getegid.c: Likewise.
27985 * posix/geteuid.c: Likewise.
27986 * posix/getgid.c: Likewise.
27987 * posix/getgroups.c: Likewise.
27988 * posix/getlogin.c: Likewise.
27989 * posix/getlogin_r.c: Likewise.
27990 * posix/getpgid.c: Likewise.
27991 * posix/getpid.c: Likewise.
27992 * posix/getppid.c: Likewise.
27993 * posix/getresgid.c: Likewise.
27994 * posix/getresuid.c: Likewise.
27995 * posix/getsid.c: Likewise.
27996 * posix/getuid.c: Likewise.
27997 * posix/glob64.c: Likewise.
27998 * posix/nanosleep.c: Likewise.
27999 * posix/pathconf.c: Likewise.
28000 * posix/pause.c: Likewise.
28001 * posix/posix_madvise.c: Likewise.
28002 * posix/pread.c: Likewise.
28003 * posix/pread64.c: Likewise.
28004 * posix/pwrite.c: Likewise.
28005 * posix/pwrite64.c: Likewise.
28006 * posix/sched_getaffinity.c: Likewise.
28007 * posix/sched_getp.c: Likewise.
28008 * posix/sched_gets.c: Likewise.
28009 * posix/sched_primax.c: Likewise.
28010 * posix/sched_primin.c: Likewise.
28011 * posix/sched_rr_gi.c: Likewise.
28012 * posix/sched_setaffinity.c: Likewise.
28013 * posix/sched_setp.c: Likewise.
28014 * posix/sched_sets.c: Likewise.
28015 * posix/sched_yield.c: Likewise.
28016 * posix/setgid.c: Likewise.
28017 * posix/setlogin.c: Likewise.
28018 * posix/setpgid.c: Likewise.
28019 * posix/setresgid.c: Likewise.
28020 * posix/setresuid.c: Likewise.
28021 * posix/setsid.c: Likewise.
28022 * posix/setuid.c: Likewise.
28023 * posix/sleep.c: Likewise.
28024 * posix/spawni.c: Likewise.
28025 * posix/sysconf.c: Likewise.
28026 * posix/times.c: Likewise.
28027 * posix/wait.c: Likewise.
28028 * posix/wait3.c: Likewise.
28029 * posix/wait4.c: Likewise.
28030 * posix/waitpid.c: Likewise.
28031 * resolv/gai_sigqueue.c: Likewise.
28032 * resource/getpriority.c: Likewise.
28033 * resource/getrlimit.c: Likewise.
28034 * resource/getrusage.c: Likewise.
28035 * resource/nice.c: Likewise.
28036 * resource/setpriority.c: Likewise.
28037 * resource/setrlimit.c: Likewise.
28038 * resource/ulimit.c: Likewise.
28039 * rt/aio_cancel.c: Likewise.
28040 * rt/aio_fsync.c: Likewise.
28041 * rt/aio_read.c: Likewise.
28042 * rt/aio_sigqueue.c: Likewise.
28043 * rt/aio_suspend.c: Likewise.
28044 * rt/aio_write.c: Likewise.
28045 * rt/clock_getres.c: Likewise.
28046 * rt/clock_gettime.c: Likewise.
28047 * rt/clock_nanosleep.c: Likewise.
28048 * rt/clock_settime.c: Likewise.
28049 * rt/lio_listio.c: Likewise.
28050 * rt/mq_close.c: Likewise.
28051 * rt/mq_getattr.c: Likewise.
28052 * rt/mq_notify.c: Likewise.
28053 * rt/mq_open.c: Likewise.
28054 * rt/mq_receive.c: Likewise.
28055 * rt/mq_send.c: Likewise.
28056 * rt/mq_setattr.c: Likewise.
28057 * rt/mq_timedreceive.c: Likewise.
28058 * rt/mq_timedsend.c: Likewise.
28059 * rt/mq_unlink.c: Likewise.
28060 * rt/shm_open.c: Likewise.
28061 * rt/shm_unlink.c: Likewise.
28062 * rt/timer_create.c: Likewise.
28063 * rt/timer_delete.c: Likewise.
28064 * rt/timer_getoverr.c: Likewise.
28065 * rt/timer_gettime.c: Likewise.
28066 * rt/timer_settime.c: Likewise.
28067 * setjmp/__longjmp.c: Likewise.
28068 * setjmp/setjmp.c: Likewise.
28069 * signal/kill.c: Likewise.
28070 * signal/killpg.c: Likewise.
28071 * signal/raise.c: Likewise.
28072 * signal/sigaction.c: Likewise.
28073 * signal/sigaltstack.c: Likewise.
28074 * signal/sigblock.c: Likewise.
28075 * signal/sigignore.c: Likewise.
28076 * signal/sigintr.c: Likewise.
28077 * signal/signal.c: Likewise.
28078 * signal/sigpause.c: Likewise.
28079 * signal/sigpending.c: Likewise.
28080 * signal/sigqueue.c: Likewise.
28081 * signal/sigreturn.c: Likewise.
28082 * signal/sigset.c: Likewise.
28083 * signal/sigsetmask.c: Likewise.
28084 * signal/sigstack.c: Likewise.
28085 * signal/sigsuspend.c: Likewise.
28086 * signal/sigtimedwait.c: Likewise.
28087 * signal/sigvec.c: Likewise.
28088 * signal/sigwait.c: Likewise.
28089 * signal/sigwaitinfo.c: Likewise.
28090 * signal/sysv_signal.c: Likewise.
28091 * socket/accept.c: Likewise.
28092 * socket/accept4.c: Likewise.
28093 * socket/bind.c: Likewise.
28094 * socket/connect.c: Likewise.
28095 * socket/getpeername.c: Likewise.
28096 * socket/getsockname.c: Likewise.
28097 * socket/getsockopt.c: Likewise.
28098 * socket/isfdtype.c: Likewise.
28099 * socket/listen.c: Likewise.
28100 * socket/recv.c: Likewise.
28101 * socket/recvfrom.c: Likewise.
28102 * socket/recvmsg.c: Likewise.
28103 * socket/send.c: Likewise.
28104 * socket/sendmsg.c: Likewise.
28105 * socket/sendto.c: Likewise.
28106 * socket/setsockopt.c: Likewise.
28107 * socket/shutdown.c: Likewise.
28108 * socket/sockatmark.c: Likewise.
28109 * socket/socket.c: Likewise.
28110 * socket/socketpair.c: Likewise.
28111 * stdio-common/ctermid.c: Likewise.
28112 * stdio-common/cuserid.c: Likewise.
28113 * stdio-common/remove.c: Likewise.
28114 * stdio-common/rename.c: Likewise.
28115 * stdio-common/renameat.c: Likewise.
28116 * stdio-common/tempname.c: Likewise.
28117 * stdlib/getcontext.c: Likewise.
28118 * stdlib/makecontext.c: Likewise.
28119 * stdlib/setcontext.c: Likewise.
28120 * stdlib/swapcontext.c: Likewise.
28121 * stdlib/system.c: Likewise.
28122 * streams/fattach.c: Likewise.
28123 * streams/fdetach.c: Likewise.
28124 * streams/getmsg.c: Likewise.
28125 * streams/getpmsg.c: Likewise.
28126 * streams/putmsg.c: Likewise.
28127 * streams/putpmsg.c: Likewise.
28128 * sysdeps/unix/bsd/getpt.c: Likewise.
28129 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28130 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28131 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28134 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28135 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28136 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28137 * sysvipc/msgctl.c: Likewise.
28138 * sysvipc/msgget.c: Likewise.
28139 * sysvipc/msgrcv.c: Likewise.
28140 * sysvipc/msgsnd.c: Likewise.
28141 * sysvipc/semctl.c: Likewise.
28142 * sysvipc/semget.c: Likewise.
28143 * sysvipc/semop.c: Likewise.
28144 * sysvipc/semtimedop.c: Likewise.
28145 * sysvipc/shmat.c: Likewise.
28146 * sysvipc/shmctl.c: Likewise.
28147 * sysvipc/shmdt.c: Likewise.
28148 * sysvipc/shmget.c: Likewise.
28149 * termios/tcdrain.c: Likewise.
28150 * termios/tcflow.c: Likewise.
28151 * termios/tcflush.c: Likewise.
28152 * termios/tcgetattr.c: Likewise.
28153 * termios/tcgetpgrp.c: Likewise.
28154 * termios/tcsendbrk.c: Likewise.
28155 * termios/tcsetattr.c: Likewise.
28156 * termios/tcsetpgrp.c: Likewise.
28157 * time/adjtime.c: Likewise.
28158 * time/clock.c: Likewise.
28159 * time/getitimer.c: Likewise.
28160 * time/gettimeofday.c: Likewise.
28161 * time/setitimer.c: Likewise.
28162 * time/settimeofday.c: Likewise.
28163 * time/stime.c: Likewise.
28164 * time/time.c: Likewise.
28166 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28168 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28171 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28173 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28175 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28179 FE_TONEAREST before applying Dekker multiplication and Knuth
28180 addition. Clear inexact exceptions and check for exact zero
28181 results afterwards.
28182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28183 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28184 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28185 * math/libm-test.inc (fma_test): Add more tests.
28186 (fma_test_towardzero): Likewise.
28187 (fma_test_downward): Likewise.
28188 (fma_test_upward): Likewise.
28189 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28191 (libc_fesetround): New macro.
28192 (libc_fesetroundf): Likewise.
28193 (libc_fesetroundl): Likewise.
28194 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28196 (libc_fesetround_387): Likewise.
28197 (libc_fesetroundf): New macro.
28198 (libc_fesetround): Likewise.
28199 (libc_fesetroundl): Likewise.
28200 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28202 (libc_fesetroundf): New macro.
28203 (libc_fesetround): Likewise.
28204 (libc_fesetroundl): Likewise.
28205 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28206 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28207 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28209 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28210 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28212 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28213 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28215 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28219 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28220 integer constant usable in #if and use that to give value to enum
28222 (FE_DIVBYZERO): Likewise.
28223 (FE_UNDERFLOW): Likewise.
28224 (FE_OVERFLOW): Likewise.
28225 (FE_INVALID): Likewise.
28226 (FE_INVALID_SNAN): Likewise.
28227 (FE_INVALID_ISI): Likewise.
28228 (FE_INVALID_IDI): Likewise.
28229 (FE_INVALID_ZDZ): Likewise.
28230 (FE_INVALID_IMZ): Likewise.
28231 (FE_INVALID_COMPARE): Likewise.
28232 (FE_INVALID_SOFTWARE): Likewise.
28233 (FE_INVALID_SQRT): Likewise.
28234 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28235 (FE_TONEAREST): Likewise.
28236 (FE_TOWARDZERO): Likewise.
28237 (FE_UPWARD): Likewise.
28238 (FE_DOWNWARD): Likewise.
28239 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28240 (FE_DIVBYZERO): Likewise.
28241 (FE_OVERFLOW): Likewise.
28242 (FE_UNDERFLOW): Likewise.
28243 (FE_INEXACT): Likewise.
28244 (FE_TONEAREST): Likewise.
28245 (FE_DOWNWARD): Likewise.
28246 (FE_UPWARD): Likewise.
28247 (FE_TOWARDZERO): Likewise.
28248 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28249 (FE_UNDERFLOW): Likewise.
28250 (FE_OVERFLOW): Likewise.
28251 (FE_DIVBYZERO): Likewise.
28252 (FE_INVALID): Likewise.
28253 (FE_TONEAREST): Likewise.
28254 (FE_TOWARDZERO): Likewise.
28255 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28256 (FE_OVERFLOW): Likewise.
28257 (FE_UNDERFLOW): Likewise.
28258 (FE_DIVBYZERO): Likewise.
28259 (FE_INEXACT): Likewise.
28260 (FE_TONEAREST): Likewise.
28261 (FE_TOWARDZERO): Likewise.
28262 (FE_UPWARD): Likewise.
28263 (FE_DOWNWARD): Likewise.
28264 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28265 (FE_DIVBYZERO): Likewise.
28266 (FE_OVERFLOW): Likewise.
28267 (FE_UNDERFLOW): Likewise.
28268 (FE_INEXACT): Likewise.
28269 (FE_TONEAREST): Likewise.
28270 (FE_DOWNWARD): Likewise.
28271 (FE_UPWARD): Likewise.
28272 (FE_TOWARDZERO): Likewise.
28274 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28276 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28278 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28280 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28281 commands. Quote $PWD.
28282 (blacklist_exports): Don't use remove_newlines. Replace "declare
28284 (remove_newlines): Remove.
28286 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28288 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28289 * stdlib/stdlib.h (atof): Moved to ...
28290 * include/bits/stdlib-float.h: Here. New file.
28291 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28292 * stdlib/bits/stdlib-float.h: New file.
28293 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28298 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28300 * conform/conformtest.pl (@headers): Add fenv.h.
28301 * conform/data/fenv.h-data: New file.
28302 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28303 include of <math/fenv.h>.
28305 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28306 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28307 && !UNIX98]. Enables tests for XOPEN2K8.
28308 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28309 POSIX2008]: Likewise.
28311 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28312 (struct rusage): Do not expect type or its members.
28315 * math/math.h (FP_NAN): Define macro to integer constant usable in
28316 #if and use that to give value to enum constant.
28317 (FP_INFINITE): Likewise.
28318 (FP_ZERO): Likewise.
28319 (FP_SUBNORMAL): Likewise.
28320 (FP_NORMAL): Likewise.
28322 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28324 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28325 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28328 2012-11-02 Roland McGrath <roland@hack.frob.com>
28330 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28331 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28332 autoconf-time if not.
28333 * configure.in: Remove AC_PREREQ.
28335 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28337 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28338 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28339 of the internal implementation.
28341 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28343 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28344 except include of <misc/sys/syslog.h>.
28346 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28349 function returns with a NULL context exit with zero.
28351 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28353 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28355 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28357 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28358 (run_program_cmd): This.
28359 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28360 (tst_langinfo): New variable. Use it.
28362 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28364 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28365 floating point opcodes.
28367 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28369 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28372 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28374 * sysdeps/mach/hurd/powerpc: Remove directory.
28375 * sysdeps/mach/powerpc: Likewise.
28377 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28379 * scripts/check-local-headers.sh: Ignore c++ headers.
28381 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28383 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28384 __libc_cleanup_region_start argument.
28386 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28391 x * y using scaling, not as x * y + z.
28392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28394 * math/libm-test.inc (fma_test): Add more tests.
28395 (fma_test_towardzero): Likewise.
28396 (fma_test_downward): Likewise.
28397 (fma_test_upward): Likewise.
28399 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28401 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28403 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28405 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28408 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28410 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28412 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28419 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28422 Fix the order of the list for glibc 2.17.
28423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28426 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28430 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28433 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28434 for low part of x being zero before using __atanl (y).
28435 * math/libm-test.inc (atan2_test): Add another test.
28437 * manual/install.texi (Configuring and compiling): Document
28438 general use of test-wrapper and test-wrapper-env.
28439 * INSTALL: Regenerated.
28441 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28442 (__fma): Do not extract and scale down low bits on after-rounding
28443 systems when result rounded to normal precision would have normal
28445 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28446 (__fmal): Do not extract and scale down low bits on after-rounding
28447 systems when result rounded to normal precision would have normal
28449 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28450 (__fmal): Do not extract and scale down low bits on after-rounding
28451 systems when result rounded to normal precision would have normal
28453 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28455 (fma_test): Add more tests.
28456 (fma_test_towardzero): Likewise.
28457 (fma_test_downward): Likewise.
28458 (fma_test_upward): Likewise.
28460 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28462 * sysdeps/i386/tininess.h: Renamed to ...
28463 * sysdeps/x86/tininess.h: This.
28464 * sysdeps/x86_64/tininess.h: Removed.
28466 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28468 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28469 input. Use $(build-program-cmd).
28470 ($(objpfx)tst-array1-static.out): Likewise.
28471 ($(objpfx)tst-array2.out): Likewise.
28472 ($(objpfx)tst-array3.out): Likewise.
28473 ($(objpfx)tst-array4.out): Likewise.
28474 ($(objpfx)tst-array5.out): Likewise.
28475 ($(objpfx)tst-array5-static.out): Likewise.
28477 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28479 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28482 * nss/nsswitch.h (nss_interface_function): Provide new
28483 macro for use with NSS functions.
28484 * grp/initgroups.c: Use new macro.
28485 * nss/getXXbyYY.c: Likewise.
28486 * nss/getXXbyYY_r.c: Likewise.
28487 * nss/getXXent.c: Likewise.
28488 * nss/getXXent_r.c: Likewise.
28489 * sysdeps/posix/getaddrinfo.c: Likewise.
28491 2012-10-30 Andreas Jaeger <aj@suse.de>
28493 * po/ru.po: Update Russion translation from translation project.
28495 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28500 result and shift together with sticky bit instead of replicating
28501 round-to-nearest rounding.
28502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28504 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28505 missing underflow exceptions.
28506 (fma_test_towardzero): Add more tests.
28507 (fma_test_downward): Likewise.
28508 (fma_test_upward): Likewise.
28511 * sysdeps/generic/tininess.h: New file.
28512 * sysdeps/i386/tininess.h: Likewise.
28513 * sysdeps/sh/tininess.h: Likewise.
28514 * sysdeps/x86_64/tininess.h: Likewise.
28515 * stdlib/tst-strtod-underflow.c: Likewise.
28516 * stdlib/tst-tininess.c: Likewise.
28517 * stdlib/strtod_l.c: Include <tininess.h>.
28518 (round_and_return): Do not set errno for exact underflow cases.
28519 Force an underflow exception when setting errno for underflow.
28520 Determine underflow based on rounding to normal precision if
28521 TININESS_AFTER_ROUNDING.
28522 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28523 ERANGE for exact underflow cases.
28524 * stdlib/Makefile (tests): Add tst-tininess and
28525 tst-strtod-underflow.
28526 ($(objpfx)tst-tininess): Use $(link-libm).
28527 ($(objpfx)tst-strtod-underflow): Likewise.
28529 2012-10-30 Andreas Jaeger <aj@suse.de>
28532 * elf/Makefile (tests): Remove conditional for have-initfini-array
28533 since this is now always required and the variable does not exist
28535 (tests-static): Likewise.
28536 (modules-names): Likewise.
28538 * po/eo.po: Add Esperanto translation from translation project.
28540 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28541 merged with constructor/destructor.
28542 (init_array): Likewise.
28543 * elf/tst-array2dep.c (fini_array): Likewise.
28544 (init_array): Likewise.
28546 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28548 * manual/message.texi: Delete @cartouche tags.
28550 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28552 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28554 * sysdeps/mach/hurd/fsync.c: Likewise.
28556 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28557 [_POSIX_REALTIME_SIGNALS]: Change condition to
28558 [_POSIX_REALTIME_SIGNALS > 0].
28560 2012-10-27 Andreas Jaeger <aj@suse.de>
28562 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28563 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28565 [__WORDSIZE != 64]: Likewise.
28567 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28569 * iconvdata/tst-table.sh: Remove ${SHELL}.
28570 * iconvdata/tst-tables.sh: Likewise.
28572 2012-10-25 David S. Miller <davem@davemloft.net>
28574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28575 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28580 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28581 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28582 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28585 2012-10-25 Roland McGrath <roland@hack.frob.com>
28587 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28588 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28591 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28592 Jim Blandy <jimb@codesourcery.com>
28594 * scripts/cross-test-ssh.sh: New file.
28595 * manual/install.texi (Configuring and compiling): Document use of
28597 * INSTALL: Regenerated.
28599 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28601 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28604 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28606 * Makeconfig (run-program-prefix): Fix comment.
28608 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28609 Jim Blandy <jimb@codesourcery.com>
28611 * Makeconfig (test-wrapper): New variable,
28612 (test-wrapper-env): Likewise.
28613 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28614 (run-built-tests): Define to yes.
28615 (run-program-prefix): Use $(test-wrapper).
28616 (built-program-cmd): Likewise.
28617 * Rules (make-test-out): Use $(test-wrapper-env) and
28618 $(host-built-program-cmd).
28619 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28620 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28622 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28623 $(test-wrapper-env) to tst-rtld-load-self.sh.
28624 ($(objpfx)order2.out): Use $(test-wrapper).
28625 ($(objpfx)tst-initorder.out): Likewise.
28626 ($(objpfx)tst-initorder2.out): Likewise.
28627 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28628 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28629 (test_wrapper_env): New variable. Use it to run ld.so.
28630 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28631 Use it to run ld.so.
28632 (test_wrapper_env): Likewise.
28633 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28634 $(test-wrapper) to run-iconv-test.sh.
28635 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28636 (ICONV): Use $test_wrapper.
28637 * posix/Makefile ($(objpfx)globtest.out): Pass
28638 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28639 globtest.sh, not $(run-program-prefix).
28640 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28641 (test_wrapper): Likewise.
28642 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28643 set together with run_via_rtld_prefix.
28644 (run_program_prefix): Define in terms of test_wrapper and
28645 run_via_rtld_prefix.
28647 2012-10-24 Roland McGrath <roland@hack.frob.com>
28649 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28650 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28654 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28655 Declare __clock_getres, __clock_gettime, __clock_settime,
28656 __clock_nanosleep, and __clock_getcpuclockid.
28657 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28658 Remove librt_hidden_def (clock_gettime).
28659 * sysdeps/unix/clock_gettime.c: Likewise.
28660 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28661 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28662 * rt/clock_getres.c: Define __clock_getres as an alias.
28663 * sysdeps/posix/clock_getres.c: Likewise.
28664 * rt/clock_settime.c: Define __clock_settime as an alias.
28665 * sysdeps/unix/clock_settime.c: Likewise.
28666 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28667 * sysdeps/unix/clock_nanosleep.c: Likewise.
28668 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28669 * rt/clock-compat.c: New file.
28670 * rt/Makefile (librt-routines): Add clock-compat and move
28671 $(clock-routines) to ...
28672 (routines): ... here, new variable.
28673 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28674 Don't add get_clockfreq here.
28675 * rt/Versions (libc: GLIBC_2.17): New version set.
28676 Add clock_* symbols here.
28677 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28678 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28679 (GLIBC_2.17): Add clock_* symbols.
28680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28682 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28691 * NEWS: Mention the move.
28693 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28694 Use __open, __read, __close rather than their public counterparts.
28695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28696 (__get_clockfreq_via_cpuinfo): Likewise.
28697 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28698 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28700 * config.h.in (HAVE_IFUNC): New #undef.
28701 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28703 * configure: Regenerated.
28705 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28707 * configure.in: Move READELF check to start of file.
28708 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28709 libc_cv_asm_gnu_indirect_function in the process.
28710 * configure: Regenerated.
28712 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28714 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28715 send the output to /dev/null.
28716 (libc_cv_cc_with_libunwind): Likewise.
28717 (libc_cv_as_noexecstack): Likewise.
28718 * configure: Regenerate.
28720 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28722 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28724 * posix/globtest.sh (TMPDIR): Do not set.
28725 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28726 (testout): Likewise.
28728 2012-10-24 Andreas Jaeger <aj@suse.de>
28730 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28731 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28732 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28733 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28734 posix_fadvise64, posix_fallocate64.
28736 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28737 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28738 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28740 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28742 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28745 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28746 <bits/fcntl-linux.h>.
28747 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28750 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28751 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28752 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28753 [__WORDSIZE != 64]: Likewise.
28755 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28757 * Makeconfig (run-built-tests): New variable.
28758 * Rules [$(cross-compiling) = yes]: Change condition to
28759 [$(run-built-tests) = no].
28760 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28761 to [$(run-built-tests) = yes].
28762 * elf/Makefile [$(cross-compiling) = no]: Likewise
28763 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28764 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28765 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28766 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28767 * io/Makefile [$(cross-compiling) = no]: Likewise.
28768 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28769 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28770 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28771 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28772 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28773 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28774 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28775 * string/Makefile [$(cross-compiling) = no]: Likewise.
28777 * posix/Makefile ($(objpfx)globtest.out): Pass
28778 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28779 $(rtld-installed-name).
28780 * posix/globtest.sh (elf_objpfx): Remove variable.
28781 (rtld_installed_name): Likewise.
28782 (library_path): Likewise.
28783 (run_program_prefix): New variable. Use for running globtest
28786 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28787 Joseph Myers <joseph@codesourcery.com>
28789 * Makeconfig (host-built-program-cmd): New variable.
28790 * elf/Makefile (tst-stackguard1-ARGS): Use
28791 $(host-built-program-cmd).
28792 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28793 (tst-spawn-ARGS): Likewise.
28794 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28796 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28797 Jim Blandy <jimb@codesourcery.com>
28799 * Makeconfig (run-via-rtld-prefix): New variable.
28800 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28801 (built-program-cmd): Likewise.
28803 2012-10-22 Andreas Jaeger <aj@suse.de>
28805 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28806 __O_RSYNC if it exists, otherwise to O_SYNC.
28808 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28809 Joseph Myers <joseph@codesourcery.com>
28811 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28813 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28815 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28818 2012-10-22 Andreas Jaeger <aj@suse.de>
28820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28822 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28825 bits/fcntl-linux.h.
28827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28828 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28835 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28836 Joseph Myers <joseph@codesourcery.com>
28838 * config.make.in (NM): New variable.
28840 2012-10-21 Andreas Jaeger <aj@suse.de>
28842 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28843 definitions and declarations that are provided by
28844 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28846 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28849 * elf/Makefile (tests-static): Add tst-leaks1-static.
28850 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28851 ($(objpfx)tst-leaks1-static): New rule.
28852 ($(objpfx)tst-leaks1-static-mem): Likewise.
28853 (tst-leaks1-static-ENV): New macro.
28854 * elf/dl-open.c (dl_open_worker): Check the main application
28855 only if SHARED is defined.
28856 * elf/tst-leaks1-static.c: New file.
28858 2012-10-20 Andreas Jaeger <aj@suse.de>
28860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28861 generic values for Linux.
28862 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28863 and declarations that are provided by <bits/fcntl-linux.h> and
28864 include <bits/fcntl-linux.h>.
28865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28868 2012-10-20 Roland McGrath <roland@hack.frob.com>
28870 * io/fcntl.h: Move include of <bits/types.h> to the top and
28871 include it unconditionally.
28873 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28875 * wcsmbs/Makefile (tests-ifunc): New variable.
28876 (tests): Add $(tests-ifunc).
28877 * wcsmbs/test-wcschr-ifunc.c: New file.
28878 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28879 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28880 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28881 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28882 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28884 * string/Makefile (tests-ifunc): New variable.
28885 (tests): Add $(tests-ifunc).
28886 * string/test-memccpy.c (TEST_NAME): New macro.
28887 * string/test-memchr.c (TEST_NAME): Likewise.
28888 * string/test-memcmp.c (TEST_NAME): Likewise.
28889 * string/test-memcpy.c (TEST_NAME): Likewise.
28890 * string/test-memmem.c (TEST_NAME): Likewise.
28891 * string/test-memmove.c (TEST_NAME): Likewise.
28892 * string/test-memset.c (TEST_NAME): Likewise.
28893 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28894 * string/test-stpcpy.c (TEST_NAME): Likewise.
28895 * string/test-stpncpy.c (TEST_NAME): Likewise.
28896 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28897 * string/test-strcasestr.c (TEST_NAME): Likewise.
28898 * string/test-strcat.c (TEST_NAME): Likewise.
28899 * string/test-strchr.c (TEST_NAME): Likewise.
28900 * string/test-strcmp.c(TEST_NAME): Likewise.
28901 * string/test-strcpy.c (TEST_NAME): Likewise.
28902 * string/test-strcspn.c (TEST_NAME): Likewise.
28903 * string/test-strlen.c (TEST_NAME): Likewise.
28904 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28905 * string/test-strncmp.c (TEST_NAME): Likewise.
28906 * string/test-strncpy.c (TEST_NAME): Likewise.
28907 * string/test-strnlen.c (TEST_NAME): Likewise.
28908 * string/test-strpbrk.c (TEST_NAME): Likewise.
28909 * string/test-strrchr.c (TEST_NAME): Likewise.
28910 * string/test-strspn.c (TEST_NAME): Likewise.
28911 * string/test-strstr.c (TEST_NAME): Likewise.
28912 * string/test-bcopy-ifunc.c: New file.
28913 * string/test-bzero-ifunc.c: Likewise.
28914 * string/test-memccpy-ifunc.c: Likewise.
28915 * string/test-memchr-ifunc.c: Likewise.
28916 * string/test-memcmp-ifunc.c: Likewise.
28917 * string/test-memcpy-ifunc.c: Likewise.
28918 * string/test-memmem-ifunc.c: Likewise.
28919 * string/test-memmove-ifunc.c: Likewise.
28920 * string/test-mempcpy-ifunc.c: Likewise.
28921 * string/test-memset-ifunc.c: Likewise.
28922 * string/test-rawmemchr-ifunc.c: Likewise.
28923 * string/test-stpcpy-ifunc.c: Likewise.
28924 * string/test-stpncpy-ifunc.c: Likewise.
28925 * string/test-strcasecmp-ifunc.c: Likewise.
28926 * string/test-strcasestr-ifunc.c: Likewise.
28927 * string/test-strcat-ifunc.c: Likewise.
28928 * string/test-strchr-ifunc.c: Likewise.
28929 * string/test-strchrnul-ifunc.c: Likewise.
28930 * string/test-strcmp-ifunc.c: Likewise.
28931 * string/test-strcpy-ifunc.c: Likewise.
28932 * string/test-strcspn-ifunc.c: Likewise.
28933 * string/test-strlen-ifunc.c: Likewise.
28934 * string/test-strncasecmp-ifunc.c: Likewise.
28935 * string/test-strncat-ifunc.c: Likewise.
28936 * string/test-strncmp-ifunc.c: Likewise.
28937 * string/test-strncpy-ifunc.c: Likewise.
28938 * string/test-strnlen-ifunc.c: Likewise.
28939 * string/test-strpbrk-ifunc.c: Likewise.
28940 * string/test-strrchr-ifunc.c: Likewise.
28941 * string/test-strspn-ifunc.c: Likewise.
28942 * string/test-strstr-ifunc.c: Likewise.
28944 * debug/Makefile (tests-ifunc): New variable.
28945 (tests): Add $(tests-ifunc).
28946 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28947 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28948 * debug/test-stpcpy_chk-ifunc.c: New file.
28949 * debug/test-strcpy_chk-ifunc.c: Likewise.
28951 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28954 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28955 header is not read in.
28957 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28959 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28960 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28961 directly. Pass built executable to script as
28962 $(built-program-cmd).
28963 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28964 $testprogram without using LD_LIBRARY_PATH and $ldso.
28966 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28967 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28968 $(rtld-installed-name).
28969 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28970 (rtld_installed_name): Likewise.
28971 (library_path): Likewise.
28972 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28973 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28974 $(run-program-prefix) to tst-tables.sh.
28975 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28976 it to run tst-table-from and tst-table-to.
28977 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28978 Pass it to tst-table.sh.
28979 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28980 $(run-program-prefix) to tst-gettext.sh.
28981 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28983 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28985 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28986 to run tst-gettext.
28987 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28988 to run tst-gettext2.
28989 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28990 to run tst-translit.
28991 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28992 $(run-program-prefix) to tst-mtrace.sh.
28993 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28995 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28996 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28997 $(rtld-installed-name).
28998 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28999 (rtld_installed_name): Likewise.
29000 (run_program_prefix): New variable. Use it to run wordexp-test.
29002 * Makeconfig (ARCH): Remove all definitions.
29003 (machine): Likewise.
29004 [ARCH]: Remove conditional code.
29005 [!objdir]: Give error.
29006 [!objdir] (objpfx): Remove.
29007 [!objdir] (common-objpfx): Likewise.
29008 [!objdir] (common-objdir): Likewise.
29009 * configure.in (config_makefile): Remove. Hardcode Makefile in
29010 AC_CONFIG_FILES call.
29011 * configure: Regenerated.
29014 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29016 (testout): Likewise.
29018 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29019 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29020 $(rtld-installed-name).
29021 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29022 (rtld_installed_name): Likwise.
29023 (runit): Remove function.
29024 (run_getconf): New variable, Use it for running getconf binary.
29026 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29029 * string/test-memmem.c (check_result): New function.
29030 (do_one_test): Use it.
29031 (check1): New function.
29032 (test_main): Use it.
29034 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29036 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29038 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29040 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29041 (_G_LSEEK64): Likewise.
29042 (_G_MMAP64): Likewise.
29043 (_G_FSTAT64): Likewise.
29044 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29045 (_G_LSEEK64): Likewise.
29046 (_G_MMAP64): Likewise.
29047 (_G_FSTAT64): Likewise.
29048 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29049 unconditional. Call __mmap64 directly.
29050 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29051 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29052 __lseek64 directly.
29053 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29054 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29056 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29057 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29058 __lseek64 directly.
29059 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29060 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29061 __lseek64 directly.
29062 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29063 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29064 __lseek64 directly.
29065 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29066 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29067 __fxstat64 directly.
29068 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29069 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29071 (freopen64) [!_G_OPEN64]: Remove conditional code.
29072 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29074 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29075 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29077 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29078 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29080 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29081 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29083 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29084 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29086 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29087 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29089 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29090 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29092 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29094 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29097 * manual/memory.texi (Malloc Tunable Parameters): Add note
29098 about free list pointers overwriting some perturb bytes.
29099 Wording suggested by Roland McGrath.
29101 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29103 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29104 (lgamma_test): Likewise.
29105 (tgamma_test): Likewise.
29107 2012-10-16 Florian Weimer <fweimer@redhat.com>
29110 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29111 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29113 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29115 * NEWS: Mention BZ #14716.
29116 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29117 when removing AVAILABLE1_USES_J macro.
29119 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29121 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29122 (__bswap_64): __uint64_t for unsigned 64-bit int.
29124 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29126 * include/string.h (memmem): Declare libc hidden alias.
29127 * string/memmem.c (memmem): Define libc hidden alias.
29128 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29129 __read, __close instead of open, read, close.
29131 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29133 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29134 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29136 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29137 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29138 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29140 (__rawmemchr_sse2): Likewise.
29141 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29142 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29143 (__strchr_sse2): Likewise.
29144 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29145 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29146 (__strcasecmp_sse2): Likewise.
29147 (__strncasecmp_sse2): Likewise.
29148 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29149 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29150 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29151 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29152 (__strrchr_sse2): Likewise.
29153 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29155 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29156 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29157 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29158 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29159 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29160 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29161 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29162 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29163 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29164 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29165 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29166 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29167 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29168 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29169 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29170 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29171 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29172 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29173 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29174 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29175 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29176 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29177 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29178 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29179 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29180 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29181 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29182 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29183 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29184 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29186 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29188 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29189 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29190 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29191 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29193 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29195 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29196 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29197 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29198 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29200 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29201 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29202 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29203 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29204 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29205 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29206 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29207 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29208 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29209 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29210 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29211 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29212 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29213 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29214 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29215 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29216 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29217 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29218 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29219 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29220 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29221 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29222 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29223 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29224 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29225 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29226 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29227 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29228 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29229 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29230 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29231 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29232 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29233 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29234 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29235 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29236 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29237 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29238 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29239 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29240 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29242 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29243 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29244 * include/ifunc-impl-list.h: New file.
29245 * misc/ifunc-impl-list.c: Likewise.
29246 * misc/Makefile (routines): Add ifunc-impl-list.
29247 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29248 * string/test-string.h: Include <ifunc-impl-list.h>.
29249 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29250 TEST_NAME]: New variables.
29251 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29253 (test_init): Call __libc_ifunc_impl_list to initialize
29254 func_list if TEST_IFUNC and TEST_NAME are defined.
29256 * string/Makefile (strop-tests): Add bcopy and bzero.
29257 * string/test-bcopy.c: New file.
29258 * string/test-bzero.c: Likewise.
29259 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29261 * string/test-memset.c: Support bzero test if TEST_BZERO is
29263 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29265 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29267 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29270 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29272 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29273 * configure: Regenerated.
29275 * Makeconfig (+link-static-before-libc): Don't include
29276 $(link-static-libc).
29278 * libio/libio.h (_IO_pos_t): Remove.
29280 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29282 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29285 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29287 * crypt/crypt-entry.c: Include fips-private.h.
29288 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29289 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29290 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29291 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29293 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29295 * crypt/crypt-private.h: Include stdbool.h.
29296 (_ufc_setup_salt_r): Return bool.
29297 * crypt/crypt-entry.c: Include errno.h.
29298 (__crypt_r): Return NULL with EINVAL for bad salt.
29299 * crypt/crypt_util.c (bad_for_salt): New.
29300 (_ufc_setup_salt_r): Check that salt is long enough and within
29301 the specified alphabet.
29302 * crypt/badsalttest.c: New file.
29303 * crypt/Makefile (tests): Add it.
29304 ($(objpfx)badsalttest): New.
29306 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29308 * NEWS: Add entry for BZ #14602.
29310 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29312 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29314 * math/libm-test.inc: Update comment listing what functions and
29316 (isgreater_test): New function.
29317 (isgreaterequal_test): Likewise.
29318 (isless_test): Likewise.
29319 (islessequal_test): Likewise.
29320 (islessgreater_test): Likewise.
29321 (isunordered_test): Likewise.
29322 (main): Call the new functions.
29324 2012-10-09 Roland McGrath <roland@hack.frob.com>
29326 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29327 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29328 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29329 * sysdeps/i386/configure: Regenerated.
29330 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29331 * sysdeps/mach/configure: Regenerated.
29332 * sysdeps/mach/hurd/configure: Regenerated.
29333 * sysdeps/powerpc/configure: Regenerated.
29334 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29335 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29336 * sysdeps/s390/s390-32/configure: Regenerated.
29337 * sysdeps/s390/s390-64/configure: Regenerated.
29338 * sysdeps/sh/configure: Regenerated.
29339 * sysdeps/sparc/configure: Regenerated.
29340 * sysdeps/unix/sysv/linux/configure: Regenerated.
29341 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29342 * sysdeps/x86_64/configure: Regenerated.
29344 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29345 defined. Don't check if MAP is NULL.
29347 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29349 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29350 (_G_stat64): Likewise.
29351 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29352 (_G_stat64): Likewise.
29353 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29354 instead of struct _G_stat64.
29355 * libio/fileops.c (mmap_remap_check): Likewise.
29356 (decide_maybe_mmap): Likewise.
29357 (_IO_new_file_seekoff): Likewise.
29358 (_IO_file_stat): Likewise.
29359 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29361 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29362 instead of struct _G_stat64.
29363 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29365 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29368 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29370 (CHECK_EOL): New macro.
29371 (two_way_short_needle): Check beginning of haystack for EOL. Use
29373 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29374 Replace with CHECK_EOL.
29375 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29376 Replace with CHECK_EOL.
29378 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29380 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29382 * math/libm-test.inc: Update comment listing what functions and
29384 (finite_test): New function.
29385 (isinf_test): Likewise.
29386 (isnan_test): Likewise.
29387 (fpclassify_test): Test subnormal input.
29388 (isfinite_test): Likewise.
29389 (isnormal_test): Likewise.
29390 (main): Call the new functions.
29392 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29395 * Makerules (%.dynsym): Force C locale when running
29396 $(OBJDUMP) --dynamic-syms.
29398 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29400 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29403 2012-10-06 David S. Miller <davem@davemloft.net>
29405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29406 upper 32-bits of the length value in %o2 since we use branch-on-register
29407 tests which consider the entire 64-bit register.
29409 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29411 * string/test-strstr.c (check2): Add a test for page boundary.
29413 2012-10-05 David S. Miller <davem@davemloft.net>
29415 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29416 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29418 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29420 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29421 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29422 and bzero when HWCAP_SPARC_CRYPTO is present.
29424 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29427 * string/test-strstr.c (check2): New function.
29428 (test_main): Call check2.
29430 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29432 * string/bug-strcasestr1.c (do_test): Moved to ...
29433 * string/test-strcasestr.c (check1): Here. New function.
29434 (do_one_test): Break out result checking code into ...
29435 (check_result): This. New function.
29436 (do_one_test): Call check_result.
29437 (test_main): Call check1.
29438 * string/bug-strchr1.c (do_test): Moved to ...
29439 * string/test-strchr.c (check1): Here. New function.
29440 (do_one_test): Break out result checking code into ...
29441 (check_result): This. New function.
29442 (do_one_test): Call check_result.
29443 (test_main): Call check1.
29444 * string/bug-strstr1.c (main): Moved to ...
29445 * string/test-strstr.c (check1): Here. New function.
29446 (do_one_test): Break out result checking code into ...
29447 (check_result): This. New function.
29448 (do_one_test): Call check_result.
29449 (test_main): Call check1.
29450 * string/bug-strcasestr1.c: Removed.
29451 * string/bug-strchr1.c: Likewise.
29452 * string/bug-strstr1.c: Likewise.
29454 * elf/Makefile (dl-routines): Add hwcaps.
29455 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29456 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29457 (_dl_important_hwcaps): Moved to ...
29458 * elf/dl-hwcaps.c: Here. New file.
29459 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29462 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29463 if IS_IN_rtld isn't defined.
29465 * elf/dl-support.c (_dl_sysinfo_map): New.
29466 Include "get-dynamic-info.h" and "setup-vdso.h".
29467 (_dl_non_dynamic_init): Call setup_vdso.
29468 * elf/dynamic-link.h: Don't include <assert.h>.
29469 (elf_get_dynamic_info): Moved to ...
29470 * elf/get-dynamic-info.h: Here. New file.
29471 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29472 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29473 * elf/setup-vdso.h: Here. New file.
29474 * elf/rtld.c: Include "setup-vdso.h".
29475 (dl_main): Call setup_vdso.
29477 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29479 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29480 creal in comment listing functions tested. List finite, isinf,
29481 isnan, isless, islessequal, isgreater, isgreaterequal,
29482 islessgreater, isunordered, lgamma_r and pow10 as functions and
29483 macros not tested. Mention which functions not tested are aliases
29484 for other functions. Fix typo. Note that signs of NaNs are not
29487 * scripts/config.guess: Update from config.git.
29488 * scripts/config.sub: Likewise.
29490 2012-10-04 Roland McGrath <roland@hack.frob.com>
29492 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29493 * misc/madvise.c (madvise): Renamed to __madvise.
29494 Make madvise a weak alias.
29495 * include/sys/mman.h: Declare __madvise.
29496 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29497 * sysdeps/unix/syscalls.list
29498 (madvise): Make __madvise the strong name, and madvise a weak alias.
29499 * sysdeps/unix/sysv/linux/syscalls.list
29500 (madvise, mmap): Remove redundant entries.
29501 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29502 * malloc/malloc.c (mtrim): Likewise.
29503 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29505 2012-10-03 Roland McGrath <roland@hack.frob.com>
29507 * sysdeps/mach/hurd/dl-cache.c: File removed.
29508 * config.h.in (USE_LDCONFIG): New #undef.
29509 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29510 * configure: Regenerated.
29511 * elf/Makefile (dl-routines): Add dl-cache only under
29512 [$(use-ldconfig) = yes].
29513 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29514 cache on [USE_LDCONFIG].
29515 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29517 * elf/rtld.c (dl_main): Likewise.
29519 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29521 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29522 _SC_LEVEL4_CACHE_LINESIZE.
29524 2012-10-03 Roland McGrath <roland@hack.frob.com>
29526 * sysdeps/unix/bsd/confstr.h: File removed.
29528 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29530 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29533 2012-10-02 Roland McGrath <roland@hack.frob.com>
29535 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29536 Make 'mapoff' field ElfW(Off) rather than off_t.
29538 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29540 * nscd/Makefile: Remove nscd-cflags and all its users.
29541 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29542 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29545 * malloc.c (malloc_printerr): Clarify error message.
29547 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29551 Set bit_FMA_Usable if FMA is supported.
29552 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29554 (bit_FMA4_Usable): Updated.
29555 (index_FMA_Usable): New macro.
29556 (CPUID_FMA): Likewise
29557 (HAS_FMA): Defined with bit_FMA_Usable.
29559 2012-10-01 Roland McGrath <roland@hack.frob.com>
29561 * bits/types.h (__swblk_t): Type removed.
29562 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29563 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29564 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29565 (__SWBLK_T_TYPE): Likewise.
29566 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29567 (__SWBLK_T_TYPE): Likewise.
29568 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29569 (__SWBLK_T_TYPE): Likewise.
29570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29571 (__SWBLK_T_TYPE): Likewise.
29573 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29574 Honza Horak <hhorak@redhat.com>
29576 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29577 (xdr_mapname): Use YPMAXMAP as maxsize.
29578 (xdr_peername): Use YPMAXPEER as maxsize.
29579 (xdr_keydat): Use YPAXRECORD as maxsize.
29580 (xdr_valdat): Use YPMAXRECORD as maxsize.
29582 2012-10-01 Roland McGrath <roland@hack.frob.com>
29584 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29586 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29587 * csu/init-first.c: ... here.
29588 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29589 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29590 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29591 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29592 * sysdeps/i386/init-first.c: File removed.
29593 * sysdeps/sh/init-first.c: File removed.
29595 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29599 if x * y might underflow to zero and z is zero.
29600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29601 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29602 * math/libm-test.inc (min_subnorm_value): New variable.
29603 (fma_test): Add more tests.
29604 (fma_test_towardzero): Likewise.
29605 (fma_test_downward): Likewise
29606 (fma_test_upward): Likewise.
29607 (initialize): Set min_subnorm_value.
29609 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29614 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29615 mode for addition resulting in exact zero.
29616 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29619 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29620 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29621 * math/libm-test.inc (fma_test): Add more tests.
29622 (fma_test_towardzero): New function.
29623 (fma_test_downward): Likewise.
29624 (fma_test_upward): Likewise.
29625 (main): Call the new functions.
29627 2012-09-28 David S. Miller <davem@davemloft.net>
29629 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29631 2012-09-28 Roland McGrath <roland@hack.frob.com>
29633 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29634 instead of SIGALRM.
29636 * sysdeps/gnu/_G_config.h: Moved to ...
29637 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29638 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29639 * sysdeps/generic/_G_config.h: ... here.
29641 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29643 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29645 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29646 Conditionalize target on [libnss_test1.so-version].
29648 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29650 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29651 (elfobjdir): Move out of conditionals.
29653 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29654 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29655 (__nss_lookup_function): Conditionalize label remove_from_tree on
29656 [!DO_STATIC_NSS || SHARED], matching its only use.
29658 2012-09-28 David S. Miller <davem@davemloft.net>
29660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29661 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29663 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29665 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29667 when HWCAP_SPARC_CRYPTO is present.
29669 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29671 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29673 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29676 * stdio-common/vfprintf.c (process_string_arg): Revert
29679 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29681 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29683 * stdio-common/tst-sprintf.c: Include <locale.h>
29684 (main): Test sprintf's handling of incomplete multibyte
29687 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29689 * elf/dl-runtime.c (VERSYMIDX): Removed.
29690 * elf/dl-version.c (VERSYMIDX): Likewise.
29691 * elf/do-rel.h (VERSYMIDX): Likewise.
29692 (VALIDX): Likewise.
29693 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29694 * elf/rtld.c (VALIDX): Likewise.
29695 (ADDRIDX): Likewise.
29696 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29697 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29698 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29699 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29700 (VALIDX): Likewise.
29701 (ADDRIDX): Likewise.
29703 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29705 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29707 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29710 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29712 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29713 addresses are in the same scope as 192.0.2/24.
29714 * posix/gai.conf: Document new scope table defaults.
29716 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29719 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29720 for ftell. Compute offsets from write pointers instead.
29721 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29723 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29726 * libio/Makefile (tests): New test case tst-fseek.
29727 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29728 combination works in wide mode.
29729 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29730 state when the external buffer state changes.
29732 2012-09-27 David S. Miller <davem@davemloft.net>
29735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29736 pass reloc->r_addend in as the 'high' argument to
29737 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29741 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29743 * rt/tst-aio2.c: Include <pthread.h>.
29744 * rt/tst-aio3.c: Likewise.
29746 2012-09-27 Steve Ellcey <sellcey@mips.com>
29748 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29750 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29752 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29753 contents on [SHARED].
29755 2012-09-26 Marek Polacek <polacek@redhat.com>
29759 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29760 for C++ and GCC <4.3 as well as for non GCC compilers.
29762 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29766 2012-09-25 Roland McGrath <roland@hack.frob.com>
29768 * Makefile.in (all, install): Declare with .PHONY.
29769 Reported by Michael Hope <michael.hope@linaro.org>.
29771 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29773 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29774 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29776 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29778 (sydep_routines): Add the new and the internal functions.
29779 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29780 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29782 (GLIBC_2.17): Add the new function.
29783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29784 (GLIBC_2.17): Likewise.
29785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29786 (GLIBC_2.17): Likewise.
29787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29788 (GLIBC_2.17): Likewise.
29789 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29791 2012-09-25 Alan Modra <amodra@gmail.com>
29793 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29794 Add release barrier before setting once_control to say
29795 initialisation is done. Add hints on lwarx. Use macro in
29797 (clear_once_control): Add release barrier.
29799 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29802 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29804 * math/s_clog10.c (__clog10): Likewise.
29805 * math/s_clog10f.c (__clog10f): Likewise.
29806 * math/s_clog10l.c (__clog10l): Likewise.
29807 * math/s_clogf.c (__clogf): Likewise.
29808 * math/s_clogl.c (__clogl): Likewise.
29809 * math/Makefile (libm-calls): Add x2y2m1.
29810 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29811 (__x2y2m1): Likewise.
29812 (__x2y2m1l): Likewise.
29813 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29814 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29815 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29816 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29817 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29818 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29819 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29820 * sysdeps/i386/fpu/libm-test-ulps: Update.
29821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29824 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29825 int as type of variable DEPTH.
29826 (glob): Use size_t instead of int as type of variables NEWCOUNT
29829 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29831 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29832 Add s_sincosf-sse2.
29833 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29834 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29835 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29836 macros for using routine as __sincosf_ia32.
29837 Use macro for function declaration and weak_alias.
29838 * sysdeps/i386/fpu/libm-test-ulps: Update.
29840 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29843 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29844 subnormal argument.
29845 * math/s_cexpf.c (__cexpf): Likewise.
29846 * math/s_csinf.c (__csinf): Likewise.
29847 * math/s_csinhf.c (__csinhf): Likewise.
29848 * math/s_ctanf.c (__ctanf): Likewise.
29849 * math/s_ctanhf.c (__ctanhf): Likewise.
29850 * math/s_ccosh.c (__ccoshf): Likewise.
29851 * math/s_cexp.c (__cexpl): Likewise.
29852 * math/s_csin.c (__csin): Likewise.
29853 * math/s_csinh.c (__csinh): Likewise.
29854 * math/s_ctan.c (__ctan): Likewise.
29855 * math/s_ctanh.c (ctanh): Likewise.
29856 * math/s_ccoshl.c (__ccoshl): Likewise.
29857 * math/s_cexpl.c (__cexpl): Likewise.
29858 * math/s_csinl.c (__csinl): Likewise.
29859 * math/s_csinhl.c (__csinhl): Likewise.
29860 * math/s_ctanl.c (__ctanl): Likewise.
29861 * math/s_ctanhl.c (__ctanhl): Likewise.
29863 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29865 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29866 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29867 (_IO_off_t): Define to __off_t, not _G_off_t.
29868 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29869 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29870 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29871 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29872 type of __dummy and __dummy2 fields.
29873 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29874 (_G_ssize_t): Likewise.
29875 (_G_off_t): Likewise.
29876 (_G_pid_t): Likewise.
29877 (_G_uid_t): Likewise.
29878 (_G_wchar_t): Likewise.
29879 (_G_wint_t): Likewise.
29880 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29881 (_G_ssize_t): Likewise.
29882 (_G_off_t): Likewise.
29883 (_G_pid_t): Likewise.
29884 (_G_uid_t): Likewise.
29885 (_G_wchar_t): Likewise.
29886 (_G_wint_t): Likewise.
29887 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29888 (_G_ssize_t): Likewise.
29889 (_G_off_t): Likewise.
29890 (_G_pid_t): Likewise.
29891 (_G_uid_t): Likewise.
29892 (_G_wchar_t): Likewise.
29893 (_G_wint_t): Likewise.
29895 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29897 * malloc/arena.c: Include malloc-sysdep.h.
29898 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29899 is sufficient to shrink the heap or an unmap is needed.
29900 * sysdeps/generic/malloc-sysdep.h: New file. Define
29901 new function check_may_shrink_heap.
29902 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29903 new function check_may_shrink_heap.
29905 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29907 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29910 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29912 * catgets/test-gencat.sh: Add "set -e".
29913 * elf/tst-pathopt.sh: Likewise.
29914 * grp/tst_fgetgrent.sh: Likewise.
29915 * iconvdata/run-iconv-test.sh: Likewise.
29916 * intl/tst-gettext.sh: Likewise.
29917 * intl/tst-gettext2.sh: Likewise.
29918 * intl/tst-gettext4.sh: Likewise.
29919 * intl/tst-gettext6.sh: Likewise.
29920 * intl/tst-translit.sh: Likewise.
29921 * io/ftwtest-sh: Likewise.
29922 * libio/test-freopen.sh: Likewise.
29923 * malloc/tst-mtrace.sh: Likewise.
29924 * posix/globtest.sh: Likewise.
29925 * posix/tst-getconf.sh: Likewise.
29926 * posix/wordexp-tst.sh: Likewise.
29927 * stdio-common/tst-printf.sh: Likewise.
29928 * stdio-common/tst-unbputc.sh: Likewise.
29929 * stdlib/tst-fmtmsg.sh: Likewise.
29930 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29931 * catgets/Makefile: Do not specify -e option when running
29932 testsuite shell scripts.
29933 * elf/Makefile: Likewise.
29934 * grp/Makefile: Likewise.
29935 * iconvdata/Makefile: Likewise.
29936 * intl/Makefile: Likewise.
29937 * io/Makefile: Likewise.
29938 * libio/Makefile: Likewise.
29939 * malloc/Makefile: Likewise.
29940 * posix/Makefile: Likewise.
29941 * stdio-common/Makefile: Likewise.
29942 * stdlib/Makefile: Likewise.
29943 * sysdeps/x86_64/Makefile: Likewise.
29945 * io/ftwtest-sh: Add copyright header.
29946 * posix/globtest.sh: Likewise.
29947 * posix/tst-getconf.sh: Likewise.
29948 * posix/wordexp-tst.sh: Likewise.
29949 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29951 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29954 * Makeconfig (+link): Defined as $(+link-static) if
29955 $(build-shared) isn't yes.
29956 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29958 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29960 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29963 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29964 new chunk size with MALLOC_ALIGN_MASK.
29966 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29969 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29971 (__printf_fphex): Determine rounding using get_rounding_mode and
29973 * stdio-common/tst-printf-round.c (struct hex_test): New
29975 (hex_tests): New variable.
29976 (test_hex_in_one_mode): New function.
29977 (do_test): Also run tests for hex float output.
29979 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29981 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29982 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29983 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29984 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29985 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29986 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29987 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29988 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29990 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29992 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29993 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29994 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29995 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29997 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30000 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30002 * elf/tst-rtld-load-self.sh: New test.
30003 * elf/Makefile: Run it.
30005 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30007 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30008 (tst-writev-ENV): Remove.
30009 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30011 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30013 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30015 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30017 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30019 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30021 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30022 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30023 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30026 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30029 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30030 * config.make.in (have-cpp-asm-debuginfo): Removed.
30031 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30032 * configure: Regenerated.
30034 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30037 * stdio-common/printf_fp.c: Include <stdbool.h> and
30039 (___printf_fp): Determine rounding using get_rounding_mode and
30041 * stdio-common/tst-printf-round.c: New file.
30042 * stdio-common/Makefile (tests): Add tst-printf-round.
30043 (link-libm): New variable.
30044 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30046 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30049 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30050 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30052 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30055 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30057 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30058 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30059 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30060 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30062 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30065 * include/rounding-mode.h: New file.
30066 * sysdeps/generic/get-rounding-mode.h: Likewise.
30067 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30068 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30069 (MAX_VALUE): New macro.
30070 (MIN_VALUE): Likewise.
30071 (overflow_value): New function.
30072 (underflow_value): Likewise.
30073 (round_and_return): Use overflow_value and underflow_value to
30074 determine return values in overflow and underflow cases. Use
30075 round_away to determine rounding depending on rounding mode.
30076 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30077 determine return values in overflow and underflow cases.
30078 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30079 (struct test_results): New structure.
30080 (struct test): Use struct test_results to store expected results
30081 for all rounding modes.
30082 (TEST): Include expected results for all rounding modes.
30083 (test_in_one_mode): New function.
30084 (do_test): Use test_in_one_mode to compute and check results.
30085 Check results for all rounding modes.
30086 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30089 2012-12-09 Allan McRae <allan@archlinux.org>
30091 * sysdeps/i386/fpu/libm-test-ulps: Update
30093 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30095 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30096 (_G_int32_t): Likewise.
30097 (_G_uint16_t): Likewise.
30098 (_G_uint32_t): Likewise.
30099 (_G_HAVE_BOOL): Likewise.
30100 (_G_HAVE_ATEXIT): Likewise.
30101 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30102 (_G_HAVE_IO_FILE_OPEN): Likewise.
30103 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30104 (_G_int32_t): Likewise.
30105 (_G_uint16_t): Likewise.
30106 (_G_uint32_t): Likewise.
30107 (_G_HAVE_BOOL): Likewise.
30108 (_G_HAVE_ATEXIT): Likewise.
30109 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30110 (_G_HAVE_IO_FILE_OPEN): Likewise.
30111 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30112 (_G_int32_t): Likewise.
30113 (_G_uint16_t): Likewise.
30114 (_G_uint32_t): Likewise.
30115 (_G_HAVE_BOOL): Likewise.
30116 (_G_HAVE_ATEXIT): Likewise.
30117 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30118 (_G_HAVE_IO_FILE_OPEN): Likewise.
30120 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30122 * csu/libc-tls.c: Update copyright years.
30124 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30126 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30127 [!_G_USING_THUNKS]: Remove conditional code.
30128 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30129 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30131 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30132 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30133 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30134 (_G_VTABLE_LABEL_PREFIX): Likewise.
30135 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30136 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30137 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30138 (_G_VTABLE_LABEL_PREFIX): Likewise.
30139 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30140 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30141 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30142 (_G_VTABLE_LABEL_PREFIX): Likewise.
30143 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30145 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30147 * libio/Makefile: Include ../Makeconfig before tests.
30148 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30149 only if $(build-shared) is yes.
30151 * iconv/gconv_db.c: Update copyright years.
30153 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30155 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30156 unwind info if defined PIC. Fix special cases description.
30157 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30159 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30161 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30163 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30165 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30167 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30170 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30171 (LDLIBS-tst-chk4): This.
30172 (LDFLAGS-tst-chk5): Renamed to ...
30173 (LDLIBS-tst-chk5): This.
30174 (LDFLAGS-tst-chk6): Renamed to ...
30175 (LDLIBS-tst-chk6): This.
30176 (LDFLAGS-tst-lfschk4): Renamed to ...
30177 (LDLIBS-tst-lfschk4): This.
30178 (LDFLAGS-tst-lfschk5): Renamed to ...
30179 (LDLIBS-tst-lfschk5): This.
30180 (LDFLAGS-tst-lfschk6): Renamed to ...
30181 (LDLIBS-tst-lfschk6): This.
30183 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30184 on $(common-objpfx)soversions.mk.
30186 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30189 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30192 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30194 * malloc/arena.c (arena_get_retry): New function that gets
30195 another arena for the caller to try its request on.
30196 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30197 current arena cannot fulfill the request.
30198 (__libc_memalign): Likewise.
30199 (__libc_memalign): Likewise.
30200 (__libc_pvalloc): Likewise.
30201 (__libc_calloc): Likewise.
30203 2012-09-05 John Tobey <john.tobey@gmail.com>
30206 * manual/arith.texi (Operations on Complex): Fix description
30207 of carg branch cut.
30209 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30212 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30216 * manual/memory.texi (Memory): Make order of menu items match
30219 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30221 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30222 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30223 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30225 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30227 * csu/libc-tls.c (static_dtv): Renamed to ...
30228 (_dl_static_dtv): This. Make it global.
30229 (_dl_initial_dtv): Removed.
30230 (__libc_setup_tls): Updated.
30231 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30232 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30235 2012-09-06 Petr Machata <pmachata@redhat.com>
30237 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30238 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30239 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30240 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30242 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30245 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30246 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30249 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30252 * Makeconfig (link-static-before-libc): Replace $(+prector)
30254 (link-static-after-libc): Replace $(+postctor) with
30256 (link-bounded): Replace $(+prector)/$(+postctor) with
30257 $(+prectorT)/$(+postctorT).
30258 (+prectorT): New macro.
30259 (+postctorT): Likewise.
30261 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30263 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30264 (round_str): Handle values above the maximum for IBM long double
30266 * stdlib/tst-strtod-round.c (tests): Regenerated.
30268 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30270 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30272 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30273 zarch_nohighgprs around the zarch optimized routines.
30274 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30275 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30276 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30279 2012-09-05 David S. Miller <davem@davemloft.net>
30281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30283 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30284 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30285 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30286 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30289 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30291 * malloc/arena.c: Fold copyright years.
30292 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30294 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30296 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30298 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30300 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30302 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30304 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30305 change internal state upon failure.
30307 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30309 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30310 * malloc/memusage.c (mmap): Likewise.
30311 (mmap64, mremap): Likewise. Adjust name in comment.
30313 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30315 * libio/fileops.c: Fix typos in comments.
30316 * libio/oldfileops.c: Likewise.
30317 * libio/wfileops.c: Likewise.
30319 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30322 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30323 (tst-malloc-usable-ENV): Set environment for test case.
30324 * malloc/hooks.c (malloc_check_get_size): New function to get
30326 * malloc/malloc.c (musable): Use malloc_check_get_size.
30327 * malloc/tst-malloc-usable.c: New test case.
30329 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30331 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30333 2012-09-05 Allan McRae <allan@archlinux.org>
30336 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30337 determine header location.
30338 * configure: Regenerated.
30340 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30342 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30344 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30345 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30347 (test): Regenerate.
30349 2012-09-04 David S. Miller <davem@davemloft.net>
30351 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30352 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30353 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30355 2012-09-04 Florian Weimer <fweimer@redhat.com>
30357 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30360 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30362 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30365 * libio/iogetdelim.c: Include <limits.h>.
30366 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30367 + len + 1 would overflow.
30369 2012-09-03 Andreas Jaeger <aj@suse.de>
30371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30372 * sysdeps/i386/fpu/libm-test-ulps: Update.
30374 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30376 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30377 Add s_sinf-sse2, s_conf-sse2.
30379 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30380 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30381 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30382 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30384 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30385 for using routine as __sinf_ia32.
30386 Use macro for function declaration and weak_alias.
30387 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30388 for using routine as __cosf_ia32.
30389 Use macro for function declaration and weak_alias.
30391 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30392 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30394 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30395 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30398 * math/libm-test.inc (cos_test): Add more test cases.
30399 (sin_test): Likewise.
30400 (sincos_test): Likewise.
30402 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30404 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30405 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30407 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30409 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30412 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30413 first element of the GOT.
30414 (elf_machine_load_address): Return the difference between
30415 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30417 2012-09-01 Allan McRae <allan@archlinux.org>
30420 * configure.in (AWK): Require gawk version 3.0 or later.
30421 * configure: Regenerated.
30423 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30425 * sysdeps/unix/sysv/linux/kernel-features.h
30426 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30427 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30428 [__NR_clock_getres]: Make code unconditional.
30429 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30430 (clock_getcpuclockid): Remove code left unreachable by removal of
30432 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30433 code unconditional.
30434 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30435 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30436 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30437 Make code unconditional.
30438 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30439 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30440 * sysdeps/unix/sysv/linux/clock_settime.c
30441 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30443 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30444 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30446 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30449 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30450 scripts/test-installation.pl.
30452 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30453 and $ld_so_version if it is set.
30455 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30458 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30459 failure if reading from procfs failed.
30460 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30462 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30464 * sysdeps/unix/sysv/linux/kernel-features.h
30465 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30466 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30467 Remove conditional code.
30468 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30469 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30470 Remove conditional code.
30471 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30472 * sysdeps/unix/sysv/linux/i386/fxstat.c
30473 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30474 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30475 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30476 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30477 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30478 * sysdeps/unix/sysv/linux/i386/lxstat.c
30479 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30480 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30481 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30482 Remove conditional code.
30483 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30484 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30485 Remove conditional code.
30486 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30487 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30488 <kernel-features.h>.
30489 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30491 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30492 Remove conditional code.
30493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30494 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30495 Remove conditional.
30497 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30500 * NEWS: Add fixed bug number.
30502 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30505 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30506 underflowing exponent in case of negative sign.
30507 * stdlib/tst-strtod-round-data: Add more tests.
30508 * stdlib/tst-strtod-round.c (tests): Regenerated.
30511 * stdlib/strtod_l.c (NDIG): Remove.
30512 (HEXNDIG): Likewise.
30513 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30514 smallest representable value.
30515 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30516 lie within an exact representation of 1/2 ulp of the result.
30517 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30519 (TENS_P9_IDX): Define unconditionally.
30520 (TENS_P9_SIZE): Likewise.
30521 (TENS_P10_IDX): Likewise.
30522 (TENS_P10_SIZE): Likewise.
30523 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30524 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30525 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30526 entries for 10^2^13 and 10^2^14.
30527 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30528 (TENS_P13_IDX): Define.
30529 (TENS_P13_SIZE): Likewise.
30530 (TENS_P14_IDX): Likewise.
30531 (TENS_P14_SIZE): Likewise.
30532 (_fpioconst_pow10): Change array size to
30533 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30535 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30536 1024]: Add entries for 10^2^13 and 10^2^14.
30537 [LAST_POW10 > _LAST_POW10]: Remove #error.
30538 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30539 (_fpioconst_pow10): Change array size to
30540 FPIOCONST_POW10_ARRAY_SIZE.
30541 * stdlib/gen-fpioconst.c: New file.
30542 * stdlib/gen-tst-strtod-round.c: Likewise.
30543 * stdlib/tst-strtod-round-data: Likewise.
30544 * stdlib/tst-strtod-round.c: Likewise.
30545 * stdlib/Makefile (tests): Add tst-strtod-round.
30548 * stdlib/strtod_l.c: Include <stdint.h>.
30549 (NDEBUG): Do not define.
30550 (round_and_return): Change EXPONENT parameter to type intmax_t.
30551 Rearrange calculations to avoid internal overflow possibilities.
30552 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30553 Rearrange calculations to avoid internal overflow possibilities.
30554 Assert that number fits inside MPNSIZE limbs.
30555 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30556 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30557 calculations and add assertions to avoid internal overflow
30558 possibilities. Add casts to avoid signed/unsigned operations.
30559 * stdlib/tst-strtod-overflow.c: New file.
30560 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30562 2012-08-25 Marek Polacek <polacek@redhat.com>
30564 * time/time.h: Fix some typos in comments.
30566 2012-08-23 Roland McGrath <roland@hack.frob.com>
30568 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30569 * posix/tst-rfc3484-2.c: Likewise.
30570 * posix/tst-rfc3484-3.c: Likewise.
30572 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30574 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30575 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30577 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30579 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30580 #include of fxstatat64.c.
30582 2012-08-22 Roland McGrath <roland@hack.frob.com>
30584 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30585 * shadow/getspent_r.c: Likewise.
30586 * shadow/getspnam.c: Likewise.
30587 * shadow/getspnam_r.c: Likewise.
30588 * gshadow/getsgent.c: Likewise.
30589 * gshadow/getsgent_r.c: Likewise.
30590 * gshadow/getsgnam.c: Likewise.
30591 * gshadow/getsgnam_r.c: Likewise.
30592 * inet/getnetbyad.c: Likewise.
30593 * inet/getnetbyad_r.c: Likewise.
30594 * inet/getnetbynm.c: Likewise.
30595 * inet/getnetbynm_r.c: Likewise.
30596 * inet/getnetent.c: Likewise.
30597 * inet/getnetent_r.c: Likewise.
30598 * inet/getproto.c: Likewise.
30599 * inet/getproto_r.c: Likewise.
30600 * inet/getprtent.c: Likewise.
30601 * inet/getprtent_r.c: Likewise.
30602 * inet/getprtname.c: Likewise.
30603 * inet/getprtname_r.c: Likewise.
30604 * inet/getrpcbyname.c: Likewise.
30605 * inet/getrpcbyname_r.c: Likewise.
30606 * inet/getrpcbynumber.c: Likewise.
30607 * inet/getrpcbynumber_r.c: Likewise.
30608 * inet/getrpcent.c: Likewise.
30609 * inet/getrpcent_r.c: Likewise.
30610 * inet/getaliasent.c: Likewise.
30611 * inet/getaliasent_r.c: Likewise.
30612 * inet/getaliasname.c: Likewise.
30613 * inet/getaliasname_r.c: Likewise.
30614 * nscd/getgrgid_r.c: Likewise.
30615 * nscd/getgrnam_r.c: Likewise.
30616 * nscd/gethstbyad_r.c: Likewise.
30617 * nscd/gethstbynm3_r.c: Likewise.
30618 * nscd/getpwnam_r.c: Likewise.
30619 * nscd/getpwuid_r.c: Likewise.
30620 * nscd/getsrvbynm_r.c: Likewise.
30621 * nscd/getsrvbypt_r.c: Likewise.
30622 * nscd/gai.c: Likewise.
30624 * configure.in (build_nscd): New substituted variable, set
30625 by --disable-build-nscd and defaults to $use_nscd.
30626 * configure: Regenerated.
30627 * config.make.in (build-nscd): New substituted variable.
30628 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30629 Change conditional to require [$(build-nscd) = yes] as well.
30630 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30633 * configure.in (use_nscd): New substituted variable, set by
30634 --disable-nscd. If enabled, define USE_NSCD.
30635 * configure: Regenerated.
30636 * config.h.in: Add USE_NSCD.
30637 * config.make.in (use-nscd): New substituted variable.
30638 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30639 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30640 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30641 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30642 (CFLAGS-getgrnam_r.c): Likewise.
30643 (CFLAGS-initgroups.c): Likewise.
30644 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30645 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30647 * inet/getnetgrent_r.c
30648 (nscd_setnetgrent): New function, broken out of ...
30649 (setnetgrent): ... here. Call it.
30650 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30651 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30652 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30653 * nscd/Makefile (routines, aux): Move definitions after include of
30654 Makeconfig. Conditionalize on [$(use-nscd) != no].
30655 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30656 Conditionalize on [USE_NSCD].
30657 (is_nscd, nscd_init_cb): Likewise.
30658 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30659 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30660 * nss/nss_db/db-init.c: Likewise.
30661 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30663 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30664 (make_request): Use it.
30665 (cache_valid_p): New function.
30666 (__check_pf): Use it.
30667 * NEWS: Add item for --disable-nscd.
30669 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30671 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30672 to support sed >= 4.2.1-20-ga9bf076.
30673 * configure: Regenerated.
30675 2012-08-22 Roland McGrath <roland@hack.frob.com>
30677 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30678 Conditionalize whole body on [IREL].
30680 2012-08-22 Jeff Law <law@redhat.com>
30683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30684 if the family is PF_UNSPEC.
30686 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30688 * Makerules (lib-version): Rename from V.
30689 (install-lib-nosubdir): Change V to lib-version.
30691 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30694 * powerpc32/power6/wcschr.c: New file.
30695 * powerpc32/power6/wcscpy.c: New file.
30696 * powerpc32/power6/wcsrchr.c: New file.
30697 * powerpc64/power6/wcschr.c: New file.
30698 * powerpc64/power6/wcscpy.c: New file.
30699 * powerpc64/power6/wcsrchr.c: New file.
30701 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30703 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30704 (two_way_short_needle): Use it.
30705 * string/strstr.c (AVAILABLE1_USES_J): Define.
30706 * string/strcasestr.c: Likewise.
30708 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30710 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30713 * NEWS: Add an entry.
30714 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30715 define their defaults.
30716 (two_way_short_needle): Detect end-of-string on-the-fly.
30717 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30718 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30719 * string/bug-strcasestr1.c: New test.
30720 * string/Makefile: Run it.
30722 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30725 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30726 the first character.
30728 2012-08-21 Roland McGrath <roland@hack.frob.com>
30730 * csu/elf-init.c (__libc_csu_irel): Function removed.
30731 * csu/libc-start.c (apply_irel): New function.
30732 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30734 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30736 * sysdeps/unix/sysv/linux/kernel-features.h
30737 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30738 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30739 <kernel-features.h>.
30740 [__NR_fadvise64_64]: Make code unconditional.
30741 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30742 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30743 !__NR_fadvise64_64)]: Likewise.
30744 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30745 !__NR_fadvise64_64))]: Likewise.
30746 [__NR_fadvise64]: Make code unconditional.
30747 [!__NR_fadvise64]: Remove conditional code.
30748 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30749 <kernel-features.h>.
30750 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30752 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30755 not include <kernel-features.h>.
30756 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30758 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30760 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30761 include <kernel-features.h>.
30762 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30764 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30767 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30769 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30770 slight instruction rearrangements per scrollpipe analysis.
30771 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30773 2012-08-20 Roland McGrath <roland@hack.frob.com>
30775 * manual/syslog.texi (syslog; vsyslog, closelog):
30776 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30777 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30779 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30780 DSOCAPS to match condition on defining it.
30782 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30784 * sysdeps/unix/sysv/linux/kernel-features.h
30785 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30787 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30788 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30790 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30791 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30793 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30794 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30796 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30797 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30799 * sysdeps/unix/sysv/linux/kernel-features.h
30800 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30801 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30803 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30804 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30805 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30806 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30807 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30808 Make code unconditional.
30809 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30810 (__mmap64) [!__NR_mmap2]: Likewise.
30811 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30812 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30813 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30814 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30815 [__NR_mmap2]: Make code unconditional.
30816 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30817 (__mmap64) [!__NR_mmap2]: Likewise.
30819 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30821 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30823 2012-08-18 Andreas Jaeger <aj@suse.de>
30825 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30827 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30829 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30830 * include/unistd.h (__have_sock_cloexec): Likewise.
30831 (__have_pipe2): Likewise.
30832 (__have_dup3): Likewise.
30834 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30837 * include/unistd.h (__have_pipe2): Change define into an extern int.
30838 (__have_dup3): Likewise.
30839 * socket/have_sock_cloexec.c: Include fcntl.h.
30840 (__have_pipe2): New variable.
30841 (__have_dup3): Likewise.
30843 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30845 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30847 2012-08-17 Marek Polacek <polacek@redhat.com>
30849 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30850 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30852 2012-08-17 Roland McGrath <roland@hack.frob.com>
30854 * configure.in: Add AC_SUBST for sysheaders.
30855 * configure: Regenerated.
30856 * config.make.in (sysheaders): New substituted variable.
30858 * sysdeps/unix/mkfifo.c: Moved ...
30859 * sysdeps/posix/mkfifo.c: ... here.
30860 * sysdeps/unix/mkfifoat.c: Moved ...
30861 * sysdeps/posix/mkfifoat.c: ... here.
30863 * sysdeps/unix/utime.c: Moved ...
30864 * sysdeps/posix/utime.c: ... here.
30866 * sysdeps/unix/time.c: Moved ...
30867 * sysdeps/posix/time.c: ... here.
30868 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30869 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30871 * sysdeps/unix/nice.c: Moved ...
30872 * sysdeps/posix/nice.c: ... here.
30874 * sysdeps/unix/alarm.c: Moved ...
30875 * sysdeps/posix/alarm.c: ... here.
30877 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30879 2012-08-17 Jeff Law <law@redhat.com>
30881 * intl/Makefile (codeset_mo): New variable.
30882 ($(codeset_mo)): New target.
30883 (tst-codeset.out): Depend on that. Remove explicit rule.
30884 (tst-gettext3.out, tst-gettext5.out): Likewise.
30885 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30886 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30887 * intl/tst-codeset.sh: Remove.
30888 * intl/tst-gettext3.sh: Likewise.
30889 * intl/tst-gettext5.sh: Likewise.
30891 2012-08-17 Roland McGrath <roland@hack.frob.com>
30893 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30894 * sysdeps/unix/syscalls.list: ... here.
30896 * sysdeps/posix/getaddrinfo.c
30897 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30898 (gaiconf_init, gaiconf_reload): Use them.
30899 [!_STATBUF_ST_NSEC]
30900 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30901 Define using time_t rather than struct timespec.
30903 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30904 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30906 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30908 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30909 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30912 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30913 __libc_cleanup_push argument.
30915 * bits/param.h: New file.
30916 * misc/sys/param.h: New file.
30917 * include/sys/param.h: New file.
30918 * misc/Makefile (headers): Add bits/param.h.
30919 * sysdeps/generic/sys/param.h: File removed.
30920 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30921 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30922 * sysdeps/mach/hurd/bits/param.h: New file.
30923 * sysdeps/mach/hurd/sys/param.h: File removed.
30925 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30928 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30930 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30931 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30934 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30935 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30936 rather than -D_IO_MTSAFE_IO conditionally.
30937 * stdio-common/Makefile (CPPFLAGS): Likewise.
30938 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30939 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30940 Use $(libio-mtsafe).
30941 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30942 of -D_IO_MTSAFE_IO.
30943 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30944 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30945 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30946 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30947 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30948 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30949 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30950 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30951 (CFLAGS-fread_u_chk.c): Likewise.
30952 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30953 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30954 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30955 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30956 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30957 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30958 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30959 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30960 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30962 * libio/Makefile: Test [$(libc-reentrant) = yes]
30963 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30966 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30967 * sysdeps/pthread/configure: File removed.
30968 * sysdeps/pthread/Makeconfig: New file.
30969 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30970 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30972 2012-08-16 Gary Benson <gbenson@redhat.com>
30974 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30975 unmapping the first object in a namespace.
30977 2012-08-16 Roland McGrath <roland@hack.frob.com>
30979 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30980 (__internal_setnetgrent): ... this. Add internal_function to
30981 definition. Add libc_hidden_def.
30982 (setnetgrent): Update caller.
30983 (internal_endnetgrent): Renamed to ...
30984 (__internal_endnetgrent): ... this. Add internal_function to
30985 definition. Add libc_hidden_def.
30986 (endnetgrent): Update caller.
30987 (internal_getnetgrent_r): Renamed to ...
30988 (__internal_getnetgrent_r): ... this. Add internal_function to
30989 definition. Add libc_hidden_def.
30990 (__getnetgrent_r): Update caller.
30991 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30993 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30995 * stdlib/longlong.h: Update from GCC.
30997 2012-08-16 Roland McGrath <roland@hack.frob.com>
30999 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31000 on _QL, which is set by umul_ppmm but never used.
31001 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31002 variables, which are set by GMP macros but never used.
31003 * stdio-common/_itowa.c (_itowa): Likewise.
31004 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31005 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31007 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31009 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31010 struct La_sh_regs is not constant.
31011 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31012 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31013 and struct La_sparc64_regs are not constant.
31015 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31017 * sysdeps/unix/sysv/linux/kernel-features.h
31018 (__ASSUME_POSIX_TIMERS): Remove.
31019 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31020 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31021 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31022 Make code unconditional.
31023 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31024 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31025 Make code unconditional.
31026 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31027 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31028 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31029 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31030 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31031 Make code unconditional.
31032 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31033 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31034 (__libc_missing_posix_timers): Remove.
31036 2012-08-15 Roland McGrath <roland@hack.frob.com>
31038 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31039 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31041 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31043 * elf/dl-sym.c: Include <stdlib.h>.
31045 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31046 constants, which avoids warnings in 32-bit builds.
31048 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31049 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31051 * misc/lseek.c: File moved to ...
31052 * io/lseek.c: ... here.
31054 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31056 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31057 shifting LEN more than 31 bits at once.
31059 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31062 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31063 segmentation fault for a case of two empty input strings.
31064 * string/test-strncasecmp.c (check1): Renamed to...
31065 (bz12205): ...this.
31066 (bz14195): Add new testcase for two empty input strings and N > 0.
31067 (test_main): Call new testcase, adapt for renamed function.
31069 2012-08-15 Andreas Jaeger <aj@suse.de>
31072 * crypt/md5test2.c: New test, based on test supplied by Serge
31073 Belyshev <belyshev@depni.sinp.msu.ru>.
31074 * crypt/Makefile (xtests): Add md5test-giant..
31075 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31077 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31080 * crypt/md5.c (md5_process_block): Don't assume the buffer
31081 length is less than 2**32.
31082 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31083 length is less than 2**64.
31085 2012-08-15 Roland McGrath <roland@hack.frob.com>
31087 * string/str-two-way.h: Include <sys/param.h>.
31088 (MAX): Macro removed.
31090 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31091 Move #define and #undef of memmove to just before and after
31092 including <string.h>.
31094 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31095 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31096 and after including <string.h>. Move declarations of
31097 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31098 to before #include "string/memmove.c".
31100 * include/dirent.h: Declare __getdirentries.
31102 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31103 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31105 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31107 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31108 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31109 * sysdeps/i386/configure: Regenerated.
31110 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31111 STABS_CURRENT_FILE, and STABS_FUN.
31112 (END): Remove call to STABS_FUN_END.
31113 (STABS_CURRENT_FILE1): Delete.
31114 (STABS_CURRENT_FILE): Likewise.
31115 (STABS_FUN): Likewise.
31116 (STABS_FUN_END): Likewise.
31117 (STABS_FUN2): Likewise.
31118 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31119 * sysdeps/x86_64/configure: Regenerated.
31121 2012-08-14 Roland McGrath <roland@hack.frob.com>
31123 * elf/dl-open.c: Include <atomic.h>.
31124 * elf/dl-lookup.c: Likewise.
31126 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31128 * sysdeps/unix/sysv/linux/kernel-features.h
31129 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31130 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31132 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31134 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31135 condition on __ASSUME_CLONE_THREAD_FLAGS.
31137 2012-08-14 Andreas Jaeger <aj@suse.de>
31139 * sysdeps/i386/fpu/libm-test-ulps: Update.
31141 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31143 * include/atomic.h (atomic_exchange_and_add): Split into ...
31144 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31147 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31151 2012-08-13 Jeff Law <law@redhat.com>
31153 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31154 null byte in the output string.
31156 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31158 * sysdeps/unix/sysv/linux/kernel-features.h
31159 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31160 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31161 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31162 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31163 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31164 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31165 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31167 2012-08-09 Jeff Law <law@redhat.com>
31170 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31171 When avoid_arena is set, don't retry in the that arena. Pick the
31172 next one, whatever it might be.
31173 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31174 (arena_lock): Pass in new parameter to arena_get2.
31175 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31177 (__libc_malloc): Unify retrying after main arena failure with
31178 __libc_memalign version.
31179 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31181 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31184 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31185 to __redirect_strstr.
31186 (__strstr_sse42): Use typeof __redirect_strstr.
31187 (__strstr_ia32): Likewise.
31188 (__libc_strstr): New prototype.
31189 (strstr): Renamed to ...
31190 (__libc_strstr): This.
31191 (strstr): New strong alias of __libc_strstr.
31192 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31193 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31196 (__libc_time): New prototype.
31197 (time_ifunc): Replace time with __libc_time.
31198 (time): New strong alias and hidden definition of __libc_time.
31199 (__GI_time): Remove strong alias.
31200 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31201 Include <stddef.h>.
31202 (memmove): Redefined to __redirect_memmove.
31203 (__memmove_sse2): Use typeof __redirect_memmove.
31204 (__memmove_ssse3): Likewise.
31205 (__memmove_ssse3_back): Likewise.
31206 (__libc_memmove): New prototype.
31207 (memmove): Renamed to ...
31208 (__libc_memmove): This.
31209 (memmove): New strong alias of __libc_memmove.
31211 2012-08-08 Mark Salter <msalter@redhat.com>
31214 (R_MN10300_TLS_GD): Define.
31215 (R_MN10300_TLS_LD): Likewise.
31216 (R_MN10300_TLS_LDO): Likewise.
31217 (R_MN10300_TLS_GOTIE): Likewise.
31218 (R_MN10300_TLS_IE): Likewise.
31219 (R_MN10300_TLS_LE): Likewise.
31220 (R_MN10300_TLS_DTPMOD): Likewise.
31221 (R_MN10300_TLS_DTPOFF): Likewise.
31222 (R_MN10300_TLS_TPOFF): Likewise.
31223 (R_MN10300_SYM_DIFF): Likewise.
31224 (R_MN10300_ALIGN): Likewise.
31225 (R_MN10300_NUM): Update.
31227 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31229 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31232 2012-08-08 Roland McGrath <roland@hack.frob.com>
31234 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31236 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31237 sysdeps/unix -> sysdeps/posix move.
31238 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31240 2012-08-07 Allan McRae <allan@archlinux.org>
31243 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31244 (SUNOS_CPP): Likewise.
31245 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31247 (open_input): Call CPP using execvp.
31249 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31251 * sysdeps/unix/sysv/linux/kernel-features.h
31252 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31253 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31254 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31255 (__ASSUME_WAITID_SYSCALL): Likewise.
31256 * sysdeps/unix/sysv/linux/dl-execstack.c
31257 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31258 code unconditional.
31259 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31261 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31262 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31263 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31265 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31267 [__ASSUME_WAITID_SYSCALL]: Likewise.
31268 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31270 2012-08-07 Roland McGrath <roland@hack.frob.com>
31272 * sysdeps/unix/closedir.c: Renamed to ...
31273 * sysdeps/posix/closedir.c: ... here.
31274 * sysdeps/unix/dirfd.c: Renamed to ...
31275 * sysdeps/posix/dirfd.c: ... here.
31276 * sysdeps/unix/dirstream.h: Renamed to ...
31277 * sysdeps/posix/dirstream.h: ... here.
31278 * sysdeps/unix/fdopendir.c: Renamed to ...
31279 * sysdeps/posix/fdopendir.c: ... here.
31280 * sysdeps/unix/opendir.c: Renamed to ...
31281 * sysdeps/posix/opendir.c: ... here.
31282 * sysdeps/unix/readdir.c: Renamed to ...
31283 * sysdeps/posix/readdir.c: ... here.
31284 * sysdeps/unix/readdir_r.c: Renamed to ...
31285 * sysdeps/posix/readdir_r.c: ... here.
31286 * sysdeps/unix/rewinddir.c: Renamed to ...
31287 * sysdeps/posix/rewinddir.c: ... here.
31288 * sysdeps/unix/seekdir.c: Renamed to ...
31289 * sysdeps/posix/seekdir.c: ... here.
31290 * sysdeps/unix/telldir.c: Renamed to ...
31291 * sysdeps/posix/telldir.c: ... here.
31292 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31293 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31294 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31295 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31297 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31298 * bits/fcntl.h: ... here.
31300 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31302 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31303 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31304 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31305 (struct flock): Move l_start, l_len to the beginning.
31306 Use __pid_t for l_pid.
31307 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31308 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31309 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31310 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31311 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31312 [__USE_LARGEFILE64] (struct flock64): New type.
31313 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31315 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31316 * bits/dirent.h: ... here.
31318 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31319 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31321 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31323 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31324 Change from 2.6.0 to 2.6.16.
31325 * sysdeps/unix/sysv/linux/configure: Regenerated.
31326 * sysdeps/unix/sysv/linux/kernel-features.h
31327 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31328 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31330 (__ASSUME_UTIMES): Likewise.
31331 (__ASSUME_CLONE_STOPPED): Remove.
31332 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31333 architectures, not kernel version.
31334 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31335 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31336 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31337 (__ASSUME_WAITID_SYSCALL): Likewise.
31338 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31339 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31340 * README: State 2.6.16 as minimum Linux kernel version. Do not
31341 refer to older versions.
31343 2012-08-06 Roland McGrath <roland@hack.frob.com>
31345 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31346 Define alphasort64 as an alias.
31347 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31348 Define versionsort64 as an alias.
31349 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31350 Define scandir64 as an alias.
31351 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31352 Define scandirat64 as an alias.
31353 * dirent/alphasort64.c (alphasort64):
31354 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31355 * dirent/versionsort64.c: Likewise.
31356 * dirent/scandir64.c: Likewise.
31357 * dirent/scandirat64.c: Likewise.
31358 * sysdeps/wordsize-64/alphasort.c: File removed.
31359 * sysdeps/wordsize-64/alphasort64.c: File removed.
31360 * sysdeps/wordsize-64/scandir.c: File removed.
31361 * sysdeps/wordsize-64/scandir64.c: File removed.
31362 * sysdeps/wordsize-64/scandirat.c: File removed.
31363 * sysdeps/wordsize-64/scandirat64.c: File removed.
31364 * sysdeps/wordsize-64/versionsort.c: File removed.
31365 * sysdeps/wordsize-64/versionsort64.c: File removed.
31366 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31367 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31368 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31369 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31370 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31371 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31372 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31373 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31375 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31377 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31378 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31379 [defined __arch64__ || defined __sparcv9]
31380 (__INO_T_MATCHES_INO64_T): New macro.
31381 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31382 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31383 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31384 * sysdeps/unix/sysv/linux/bits/dirent.h
31385 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31386 (_DIRENT_MATCHES_DIRENT64): New macro.
31388 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31389 Define lockf64 as an alias.
31390 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31391 Define fseeko64 as an alias.
31392 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31393 Define ftello64 as an alias.
31394 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31395 Define _IO_fgetpos64 and fgetpos64 as aliases.
31396 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31397 Define _IO_fsetpos64 and fsetpos64 as aliases.
31398 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31399 Conditionalize body on this.
31400 * libio/fseeko64.c: Likewise.
31401 * libio/ftello64.c: Likewise.
31402 * libio/iofgetpos64.c: Likewise.
31403 * libio/iofsetpos64.c: Likewise.
31404 * sysdeps/wordsize-64/lockf.c: File removed.
31405 * sysdeps/wordsize-64/lockf64.c: File removed.
31406 * sysdeps/wordsize-64/fseeko.c: File removed.
31407 * sysdeps/wordsize-64/fseeko64.c: File removed.
31408 * sysdeps/wordsize-64/ftello.c: File removed.
31409 * sysdeps/wordsize-64/ftello64.c: File removed.
31410 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31411 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31412 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31413 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31414 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31415 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31416 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31417 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31418 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31419 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31420 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31421 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31422 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31423 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31425 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31427 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31429 [defined __arch64__ || defined __sparcv9]
31430 (__OFF_T_MATCHES_OFF64_T): New macro.
31431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31432 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31434 (__OFF_T_MATCHES_OFF64_T): New macro.
31436 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31438 * stdlib/secure-getenv.c (__secure_getenv): Replace
31439 GLIBC_2_16 with GLIBC_2_17.
31441 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31443 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31444 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31446 2012-08-03 David S. Miller <davem@davemloft.net>
31448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31450 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31452 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31454 (__ASSUME_CORRECT_SI_PID): Likewise.
31455 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31456 (__ASSUME_TMPFS_NAME): Likewise.
31457 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31458 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31459 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31460 (HAVE_AUX_SECURE): Make definition unconditional.
31461 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31462 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31464 2012-08-03 Roland McGrath <roland@hack.frob.com>
31466 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31467 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31468 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31469 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31470 __eloop_threshold instead of SYMLOOP_MAX.
31472 * sysdeps/generic/eloop-threshold.h: New file.
31473 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31475 * elf/chroot_canon.c (chroot_canon): Likewise.
31477 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31481 Change to 2.6.0 everywhere.
31482 * sysdeps/unix/sysv/linux/configure: Regenerated.
31483 * sysdeps/unix/sysv/linux/kernel-features.h
31484 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31485 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31487 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31488 (__ASSUME_FUTEX_REQUEUE): Remove.
31489 (__ASSUME_STATFS64): Define unconditionally.
31490 (__ASSUME_AT_SECURE): Likewise.
31491 (__ASSUME_CORRECT_SI_PID): Likewise.
31492 (__ASSUME_TGKILL): Define without depending on kernel version for
31494 (__ASSUME_UTIMES): Likewise.
31495 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31497 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31498 (__ASSUME_TMPFS_NAME): Likewise.
31499 * README: Update reference to Linux kernel versions.
31501 2012-08-02 Marek Polacek <polacek@redhat.com>
31504 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31505 libc_cv_asm_type_prefix with %.
31506 * configure: Regenerated.
31507 * include/libc-symbols.h: Remove comment about
31508 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31509 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31510 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31511 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31512 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31513 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31514 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31515 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31516 * elf/tst-unique2mod1.c: Likewise.
31517 * elf/tst-unique1mod2.c: Likewise.
31518 * elf/tst-unique1mod1.c: Likewise.
31519 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31520 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31521 Replace ASM_TYPE_DIRECTIVE with .type.
31522 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31523 * sysdeps/i386/sysdep.h: Likewise.
31524 * sysdeps/x86_64/sysdep.h: Likewise.
31525 * sysdeps/sh/sysdep.h: Likewise.
31526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31527 Do not define ASM_TYPE_DIRECTIVE.
31528 * sysdeps/powerpc/sysdep.h: Likewise.
31529 * sysdeps/powerpc/powerpc32/sysdep.h:
31530 Replace ASM_TYPE_DIRECTIVE with .type.
31531 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31532 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31533 * sysdeps/i386/fpu/e_powf.S: Likewise.
31534 * sysdeps/i386/fpu/e_expl.S: Likewise.
31535 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31536 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31537 * sysdeps/i386/fpu/e_pow.S: Likewise.
31538 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31539 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31540 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31541 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31542 * sysdeps/i386/fpu/e_log2.S: Likewise.
31543 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31544 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31545 * sysdeps/i386/fpu/e_powl.S: Likewise.
31546 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31547 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31548 * sysdeps/i386/fpu/e_logl.S: Likewise.
31549 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31550 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31551 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31552 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31553 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31554 * sysdeps/i386/fpu/e_log.S: Likewise.
31555 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31556 * sysdeps/i386/fpu/e_logf.S: Likewise.
31557 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31558 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31559 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31560 * sysdeps/i386/fpu/e_log10.S: Likewise.
31561 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31562 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31563 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31564 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31565 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31566 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31567 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31568 * sysdeps/i386/i686/strtok.S: Likewise.
31569 * sysdeps/i386/i386-mcount.S: Likewise.
31570 * sysdeps/i386/strtok.S: Likewise.
31571 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31572 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31573 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31574 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31575 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31576 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31577 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31578 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31579 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31580 * sysdeps/x86_64/_mcount.S: Likewise.
31581 * sysdeps/x86_64/strtok.S: Likewise.
31582 * sysdeps/sh/_mcount.S: Likewise.
31584 2012-08-01 Roland McGrath <roland@hack.frob.com>
31586 * libio/iofopen.c: Include <fcntl.h>.
31587 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31588 (_IO_fopen64, fopen64): Define as aliases.
31589 * libio/iofopen64.c: Include <fcntl.h>.
31590 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31591 Conditionalize body on this.
31592 * sysdeps/wordsize-64/iofopen.c: File removed.
31593 * sysdeps/wordsize-64/iofopen64.c: File removed.
31595 2012-08-01 Marek Polacek <polacek@redhat.com>
31597 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31598 Use dlfcn directly instead of a variable.
31599 (binfmt-subdir): Do not define.
31602 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31604 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31605 Remove all definitions.
31606 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31607 <kernel-features.h>.
31608 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31609 (miss_F_GETOWN_EX): Remove all definitions.
31610 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31612 [!__ASSUME_FCNTL64]: Remove conditional code.
31613 [__ASSUME_FCNTL64]: Make code unconditional.
31614 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31615 <kernel-features.h>.
31616 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31617 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31618 (lockf64) [__NR_fcntl64]: Make code unconditional.
31619 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31621 * sysdeps/unix/sysv/linux/kernel-features.h
31622 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31623 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31624 Make code unconditional.
31625 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31626 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31628 [__NR_vfork]: Make code unconditional.
31629 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31630 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31632 [__NR_vfork]: Make code unconditional.
31633 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31634 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31636 2012-08-01 Roland McGrath <roland@hack.frob.com>
31638 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31639 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31641 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31642 Define mkstemp64 as an alias.
31643 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31644 Define mkstemps64 as an alias.
31645 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31646 Define mkostemp64 as an alias.
31647 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31648 Define mkostemps64 as an alias.
31649 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31650 Conditionalize body on this.
31651 * misc/mkostemp64.c: Likewise.
31652 * misc/mkostemps64.c: Likewise.
31653 * misc/mkstemps64.c: Likewise.
31654 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31655 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31656 * sysdeps/wordsize-64/mkostemp.c: File removed.
31657 * sysdeps/wordsize-64/mkstemp.c: File removed.
31658 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31659 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31660 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31661 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31664 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31665 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31666 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31667 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31669 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31670 compat_symbol macros from <shlib-compat.h> rather than the underlying
31671 default_symbol_version and symbol_version macros, so that DEFAULT
31672 lines in shlib-versions are respected.
31673 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31675 2012-08-01 Florian Weimer <fweimer@redhat.com>
31677 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31678 Declare with warn_unused_result.
31679 (setgid, setregid, setegid, setresgid): Likewise.
31680 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31682 * WUR-REPORT: Remove set*id functions.
31684 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31686 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31688 2012-07-31 Roland McGrath <roland@hack.frob.com>
31691 * include/sys/socket.h (__libc_accept, __libc_accept4):
31692 Add attribute_hidden.
31693 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31695 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31697 * inet/getnetgrent_r.c (setup): Likewise.
31699 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31701 2012-07-31 David S. Miller <davem@davemloft.net>
31703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31705 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31708 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31709 value between 1.0 and 2.0 and smaller part has absolute value less
31711 * math/s_clog10.c (__clog10): Likewise.
31712 * math/s_clog10f.c (__clog10f): Likewise.
31713 * math/s_clog10l.c (__clog10l): Likewise.
31714 * math/s_clogf.c (__clogf): Likewise.
31715 * math/s_clogl.c (__clogl): Likewise.
31716 * math/libm-test.inc (clog_test): Add more tests.
31717 (clog10_test): Likewise.
31718 * sysdeps/i386/fpu/libm-test-ulps: Update.
31719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31721 2012-07-31 Florian Weimer <fweimer@redhat.com>
31723 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31724 Exit with zero in case no suitable GID is found, and write a
31725 message to standard error.
31727 2012-07-30 Roland McGrath <roland@hack.frob.com>
31729 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31731 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31732 (MAXPATHLEN): Removed.
31733 (NOGROUP, NODEV): New macros.
31734 (setbit, clrbit, isset, isclr): New macros.
31735 (howmany, roundup, powerof2): New macros.
31736 (DEV_BSIZE): New macro.
31738 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31739 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31741 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31742 definition on [!__NO_LONG_DOUBLE_MATH].
31744 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31745 PTR_MANGLE and PTR_DEMANGLE.
31747 * socket/accept4.c (accept4): Rename to __libc_accept4.
31748 Define accept4 as a weak alias.
31750 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31751 on [_DIRENT_HAVE_D_TYPE].
31752 * io/ftw.c (ftw_dir): Likewise.
31754 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31756 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31758 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31759 Use the BSD numbers rather than the arbitrary ones we had.
31760 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31761 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31762 (SIGXCPU, SIGXFSZ): New macros.
31765 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31766 initializer on [_LIBC_REENTRANT].
31768 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31769 definitions inside [_POSIX_MAPPED_FILES].
31771 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31773 * dirent/opendir.c: Include <fcntl.h>.
31775 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31776 (__libc_getspecific): Likewise.
31777 (__libc_key_create): Likewise.
31779 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31780 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31781 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31782 (tmpfile64): Define as alias.
31783 * sysdeps/wordsize-64/tmpfile.c: File removed.
31784 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31785 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31786 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31788 * stdio-common/vfscanf.c: Include <stdbool.h>.
31789 * nss/makedb.c: Likewise.
31790 * stdio-common/_i18n_number.h: Likewise.
31791 * argp/argp-help.c: Likewise.
31792 * posix/wordexp.c: Likewise.
31793 * sysdeps/posix/spawni.c: Likewise.
31794 * nss/nss_files/files-initgroups.c: Likewise.
31795 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31796 * nss/nss_files/files-initgroups.c: Likewise.
31797 * nss/nss_db/db-netgrp.c: Likewise.
31798 * nss/nss_db/db-initgroups.c: Likewise.
31799 * io/fchmodat.c: Include <sys/stat.h>.
31801 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31802 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31804 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31807 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31808 Add multiple inclusion protection.
31810 2012-07-27 David S. Miller <davem@davemloft.net>
31812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31814 2012-07-27 Gary Benson <gbenson@redhat.com>
31817 * elf/rtld.c: Include <stap-probe.h>.
31818 (dl_main): Added static probes "init_start" and "init_complete".
31819 * elf/dl-load.c: Include <stap-probe.h>.
31820 (lose): Take new parameter "nsid".
31821 Added static probe "map_failed".
31822 (_dl_map_object_from_fd): Pass namespace id to lose.
31823 Added static probe "map_start".
31824 (open_verify): Pass namespace id to lose.
31825 * elf/dl-open.c: Include <stap-probe.h>.
31826 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31827 and "reloc_complete".
31828 * elf/dl-close.c: Include <stap-probe.h>.
31829 (_dl_close_worker): Added static probes "unmap_start" and
31831 * elf/rtld-debugger-interface.txt: New file documenting the above.
31833 2012-07-26 Roland McGrath <roland@hack.frob.com>
31835 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31836 rather than a string variable.
31837 * sunrpc/rpc_main.c (h_output): Likewise.
31838 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31840 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31842 * inet/check_native.c: New file.
31844 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31847 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31848 if larger part has absolute value 1.0.
31849 * math/s_clog10.c (__clog10): Likewise.
31850 * math/s_clog10f.c (__clog10f): Likewise.
31851 * math/s_clog10l.c (__clog10l): Likewise.
31852 * math/s_clogf.c (__clogf): Likewise.
31853 * math/s_clogl.c (__clogl): Likewise.
31854 * math/libm-test.inc (clog_test): Add more tests.
31855 (clog10_test): Likewise.
31856 * sysdeps/i386/fpu/libm-test-ulps: Update.
31857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31859 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31860 (pltexit): Likewise.
31861 (La_regs): Likewise.
31862 (La_retval): Likewise.
31863 (int_retval): Likewise.
31864 Update #error for removed macros to refer only to definitions in
31866 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31868 (pltexit): Likewise.
31869 (La_regs): Likewise.
31870 (La_retval): Likewise.
31871 (int_retval): Likewise.
31872 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31874 (pltexit): Likewise.
31875 (La_regs): Likewise.
31876 (La_retval): Likewise.
31877 (int_retval): Likewise.
31878 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31880 (pltexit): Likewise.
31881 (La_regs): Likewise.
31882 (La_retval): Likewise.
31883 (int_retval): Likewise.
31884 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31886 (pltexit): Likewise.
31887 (La_regs): Likewise.
31888 (La_retval): Likewise.
31889 (int_retval): Likewise.
31890 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31892 (pltexit): Likewise.
31893 (La_regs): Likewise.
31894 (La_retval): Likewise.
31895 (int_retval): Likewise.
31896 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31898 (pltexit): Likewise.
31899 (La_regs): Likewise.
31900 (La_retval): Likewise.
31901 (int_retval): Likewise.
31902 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31903 macro definitions in tst-audit.h.
31904 * sysdeps/i386/tst-audit.h: New file.
31905 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31906 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31907 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31908 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31909 * sysdeps/sh/tst-audit.h: Likewise.
31910 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31911 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31912 * sysdeps/x86_64/tst-audit.h: Likewise.
31914 2012-07-26 Andreas Jaeger <aj@suse.de>
31916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31919 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31920 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31921 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31923 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31924 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31925 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31927 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31930 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31932 (si_call_addr, si_syscall, si_arch): Define new macro.
31933 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31935 (si_call_addr, si_syscall, si_arch): Define new marcro.
31936 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31938 (si_call_addr, si_syscall, si_arch): Define new macro.
31939 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31941 (si_call_addr, si_syscall, si_arch): Define new macro.
31943 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31946 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31947 Change to 2.4.21 where previously 2.4.1.
31948 * sysdeps/unix/sysv/linux/configure: Regenerated.
31949 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31950 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31951 Linux kernel version.
31952 (__ASSUME_STD_AUXV): Remove.
31953 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31955 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31956 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31957 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31958 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31959 (__ASSUME_NETLINK_SUPPORT): Likewise.
31960 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31961 (__no_netlink_support): Remove conditional definition.
31962 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31964 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31965 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31966 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31967 (if_nameindex_ioctl): Remove.
31968 (if_nameindex_netlink): Do not handle __no_netlink_support.
31969 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31971 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31972 Remove conditional code.
31973 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31975 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31977 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31978 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31979 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31981 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31982 [!__ASSUME_STD_AUXV]: Remove conditional code.
31983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31984 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31985 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31987 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31988 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31990 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31992 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31993 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31995 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31997 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32000 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32003 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32004 code unconditional.
32005 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32007 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32009 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32012 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32014 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32017 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32018 code unconditional.
32019 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32021 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32023 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32026 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32027 code unconditional.
32028 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32030 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32032 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32035 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32037 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32038 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32039 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32040 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32041 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32042 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32043 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32044 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32045 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32046 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32047 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32048 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32049 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32050 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32051 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32052 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32053 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32054 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32055 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32057 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32058 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32059 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32061 2012-07-25 Florian Weimer <fweimer@redhat.com>
32063 * Versions.def: Add GLIBC_2.17.
32064 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32065 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32066 Introduce __libc_secure_getenv.
32067 * stdlib/Versions (2.17): Add secure_getenv
32068 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32069 * stdlib/secure-getenv.c: Rename __secure_getenv to
32070 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32071 symbol __secure_getenv for GLIBC_2.0.
32072 * stdlib/tst-secure-getenv.c: New.
32073 * stdlib/Makefile (tests): Add testcase.
32074 * manual/startup.texi (Environment Access): Document
32076 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32077 __libc_secure_getenv.
32078 * inet/ruserpass.c (ruserpass): Likewise.
32079 * malloc/mtrace.c (mtrace): Likewise.
32080 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32081 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32082 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32083 * sysdeps/posix/tempname.c: Likewise. Evaluate
32084 HAVE_SECURE_GETENV.
32085 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32086 __secure_getenv to __libc_secure_getenv.
32087 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32094 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32100 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32102 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32103 (struct La_i86_retval): Likewise.
32104 (struct La_x86_64_regs): Likewise.
32105 (struct La_x86_64_retval): Likewise.
32106 (struct La_x32_regs): Likewise.
32107 (struct La_x32_retval): Likewise.
32108 (struct La_ppc32_regs): Likewise.
32109 (struct La_ppc32_retval): Likewise.
32110 (struct La_ppc64_regs): Likewise.
32111 (struct La_ppc64_retval): Likewise.
32112 (struct La_sh_regs): Likewise.
32113 (struct La_sh_retval): Likewise.
32114 (struct La_s390_32_regs): Likewise.
32115 (struct La_s390_32_retval): Likewise.
32116 (struct La_s390_64_regs): Likewise.
32117 (struct La_s390_64_retval): Likewise.
32118 (struct La_sparc32_regs): Likewise.
32119 (struct La_sparc32_retval): Likewise.
32120 (struct La_sparc64_regs): Likewise.
32121 (struct La_sparc64_retval): Likewise.
32122 (struct audit_ifaces): Remove architecture-specific pltenter and
32124 * sysdeps/i386/ldsodefs.h: New file.
32125 * sysdeps/powerpc/ldsodefs.h: Likewise.
32126 * sysdeps/s390/ldsodefs.h: Likewise.
32127 * sysdeps/sh/ldsodefs.h: Likewise.
32128 * sysdeps/sparc/ldsodefs.h: Likewise.
32129 * sysdeps/x86_64/ldsodefs.h: Likewise.
32131 2012-07-25 Marek Polacek <polacek@redhat.com>
32134 * math/libm-test.inc (yn_test): Add another test.
32135 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32136 to ERANGE when the result is +-Inf.
32137 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32138 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32139 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32140 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32142 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32144 * conform/data/time.h-data (NULL): Use macro-constant. Require
32146 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32148 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32150 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32152 * configure.in <sysdeps resolving>: Correct printing
32154 * configure: Regenerate.
32156 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32158 * math/w_ilogb.c: Include <limits.h>.
32159 * math/w_ilogbl.c: Likewise.
32161 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32163 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32164 va_copy. Document allowing for unavailable va_copy only as
32165 pre-C99 compatibility.
32166 * manual/string.texi (Copying and Concatenation): Use va_copy
32167 instead of __va_copy in concat example.
32169 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32171 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32172 (__sendto): Use create_address_port. Initialize APORT and deallocate
32175 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32176 with O_NOLINK passed to __file_name_lookup.
32178 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32179 with O_NOLINK passed to __file_name_lookup.
32181 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32182 negative N or less than NGIDS.
32184 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32185 type to string_t. Set ERANGE as errno and return it if NAME is not big
32186 enough. Use memcpy instead of strncpy.
32188 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32190 * elf/Makefile (check-data): Remove.
32191 (localplt.data): New vpath directive.
32192 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32193 instead of $(check-data).
32194 * scripts/data/localplt-generic.data: Move to ...
32195 * sysdeps/generic/localplt.data: ... here.
32196 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32197 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32198 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32201 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32204 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32207 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32210 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32213 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32217 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32219 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32220 PPC32 and PPC64 files.
32221 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32222 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32224 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32226 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32227 __makecontext_ret to ...
32228 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32229 ... here and call exit if uc_link is NULL. New file.
32230 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32231 __makecontext_ret.S.
32232 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32233 __makecontext_ret to ...
32234 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32235 ... here and call exit if uc_link is NULL. New file.
32236 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32237 __makecontext_ret.S.
32239 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32241 * elf/elf.h (R_390_IRELATIVE): New definition.
32242 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32243 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32244 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32245 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32246 (elf_machine_lazy_rel): Likewise.
32247 * sysdeps/s390/dl-irel.h: New file.
32248 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32249 * sysdeps/s390/s390-64/memset.S: New asm code.
32250 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32251 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32252 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32253 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32254 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32255 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32256 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32257 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32258 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32259 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32260 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32261 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32262 * sysdeps/s390/s390-32/memset.S: New asm code.
32263 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32265 2012-07-17 Marek Polacek <polacek@redhat.com>
32268 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32269 * sysdeps/s390/s390-64/configure.in: Likewise.
32270 * sysdeps/sparc/configure.in: Likewise.
32271 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32272 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32273 * sysdeps/i386/configure.in: Likewise.
32274 * sysdeps/x86_64/configure.in: Likewise.
32275 * sysdeps/sh/configure.in: Likewise.
32276 * sysdeps/s390/s390-32/configure: Regenerated.
32277 * sysdeps/s390/s390-64/configure: Likewise.
32278 * sysdeps/x86_64/configure: Likewise.
32279 * sysdeps/sh/configure: Likewise.
32280 * sysdeps/powerpc/powerpc64/configure: Likewise.
32281 * sysdeps/powerpc/powerpc32/configure: Likewise.
32282 * sysdeps/sparc/configure: Likwise.
32283 * sysdeps/i386/configure: Likewise.
32285 * elf/dl-open.c: Comment fixes.
32287 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32289 * Makefile [CXX] (check-data): Remove.
32290 [CXX] (c++-types.data): New vpath directive.
32291 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32292 vpath. Do not allow for C++ type data being missing.
32293 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32294 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32295 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32296 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32297 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32298 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32299 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32302 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32305 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32308 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32311 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32314 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32317 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32320 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32323 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32324 definitions to architecture-specific files.
32325 (TLS_IE): Likewise.
32326 (TLS_LD): Likewise.
32327 (TLS_GD): Likewise.
32328 * sysdeps/i386/tls-macros.h: New file.
32329 * sysdeps/powerpc/tls-macros.h: Likewise.
32330 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32331 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32332 * sysdeps/sh/tls-macros.h: Likewise.
32333 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32334 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32335 * sysdeps/x86_64/tls-macros.h: Likewise.
32337 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32339 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32340 zero value for regular exit case.
32342 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32343 (__start_context): Preserve zero value for regular exit case.
32345 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32346 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32348 * manual/setjmp.texi (setcontext): Clarify normal process
32349 termination when uc_link is the null pointer.
32350 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32353 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32355 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32356 preprocessor. Test for each exception mask separately.
32358 2012-07-16 Andreas Jaeger <aj@suse.de>
32360 * po/ru.po: Update from translation team.
32362 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32364 * conform/data/string.h-data (NULL): Use macro-constant. Require
32366 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32367 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32368 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32369 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32370 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32372 2012-07-13 Andreas Jaeger <aj@suse.de>
32374 * po/fr.po: Update from translation team.
32376 2012-07-12 Marek Polacek <polacek@redhat.com>
32379 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32380 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32383 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32387 Change to 2.4.1 where previously 2.4.0.
32388 * sysdeps/unix/sysv/linux/configure: Regenerated.
32389 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32390 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32392 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32393 (__ASSUME_AT_CLKTCK): Remove.
32394 (__ASSUME_AT_PAGESIZE): Likewise.
32395 (__ASSUME_AT_XID): Likewise.
32396 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32397 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32398 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32400 (HAVE_AUX_PAGESIZE): Likewise.
32401 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32402 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32403 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32405 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32409 the temporary buffer used to invoke __gethostbyname2_r,
32410 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32411 host_data / struct gaih_addrtuple.
32412 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32413 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32414 header file nss/nsswitch.h.
32415 * nss/nsswitch.h (global scope): Add definition of implementation
32416 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32417 resolv/nss_dns/dns-host.c).
32419 2012-07-11 Andreas Jaeger <aj@suse.de>
32421 * po/fr.po: Update from translation team.
32423 * po/sv.po: Update from translation team
32424 * po/fr.po: Another update from translation team.
32426 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32428 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32429 for subnormals or multiply small sinh result by itself.
32430 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32433 2012-07-11 David S. Miller <davem@davemloft.net>
32435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32437 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32440 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32441 (INTERNAL_MARK): Shift it here.
32443 2012-07-10 Marek Polacek <polacek@redhat.com>
32446 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32447 libc_cv_asm_global_directive with .globl.
32448 * configure: Regenerated.
32449 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32451 * sysdeps/i386/configure: Regenerated.
32452 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32454 * sysdeps/x86_64/configure: Regenerated.
32455 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32456 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32457 * elf/tst-unique2mod2.c: Likewise.
32458 * elf/tst-unique2mod1.c: Likewise.
32459 * elf/tst-unique1mod2.c: Likewise.
32460 * elf/tst-unique1mod1.c: Likewise.
32461 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32462 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32463 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32464 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32465 * sysdeps/mach/sysdep.h: Likewise.
32466 * sysdeps/i386/sysdep.h: Likewise.
32467 * sysdeps/i386/i386-mcount.S: Likewise.
32468 * sysdeps/x86_64/_mcount.S: Likewise.
32469 * sysdeps/x86_64/sysdep.h: Likewise.
32470 * sysdeps/sh/_mcount.S: Likewise.
32471 * sysdeps/sh/sysdep.h: Likewise.
32472 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32473 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32474 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32475 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32476 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32477 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32478 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32479 * locale/localeinfo.h: Likewise.
32480 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32481 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32483 2012-07-09 Roland McGrath <roland@hack.frob.com>
32486 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32488 * manual/message.texi (The Uniforum approach): Likewise.
32489 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32490 (glibc iconv Implementation): Likewise.
32492 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32495 * math/s_clog.c (__clog): Avoid scaling a value down where that
32496 could result in underflow.
32497 * math/s_clog10.c (__clog10): Likewise.
32498 * math/s_clog10f.c (__clog10f): Likewise.
32499 * math/s_clog10l.c (__clog10l): Likewise.
32500 * math/s_clogf.c (__clogf): Likewise.
32501 * math/s_clogl.c (__clogl): Likewise.
32502 * math/libm-test.inc (clog_test): Add more tests.
32503 (clog10_test): Likewise.
32504 * sysdeps/i386/fpu/libm-test-ulps: Update.
32505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32507 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32510 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32511 by 7 not 8 to examine high bit of fractional part.
32514 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32515 for call to __mcount_internal.
32516 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32517 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32518 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32520 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32523 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32524 approximation for values within 0x1p-13f of an odd multiple of
32526 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32527 exception. Add more tests.
32528 * sysdeps/i386/fpu/libm-test-ulps: Update.
32531 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32532 inputs and return -1 for them. Do not check for +Inf in case not
32533 reachable for +Inf.
32534 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32535 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32536 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32537 and return -1 for them. Do not check for +Inf in case not
32538 reachable for +Inf.
32539 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32541 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32542 and return -1 for them. Do not check for +Inf in case not
32543 reachable for +Inf.
32544 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32545 spurious underflow.
32546 * sysdeps/i386/fpu/libm-test-ulps: Update.
32547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32549 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32551 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32553 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32557 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32558 could result in spurious underflow. Scale down values above
32559 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32560 * math/s_csqrtf.c (__csqrtf): Likewise.
32561 * math/s_csqrtl.c (__csqrtl): Likewise.
32562 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32563 spurious underflow.
32564 * sysdeps/i386/fpu/libm-test-ulps: Update.
32565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32567 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32569 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32571 * catgets/xopen-msg.awk: New file.
32572 * catgets/xopen-msg.sed: Removed.
32574 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32576 * intl/po2test.awk: New file.
32577 * intl/po2test.sed: Removed.
32579 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32582 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32583 or multiply small sinh result by itself.
32584 * math/s_ctanf.c (__ctanf): Likewise.
32585 * math/s_ctanh.c (__ctanh): Likewise.
32586 * math/s_ctanhf.c (__ctanhf): Likewise.
32587 * math/s_ctanhl.c (__ctanhl): Likewise.
32588 * math/s_ctanl.c (__ctanl): Likewise.
32589 * math/libm-test.inc (ctan_test_tonearest): New function.
32590 (ctan_test_towardzero): Likewise.
32591 (ctan_test_downward): Likewise.
32592 (ctan_test_upward): Likewise.
32593 (ctanh_test_tonearest): Likewise.
32594 (ctanh_test_towardzero): Likewise.
32595 (ctanh_test_downward): Likewise.
32596 (ctanh_test_upward): Likewise.
32597 (main): Call these new functions.
32598 * sysdeps/i386/fpu/libm-test-ulps: Update.
32599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32601 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32603 * .gitignore: Delete /ports entry.
32605 2012-07-03 Andreas Jaeger <aj@suse.de>
32607 * po/bg.po: Update from translation team.
32608 * po/cs.po: Likewise.
32609 * po/de.po: Likewise.
32610 * po/hr.po: Likewise.
32611 * po/nl.pl: Likewise.
32612 * po/pl.po: Likewise.
32613 * po/vi.po: Likewise.
32615 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32617 * Makeconfig [!+link] (+link-before-libc): New variable.
32618 [!+link] (+link-after-libc): Likewise.
32619 [!+link] (+link-tests): Likewise.
32620 [!+link] (+link): Define in terms of $(+link-before-libc) and
32621 $(+link-after-libc).
32622 [!+link-static] (+link-static-before-libc): New variable.
32623 [!+link-static] (+link-static-after-libc): Likewise.
32624 [!+link-static] (+link-static-tests): Likewise.
32625 [!+link-static] (+link-static): Define in terms of
32626 $(+link-static-before-libc) and $(+link-static-after-libc).
32627 [build-shared] (link-libc-before-gnulib): New variable.
32628 [build-shared] (link-libc-tests): Likewise.
32629 [build-shared] (link-libc): Define in terms of
32630 $(link-libc-before-gnulib).
32631 [!build-shared] (link-libc-tests): New variable.
32632 (link-libc-static-tests): New variable.
32633 [!gnulib] (gnulib-arch): New variable.
32634 [!gnulib] (gnulib-tests): Likewise.
32635 [!gnulib] (static-gnulib-arch): Likewise.
32636 [!gnulib] (static-gnulib-tests): Likewise.
32637 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32638 Define with "=" instead of ":=".
32639 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32640 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32641 * Rules (binaries-all-notests): New variable.
32642 (binaries-all-tests): Likewise.
32643 (binaries-static-notests): Likewise.
32644 (binaries-static-tests): Likewise.
32645 (binaries-all): Define using $(binaries-all-notests) and
32646 $(binaries-all-tests).
32647 (binaries-static): Define using $(binaries-static-notests) and
32648 $(binaries-static-tests).
32649 (binaries-shared-tests): New variable.
32650 (binaries-shared-notests): Likewise.
32651 (binaries-shared): Remove variable.
32652 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32653 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32654 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32655 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32656 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32657 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32658 * elf/Makefile (sln-modules): New variable.
32659 (extra-objs): Add $(sln-modules:=.o).
32660 (ldconfig-modules): Add static-stubs.
32661 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32662 * elf/static-stubs.c: New file.
32665 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32666 by 7 not 8 to examine high bit of fractional part. Use volatile
32667 variables when splitting into final array of floats if
32668 __FLT_EVAL_METHOD__ != 0.
32669 * math/libm-test.inc (cos_test): Add another test.
32670 (sin_test): Likewise.
32671 * sysdeps/i386/fpu/libm-test-ulps: Update.
32674 * math/libm-test.inc (cosh_test): Add more tests.
32676 * version.h (RELEASE): Set to "development".
32677 (VERSION): Set to "2.16.90".
32679 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32681 * NEWS: Update copyright. Remove last-updated date.
32682 Mention math library bug fixes and timezone data changes.
32683 * README: Mention GNU/Hurd, x32, and HPPA support status.
32685 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32687 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32689 2012-06-27 Andreas Jaeger <aj@suse.de>
32691 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32693 2012-06-25 Andreas Jaeger <aj@suse.de>
32695 * sysdeps/s390/fpu/libm-test-ulps: Update.
32697 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32698 Thomas Schwinge <thomas@codesourcery.com>
32700 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32701 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32705 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32707 * sysdeps/mach/start.c: Remove file.
32708 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32709 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32710 * sysdeps/sh/init-first.c: Likewise.
32712 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32713 registers for frame unwinding purposes, add CFI directives.
32714 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32715 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32716 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32719 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32720 __fortify_fail returning.
32721 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32723 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32724 sysdeps/sh/____longjmp_chk.S.
32725 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32726 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32727 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32728 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32730 * sysdeps/sh/abort-instr.h: New file.
32731 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32732 process in case exit returns.
32734 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32735 initialize the GOT register before use.
32737 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32738 calculation of ARGC > 4.
32740 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32741 meaningful names to some local labels.
32743 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32744 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32746 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32747 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32748 (__arch_compare_and_exchange_val_16_acq): Likewise.
32749 (__arch_compare_and_exchange_val_32_acq): Likewise.
32750 (atomic_exchange_and_add): Fix gUSA sequence.
32751 (atomic_add): Likewise.
32752 (atomic_add_negative): Likewise.
32753 (atomic_add_zero): Likewise.
32754 (atomic_bit_test_set): Likewise.
32756 2012-06-22 Andreas Schwab <schwab@redhat.com>
32759 * include/link.h (struct link_map): Add l_free_initfini.
32760 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32762 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32763 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32764 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32767 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32769 * configure.in: Use AC_LANG_SOURCE.
32770 * configure: Regenerate.
32772 2012-06-22 Roland McGrath <roland@hack.frob.com>
32774 * configure.in (libc_cv_localstatedir): New substituted variable.
32775 * configure: Regenerated.
32776 * config.make.in (localstatedir): New variable, substituted from
32777 libc_cv_localstatedir.
32778 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32779 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32780 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32781 * sysdeps/gnu/configure: Regenerated.
32783 2012-06-21 Jeff Law <law@redhat.com>
32786 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32787 free. Simplify list management for _LIBC case.
32789 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32792 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32793 Clear sign bit of 64-bit integer value before comparing against
32796 * sysdeps/mach/configure: Regenerated.
32798 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32801 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32803 2012-06-21 Jeff Law <law@redhat.com>
32806 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32807 uint16_t for elements in the "seen" array to avoid char overflows.
32808 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32809 * elf/dl-open.c (dl_open_worker): Likewise.
32811 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32813 * scripts/list-sources.sh: Scan PORTS for translations.
32814 * po/libc.pot: Regenerated.
32816 2012-06-21 Andreas Jaeger <aj@suse.de>
32819 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32821 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32822 * bits/byteswap-16.h (__bswap_16): Likewise.
32823 * bits/byteswap.h (__bswap_constant_16): Likewise.
32825 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32828 * sysdeps/i386/fpu_control.h: Removed.
32829 * sysdeps/x86_64/fpu_control.h: Moved to ...
32830 * sysdeps/x86/fpu_control.h: Here.
32832 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32833 (_FPU_SETCW): Likewise.
32835 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32838 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32839 * sysdeps/x86/fpu/bits/mathinline.h: This.
32840 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32844 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32845 functions if __x86_64__ is defined.
32847 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32849 * string/endian.h: Add !__ASSEMBLER__ condition for including
32850 conversion interfaces.
32852 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32856 of ABS(x) in calculating zero to negative powers other than odd
32858 * math/libm-test.inc (pow_test): Add more tests.
32860 2012-06-15 Andreas Jaeger <aj@suse.de>
32862 * manual/contrib.texi (Contributors): Update entry of Liubov
32863 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32866 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32868 * string/string.h: Add __wur to GNU version of strerror_r.
32870 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32873 * string/Makefile (tests): Add tst-strtok_r.
32874 * string/tst-strtok_r.c: New file.
32875 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32876 RAX_LP/RDX_LP on SAVE_PTR.
32878 2012-06-14 Roland McGrath <roland@hack.frob.com>
32880 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32882 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32884 * libm_test.inc (csqrt_test): Allow more spurious underflow
32886 (j0_test): Likewise.
32887 (j1_test): Likewise.
32888 (y0_test): Likewise.
32889 (y1_test): Likewise.
32891 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32893 * po/Makefile (libc.pot): Use UTF-8 charset.
32895 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32898 Suppress sign-conversion warning from FD_SET.
32899 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32900 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32901 not unsigned long int.
32902 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32904 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32908 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32909 __extern_always_inline instead of __extern_inline.
32910 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32911 (__signbit): Likewise.
32912 (__signbitl): Support C++ namespace.
32913 (lrintf): New inline function.
32915 (llrintf): Likewise.
32916 (llrint): Likewise.
32926 (floorf): Likewise.
32927 (nearbyint): Likewise.
32928 (nearbyintf): Likewise.
32930 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32932 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32933 non-default versions.
32935 2012-06-11 Roland McGrath <roland@hack.frob.com>
32938 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32940 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32942 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32943 (FE_UPWARD, FE_DOWNWARD): Don't define.
32944 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32945 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32947 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32949 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32950 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32952 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32954 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32955 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32956 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32957 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32959 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32962 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32963 * sysdeps/i386/fpu/Implies: New file.
32964 * sysdeps/x86_64/fpu/Implies: Likewise.
32965 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32966 * sysdeps/x86/fpu/bits/fenv.h: This.
32968 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32971 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32974 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32975 character 0xffff that matches the last element of the
32978 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32980 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32983 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32985 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32986 values higher than 25.6283.
32988 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32991 subnormal exponent extraction and add some __builtin_expect.
32992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32993 Fix for subnormal mantissa calculation.
32995 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32997 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32998 cpu2 is -1 and errno is not ENOSYS.
33000 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33003 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33004 * sysdeps/x86/bits/string.h: This.
33005 * sysdeps/x86_64/bits/string.h: Removed.
33007 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33008 if not compiling for x86-64, but compiling for >= i486.
33010 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33011 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33013 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33014 New macro from Linux kernel 3.4.0.
33015 (FP_XSTATE_MAGIC2): Likewise.
33016 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33017 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33018 (struct _fpx_sw_bytes): New struct.
33019 (struct _xsave_hdr): Likewise.
33020 (struct _ymmh_state): Likewise.
33021 (struct _xstate): Likewise.
33023 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33024 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33025 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33026 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33027 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33028 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33030 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33031 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33032 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33033 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33034 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33035 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33037 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33040 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33041 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33042 (sysdep_headers): Include sys/platform/ppc.h.
33043 * sysdeps/powerpc/test-gettimebase.c: Test for
33044 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33045 * manual/Makefile (appendices): Include platform.texi.
33046 * manual/contrib.texi (Contributors): Update @node pointers.
33047 * manual/maint.texi (Maintenance): Likewise.
33048 (Platform): New node.
33049 * manual/platform.texi: New file. Document the new features.
33051 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33052 Jakub Jelinek <jakub@redhat.com>
33055 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33056 where __builtin_expect is unavailable.
33058 2012-06-03 David S. Miller <davem@davemloft.net>
33060 * stdlib/longlong.h: Updated from GCC.
33062 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33065 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33066 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33069 (GLIBC_2.16): Likewise.
33071 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33073 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33075 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33078 (default-abi): New variable.
33079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33080 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33082 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33084 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33086 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33089 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33090 definition. Document in comment.
33092 2012-06-01 David S. Miller <davem@davemloft.net>
33094 * stdlib/longlong.h: Updated from GCC.
33096 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33099 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33100 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33101 sys/debugreg.h sys/io.h here.
33102 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33103 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33105 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33106 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33107 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33108 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33109 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33110 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33112 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33113 Define only if __x86_64__ is defined.
33115 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33118 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33119 Use int64_t for variable i.
33120 * math/libm-test.inc (fmod_test): Add more tests.
33122 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33123 z computation is not scheduled after fetestexcept.
33124 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33125 Use math_force_eval instead of asm to ensure calculation scheduled
33126 before exception test.
33127 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33128 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33130 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33133 computation is not scheduled after fetestexcept.
33135 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33138 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33139 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33141 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33143 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33144 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33146 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33149 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33151 (__WCHAR_MIN): Support __WORDSIZE == 64.
33152 (__WCHAR_MAX): Likewise.
33154 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33155 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33158 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33159 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33162 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33163 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33165 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33166 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33168 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33169 Defined to 1 if __x86_64__ isn't defined.
33170 (_STAT_VER_LINUX_OLD): New.
33171 (st_atime): Remove duplicate.
33172 (st_mtime): Likewise.
33173 (st_ctime): Likewise.
33175 2012-05-31 David S. Miller <davem@davemloft.net>
33177 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33180 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33182 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33186 * elf/dl-reloc.c: Include <_itoa.h>.
33187 (_dl_reloc_bad_type): Remove use of INTUSE.
33188 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33189 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33190 * stdio-common/psiginfo.c (psiginfo): Likewise.
33191 * stdio-common/psignal.c (psignal): Likewise.
33192 * string/strsignal.c (strsignal): Likewise.
33193 * include/signal.h (_sys_siglist): Declare hidden proto.
33194 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33195 INTVARDEF with libc_hidden_data_def.
33196 * stdio-common/itoa-udigits.c: Likewise.
33197 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33198 (_itoa_lower_digits_internal): Remove declaration.
33199 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33200 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33201 (_sys_sigabbrev_internal): Remove aliases.
33202 (_sys_siglist): Define hidden alias.
33204 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33209 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33212 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33213 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33215 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33216 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33217 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33218 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33220 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33222 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33223 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33224 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33226 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33234 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33235 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33236 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33238 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33239 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33240 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33241 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33242 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33243 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33245 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33246 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33248 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33249 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33251 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33252 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33253 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33255 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33256 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33258 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33260 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33261 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33262 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33264 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33266 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33268 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33270 * math/math.h (M_El): Use two more decimal places.
33271 (M_LOG2El): Likewise.
33272 (M_LOG10El): Likewise.
33273 (M_LN2l): Likewise.
33274 (M_LN10l): Likewise.
33276 (M_PI_2l): Likewise.
33277 (M_PI_4l): Likewise.
33278 (M_1_PIl): Likewise.
33279 (M_2_PIl): Likewise.
33280 (M_2_SQRTPIl): Likewise.
33281 (M_SQRT2l): Likewise.
33282 (M_SQRT1_2l): Likewise.
33284 2012-05-31 David S. Miller <davem@davemloft.net>
33286 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33287 values between float registers.
33288 * sysdeps/sparc/sparc64/memset.S: Likewise.
33289 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33291 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33293 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33294 -D_FORTIFY_SOURCE=1.
33295 (CPPFLAGS-tst-longjmp_chk.c): Define.
33296 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33297 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33298 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33299 CFLAGS-tst-wchar-h.c.
33301 2012-05-31 Marek Polacek <polacek@redhat.com>
33304 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33305 __endmntent_internal): Remove declaration.
33306 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33307 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33308 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33310 2012-05-30 David S. Miller <davem@davemloft.net>
33312 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33313 (___Q_simulate_exceptions): Use real FP ops rather than writing
33315 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33318 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33321 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33322 * sysdeps/x86/bits/xtitypes.h: This.
33324 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33325 * sysdeps/x86/bits/wordsize.h: This.
33327 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33328 * sysdeps/x86/bits/huge_vall.h: This.
33330 * sysdeps/i386/bits/select.h: Removed.
33331 * sysdeps/x86_64/bits/select.h: Renamed to ...
33332 * sysdeps/x86/bits/select.h: This.
33334 * sysdeps/i386/bits/setjmp.h: Removed.
33335 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33336 * sysdeps/x86/bits/setjmp.h: This.
33338 * sysdeps/i386/bits/mathdef.h: Removed.
33339 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33340 * sysdeps/x86/bits/mathdef.h: This.
33342 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33345 * include/sys/socket.h (__connect_internal)
33346 (__libc_sa_len_internal): Remove declaration.
33347 (__connect, __libc_sa_len): Declare hidden_proto.
33348 (SA_LEN): Remove use of INTUSE.
33349 * socket/connect.c: Add libc_hidden_def.
33350 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33351 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33352 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33354 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33355 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33356 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33357 of adding _internal alias.
33359 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33362 * sysdeps/i386/bits/link.h: Removed.
33363 * sysdeps/i386/bits/linkmap.h: Likewise.
33364 * sysdeps/x86_64/bits/link.h: Renamed to ...
33365 * sysdeps/x86/bits/link.h: This.
33366 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33367 * sysdeps/x86/bits/linkmap.h: This.
33369 * sysdeps/i386/bits/endian.h: Removed.
33370 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33371 * sysdeps/x86/bits/endian.h: This.
33373 * sysdeps/i386/bits/byteswap.h: Removed.
33374 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33375 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33376 * sysdeps/x86/bits/byteswap.h: This.
33377 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33378 * sysdeps/x86/bits/byteswap-16.h: This.
33379 * sysdeps/i386/Implies: Add x86.
33380 * sysdeps/x86_64/Implies: Likewise.
33382 2012-05-30 David S. Miller <davem@davemloft.net>
33384 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33385 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33386 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33387 (FP_TRAPPING_EXCEPTIONS): Define.
33388 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33389 (FP_TRAPPING_EXCEPTIONS): Define.
33390 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33391 subnormals only when inexact has been signalled or underflow
33392 exceptions are enabled.
33393 (_FP_PACK_CANONICAL): Likewise.
33395 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33398 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33399 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33401 2012-05-30 Richard Henderson <rth@twiddle.net>
33403 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33404 with #ifndef NOT_IN_libc.
33406 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33407 marked to avoid plt entry.
33409 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33412 * Makeconfig (default-abi): New macro.
33413 (abi-includes): Likewise.
33414 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33415 $(abi-$(default-abi)-lib-soname) for soname if defined.
33416 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33418 * Makefile (installed-stubs): Likewise.
33419 * include/stubs-biarch.h: Removed.
33420 * scripts/lib-names.awk: Only handle one library at a time.
33421 * scripts/soversions.awk: Remove WORDSIZE support.
33422 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33424 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33426 (syscall-list-default-condition): Likewise.
33427 (syscall-list-default-condition): Likewise.
33428 (syscall-list-includes): Likewise.
33429 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33430 syscall-list-* with abi-*. Handle undefined abi-variants.
33431 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33432 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33433 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33434 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33435 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33436 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33438 (syscall-list-32-options): Likewise.
33439 (syscall-list-32-condition): Likewise.
33440 (syscall-list-64-options): Likewise.
33441 (syscall-list-64-condition): Likewise.
33442 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33444 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33447 (abi-64-ld-soname): New macro.
33448 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33449 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33452 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33453 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33455 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33457 * sysdeps/unix/sysv/linux/kernel-features.h
33458 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33459 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33460 include <kernel-features.h>.
33461 [!__NR_ftruncate64]: Remove conditional code.
33462 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33463 [__NR_ftruncate64]: Make code unconditional.
33464 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33465 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33466 include <kernel-features.h>.
33467 [!__NR_ftruncate64]: Remove conditional code.
33468 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33469 [__NR_ftruncate64]: Make code unconditional.
33470 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33472 include <kernel-features.h>.
33473 [!__NR_ftruncate64]: Remove conditional code.
33474 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33475 [__NR_ftruncate64]: Make code unconditional.
33476 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33478 include <kernel-features.h>.
33479 [!__NR_ftruncate64]: Remove conditional code.
33480 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33481 [__NR_ftruncate64]: Make code unconditional.
33482 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33484 * configure.in (libc_cv_fpie): Weaken to a compile test using
33485 LIBC_TRY_CC_OPTION.
33486 * configure: Regenerated.
33488 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33503 2012-05-27 David S. Miller <davem@davemloft.net>
33505 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33507 (__Q_simulate_exceptions): Return void. Change to simulate
33508 exceptions by writing into the %fsr.
33509 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33510 (__Qp_handle_exceptions): Likewise.
33512 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33513 __Qp_handle_exceptions.
33514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33515 __Qp_handle_exceptions.
33516 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33517 as unused and give dummy FP_RND_NEAREST initializer.
33518 (FP_INHIBIT_RESULTS): Define.
33519 (___Q_simulate_exceptions): Update declaration.
33520 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33522 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33523 as unused and give dummy FP_RND_NEAREST initializer.
33524 (__Qp_handle_exceptions): Update declaration.
33525 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33528 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33530 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33531 the temporary FPU control word.
33532 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33533 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33534 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33535 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33536 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33537 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33538 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33539 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33540 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33541 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33542 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33544 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33546 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33549 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33551 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33552 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33553 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33554 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33556 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33557 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33560 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33562 * po/h.po: Update from translation team.
33564 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33566 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33568 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33569 handling of denormals.
33570 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33571 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33572 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33573 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33574 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33579 2012-05-26 Marek Polacek <polacek@redhat.com>
33582 * math/libm-test.inc (fma_test): Don't always expect underflow
33585 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33588 * elf/tst-execstack.c: Include stackinfo.h.
33589 (do_test): Adjust test case to ensure that pthread_getattr_np
33590 behaviour remains the same after marking stack executable.
33592 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33594 * sysdeps/unix/sysv/linux/kernel-features.h
33595 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33596 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33598 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33599 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33600 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33602 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33603 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33605 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33607 * configure.in: Define the default includes to being none.
33608 * configure: Regenerated.
33610 2012-05-25 Roland McGrath <roland@hack.frob.com>
33612 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33613 * sysdeps/x86_64/setjmp.S: Likewise.
33614 * sysdeps/i386/bsd-setjmp.S: Likewise.
33615 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33616 * sysdeps/i386/setjmp.S: Likewise.
33617 * sysdeps/i386/__longjmp.S: Likewise.
33618 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33619 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33621 * include/stap-probe.h: New file.
33622 * configure.in: Handle --enable-systemtap.
33623 * configure: Regenerated.
33624 * config.h.in (USE_STAP_PROBE): New #undef.
33625 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33626 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33627 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33629 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33633 to 2.4.0 where earlier.
33634 * sysdeps/unix/sysv/linux/configure: Regenerated.
33635 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33636 <kernel-features.h>.
33637 [__ASSUME_32BITUIDS]: Make code unconditional.
33638 [!__ASSUME_32BITUIDS]: Remove conditional code.
33639 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33640 <kernel-features.h>.
33641 [__ASSUME_32BITUIDS]: Make code unconditional.
33642 [!__ASSUME_32BITUIDS]: Remove conditional code.
33643 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33644 [__ASSUME_32BITUIDS]: Make code unconditional.
33645 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33646 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33647 <kernel-features.h>.
33648 [__ASSUME_32BITUIDS]: Make code unconditional.
33649 [!__ASSUME_32BITUIDS]: Remove conditional code.
33650 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33651 <kernel-features.h>.
33652 [__ASSUME_32BITUIDS]: Make code unconditional.
33653 [!__ASSUME_32BITUIDS]: Remove conditional code.
33654 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33655 <kernel-features.h>.
33656 [__ASSUME_32BITUIDS]: Make code unconditional.
33657 [!__ASSUME_32BITUIDS]: Remove conditional code.
33658 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33659 <kernel-features.h>.
33660 [__ASSUME_32BITUIDS]: Make code unconditional.
33661 [!__ASSUME_32BITUIDS]: Remove conditional code.
33662 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33663 <kernel-features.h>.
33664 [__ASSUME_32BITUIDS]: Make code unconditional.
33665 [!__ASSUME_32BITUIDS]: Remove conditional code.
33666 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33667 <kernel-features.h>.
33668 [__ASSUME_32BITUIDS]: Make code unconditional.
33669 [!__ASSUME_32BITUIDS]: Remove conditional code.
33670 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33671 <kernel-features.h>.
33672 [__ASSUME_32BITUIDS]: Make code unconditional.
33673 [!__ASSUME_32BITUIDS]: Remove conditional code.
33674 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33675 <kernel-features.h>.
33676 [__ASSUME_32BITUIDS]: Make code unconditional.
33677 [!__ASSUME_32BITUIDS]: Remove conditional code.
33678 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33679 <kernel-features.h>.
33680 [__ASSUME_32BITUIDS]: Make code unconditional.
33681 [!__ASSUME_32BITUIDS]: Remove conditional code.
33682 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33683 <kernel-features.h>.
33684 [__ASSUME_32BITUIDS]: Make code unconditional.
33685 [!__ASSUME_32BITUIDS]: Remove conditional code.
33686 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33687 <kernel-features.h>.
33688 [__NR_setresgid] (__setresgid): Do not declare.
33689 [__ASSUME_32BITUIDS]: Make code unconditional.
33690 [!__ASSUME_32BITUIDS]: Remove conditional code.
33691 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33692 <kernel-features.h>.
33693 [__NR_setresuid] (__setresuid): Do not declare.
33694 [__ASSUME_32BITUIDS]: Make code unconditional.
33695 [!__ASSUME_32BITUIDS]: Remove conditional code.
33696 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33697 <kernel-features.h>.
33698 [__ASSUME_32BITUIDS]: Make code unconditional.
33699 [!__ASSUME_32BITUIDS]: Remove conditional code.
33700 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33701 <kernel-features.h>.
33702 [__ASSUME_32BITUIDS]: Make code unconditional.
33703 [!__ASSUME_32BITUIDS]: Remove conditional code.
33704 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33705 <kernel-features.h>.
33706 [__ASSUME_32BITUIDS]: Make code unconditional.
33707 [!__ASSUME_32BITUIDS]: Remove conditional code.
33708 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33709 <kernel-features.h>.
33710 [__ASSUME_32BITUIDS]: Make code unconditional.
33711 [!__ASSUME_32BITUIDS]: Remove conditional code.
33712 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33713 <kernel-features.h>.
33714 [__ASSUME_32BITUIDS]: Make code unconditional.
33715 [!__ASSUME_32BITUIDS]: Remove conditional code.
33716 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33717 <kernel-features.h>.
33718 [__ASSUME_32BITUIDS]: Make code unconditional.
33719 [!__ASSUME_32BITUIDS]: Remove conditional code.
33720 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33721 <kernel-features.h>.
33722 [__ASSUME_32BITUIDS]: Make code unconditional.
33723 [!__ASSUME_32BITUIDS]: Remove conditional code.
33724 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33725 <kernel-features.h>.
33726 [__ASSUME_32BITUIDS]: Make code unconditional.
33727 [!__ASSUME_32BITUIDS]: Remove conditional code.
33728 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33729 <kernel-features.h>.
33730 [__ASSUME_32BITUIDS]: Make code unconditional.
33731 [!__ASSUME_32BITUIDS]: Remove conditional code.
33732 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33733 <kernel-features.h>.
33734 [__ASSUME_32BITUIDS]: Make code unconditional.
33735 [!__ASSUME_32BITUIDS]: Remove conditional code.
33736 * sysdeps/unix/sysv/linux/kernel-features.h
33737 (__ASSUME_SETRESUID_SYSCALL): Remove.
33738 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33739 (__ASSUME_32BITUIDS): Likewise.
33740 (__ASSUME_LDT_WORKS): Likewise.
33741 (__ASSUME_O_DIRECTORY): Likewise.
33742 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33743 architecture but not kernel version.
33744 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33745 (__ASSUME_MMAP2_SYSCALL): Likewise.
33746 (__ASSUME_STAT64_SYSCALL): Likewise.
33747 (__ASSUME_IPC64): Likewise.
33748 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33749 <kernel-features.h>.
33750 [__ASSUME_32BITUIDS]: Make code unconditional.
33751 [!__ASSUME_32BITUIDS]: Remove conditional code.
33752 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33753 <kernel-features.h>.
33754 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33755 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33756 132096]: Remove conditional code.
33757 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33758 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33759 <kernel-features.h>.
33760 [__ASSUME_32BITUIDS]: Make code unconditional.
33761 [!__ASSUME_32BITUIDS]: Remove conditional code.
33762 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33763 <kernel-features.h>.
33764 [__ASSUME_32BITUIDS]: Make code unconditional.
33765 [!__ASSUME_32BITUIDS]: Remove conditional code.
33766 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33767 <kernel-features.h>.
33768 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33770 (__setresgid): Do not declare.
33771 [__ASSUME_32BITUIDS]: Make code unconditional.
33772 [!__ASSUME_32BITUIDS]: Remove conditional code.
33773 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33774 <kernel-features.h>.
33775 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33777 (__setresuid): Do not declare.
33778 [__ASSUME_32BITUIDS]: Make code unconditional.
33779 [!__ASSUME_32BITUIDS]: Remove conditional code.
33780 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33781 <kernel-features.h>.
33782 [__ASSUME_32BITUIDS]: Make code unconditional.
33783 [!__ASSUME_32BITUIDS]: Remove conditional code.
33784 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33785 <kernel-features.h>.
33786 [__ASSUME_32BITUIDS]: Make code unconditional.
33787 [!__ASSUME_32BITUIDS]: Remove conditional code.
33789 2012-05-25 Richard Henderson <rth@twiddle.net>
33791 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33792 dl_hwcap to ifunc resolver.
33793 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33795 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33796 dl_hwcap to ifunc resolver.
33797 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33799 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33802 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33803 for |x| <= 2**-26, not 2**-57.
33804 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33807 2012-05-24 Jeff Law <law@redhat.com>
33809 * stdio-common/Makefile (tests): Add bug25.
33810 * stdio-common/bug25.c: New test.
33812 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33815 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33816 multiple of MALLOC_ALIGNMENT in size.
33817 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33819 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33821 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33823 (FILENAME_MAX): Use macro-int-constant.
33824 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33825 (_IOFBF): Use macro-int-constant.
33826 (_IOLBF): Likewise.
33827 (_IONBF): Likewise.
33828 (SEEK_CUR): Likewise.
33829 (SEEK_END): Likewise.
33830 (SEEK_SET): Likewise.
33831 (TMP_MAX): Likewise.
33832 (EOF): Use macro-int-constant. Require < 0.
33833 (NULL): Use macro-constant. Require == 0.
33834 (stdin): Require type to be FILE *.
33835 (stdout): Likewise.
33836 (stderr): Likewise.
33837 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33838 macro-int-constant.
33839 (EXIT_SUCCESS): Likewise.
33840 (NULL): Use macro-constant. Require == 0.
33841 (RAND_MAX): Use macro-int-constant.
33842 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33843 [C99-based standards] (strtof): Require function.
33844 [C99-based standards] (strtold): Likewise.
33845 [C99-based standards] (strtoll): Likewise.
33846 [C99-based standards] (strtoull): Likewise.
33847 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33848 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33849 [ISO || ISO99 || ISO11] (math.h): Likewise.
33850 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33851 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33852 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33854 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33857 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33858 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33859 * intl/dgettext.c (DCGETTEXT): Likewise.
33860 * intl/gettext.c (DCGETTEXT): Likewise.
33861 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33862 * posix/regex_internal.h (gettext): Likewise.
33863 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33864 Remove declaration.
33865 * include/argz.h (__argz_count_internal)
33866 (__argz_stringify_internal): Remove declaration.
33867 (__argz_count, __argz_stringify): Declare hidden proto.
33868 * intl/dcgettext.c: Remove use of INTDEF.
33869 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33870 * string/argz-stringify.c: Likewise.
33871 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33872 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33873 Declare hidden proto.
33874 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33875 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33876 Declare hidden proto.
33877 * include/stdio.h (__asprintf_internal): Don't declare.
33878 (__asprintf): Don't define as macro. Declare hidden proto.
33879 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33880 (__fsetlocking): Declare hidden proto.
33881 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33882 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33884 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33885 (_IO_setlinebuf): Remove use of INTUSE.
33886 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33887 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33888 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33889 Remove declaration.
33890 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33891 (_IO_do_flush): Remove use of INTUSE.
33892 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33893 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33894 (_IO_adjust_column, _IO_least_wmarker)
33895 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33896 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33897 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33898 (_IO_default_doallocate, _IO_wdefault_doallocate)
33899 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33900 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33901 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33902 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33903 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33904 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33905 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33906 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33907 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33908 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33909 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33910 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33911 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33913 (_IO_flush_all_internal, _IO_adjust_column_internal)
33914 (_IO_default_uflow_internal, _IO_default_finish_internal)
33915 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33916 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33917 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33918 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33919 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33920 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33921 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33922 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33923 (_IO_file_close_internal, _IO_file_close_it_internal)
33924 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33925 (_IO_file_init_internal, _IO_file_attach_internal)
33926 (_IO_file_fopen_internal, _IO_file_read_internal)
33927 (_IO_file_sync_internal, _IO_file_seek_internal)
33928 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33929 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33930 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33931 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33932 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33933 (_IO_list_all_internal, _IO_link_in_internal)
33934 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33935 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33936 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33937 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33938 (_IO_do_write_internal, _IO_padn_internal)
33939 (_IO_getline_info_internal, _IO_getline_internal)
33940 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33941 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33942 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33943 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33944 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33945 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33946 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33947 with libc_hidden_ver, remove use of INTUSE.
33948 * libio/genops.c: Likewise.
33949 * libio/freopen.c: Likewise.
33950 * libio/freopen64.c: Likewise.
33951 * libio/iofclose.c: Likewise.
33952 * libio/iofdopen.c: Likewise.
33953 * libio/iofflush.c: Likewise.
33954 * libio/iofflush_u.c: Likewise.
33955 * libio/iofgets.c: Likewise.
33956 * libio/iofgets_u.c: Likewise.
33957 * libio/iofopen.c: Likewise.
33958 * libio/iofopncook.c: Likewise.
33959 * libio/iofread.c: Likewise.
33960 * libio/iofread_u.c: Likewise.
33961 * libio/ioftell.c: Likewise.
33962 * libio/iofwrite.c: Likewise.
33963 * libio/iogetline.c: Likewise.
33964 * libio/iogets.c: Likewise.
33965 * libio/iogetwline.c: Likewise.
33966 * libio/iopadn.c: Likewise.
33967 * libio/iopopen.c: Likewise.
33968 * libio/ioseekoff.c: Likewise.
33969 * libio/ioseekpos.c: Likewise.
33970 * libio/iosetbuffer.c: Likewise.
33971 * libio/iosetvbuf.c: Likewise.
33972 * libio/ioungetc.c: Likewise.
33973 * libio/ioungetwc.c: Likewise.
33974 * libio/iovdprintf.c: Likewise.
33975 * libio/iovsprintf.c: Likewise.
33976 * libio/iovsscanf.c: Likewise.
33977 * libio/memstream.c: Likewise.
33978 * libio/obprintf.c: Likewise.
33979 * libio/oldfileops.c: Likewise.
33980 * libio/oldiofclose.c: Likewise.
33981 * libio/oldiofdopen.c: Likewise.
33982 * libio/oldiofopen.c: Likewise.
33983 * libio/oldiopopen.c: Likewise.
33984 * libio/oldstdfiles.c: Likewise.
33985 * libio/putc.c: Likewise.
33986 * libio/setbuf.c: Likewise.
33987 * libio/setlinebuf.c: Likewise.
33988 * libio/stdfiles.c: Likewise.
33989 * libio/strops.c: Likewise.
33990 * libio/vasprintf.c: Likewise.
33991 * libio/vscanf.c: Likewise.
33992 * libio/vsnprintf.c: Likewise.
33993 * libio/vswprintf.c: Likewise.
33994 * libio/wfiledoalloc.c: Likewise.
33995 * libio/wfileops.c: Likewise.
33996 * libio/wgenops.c: Likewise.
33997 * libio/wmemstream.c: Likewise.
33998 * libio/wstrops.c: Likewise.
33999 * libio/__fpurge.c: Likewise.
34000 * libio/__fsetlocking.c: Likewise.
34001 * assert/assert.c: Likewise.
34002 * debug/fgets_chk.c: Likewise.
34003 * debug/fgets_u_chk.c: Likewise.
34004 * debug/fread_chk.c: Likewise.
34005 * debug/fread_u_chk.c: Likewise.
34006 * debug/gets_chk.c: Likewise.
34007 * debug/obprintf_chk.c: Likewise.
34008 * debug/vasprintf_chk.c: Likewise.
34009 * debug/vdprintf_chk.c: Likewise.
34010 * debug/vsnprintf_chk.c: Likewise.
34011 * debug/vsprintf_chk.c: Likewise.
34012 * malloc/mtrace.c: Likewise.
34013 * misc/error.c: Likewise.
34014 * misc/syslog.c: Likewise.
34015 * stdio-common/asprintf.c: Likewise.
34016 * stdio-common/fxprintf.c: Likewise.
34017 * stdio-common/getw.c: Likewise.
34018 * stdio-common/isoc99_fscanf.c: Likewise.
34019 * stdio-common/isoc99_scanf.c: Likewise.
34020 * stdio-common/isoc99_vfscanf.c: Likewise.
34021 * stdio-common/isoc99_vscanf.c: Likewise.
34022 * stdio-common/isoc99_vsscanf.c: Likewise.
34023 * stdio-common/printf-prs.c: Likewise.
34024 * stdio-common/printf_fp.c: Likewise.
34025 * stdio-common/printf_fphex.c: Likewise.
34026 * stdio-common/printf_size.c: Likewise.
34027 * stdio-common/putw.c: Likewise.
34028 * stdio-common/scanf.c: Likewise.
34029 * stdio-common/sprintf.c: Likewise.
34030 * stdio-common/tmpfile.c: Likewise.
34031 * stdio-common/vfprintf.c: Likewise.
34032 * stdio-common/vfscanf.c: Likewise.
34033 * stdlib/strfmon_l.c: Likewise.
34034 * sunrpc/openchild.c: Likewise.
34035 * sunrpc/xdr_stdio.c: Likewise.
34036 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34037 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34039 2012-05-24 Roland McGrath <roland@hack.frob.com>
34041 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34043 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34044 in the third column, to generate for the shared library an IFUNC
34045 that uses _dl_vdso_vsym.
34046 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34047 * Makeconfig (object-suffixes-noshared): New variable.
34049 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34050 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34051 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34052 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34055 * include/sys/time.h (__gettimeofday): Remove macro.
34056 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34057 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34059 (__gettimeofday): Add libc_hidden_def.
34060 (gettimeofday): Add libc_hidden_weak.
34061 * sysdeps/mach/gettimeofday.c: Likewise.
34062 * sysdeps/posix/gettimeofday.c: Likewise.
34063 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34064 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34066 (__gettimeofday_internal): Remove strong_alias.
34067 (__gettimeofday): Add libc_hidden_def.
34068 (gettimeofday): Add libc_hidden_weak.
34069 * sysdeps/unix/syscalls.list (gettimeofday):
34070 Remove __gettimeofday_internal alias.
34072 2012-05-24 Daniel Jacobowitz <drow@false.org>
34073 H.J. Lu <hongjiu.lu@intel.com>
34076 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34077 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34078 (largebin_index_32_big): New.
34079 (largebin_index): Use it for 16-byte alignment.
34080 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34081 correction with front_misalign.
34083 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34111 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34112 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34114 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34118 * math/libm-test.inc (exp_test): Add test from bug 14036.
34119 (pow_test): Add test from bug 10846.
34121 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34123 (special_function): Do not include flags in test name.
34124 (parse_args): Likewise.
34125 * sysdeps/i386/fpu/libm-test-ulps: Update.
34126 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34127 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34128 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34131 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34133 * math/libm-test.inc ("Philosophy"): Update comment about
34135 (UNDERFLOW_EXCEPTION): New macro.
34136 (UNDERFLOW_EXCEPTION_OK): Likewise.
34137 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34138 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34139 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34140 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34141 (INVALID_EXCEPTION_OK): Update value.
34142 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34143 (OVERFLOW_EXCEPTION_OK): Likewise.
34144 (IGNORE_ZERO_INF_SIGN): Likewise.
34145 (test_exceptions): Handle underflow exceptions.
34146 (acos_test): Update for underflow exception expectations.
34147 (cexp_test): Likewise.
34148 (clog_test): Likewise.
34149 (clog10_test): Likewise.
34150 (csqrt_test): Likewise.
34151 (ctan_test): Likewise.
34152 (ctanh_test): Likewise.
34153 (exp_test): Likewise.
34154 (exp10_test): Likewise.
34155 (exp2_test): Likewise.
34156 (expm1_test): Likewise.
34157 (fma_test): Likewise.
34158 (j0_test): Likewise.
34159 (jn_test): Likewise.
34160 (nexttoward_test): Likewise.
34161 (pow_test): Likewise.
34162 (scalbn_test): Likewise.
34163 (scalbln_test): Likewise.
34164 (tan_test): Likewise.
34165 (y1_test): Likewise.
34166 * sysdeps/i386/fpu/libm-test-ulps: Update.
34167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34169 2012-05-23 David S. Miller <davem@davemloft.net>
34171 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34172 (__libc_sigaction): Remove unused local variables.
34174 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34176 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34178 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34180 mktime: avoid signed integer overflow
34181 * time/mktime.c (__mktime_internal): Do not mishandle the case
34182 where diff == INT_MIN.
34184 mktime: simplify computation of average
34185 * time/mktime.c (ranged_convert): Use new time_t_avg function
34186 instead of rolling our own (probably-slower) code.
34188 mktime: do not assume signed right shift propagates sign bit
34189 * time/mktime.c (isdst_differ): New static function.
34190 (__mktime_internal): No need to normalize tm_isdst now.
34191 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34194 mktime: merge another wrapv change from gnulib
34195 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34196 from some compilers.
34198 mktime: remove incorrect attempt at unusual arithmetics
34199 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34200 The code didn't really work on such machines anyway.
34201 (TYPE_MINIMUM): Assume two's complement.
34202 (twos_complement_arithmetic): Verify that long_int and time_t
34203 are two's complement (or unsigned, in the latter case).
34205 mktime: check signed shifts on long_int and time_t, too
34206 * time/mktime.c (SHR): Check that shifts work as desired
34207 on the types long_int and time_t too, as SHR is used on
34210 mktime: do not assume 'long' is wide enough
34211 * time/mktime.c (verify): Move decl up.
34212 (long_int): New type.
34213 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34214 to remove assumption in the code that 'long' is wide enough to
34215 store year values. This assumption is not true on x32 and on
34216 some non-glibc platforms.
34218 mktime: merge wrapv change from gnulib
34219 * time/mktime.c (WRAPV): New macro.
34220 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34221 (guess_time_tm, __mktime_internal): Do not assume that signed
34222 integer overflow wraps around; modern compilers generate code
34223 where this assumption is no longer valid.
34225 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34227 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34228 Replace "jmp L(pseudo_end)" with "ret".
34229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34232 2012-05-23 Andreas Jaeger <aj@suse.de>
34234 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34235 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34237 2012-05-23 Andreas Jaeger <aj@suse.de>
34238 Maximilian Attems <max@stro.at>
34240 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34243 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34245 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34246 code so that pseudo_end is just ret and the stack pointer is
34247 correct also for static library in error case.
34249 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34251 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34252 move to syscalls.list.
34253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34258 * manual/install.texi (Running make install): Do not mention Linux
34259 kernel version for which pt_chown is not needed.
34260 (Linux): Do not mention problems with nscd with 2.0 kernels.
34261 * INSTALL: Regenerated.
34263 2012-05-23 Andreas Jaeger <aj@suse.de>
34265 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34266 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34268 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34269 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34270 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34271 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34272 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34273 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34274 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34275 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34276 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34277 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34278 * sysdeps/unix/sysv/linux/bits/in.h
34279 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34281 2012-05-22 Roland McGrath <roland@hack.frob.com>
34283 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34284 (PREPARE_VERSION): Just use assert instead, it will be elided
34285 under [NDEBUG] anyway.
34287 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34289 * sysdeps/unix/sysv/linux/Makefile: Include
34290 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34291 (sysdep_routines): Remove sysctl.
34292 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34293 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34294 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34295 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34296 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34298 2012-05-22 Andreas Jaeger <aj@suse.de>
34300 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34301 that pseudo_end is just ret and the stack pointer is correct also
34302 for static library in error case.
34304 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34307 * nss/nsswitch.c (defconfig_entries): New variable.
34308 (__nss_database_lookup): Don't leak defconfig entries.
34309 (nss_parse_service_list): Don't leak on error paths.
34310 (free_database_entries): New function.
34311 (free_defconfig): New function.
34312 (free_mem): Move common code to free_database_entries.
34314 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34316 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34318 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34320 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34321 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34324 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34325 (INTERNAL_SYSCALL_TYPES): Likewise.
34326 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34327 (LOAD_REGS_TYPES_[1-6]): Likewise.
34328 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34329 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34331 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34333 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34334 copysignl for GLIBC_2_0.
34335 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34336 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34338 logbl for GLIBC_2_0.
34339 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34340 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34342 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34345 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34347 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34350 * time/mktime.c: Update copyright years.
34352 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34354 mktime: merge comment-quoting-style change from gnulib
34355 * time/mktime.c: Quote 'like this' in comments.
34356 The GNU coding standards suggest that we no longer quote `like this',
34357 as "`" and "'" are typically rendered asymmetrically nowadays.
34358 The typical gnulib style is to quote 'like this' when quoting
34359 code, and "like this" when quoting English.
34361 * time/mktime.c (compile-command): Add "-I.".
34363 mktime: merge mktime-internal.h change from gnulib
34364 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34366 mktime: merge time_r change from gnulib
34367 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34369 mktime: merge DEBUG change from gnulib
34370 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34371 case system <time.h> has a #define.
34373 mktime: merge <sys/types.h> change from gnulib
34374 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34375 since <time.t> is now guaranteed to define time_t.
34377 mktime: merge HAVE_CONFIG_H change from gnulib
34378 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34380 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34385 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34387 (struct rusage): Use anonymous union to pad each field to
34390 2012-05-21 David S. Miller <davem@davemloft.net>
34392 * Makefules (o-iterator): Remove .s cases.
34393 (compile-command.s): Delete.
34394 (COMPILE.s): Delete.
34395 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34397 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34399 * configure.in (libc_cv_predef_stack_protector): Only consider
34400 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34401 * configure: Regenerated.
34403 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34406 New macro. Use R*LP on int and pointer.
34407 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34408 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34409 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34410 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34412 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34413 [__WORDSIZE_TIME64_COMPAT32] instead of
34414 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34415 (struct utmp): Likewise.
34416 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34417 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34419 (__WORDSIZE_TIME64_COMPAT32): This.
34420 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34421 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34422 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34423 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34424 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34425 (__WORDSIZE_TIME64_COMPAT32): New macro.
34427 2012-05-21 Andreas Jaeger <aj@suse.de>
34429 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34430 only if [SHARED]. Add prototype for __wcschr_ia32.
34432 2012-05-21 Roland McGrath <roland@hack.frob.com>
34434 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34435 of %rbp unmolested in the jmp_buf while mangling the low bits.
34436 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34437 unmolested high bits of %rbp while demangling the low bits.
34438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34440 2012-05-21 Andreas Jaeger <aj@suse.de>
34442 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34443 * sunrpc/svc_simple.c: Use it for registerrpc.
34444 * sunrpc/xcrypt.c: Use it for passwd2des.
34446 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34448 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34450 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34451 Don't define if [__SYSCALL_WORDSIZE != 32].
34452 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34455 2012-05-21 Bruno Haible <bruno@clisp.org>
34456 Andreas Jaeger <aj@suse.de>
34458 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34459 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34460 inptr and inend for must_buffer_ch.
34461 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34462 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34463 * stdio-common/Makefile (tests): Remove bug15.
34464 (bug15-ENV): Remove macro.
34465 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34468 2012-05-19 Andreas Jaeger <aj@suse.de>
34469 Roland McGrath <roland@hack.frob.com>
34471 * manual/contrib.texi: Completely rewritten. It contains now an
34472 alphabetical list of contributors and their contributions.
34474 2012-05-21 Richard Henderson <rth@twiddle.net>
34476 * misc/getauxval.c (__getauxval): Use unsigned long int.
34477 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34478 (getauxval): Use unsigned long int.
34480 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34482 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34484 2012-05-21 Roland McGrath <roland@hack.frob.com>
34486 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34487 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34488 __alignof__ (long double).
34490 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34494 2012-05-20 Richard Henderson <rth@twiddle.net>
34496 * misc/getauxval.c: New file.
34497 * misc/sys/auxv.h: New file.
34498 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34499 (routines): Add getauxval.
34500 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34501 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34502 * elf/dl-sysdep.c (_dl_auxv): Remove.
34503 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34504 * elf/dl-support.c (_dl_auxv): New variable.
34505 (_dl_aux_init): Initialize it.
34506 * manual/startup.texi (Auxiliary Vector): New node.
34507 * sysdeps/generic/bits/hwcap.h: New file.
34508 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34509 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34510 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34511 * sysdeps/sparc/sysdep.h: ... here. Include it.
34512 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34513 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34525 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34529 2012-05-19 David S. Miller <davem@davemloft.net>
34531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34533 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34536 * math/s_ccosh.c: Include <float.h>
34537 (__ccosh): Avoid internal overflow calculating sinh and cosh
34538 values before multiplying by sin and cos values.
34539 * math/s_ccoshf.c: Likewise.
34540 * math/s_ccoshl.c: Likewise.
34541 * math/s_csin.c: Likewise.
34542 * math/s_csinf.c: Likewise.
34543 * math/s_csinl.c: Likewise.
34544 * math/s_csinh.c: Likewise.
34545 * math/s_csinhf.c: Likewise.
34546 * math/s_csinhl.c: Likewise.
34547 * math/libm-test.inc (ccos_test): Add more tests.
34548 (ccosh_test): Likewise.
34549 (csin_test): Likewise.
34550 (csinh_test): Likewise.
34551 * sysdeps/i386/fpu/libm-test-ulps: Update.
34552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34554 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34556 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34557 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34559 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34561 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34563 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34564 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34565 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34566 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34567 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34568 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34569 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34570 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34571 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34572 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34573 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34574 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34575 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34576 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34577 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34578 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34579 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34580 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34581 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34582 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34583 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34584 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34585 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34586 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34587 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34588 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34589 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34590 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34591 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34592 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34593 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34595 2012-05-18 Andreas Jaeger <aj@suse.de>
34597 * csu/.gitignore: Delete.
34599 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34601 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34602 (timex): Use __syscall_slong_t.
34604 2012-05-18 Andreas Jaeger <aj@suse.de>
34605 Carlos O'Donell <carlos_odonell@mentor.com>
34607 * manual/install.texi (Configuring and compiling): Update
34608 description about files modified in the source directory.
34609 * INSTALL: Regenerated.
34611 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34613 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34614 value. Use "or" to set return value to -1.
34615 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34616 negate return value.
34618 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34620 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34621 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34622 failure if the compiler has Graphite support disabled.
34623 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34625 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34626 (CFLAGS-memmove.c): Likewise.
34627 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34630 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34632 * sysdeps/x86_64/x32/_itoa.h: New file.
34634 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34635 getdents system call only if kernel and user dirents have the
34636 same d_ino and d_off.
34638 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34639 LLONG_MAX != LONG_MAX.
34640 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34641 (_fitoa_word): Likewise.
34643 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34645 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34646 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34647 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34649 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34650 include <bits/wordsize.h>. Check __x86_64__ instead of
34652 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34653 if __x86_64__ is defined. Use anonymous union on fpstate.
34655 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34658 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34660 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34661 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34662 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34663 Refer to _rtld_local_ro instead of _rtld_global_ro.
34664 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34666 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34668 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34670 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34671 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34672 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34674 * sysdeps/powerpc/powerpc32/dl-machine.c
34675 (__elf_machine_runtime_setup) [PROF]: Don't reference
34678 2012-05-18 Andreas Jaeger <aj@suse.de>
34680 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34681 function only available for GCCs before 3.4 since GCC 3.4
34682 introduced a builtin.
34684 (llrintf): Likewise.
34685 (llrint): Likewise.
34692 (nearbyint): Likewise.
34693 (nearbyintf): Likewise.
34697 (floorf): Likewise.
34699 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34701 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34702 on both fields and cast pointer to __syscall_ulong_t.
34704 * bits/types.h (__fsword_t): New type.
34705 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34706 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34708 (__FSWORD_T_TYPE): Likewise.
34709 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34710 (__FSWORD_T_TYPE): Likewise.
34711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34712 (__FSWORD_T_TYPE): Likewise.
34713 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34714 (__FSWORD_T_TYPE): Likewise.
34715 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34716 __SWORD_TYPE with __fsword_t.
34717 (statfs64): Likewise.
34719 2012-05-17 David S. Miller <davem@davemloft.net>
34721 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34723 2012-05-17 Andreas Jaeger <aj@suse.de>
34725 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34728 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34730 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34732 2012-05-17 Andreas Jaeger <aj@suse.de>
34734 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34737 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34739 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34741 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34743 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34744 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34746 2012-05-17 Andreas Jaeger <aj@suse.de>
34747 Carlos O'Donell <carlos_odonell@mentor.com>
34750 * sysdeps/x86_64/multiarch/init-arch.h
34751 (bit_YMM_Usable): Rename to...
34752 (bit_AVX_Usable): ... this.
34753 (bit_FMA4_Usable): New macro.
34754 (bit_XMM_state): New macro.
34755 (bit_YMM_state): New macro.
34756 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34757 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34758 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34759 (CPUID_OSXSAVE): New macro.
34760 (CPUID_AVX): New macro.
34761 (CPUID_FMA4): New macro.
34762 (index_YMM_Usable): Rename to...
34763 (index_AVX_Usable): ... this.
34764 (HAS_AVX): Use HAS_ARCH_FEATURE.
34765 (HAS_FMA4): Likewise.
34766 (HAS_YMM_USABLE): Remove.
34767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34768 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34770 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34771 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34772 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34773 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34774 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34776 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34778 * math/libm-test.c: Support platforms without multiple rounding modes.
34779 * math/bug-nextafter.c: Support platforms without FP exceptions.
34780 * math/bug-nexttoward.c: Likewise.
34781 * math/test-fenv.c: Likewise.
34782 * math/test-misc.c: Likewise.
34783 * stdlib/bug-getcontext.c: Likewise.
34785 2012-05-17 Andreas Jaeger <aj@suse.de>
34787 * manual/examples/search.c (critter_cmp): Change signature to
34789 * manual/string.texi (Collation Functions): Likewise.
34791 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34793 * bits/types.h: Fold copyright years.
34794 * bits/typesizes.h: Likewise.
34795 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34798 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34799 * time/time.h: Likewise.
34801 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34804 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34805 in instead of returning them. Return void.
34806 (__libc_mallinfo): Accumulate over all arenas.
34807 (__malloc_stats): Adjust for change in int_mallinfo interface.
34809 2012-05-16 Roland McGrath <roland@hack.frob.com>
34812 * configure.in (NM): Add AC_CHECK_TOOL for it.
34813 (libc_extra_cflags): New substituted variable.
34814 Check for -fstack-protector being used implicitly.
34815 * configure: Regenerated.
34816 * config.make.in (config-extra-cflags): New variable,
34817 gets @libc_extra_cflags@.
34818 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34821 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34822 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34823 * configure: Regenerated.
34824 * config.make.in (CPPUNDEFS): New substituted variable.
34825 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34826 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34827 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34829 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34831 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34832 (mq_attr): Use __syscall_slong_t.
34834 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34836 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34837 Check __x86_64__ instead of __WORDSIZE.
34838 (_STAT_VER_LINUX): Likewise.
34839 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34840 __syscall_ulong_t and __syscall_slong_t.
34841 (stat64): Likewise.
34843 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34845 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34847 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34849 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34851 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34853 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34856 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34857 include <bits/wordsize.h>. Check __x86_64__ instead of
34859 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34861 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34863 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34864 include <bits/wordsize.h>. Check __x86_64__ instead of
34866 (user_regs_struct): Use "__extension__ unsigned long long"
34867 instead of "unsigned long" if __x86_64__ is defined.
34868 (user): Likewise. Pad after pointer field if __ILP32__ is
34871 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34873 * configure.in (makeinfo): Require version 4.5 or later. Allow
34875 * configure: Regenerated.
34876 * manual/install.texi (texinfo): Increase version requirement to
34878 * INSTALL: Regenerated.
34880 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34882 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34884 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34886 * sysdeps/x86_64/x32/ffs.c: New file.
34888 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34890 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34891 defined. Use __syscall_ulong_t.
34892 (shminfo): Use __syscall_ulong_t.
34893 (shm_info): Likewise.
34895 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34898 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34900 (msgqnum_t): Use __syscall_ulong_t.
34901 (msglen_t): Likewise.
34902 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34905 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34906 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34908 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34910 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34911 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34913 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34916 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34917 include <bits/wordsize.h>. Check __x86_64__ instead of
34920 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34921 "unsigned long long int" if __x86_64__ is defined.
34922 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34924 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34925 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34926 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34928 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34930 (GET_PC): Cast to uintptr_t first.
34931 (GET_FRAME): Likewise.
34932 (GET_STACK): Likewise.
34934 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34935 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34936 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34937 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34938 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34939 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34940 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34941 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34942 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34943 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34944 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34945 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34946 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34947 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34948 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34949 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34950 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34951 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34952 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34953 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34954 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34955 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34956 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34957 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34958 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34959 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34960 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34961 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34962 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34964 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34966 * Makerules (+depfiles): Also collect depfiles from .oS in
34968 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34969 .oS, $(libnldbl-routines)).
34971 * Makerules (native-compile-mkdep-flags): Define.
34972 * sunrpc/Makefile (extra-objs): Add $(addprefix
34973 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34974 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34975 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34976 calling $(make-target-directory).
34978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34980 * bits/types.h (__snseconds_t): Removed.
34981 * time/time.h (struct timespec): Replace __snseconds_t with
34983 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34984 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34987 (__SNSECONDS_T_TYPE): Likewise.
34988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34989 (__SNSECONDS_T_TYPE): Likewise.
34990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34991 (__SNSECONDS_T_TYPE): Likewise.
34993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34995 * sysdeps/mach/hurd/bits/typesizes.h
34996 (__SYSCALL_SLONG_TYPE): New macro.
34997 (__SYSCALL_ULONG_TYPE): Likewise.
34999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35001 * bits/types.h (__syscall_slong_t): New type.
35002 (__syscall_ulong_t): Likewise.
35004 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35005 (__SYSCALL_ULONG_TYPE): Likewise.
35006 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35007 (__SYSCALL_SLONG_TYPE): Likewise.
35008 (__SYSCALL_ULONG_TYPE): Likewise.
35009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35010 (__SYSCALL_SLONG_TYPE): Likewise.
35011 (__SYSCALL_ULONG_TYPE): Likewise.
35012 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35013 (__SYSCALL_SLONG_TYPE): Likewise.
35014 (__SYSCALL_ULONG_TYPE): Likewise.
35016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35018 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35019 Add sigaltstack-offsets.sym.
35020 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35021 <sigaltstack-offsets.h>.
35022 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35023 longjmp_msg pointer.
35024 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35025 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35027 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35029 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35031 * elf/stackguard-macros.h: Remove file.
35032 * sysdeps/generic/stackguard-macros.h: New file.
35033 * sysdeps/i386/stackguard-macros.h: Likewise.
35034 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35035 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35036 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35037 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35038 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35039 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35040 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35041 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35042 <elf/stackguard-macros.h>.
35045 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35046 __aligned__ in attribute.
35047 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35048 (gregset_t): Likewise.
35050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35052 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35053 * sysdeps/x86_64/64/Implies-after: Here. New file.
35054 * sysdeps/x86_64/x32/Implies-after: New file.
35056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35058 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35059 and access return value for _dl_profile_fixup. Use R10_LP to
35062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35064 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35066 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35068 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35069 * sysdeps/x86_64/x32/sysdep.h: New file.
35071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35073 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35074 * sysdeps/x86_64/setjmp.S: Likewise.
35076 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35078 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35079 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35080 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35081 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35082 remove unused global constant.
35084 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35086 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35087 include of <not-cancel.h>.
35089 2012-05-15 Roland McGrath <roland@hack.frob.com>
35091 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35093 2012-05-15 Jeff Law <law@redhat.com>
35094 Andreas Jaeger <aj@suse.de>
35097 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35099 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35100 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35101 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35102 code changing __hst_map_handle.map.
35104 2012-05-15 Roland McGrath <roland@hack.frob.com>
35106 * configure.in (sysnames): Look for Implies-before and Implies-after
35108 * configure: Regenerated.
35110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35112 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35113 8-byte data alignment with LP_SIZE alignment.
35115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35117 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35122 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35126 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35127 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35128 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35130 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35134 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35135 (stackinfo_sub_sp): Likewise.
35137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35144 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35149 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35154 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35158 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35159 into R11_LP and load __x86_64_shared_cache_size_half into
35162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35164 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35167 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35169 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35175 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35176 powerpc32/power7/fpu/s_logb.c via #include.
35177 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35178 powerpc32/power7/fpu/s_logbf.c via #include.
35179 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35180 powerpc32/power7/fpu/s_logbl.c via #include.
35182 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35184 * README.libm: Remove file.
35186 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35188 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35189 count for x32. Use R*_LP and omit operand-size suffix.
35191 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35193 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35194 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35195 * sysdeps/x86_64/x32/shlib-versions: New file.
35197 2012-05-14 Roland McGrath <roland@hack.frob.com>
35199 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35200 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35201 Use _dl_fatal_printf instead.
35203 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35205 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35206 set if not set by the user. Do not allow for being unset.
35207 * sysdeps/unix/sysv/linux/configure: Regenerated.
35209 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35211 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35212 the `q' suffix from lea and replace .quad with ASM_ADDR.
35214 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35217 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35219 (PTR_DEMANGLE): Likewise.
35221 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35223 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35225 (ASM_ADDR): Likewise.
35226 (RAX_LP): Likewise.
35227 (RBP_LP): Likewise.
35228 (RBX_LP): Likewise.
35229 (RCX_LP): Likewise.
35230 (RDI_LP): Likewise.
35231 (RSI_LP): Likewise.
35232 (RSP_LP): Likewise.
35235 (R10_LP): Likewise.
35236 (R10_LP): Likewise.
35237 (R11_LP): Likewise.
35238 (R12_LP): Likewise.
35239 (R13_LP): Likewise.
35240 (R14_LP): Likewise.
35241 (R15_LP): Likewise.
35243 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35245 * sysdeps/x86_64/x32/dl-machine.h: New file.
35247 2012-05-14 Andreas Jaeger <aj@suse.de>
35249 * manual/Makefile (subdir): Remove export of subdir.
35250 (all): Remove target.
35251 (.PHONY): Remove all from list.
35252 (mkinstalldirs): Remove.
35253 (.PHONY): Remove installdirs from list.
35254 ($(inst_infodir)/libc.info): Use make-target-directory.
35255 (installdirs): Remove.
35256 (subdir_%): Remove.
35257 (glibc-targets): Remove.
35260 ($(objpfx)stubs ../po/manual.pot): Remove.
35261 ($(objpfx)stamp%): Remove.
35262 (make-target-directory): Remove.
35263 (subdir_install): Remove.
35264 (routines): Remove.
35271 * manual/.gitignore: Remove, it's not needed anymore.
35272 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35274 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35276 (texis): Renamed to $(objpfx)texis.
35277 (texis-path): New, contains path to generated files.
35278 (chapters.%): Use texis-path for complete path, add extra argument
35280 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35281 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35282 (summary,texi, stamp-summary): Use complete path of
35283 files. Generate files in build dir.
35284 (dir-add.texi): Build in build dir.
35285 (libm-err.texi,stamp-libm-err): Likewise.
35286 (version.texi, stamp-version): Likewise.
35287 (.%c.texi): Likewise.
35288 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35289 (mostlyclean): Remove target.
35290 (realclean): Remove target.
35291 (generated): Add new variable with contents from mostlyclean and
35292 realclean, remove entries duplicated in common-mostlyclean, add
35293 stamp-libm-err and stamp-version.
35294 (generated-dirs): Add libc directory.
35295 ($(inst_infodir)/libc.info): Install files from build dir.
35297 * manual/install.texi (Configuring and compiling): Adjust since
35298 the info files are not part of the tar ball anymore.
35300 2012-05-14 Andreas Jaeger <aj@suse.de>
35302 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35305 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35308 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35309 to 2.2.0 where earlier.
35310 * sysdeps/unix/sysv/linux/configure: Regenerated.
35311 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35312 Remove conditional code.
35313 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35314 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35315 Remove conditional code.
35316 [!__NR_lchown]: Likewise.
35317 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35318 [__NR_lchown]: Likewise.
35319 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35320 comment referencing __ASSUME_LCHOWN_SYSCALL.
35321 * sysdeps/unix/sysv/linux/i386/sigaction.c
35322 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35323 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35324 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35325 Remove conditional code.
35326 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35327 (__protocol_available): Remove #if 0 code.
35328 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35330 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35331 * sysdeps/unix/sysv/linux/kernel-features.h
35332 (__ASSUME_GETCWD_SYSCALL): Don't define.
35333 (__ASSUME_REALTIME_SIGNALS): Likewise.
35334 (__ASSUME_PREAD_SYSCALL): Likewise.
35335 (__ASSUME_PWRITE_SYSCALL): Likewise.
35336 (__ASSUME_POLL_SYSCALL): Likewise.
35337 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35338 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35340 (__ASSUME_SIOCGIFNAME): Don't define.
35341 (__ASSUME_MSG_NOSIGNAL): Likewise.
35342 (__ASSUME_SENDFILE): Define unconditionally.
35343 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35344 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35346 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35347 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35348 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35349 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35350 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35351 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35352 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35354 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35357 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35363 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35366 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35369 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35372 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35375 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35376 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35377 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35378 Remove conditional code.
35379 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35380 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35381 Remove conditional code.
35382 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35383 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35384 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35385 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35386 Remove conditional code.
35387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35388 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35389 Remove conditional code.
35390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35391 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35392 Remove conditional code.
35393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35394 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35395 Remove conditional code.
35396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35397 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35398 Remove conditional code.
35399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35400 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35401 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35403 * sysdeps/unix/sysv/linux/sigaction.c
35404 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35405 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35406 * sysdeps/unix/sysv/linux/sigpending.c
35407 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35408 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35409 * sysdeps/unix/sysv/linux/sigprocmask.c
35410 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35411 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35412 * sysdeps/unix/sysv/linux/sigsuspend.c
35413 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35414 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35415 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35416 (__libc_missing_rt_sigs): Remove.
35417 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35418 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35419 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35420 Remove conditional code.
35421 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35422 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35424 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35425 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35426 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35427 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35429 2012-05-14 Andreas Jaeger <aj@suse.de>
35431 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35432 it's not used in glibc.
35433 (__coshm1): Likewise.
35434 (__acosh1p): Likewise.
35437 * manual/string.texi (Copying and Concatenation): Add missing
35438 variable in concat example.
35439 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35441 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35444 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35445 __builtin_clzl with __builtin_clzll.
35447 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35450 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35453 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35455 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35456 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35457 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35458 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35460 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35462 * NEWS: Update ia64 info.
35464 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35466 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35469 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35471 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35472 * sysdeps/unix/syscalls.list (dup3): Likewise.
35473 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35474 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35476 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35478 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35479 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35481 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35483 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35485 (TLS_IE): Use mov/add instead of movq/addq to load thread
35487 (TLS_GD_PREFIX): New.
35490 2012-05-11 David S. Miller <davem@davemloft.net>
35492 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35493 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35494 (_FPU_SETCW): Likewise.
35496 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35498 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35499 is 32-byte aligned.
35501 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35504 * iconvdata/gb18030.c: Update tables.
35505 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35506 characters specially.
35507 (BODY for TO_LOOP): Add encoding of missing ranges.
35509 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35512 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35513 * sysdeps/mach/hurd/dup3.c: Likewise.
35514 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35515 * sysdeps/powerpc/memmove.c:: Likewise.
35517 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35520 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35522 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35524 * elf/elf.h (R_X86_64_RELATIVE64): New.
35525 (R_X86_64_NUM): Updated.
35526 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35527 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35528 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35529 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35530 tst-quad1pie tst-quad2pie
35531 (modules-names): Add tst-quadmod1 tst-quadmod2.
35532 ($(objpfx)tst-quad1): New dependency.
35533 ($(objpfx)tst-quad2): Likewise.
35534 ($(objpfx)tst-quad1pie): Likewise.
35535 ($(objpfx)tst-quad2pie): Likewise.
35536 * sysdeps/x86_64/tst-quad1.c: New file.
35537 * sysdeps/x86_64/tst-quad1pie.c: New file.
35538 * sysdeps/x86_64/tst-quad2.c: Likewise.
35539 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35540 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35541 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35542 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35543 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35547 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35548 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35549 * streams/stropts.h (t_scalar_t): Define type.
35551 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35552 (_PATH_PRESERVE): Set to "/var/lib".
35553 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35555 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35558 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35559 if __dir_mkfile succeeded.
35561 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35562 checking for _hurd_dtablesize. Unlock it right after having
35563 finished _hurd_dtable allocation.
35565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35567 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35568 * sysdeps/mach/hurd/configure: Regenerated.
35569 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35570 special-casing to...
35571 * sysdeps/gnu/configure.in: ... this new file.
35572 * sysdeps/unix/sysv/linux/configure: Regenerated.
35573 * sysdeps/gnu/configure: New generated file.
35575 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35576 for Linux: use nsec instead of usec, as well as:
35577 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35578 members of type struct timespec.
35579 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35581 (struct stat64): Likewise.
35582 (_STATBUF_ST_NSEC): New macro.
35583 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35585 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35586 __strtoul_internal rather than strtoul.
35588 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35590 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35593 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35595 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35596 which preserves existing values.
35597 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35599 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35601 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35602 TIMEOUT values. Return EINVAL for NFDS values either negative or
35603 greater than FD_SETSIZE.
35605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35607 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35608 allocated, call __vm_protect to finish enabling the existing space, and
35609 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35610 allocate the remainder.
35612 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35614 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35615 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35617 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35619 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35620 sysdeps/mach/hurd/readlink.c.
35622 * posix/tst-sysconf.c (posix_options): Only use
35623 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35624 _POSIX_SYNCHRONIZED_IO when they are defined
35625 * sysdeps/mach/hurd/bits/posix_opt.h:
35626 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35627 (_XOPEN_REALTIME): Undefine macro.
35628 (_XOPEN_REALTIME_THREADS): Undefine macro.
35629 (_XOPEN_SHM): Undefine macro.
35630 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35632 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35634 (_POSIX_ASYNC_IO): Undefine macro.
35635 (_POSIX_PRIORITIZED_IO): Undefine macro.
35636 (_POSIX_SPIN_LOCKS): Define macro to -1.
35638 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35639 SA_NODEFER, SA_RESETHAND.
35640 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35641 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35644 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35646 * elf/Makefile (pldd-modules): Define unconditionally.
35648 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35650 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35652 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35654 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35655 Return ENOENT when name is empty.
35656 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35660 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35662 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35664 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35666 Fix mlock in all cases except non-readable pages.
35667 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35668 instead of VM_PROT_ALL as parameter to __vm_wire function.
35670 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35671 (__mkdir): When path is `/', just fail with EEXIST.
35672 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35674 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35676 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35677 <sys/uio.h> (for writev).
35678 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35679 and <sys/param.h> (for MIN).
35681 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35683 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35684 REQUESTED_TIME. Properly set the remaining time and return EINTR
35687 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35689 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35690 Depend on against $(link-rpcuserlibs).
35692 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35694 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35695 (__libc_stack_end): Do not use attribute_relro.
35696 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35697 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35698 to libthread-provided value.
35699 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35705 * bits/libc-lock.h (__libc_once_get): New macro.
35706 * sysdeps/mach/bits/libc-lock.h: Likewise.
35707 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35708 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35709 instead of using implementation details.
35711 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35712 * libio/freopen.c: Likewise.
35713 * libio/freopen64.c: Likewise.
35714 * misc/syslog.c: Likewise.
35715 * nscd/connections.c: Likewise.
35716 * nscd/netgroupcache.c: Likewise.
35717 * sysdeps/posix/getcwd.c: Likewise.
35719 2012-05-10 Roland McGrath <roland@hack.frob.com>
35721 * math/w_ilogbf.c: Add #include <limits.h>.
35723 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35725 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35726 path instead of returning without unlocking.
35728 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35729 immediate-write ioctls.
35730 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35734 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35735 __builtin_frame_address instead of making assumptions about the
35736 location of the return address relative to DATA. Force early load of
35737 the return address.
35738 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35739 __builtin_frame_address.
35742 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35743 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35744 implement dup3 and do some further code clean-ups.
35745 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35746 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35750 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35752 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35753 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35754 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35755 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35756 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35759 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35760 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35761 when handler == SIG_ERR, not when handler != SIG_ERR.
35763 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35765 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35766 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35769 accept4 for GNU Hurd.
35770 * include/sys/socket.h (__libc_accept4): New prototype.
35771 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35772 to implement __libc_accept4.
35773 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35775 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35777 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35778 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35779 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35780 signal-defines.sym.
35782 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35784 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35786 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35788 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35789 assertion on O_CLOEXEC flag.
35790 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35791 * hurd/intern-fd.c: Likewise.
35792 * hurd/port2fd.c: Likewise.
35794 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35797 * bits/in.h (IPV6_PKTINFO): Define new macro.
35798 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35800 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35805 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35806 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35807 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35808 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35809 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35810 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35811 * math/libm-test.inc (logb_test) : Additional logb tests.
35813 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35814 Andreas Jaeger <aj@suse.de>
35816 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35817 * configure: Regenerated.
35818 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35819 * config.make.in (link-obsolete-rpc): New substituted variable.
35820 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35821 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35822 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35823 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35824 so that libc.a contains the symbols.
35825 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35826 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35827 * sunrpc/auth_none.c: Likewise.
35828 * sunrpc/auth_unix.c: Likewise.
35829 * sunrpc/authdes_prot.c: Likewise.
35830 * sunrpc/authuxprot.c: Likewise.
35831 * sunrpc/clnt_gen.c: Likewise.
35832 * sunrpc/clnt_perr.c: Likewise.
35833 * sunrpc/clnt_raw.c: Likewise.
35834 * sunrpc/clnt_simp.c: Likewise.
35835 * sunrpc/clnt_tcp.c: Likewise.
35836 * sunrpc/clnt_udp.c: Likewise.
35837 * sunrpc/clnt_unix.c: Likewise.
35838 * sunrpc/des_crypt.c: Likewise.
35839 * sunrpc/des_soft.c: Likewise.
35840 * sunrpc/get_myaddr.c: Likewise.
35841 * sunrpc/key_call.c: Likewise.
35842 * sunrpc/key_prot.c: Likewise.
35843 * sunrpc/netname.c: Likewise.
35844 * sunrpc/pm_getmaps.c: Likewise.
35845 * sunrpc/pm_getport.c: Likewise.
35846 * sunrpc/pmap_clnt.c: Likewise.
35847 * sunrpc/pmap_prot.c: Likewise.
35848 * sunrpc/pmap_prot2.c: Likewise.
35849 * sunrpc/pmap_rmt.c: Likewise.
35850 * sunrpc/publickey.c: Likewise.
35851 * sunrpc/rpc_cmsg.c: Likewise.
35852 * sunrpc/rpc_common.c: Likewise.
35853 * sunrpc/rpc_dtable.c: Likewise.
35854 * sunrpc/rpc_prot.c: Likewise.
35855 * sunrpc/rpc_thread.c: Likewise.
35856 * sunrpc/rtime.c: Likewise.
35857 * sunrpc/svc.c: Likewise.
35858 * sunrpc/svc_auth.c: Likewise.
35859 * sunrpc/svc_raw.c: Likewise.
35860 * sunrpc/svc_run.c: Likewise.
35861 * sunrpc/svc_tcp.c: Likewise.
35862 * sunrpc/svc_udp.c: Likewise.
35863 * sunrpc/svc_unix.c: Likewise.
35864 * sunrpc/svcauth_des.c: Likewise.
35865 * sunrpc/xcrypt.c: Likewise.
35866 * sunrpc/xdr.c: Likewise.
35867 * sunrpc/xdr_array.c: Likewise.
35868 * sunrpc/xdr_float.c: Likewise.
35869 * sunrpc/xdr_intXX_t.c: Likewise.
35870 * sunrpc/xdr_mem.c: Likewise.
35871 * sunrpc/xdr_rec.c: Likewise.
35872 * sunrpc/xdr_ref.c: Likewise.
35873 * sunrpc/xdr_sizeof.c: Likewise.
35874 * sunrpc/xdr_stdio.c: Likewise.
35876 2012-05-10 Roland McGrath <roland@hack.frob.com>
35878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35879 change. Update copyright years.
35881 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35883 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35885 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35886 Joseph Myers <joseph@codesourcery.com>
35887 Paul Pluzhnikov <ppluzhnikov@google.com>
35890 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35892 [cross-compiling] (extra-libs): Likewise.
35893 [cross-compiling] (extra-libs-others): Likewise.
35894 [cross-compiling] (librpcsvc-routines): Likewise.
35895 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35896 [cross-compiling] (omit-deps): Likewise.
35897 (sunrpc-CPPFLAGS): New variable.
35898 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35899 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35900 (cross-rpcgen-objs): New variable.
35901 (extra-objs): Append $(cross-rpcgen-objs).
35902 ($(cross-rpcgen-objs)): New rule.
35903 ($(objpfx)cross-rpcgen): Likewise.
35904 (rpcgen-cmd): Define to use $(built-program-file). Expand
35906 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35907 ($(objpfx)x%.stmp): Likewise.
35908 * sunrpc/proto.h [IS_IN_build] (_): Define.
35909 [IS_IN_build] (_libc_intl_domainname): Likewise.
35911 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35913 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35914 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35915 and R_X86_64_TPOFF64.
35917 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35919 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35920 sysdeps/unix/sysv/syscalls.list.
35923 * sysdeps/unix/sysv/syscalls.list: Remove file.
35925 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35928 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35929 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35930 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35931 (__LC_IDENTIFICATION): Make these macros useful in #if
35932 expressions, as required by C99.
35934 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35936 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35937 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35940 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35942 * stdlib/longlong.h: Updated from GCC.
35944 2012-05-09 Andreas Jaeger <aj@suse.de>
35946 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35947 default is first entry.
35948 (run_mode): Set type.
35949 (main): Remove informal message about syslog.
35950 (options): Fix typo.
35953 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35956 (llrintf): Likewise.
35957 (llrint): Likewise.
35960 (nearbyint): Likewise.
35961 (nearbyintf): Likewise.
35963 2012-05-09 Andreas Jaeger <aj@suse.de>
35964 Pedro Alves <palves@redhat.com>
35966 * nscd/nscd.c (run_mode): Use enum.
35967 (main): Cleanup coding style issue.
35969 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35970 Andreas Jaeger <aj@suse.de>
35972 * nscd/nscd.c (go_background): Replaced with...
35973 (run_mode): ... this.
35974 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35975 (options): Add -F --foreground.
35976 (main): Implement it.
35977 (parse_opt): Parse it.
35979 2012-05-09 Andreas Jaeger <aj@suse.de>
35982 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35983 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35984 -Wconversion warning.
35985 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35988 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35990 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35992 (LC_ALL): Use macro-int-constant.
35993 (LC_COLLATE): Likewise.
35994 (LC_CTYPE): Likewise.
35995 (LC_MESSAGES): Likewise.
35996 (LC_MONETARY): Likewise.
35997 (LC_NUMERIC): Likewise.
35998 (LC_TIME): Likewise.
35999 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36000 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36002 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36004 [C99-based standards] (float_t): Expect type.
36005 [C99-based standards] (double_t): Expect type.
36006 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36008 [C99-based standards] (HUGE_VALL): Likewise.
36009 [C99-based standards] (INFINITY): Likewise.
36010 [C99-based standards] (NAN): Likewise.
36011 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36012 [C99-based standards] (FP_NAN): Likewise.
36013 [C99-based standards] (FP_NORMAL): Likewise.
36014 [C99-based standards] (FP_SUBNORMAL): Likewise.
36015 [C99-based standards] (FP_ZERO): Likewise.
36016 [C99-based standards] (FP_FAST_FMA): Use
36017 optional-macro-int-constant. Specify type. Require == 1.
36018 [C99-based standards] (FP_FAST_FMAF): Likewise.
36019 [C99-based standards] (FP_FAST_FMAL): Likewise.
36020 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36021 [C99-based standards] (FP_ILOGBNAN): Likewise.
36022 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36024 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36025 [C99-based standards] (math_errhandling): Specify type.
36026 [ISO99 || ISO11] (signgam): Do not allow.
36027 [non-C99-based standards] (copysignf): Do not allow.
36028 [non-C99-based standards] (exp2f): Likewise.
36029 [non-C99-based standards] (log2f): Likewise.
36030 [non-C99-based standards] (modff): Allow.
36031 [non-C99-based standards] (erff): Do not allow.
36032 [non-C99-based standards] (erfcf): Likewise.
36033 [non-C99-based standards] (gammaf): Likewise.
36034 [non-C99-based standards] (hypotf): Likewise.
36035 [non-C99-based standards] (j0f): Likewise.
36036 [non-C99-based standards] (j1f): Likewise.
36037 [non-C99-based standards] (jnf): Likewise.
36038 [non-C99-based standards] (lgammaf): Likewise.
36039 [non-C99-based standards] (tgammaf): Likewise.
36040 [non-C99-based standards] (y0f): Likewise.
36041 [non-C99-based standards] (y1f): Likewise.
36042 [non-C99-based standards] (ynf): Likewise.
36043 [non-C99-based standards] (isnanf): Likewise.
36044 [non-C99-based standards] (acoshf): Likewise.
36045 [non-C99-based standards] (asinhf): Likewise.
36046 [non-C99-based standards] (atanhf): Likewise.
36047 [non-C99-based standards] (cbrtf): Likewise.
36048 [non-C99-based standards] (expm1f): Likewise.
36049 [non-C99-based standards] (ilogbf): Likewise.
36050 [non-C99-based standards] (log1pf): Likewise.
36051 [non-C99-based standards] (logbf): Likewise.
36052 [non-C99-based standards] (nextafterf): Likewise.
36053 [non-C99-based standards] (remainderf): Likewise.
36054 [non-C99-based standards] (rintf): Likewise.
36055 [non-C99-based standards] (scalbf): Likewise.
36056 [non-C99-based standards] (copysignl): Likewise.
36057 [non-C99-based standards] (exp2l): Likewise.
36058 [non-C99-based standards] (log2l): Likewise.
36059 [non-C99-based standards] (modfl): Allow.
36060 [non-C99-based standards] (erfl): Do not allow.
36061 [non-C99-based standards] (erfcl): Likewise.
36062 [non-C99-based standards] (gammal): Likewise.
36063 [non-C99-based standards] (hypotl): Likewise.
36064 [non-C99-based standards] (j0l): Likewise.
36065 [non-C99-based standards] (j1l): Likewise.
36066 [non-C99-based standards] (jnl): Likewise.
36067 [non-C99-based standards] (lgammal): Likewise.
36068 [non-C99-based standards] (tgammal): Likewise.
36069 [non-C99-based standards] (y0l): Likewise.
36070 [non-C99-based standards] (y1l): Likewise.
36071 [non-C99-based standards] (ynl): Likewise.
36072 [non-C99-based standards] (isnanl): Likewise.
36073 [non-C99-based standards] (acoshl): Likewise.
36074 [non-C99-based standards] (asinhl): Likewise.
36075 [non-C99-based standards] (atanhl): Likewise.
36076 [non-C99-based standards] (cbrtl): Likewise.
36077 [non-C99-based standards] (expm1l): Likewise.
36078 [non-C99-based standards] (ilogbl): Likewise.
36079 [non-C99-based standards] (log1pl): Likewise.
36080 [non-C99-based standards] (logbl): Likewise.
36081 [non-C99-based standards] (nextafterl): Likewise.
36082 [non-C99-based standards] (remainderl): Likewise.
36083 [non-C99-based standards] (rintl): Likewise.
36084 [non-C99-based standards] (scalbl): Likewise.
36085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36086 [non-C99-based standards] (FP_*): Do not allow.
36087 [C99-based standards] (FP_*): Change to
36088 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36089 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36091 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36092 (SIG_ERR): Likewise.
36093 [X/Open-based standards] (SIG_HOLD): Likewise.
36094 (SIG_IGN): Likewise.
36095 (SIGABRT): Use macro-int-constant. Specify type. Require
36097 (SIGFPE): Likewise.
36098 (SIGILL): Likewise.
36099 (SIGINT): Likewise.
36100 (SIGSEGV): Likewise.
36101 (SIGTER): Likewise.
36102 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36103 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36104 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36105 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36106 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36107 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36108 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36109 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36110 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36111 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36112 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36113 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36114 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36115 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36116 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36117 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36118 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36119 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36120 [X/Open-based standards] (SIGTRAP): Likewise.
36121 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36122 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36123 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36124 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36125 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36128 2012-05-08 Ian Wienand <ianw@vmware.com>
36131 * time/tzset.c (__tzset_parse_tz): Update default rules for
36132 daylight time changes in the Energy Policy Act of 2005.
36134 2012-05-09 Andreas Jaeger <aj@suse.de>
36137 * elf/ldconfig.c (parse_conf): Change string to make clear that
36138 ldconfig only issued a warning if ld.so.conf does not exist.
36140 2012-05-08 David S. Miller <davem@davemloft.net>
36142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36143 movxtod instead of popping the value on the stack.
36145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36147 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36149 * config.h.in: Add HAVE_ARM_PCS_VFP.
36151 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36154 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36155 checking but the checks are disabled for any reason.
36157 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36159 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36160 and ELF64_R_TYPE with ELFW(R_TYPE).
36162 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36164 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36165 (ulimit): Likewise.
36167 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36168 (settimeofday): Likewise.
36170 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36172 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36173 a struct th_u2 inside the union, and move tu_block/tu_code into
36174 a new th_u3 union of tu_block/tu_code inside of that. Move
36175 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36176 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36177 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36178 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36179 (th_stuff): Change to th_u1.tu_stuff.
36181 (th_msg): Change to th_u1.th_u2.tu_data.
36183 2012-05-07 David S. Miller <davem@davemloft.net>
36185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36188 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36189 (SETUP_PIC_REG): Use it.
36190 (SETUP_PIC_REG_LEAF): Use it.
36192 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36196 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36198 (EXPL_FINITE): Likewise.
36199 (FLDLOG): Likewise.
36200 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36201 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36203 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36205 (EXPL_FINITE): Likewise.
36206 (FLDLOG): Likewise.
36207 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36208 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36210 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36211 test of -max_value argument for long double.
36212 * sysdeps/i386/fpu/libm-test-ulps: Update.
36213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36215 2012-05-06 David S. Miller <davem@davemloft.net>
36217 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36218 quad soft-float symbols whose references which are compiler
36220 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36222 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36226 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36228 (EXPL_FINITE): Likewise.
36229 (FLDLOG): Likewise.
36232 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36233 Adjust comments for base varying.
36234 (__expl_finite): Change alias to EXPL_FINITE.
36235 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36237 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36238 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36239 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36240 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36241 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36243 (EXPL_FINITE): Likewise.
36244 (FLDLOG): Likewise.
36247 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36248 Adjust comments for base varying.
36249 (__expl_finite): Change alias to EXPL_FINITE.
36250 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36255 * math/libm-test.inc (check_float_internal): Correct ulp
36256 calculation for subnormal expected results.
36258 2012-05-06 Andreas Jaeger <aj@suse.de>
36260 * Makeconfig (+math-flags): New, set to -frounding-math.
36261 (+cflags): Add +math-flags so that all of glibc gets compiled with
36264 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36266 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36268 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36274 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36275 (__ieee754_expl): Allow for and saturate large arguments.
36276 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36277 (u_threshold): Likewise.
36278 (__exp): Call __ieee754_exp before checking for overflow and
36280 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36281 (u_threshold): Likewise.
36282 (__expf): Call __ieee754_expf before checking for overflow and
36284 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36285 (u_threshold): Likewise.
36286 (__expl): Call __ieee754_expl before checking for overflow and
36288 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36289 (__ieee754_expl): Allow for and saturate large arguments.
36290 * math/libm-test.inc (exp_test): Add another test. Do not allow
36291 missing overflow exception on overflow.
36292 (expm1_test): Do not allow missing overflow exception on overflow.
36294 * sysdeps/i386/fpu/e_expl.c: Move to ...
36295 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36296 rather than using inline asm.
36297 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36298 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36299 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36301 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36304 (signal): Likewise.
36308 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36310 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36311 sysdeps/unix/common/syscalls.list.
36312 (fchmod): Likewise.
36313 (fchown): Likewise.
36314 (ftruncate): Likewise.
36315 (getrusage): Likewise.
36316 (gettimeofday): Likewise.
36317 (setpgid): Likewise.
36318 (setregid): Likewise.
36319 (setreuid): Likewise.
36320 (sigaction): Likewise.
36321 (truncate): Likewise.
36322 (vhangup): Likewise.
36323 * sysdeps/unix/common/syscalls.list: Remove file.
36324 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36325 * sysdeps/unix/sysv/linux/Implies: Likewise.
36327 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36329 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36331 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36335 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36338 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36341 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36344 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36347 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36350 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36353 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36357 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36361 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36364 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36368 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36372 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36374 * sysdeps/unix/common/bits/dirent.h: Remove file.
36375 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36377 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36378 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36379 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36380 * sysdeps/unix/bsd/isatty.c: Likewise.
36381 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36382 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36383 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36385 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36389 long double comparison inaccuracies.
36390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36393 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36395 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36396 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36398 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36401 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36402 nonzero digits before rounding a hex value.
36403 * stdlib/tst-strtod.c (tests): Add another test.
36405 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36407 * sysdeps/s390/fpu/libm-test-ulps: Update.
36409 2012-05-03 Andreas Jaeger <aj@suse.de>
36411 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36412 does not get optimized out.
36413 (malloc_opt_barrier): New.
36415 2012-05-03 Andreas Jaeger <aj@suse.de>
36416 Roland McGrath <roland@hack.frob.com>
36418 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36419 intermediate file deletion.
36420 (generated): Add .symlist files.
36422 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36425 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36426 Redirect under this condition.
36427 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36428 [__USE_GNU] (__dprintf_chk): Not under this condition.
36429 [__USE_GNU] (__vdprintf_chk): Likewise.
36430 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36431 under this condition.
36432 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36433 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36434 [__USE_XOPEN2K8] (vdprintf): Likewise.
36435 [__USE_GNU] (__dprintf_chk): Not under this condition.
36436 [__USE_GNU] (__vdprintf_chk): Likewise.
36437 [__USE_GNU] (dprintf): Likewise.
36438 [__USE_GNU] (vdprintf): Likewise.
36440 2012-05-03 Roland McGrath <roland@hack.frob.com>
36442 * elf/Makefile (common-generated): Set this instead of generated for
36443 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36444 $(all-built-dso)-derived lists.
36446 2012-05-03 Andreas Jaeger <aj@suse.de>
36448 * sysdeps/i386/fpu/libm-test-ulps: Update.
36451 * FAQ.in: Likewise.
36452 * scripts/gen-FAQ.pl: Likewise.
36453 * manual/install.texi (Installation): Point to online location of
36455 * Makefile (files-for-dist): Remove FAQ.
36458 2012-05-02 Allan McRae <allan@archlinux.org>
36460 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36461 (LDFLAGS-reldepmod5.so): Likewise.
36462 (LDFLAGS-reldep6mod1.so): Likewise.
36463 (LDFLAGS-reldep6mod4.so): Likewise.
36464 (LDFLAGS-reldep8mod3.so): Likewise.
36465 (LDFLAGS-unload4mod1.so): Likewise.
36466 (LDFLAGS-unload4mod2.so): Likewise.
36467 (LDFLAGS-tst-initorder): Likewise.
36468 (LDFLAGS-tst-initordera2.so): Likewise.
36469 (LDFLAGS-tst-initordera3.so): Likewise.
36470 (LDFLAGS-tst-initordera4.so): Likewise.
36471 (LDFLAGS-tst-initorderb2.so): Likewise.
36472 (LDFLAGS-noload): Likewise.
36473 (LDFLAGS-next): Likewise.
36474 (LDFLAGS-order2mod1.so): Likewise.
36475 (LDFLAGS-order2mod2.so): Likewise.
36476 (LDFLAGS-tst-initorder2): Likewise.
36477 (LDFLAGS-tst-initorder2a.so): Likewise.
36478 (LDFLAGS-tst-initorder2b.so): Likewise.
36479 (LDFLAGS-tst-initorder2c.so): Likewise.
36480 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36482 2012-05-02 David S. Miller <davem@davemloft.net>
36484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36486 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36489 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36491 2012-05-02 Andreas Jaeger <aj@suse.de>
36493 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36494 since we manipulate rounding mode.
36495 (CPPFLAGS-test-idouble.c): Likewise.
36496 (CPPFLAGS-test-ifloat.c): Likewise.
36497 (CFLAGS-test-ldouble.c): Likewise.
36498 (CFLAGS-test-double.c): Likewise.
36499 (CFLAGS-test-float.c): Likewise.
36500 (CFLAGS-test-misc.c): Likewise.
36501 (CFLAGS-test-test-fenv.c): Likewise.
36503 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36507 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36508 comparisons to determine direction to adjust input.
36510 2012-05-01 Roland McGrath <roland@hack.frob.com>
36512 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36513 output to the target.
36515 * scripts/localplt.awk: New file.
36516 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36517 (check-localplt-CFLAGS): Variable removed.
36518 ($(all-built-dso:=.jmprel)): New static pattern rule.
36519 (generated): Add those targets.
36520 (localplt-built-dso): New variable.
36521 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36523 * elf/check-localplt.c: File removed.
36525 * scripts/check-execstack.awk: New file.
36526 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36527 (check-execstack-CFLAGS): Variable removed.
36528 ($(objpfx)check-execstack.h): Target removed.
36529 ($(objpfx)execstack-default): New target.
36530 (generated): Add that instead of check-execstack.h.
36531 ($(all-built-dso:=.phdr)): New static pattern rule.
36532 (generated): Add those targets.
36533 * elf/check-execstack.c: File removed.
36535 * scripts/check-textrel.awk: New file.
36536 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36537 (check-textrel-CFLAGS): Variable removed.
36538 (all-built-dso): Use := to define.o
36539 ($(all-built-dso:=.dyn)): New static pattern rule.
36540 (generated): Add those targets.
36541 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36542 * config.make.in (READELF): New substituted variable.
36543 * elf/check-textrel.c: File removed.
36545 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36547 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36549 * conform/data/ctype.h-data [C99-based standards] (isblank):
36551 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36552 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36553 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36554 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36555 Specify type. Require positive value.
36556 (EILSEQ): Likewise.
36557 (ERANGE): Likewise.
36558 [ISO || POSIX] (EILSEQ): Do not expect.
36559 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36560 Specify type. Require positive value.
36561 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36562 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36563 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36564 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36565 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36566 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36567 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36568 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36569 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36570 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36571 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36572 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36573 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36574 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36575 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36576 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36577 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36578 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36579 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36580 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36581 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36582 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36583 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36584 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36585 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36586 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36587 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36588 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36589 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36590 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36591 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36592 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36593 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36594 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36595 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36596 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36597 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36598 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36599 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36600 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36601 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36602 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36603 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36604 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36605 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36606 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36607 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36608 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36609 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36610 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36611 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36612 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36613 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36614 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36615 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36616 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36617 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36618 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36619 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36620 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36621 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36622 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36623 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36624 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36625 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36626 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36627 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36628 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36629 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36630 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36631 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36632 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36633 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36634 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36635 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36636 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36637 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36639 (FLT_ROUNDS): Expect as macro, not constant.
36640 (FLT_MANT_DIG): Use macro-int-constant.
36641 (DBL_MANT_DIG): Likewise.
36642 (LDBL_MANT_DIG): Likewise.
36643 (FLT_DIG): Likewise.
36644 (DBL_DIG): Likewise.
36645 (LDBL_DIG): Likewise.
36646 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36647 (DBL_MIN_EXP): Likewise.
36648 (LDBL_MIN_EXP): Likewise.
36649 (FLT_MAX_EXP): Use macro-int-constant.
36650 (DBL_MAX_EXP): Likewise.
36651 (LDBL_MAX_EXP): Likewise.
36652 (FLT_MAX_10_EXP): Likewise.
36653 (DBL_MAX_10_EXP): Likewise.
36654 (LDBL_MAX_10_EXP): Likewise.
36655 (FLT_MAX): Use macro-constant.
36656 (DBL_MAX): Likewise.
36657 (LDBL_MAX): Likewise.
36658 (FLT_EPSILON): Use macro-constant. Give upper bound.
36659 (DBL_EPSILON): Likewise.
36660 (LDBL_EPSILON): Likewise.
36661 (FLT_MIN): Likewise.
36662 (DBL_MIN): Likewise.
36663 (LDBL_MIN): Likewise.
36664 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36665 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36666 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36667 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36668 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36669 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36670 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36671 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36672 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36673 [ISO11] (FLT_TRUE_MIN): Likewise.
36674 [ISO11] (LDBL_TRUE_MIN): Likewise.
36675 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36676 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36677 (SCHAR_MIN): Use macro-int-constant. Specify type.
36678 (SCHAR_MAX): Likewise.
36679 (UCHAR_MAX): Likewise.
36680 (CHAR_MIN): Likewise.
36681 (CHAR_MAX): Likewise.
36682 (MB_LEN_MAX): Use macro-int-constant.
36683 (SHRT_MIN): Use macro-int-constant. Specify type.
36684 (SHRT_MAX): Likewise.
36685 (USHRT_MAX): Likewise.
36686 (INT_MAX): Likewise.
36687 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36689 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36691 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36693 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36694 bound negative. Suffix upper bound with "L".
36695 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36697 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36699 [C99-based standards] (LLONG_MAX): Likewise.
36700 [C99-based standards] (ULLONG_MAX): Likewise.
36701 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36703 [ISO11] (max_align_t): Require type.
36704 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36706 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36707 from $CFLAGS, without defining away __attribute__ calls.
36708 (checknamespace): Use $CFLAGS_namespace.
36710 * conform/conformtest.pl (@keywords): Only include C99 keywords
36711 for standards based on C99 or C11.
36713 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36715 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36718 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36719 usability of symbols in #if.
36721 * conform/conformtest.pl: If macro or constant types start
36722 "promoted:", expect the symbol to be of the following type
36723 promoted by the integer promotions.
36725 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36726 in one place. Also handle "macro-constant".
36728 * conform/conformtest.pl: Only accept expected macro values with
36729 "==". Parse all "macro" lines in one place.
36730 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36732 * conform/conformtest.pl: Handle braced types on "constant" lines
36733 instead of handling "typed-constant".
36734 * conform/data/signal.h-data: Use "constant" instead of
36737 * conform/conformtest.pl: Handle "optional-" at start of lines in
36738 one place rather than duplicating several cases. Handle each
36739 format of "macro" line with initial "optional-".
36741 * conform/conformtest.pl: Only accept expected constant or
36742 optional-constant values with "==". Parse all "constant" lines in
36743 one place. Parse all "optional-constant" lines in one place.
36744 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36745 * conform/data/fmtmsg.h-data: Likewise.
36746 * conform/data/netinet/in.h-data: Likewise.
36747 * conform/data/tar.h-data: Likewise.
36748 * conform/data/limits.h-data: Use "==" form on "constant" and
36749 "optional-constant" lines.
36751 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36752 Use -std=c99 for XOPEN2K.
36753 (@knownproblems): Remove.
36754 (newtoken): Don't check %isknown.
36756 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36757 Do not expect macro.
36758 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36759 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36760 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36761 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36762 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36763 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36764 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36765 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36766 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36767 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36768 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36769 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36770 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36771 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36772 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36773 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36774 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36775 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36776 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36777 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36778 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36779 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36780 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36781 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36782 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36783 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36784 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36785 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36786 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36787 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36788 [XPG3] (acosh): Likewise.
36789 [XPG3] (asinh): Likewise.
36790 [XPG3] (atanh): Likewise.
36791 [XPG3] (cbrt): Likewise.
36792 [XPG3] (expm1): Likewise.
36793 [XPG3] (ilogb): Likewise.
36794 [XPG3] (log1p): Likewise.
36795 [XPG3] (logb): Likewise.
36796 [XPG3] (nextafter): Likewise.
36797 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36798 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36799 [XPG3] (remainder): Likewise.
36800 [XPG3] (rint): Likewise.
36801 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36802 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36803 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36804 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36805 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36806 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36807 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36808 [UNIX98 || XOPEN2K] (scalb): Expect.
36809 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36810 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36811 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36812 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36813 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36814 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36815 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36816 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36817 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36818 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36819 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36820 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36821 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36822 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36823 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36824 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36825 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36826 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36827 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36828 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36829 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36830 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36831 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36832 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36833 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36834 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36835 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36836 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36837 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36838 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36839 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36840 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36841 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36842 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36843 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36844 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36845 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36846 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36847 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36848 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36849 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36850 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36851 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36852 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36853 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36854 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36855 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36856 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36857 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36858 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36859 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36860 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36861 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36862 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36863 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36864 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36865 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36866 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36867 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36868 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36869 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36870 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36871 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36872 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36873 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36874 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36875 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36876 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36877 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36878 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36879 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36880 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36881 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36882 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36883 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36884 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36885 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36886 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36887 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36888 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36889 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36890 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36891 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36892 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36893 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36894 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36895 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36896 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36897 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36898 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36899 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36900 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36901 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36902 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36903 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36904 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36905 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36906 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36907 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36908 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36909 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36910 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36911 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36912 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36913 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36914 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36915 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36916 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36917 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36918 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36919 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36920 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36921 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36922 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36923 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36924 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36925 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36926 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36927 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36928 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36929 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36930 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36931 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36932 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36933 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36934 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36935 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36936 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36937 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36938 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36939 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36940 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36941 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36942 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36943 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36944 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36945 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36947 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36948 _XOPEN_SOURCE_EXTENDED for XPG4.
36950 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36952 * Makeconfig (localtime): Remove variable.
36953 (inst_localtime-file): Likewise.
36955 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36976 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36980 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36981 comparisons to determine direction to adjust input.
36982 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36983 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36984 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36986 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36988 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36990 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36991 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36993 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36995 * math/libm-test.inc (nexttoward_test): Add more tests.
36997 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37000 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37001 in version GLIBC_2.1, not GLIBC_2.0.
37002 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37005 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37008 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37010 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37011 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37012 * math/libm-test.inc (acos_test): Add more tests.
37013 (asin_test): Likewise.
37014 * sysdeps/i386/fpu/libm-test-ulps: Update.
37015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37018 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37020 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37021 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37022 * math/libm-test.inc (acos_test_tonearest): New function.
37023 (acos_test_towardzero): Likewise.
37024 (acos_test_downward): Likewise.
37025 (acos_test_upward): Likewise.
37026 (asin_test_tonearest): Likewise.
37027 (asin_test_towardzero): Likewise.
37028 (asin_test_downward): Likewise.
37029 (asin_test_upward): Likewise.
37030 (main): Call the new functions.
37031 * sysdeps/i386/fpu/libm-test-ulps: Update.
37032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37036 * math/e_exp10.c: Include <float.h>.
37037 (__ieee754_exp10): Handle underflow here rather than multiplying
37038 large negative argument by M_LN10.
37039 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37041 * math/e_exp10l.c: Include <float.h>.
37042 (__ieee754_exp10l): Handle underflow here rather than multiplying
37043 large negative argument by M_LN10l.
37044 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37045 spurious overflow exception on underflow.
37047 2012-04-29 Marek Polacek <polacek@redhat.com>
37049 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37050 (__fortify_function): New macro.
37051 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37052 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37053 __extern_always_inline.
37054 * libio/bits/stdio2.h: Likewise.
37055 * libio/bits/stdio.h: Likewise.
37056 * string/string.h: Likewise.
37057 * string/bits/string3.h: Likewise.
37058 * include/stdio.h: Likewise.
37059 * stdlib/bits/stdlib.h: Likewise.
37060 * stdlib/stdlib.h: Likewise.
37061 * rt/bits/mqueue2.h: Likewise.
37062 * rt/mqueue.h: Likewise.
37063 * posix/bits/unistd.h: Likewise.
37064 * posix/unistd.h: Likewise.
37065 * io/bits/poll2.h: Likewise.
37066 * io/bits/fcntl2.h: Likewise.
37067 * io/fcntl.h: Likewise.
37068 * io/sys/poll.h: Likewise.
37069 * misc/bits/syslog.h: Likewise.
37070 * misc/bits/syslog-ldbl.h: Likewise.
37071 * misc/sys/syslog.h: Likewise.
37072 * socket/bits/socket2.h: Likewise.
37073 * socket/sys/socket.h: Likewise.
37074 * debug/tst-chk1.c: Likewise.
37075 * wcsmbs/bits/wchar2.h: Likewise.
37076 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37077 * wcsmbs/wchar.h: Likewise.
37079 2012-04-29 Andreas Jaeger <aj@suse.de>
37081 * Makerules (tests): Remove enable-check-abi protection.
37082 (check-abi-warn): Remove.
37083 (check-abi-%): Remove check-abi-warn usage.
37085 * configure.in: Remove check-abi configure option.
37086 * configure: Regenerated.
37087 * config.make.in (enable-check-abi): Remove.
37089 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37092 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37093 double functions to double *_finite functions.
37096 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37097 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37099 * stdio-common/Makefile (tests): Add tst-sprintf3.
37100 * stdio-common/tst-sprintf3.c: New file.
37102 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37103 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37105 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37107 * conform/conformtest.pl: Remove duplicate typed-constant
37110 2012-04-28 David S. Miller <davem@davemloft.net>
37112 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37113 (check-abi-%): Remove AWK script prerequisite and explicit
37115 (check-abi): Rewrite to just diff the symlist with the abilist.
37116 (config-tls, config-abi-config): Delete, no longer used.
37117 (update-abi-%): Remove AWK script and explicit abilist directory.
37118 (update-abi): Rewrite to simply compare and conditionally copy the
37119 symlist and the sysdep abilist file. Remove update-abi-config
37121 * abilist/ld.abilist: Remove.
37122 * abilist/libBrokenLocale.abilist: Remove.
37123 * abilist/libanl.abilist: Remove.
37124 * abilist/libcrypt.abilist: Remove.
37125 * abilist/libdl.abilist: Remove.
37126 * abilist/librt.abilist: Remove.
37127 * abilist/libthread_db.abilist: Remove.
37128 * abilist/libutil.abilist: Remove.
37129 * scripts/extract-abilist.awk: Remove.
37130 * scripts/merge-abilist.awk: Remove.
37131 * sysdeps/generic/libcidn.abilist: New file.
37132 * sysdeps/generic/libnss_compat.abilist: New file.
37133 * sysdeps/generic/libnss_db.abilist: New file.
37134 * sysdeps/generic/libnss_dns.abilist: New file.
37135 * sysdeps/generic/libnss_files.abilist: New file.
37136 * sysdeps/generic/libnss_hesiod.abilist: New file.
37137 * sysdeps/generic/libnss_nis.abilist: New file.
37138 * sysdeps/generic/libnss_nisplus.abilist: New file.
37139 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37140 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37141 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37143 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37144 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37145 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37146 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37147 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37148 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37149 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37150 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37151 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37153 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37154 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37155 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37156 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37158 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37159 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37160 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37161 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37162 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37163 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37165 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37166 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37167 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37169 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37272 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37273 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37274 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37276 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37277 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37278 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37279 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37280 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37281 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37282 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37283 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37284 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37285 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37337 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37339 * conform/conformtest.pl: Fix typo in handling typed-constant from
37342 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37344 * README: Cut down references to pre-2.6 Linux kernels and
37345 Linuxthreads. Update lists of configurations in libc and ports
37346 and sort alphabetically. Say "or newer" with Linux kernel version
37349 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37351 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37354 * math/libm-test.inc (logb_test_downward): New test to expose
37355 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37358 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37361 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37363 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37364 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37366 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37368 * sysdeps/unix/i386/brk.S: Remove file.
37369 * sysdeps/unix/i386/dl-brk.S: Likewise.
37370 * sysdeps/unix/i386/pipe.S: Likewise.
37371 * sysdeps/unix/i386/sigreturn.S: Likewise.
37372 * sysdeps/unix/i386/syscall.S: Likewise.
37373 * sysdeps/unix/i386/vfork.S: Likewise.
37374 * sysdeps/unix/i386/wait.S: Likewise.
37376 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37377 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37379 * configure.in (arm*-none*): Do not allow without
37380 --enable-hacker-mode.
37381 (netbsd*): Remove case setting base_os.
37382 (386bsd*): Likewise.
37383 (freebsd*): Likewise.
37386 (sunos*): Likewise.
37387 (ultrix*): Likewise.
37388 (newsos*): Likewise.
37389 (dynix*): Likewise.
37395 (minix*): Likewise.
37396 (irix4*): Likewise.
37397 (irix6*): Likewise.
37398 (solaris[2-9]*): Likewise.
37400 * configure: Regenerated.
37402 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37405 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37406 overflow or cancellation in calculating denominator.
37407 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37408 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37409 down expression to avoid unexpected rounding in newer GCCs.
37410 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37412 2012-04-26 David S. Miller <davem@davemloft.net>
37414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37415 long-double compat symbols.
37416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37430 2012-04-25 David S. Miller <davem@davemloft.net>
37432 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37433 HWCAP_* values only after the memory barriers have been defined.
37434 (atomic_full_barrier): Define.
37435 (atomic_read_barrier): Define.
37436 (atomic_write_barrier): Define.
37438 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37440 * shlib-versions: Add libgcc_s version information.
37441 * sysdeps/generic/libgcc_s.h: Remove.
37442 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37444 * sysdeps/gnu/unwind-resume.c: Likewise.
37445 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37447 2012-04-25 David S. Miller <davem@davemloft.net>
37449 * sysdeps/unix/sparc/brk.S: Delete.
37450 * sysdeps/unix/sparc/dl-brk.S: Delete.
37451 * sysdeps/unix/sparc/pipe.S: Delete.
37452 * sysdeps/unix/sparc/sysdep.S: Delete.
37453 * sysdeps/unix/sparc/sysdep.h: Delete.
37454 * sysdeps/unix/sparc/vfork.S: Delete.
37455 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37456 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37457 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37458 (ret_ERRVAL, r0, r1, MOVE): Define.
37459 (JUMPTARGET): Remove.
37460 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37461 sysdeps/unix/sparc/sysdep.h
37462 (ENTRY, END): Remove.
37463 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37465 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37467 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37468 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37471 * timezone/README: Update upstream location and email address for
37473 * timezone/zdump.c: Update from tzcode 2012b.
37474 * timezone/zic.c: Likewise.
37476 * configure.in (libc_cv_as_needed): Remove test.
37477 * configure: Regenerated.
37478 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37479 conditional definition.
37480 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37481 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37482 * config.make.in (have-as-needed): Remove variable.
37484 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37485 Paul Pluzhnikov <ppluzhnikov@google.com>
37487 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37490 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37492 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37493 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37494 * sysdeps/sh/strlen.S: Likewise.
37496 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37498 * sysdeps/unix/fork.S: Remove file.
37499 * sysdeps/unix/i386/fork.S: Likewise.
37500 * sysdeps/unix/sparc/fork.S: Likewise.
37502 * sysdeps/unix/system.c: Remove file.
37503 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37505 * sysdeps/unix/getegid.S: Remove file.
37506 * sysdeps/unix/geteuid.S: Likewise.
37508 2012-04-24 Roland McGrath <roland@hack.frob.com>
37510 * scripts/check-localplt.awk: New file.
37511 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37513 * scripts/data/localplt-generic.data: Add a comment.
37515 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37516 NODE when __dir_mkfile failed.
37517 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37518 Reported by Ludovic Courtès <ludo@gnu.org>.
37520 2012-04-24 Andreas Jaeger <aj@suse.de>
37522 * Makerules (common-clean): Also remove gen-as-const-headers
37525 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37527 * Makerules (native-compile): Do not change working directory for
37528 build. Use $(OUTPUT_OPTION) in command.
37529 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37531 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37534 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37535 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37536 * math/libm-test.inc (floor_test): Add more tests.
37537 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37539 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37541 * sysdeps/unix/getdents.c: Remove file.
37542 * sysdeps/unix/sysv/getdents.c: Likewise.
37543 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37545 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37546 sysdeps/unix/mman/syscalls.list.
37548 (mprotect): Likewise.
37550 (munmap): Likewise.
37551 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37552 * sysdeps/unix/mman/syscalls.list: Remove.
37553 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37555 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37556 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37557 * configure: Regenerated.
37558 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37559 $(libgcc_s_suffix).
37560 * config.make.in (libgcc_s_suffix): Remove variable.
37562 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37564 * sysdeps/unix/sysv/gethostname.c: Move to ...
37565 * sysdeps/posix/gethostname.c: ... here.
37567 * sysdeps/unix/execve.S: Remove file.
37569 * sysdeps/unix/_exit.S: Remove file.
37571 2012-04-23 Andreas Jaeger <aj@suse.de>
37574 * manual/Makefile: Remove make dist support, there's no
37575 need for a stand-alone documentation tar ball.
37576 (TEXI2DVI): Define always, it's not in Makeconfig.
37579 (edition): Removed.
37580 (glibc-doc-$(edition).tar): Removed
37584 (ETAGS): Remove, it's in Makeconfig.
37585 (move-if-change): Remove, it's in Makeconfig.
37587 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37590 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37591 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37592 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37593 (strtod_l, strtof_l, strtold_l): Remove __wur.
37594 It is not necessarily an error to ignore strtol's return value.
37595 One can reliably look at the stored endptr to decide whether
37596 the number had valid syntax.
37598 2012-04-21 Andreas Jaeger <aj@suse.de>
37601 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37603 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37605 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37606 * sysdeps/unix/sysv/Versions: Remove file.
37608 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37613 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37616 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37617 version from __vm86.
37619 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37621 * sysdeps/unix/common/lxstat.c: Remove file.
37622 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37624 * sysdeps/unix/sysv/Makefile: Remove file.
37626 * sysdeps/unix/sysv/direct.h: Remove file.
37628 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37629 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37630 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37631 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37632 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37633 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37634 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37636 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37638 * sysdeps/unix/xmknod.c: Remove file.
37639 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37641 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37643 * sysdeps/unix/sysv/i386/time.S: Remove file.
37645 * sysdeps/unix/fxstat.c: Remove file.
37646 * sysdeps/unix/xstat.c: Likewise.
37647 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37649 * sysdeps/unix/sysv/sigaction.c: Remove file.
37651 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37652 (sysdep_headers): Remove variable.
37653 [termio.h not in sysdep_headers] (generated): Likewise.
37654 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37655 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37656 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37657 * sysdeps/unix/sysv/tcflow.c: Likewise.
37658 * sysdeps/unix/sysv/tcflush.c: Likewise.
37659 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37660 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37661 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37662 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37663 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37665 * sysdeps/unix/siglist.c: Remove file.
37667 * sysdeps/unix/getppid.S: Remove file.
37669 * sysdeps/unix/mkdir.c: Remove file.
37670 * sysdeps/unix/rmdir.c: Likewise.
37672 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37674 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37676 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37677 errlist-compat value.
37679 2012-04-18 David S. Miller <davem@davemloft.net>
37681 * sysdeps/generic/memcopy.h (reg_char): Delete.
37682 * debug/strcat_chk.c: Use char, not reg_char.
37683 * debug/strcpy_chk.c: Likewise.
37684 * debug/strncat_chk.c: Likewise.
37685 * debug/strncpy_chk.c: Likewise.
37686 * string/memchr.c: Likewise.
37687 * string/memrchr.c: Likewise.
37688 * string/rawmemchr.c: Likewise.
37689 * string/strcat.c: Likewise.
37690 * string/strchr.c: Likewise.
37691 * string/strchrnul.c: Likewise.
37692 * string/strcmp.c: Likewise.
37693 * string/strcpy.c: Likewise.
37694 * string/strncat.c: Likewise.
37695 * string/strncmp.c: Likewise.
37696 * string/strncpy.c: Likewise.
37698 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37700 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37701 __builtin_memcopy is called when src and dest ranges are known to not
37704 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37706 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37707 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37708 fwd_align_merge macro call.
37709 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37710 bwd_align_merge macro call.
37711 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37713 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37715 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37716 bwd_align_merge macros.
37717 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37718 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37719 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37721 2012-04-18 David S. Miller <davem@davemloft.net>
37723 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37725 2012-04-18 Andreas Jaeger <aj@suse.de>
37728 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37729 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37730 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37732 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37733 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37734 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37736 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37737 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37738 Adjust for changed ldbl-128 files.
37740 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37741 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37742 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37744 2012-04-17 David S. Miller <davem@davemloft.net>
37746 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37748 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37750 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37751 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37752 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37753 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37754 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37755 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37757 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37760 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37761 * math/libm-test.inc: Add ilogb errno and exception tests.
37762 * math/w_ilogb.c: New file: ilogb wrapper.
37763 * math/w_ilogbf.c: New file: ilogbf wrapper.
37764 * math/w_ilogbl.c: New file: ilogbl wrapper.
37765 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37766 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37767 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37768 exception being thrown with 0.0 as argument.
37769 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37770 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37771 exception being thrown with 0.0 as argument.
37772 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37773 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37774 exception being thrown with 0.0 as argument.
37775 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37776 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37777 exception being thrown with 0.0 as argument.
37778 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37779 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37780 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37781 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37783 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37784 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37785 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37786 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37788 2012-04-17 Petr Baudis <pasky@ucw.cz>
37790 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37793 2012-04-16 Marek Polacek <polacek@redhat.com>
37795 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37797 2012-04-16 Marek Polacek <polacek@redhat.com>
37799 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37800 operands of fdivp instruction.
37802 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37804 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37805 * elf/tst-auditmod3b.c: Likewise.
37806 * elf/tst-auditmod4b.c: Likewise.
37807 * elf/tst-auditmod5b.c: Likewise.
37808 * elf/tst-auditmod6b.c: Likewise.
37809 * elf/tst-auditmod6c.c: Likewise.
37810 * elf/tst-auditmod7b.c: Likewise.
37811 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37812 * sysdeps/x86_64/preconfigure.in: Likewise.
37813 * sysdeps/x86_64/preconfigure: Regenerated.
37815 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37817 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37820 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37822 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37823 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37825 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37828 * locale/iso-639.def: Fix gl language name. Spotted by
37831 2012-04-12 Roland McGrath <roland@hack.frob.com>
37834 * libio/libio.h (__io_write_fn): Update comment.
37836 2012-04-12 Petr Baudis <pasky@ucw.cz>
37839 * stdio.texi (Hook Functions): The user provided writer function
37840 is not allowed to return -1.
37842 2012-04-11 David S. Miller <davem@davemloft.net>
37844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37846 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37848 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37849 Add a leading slash to rtkaio.
37851 2012-04-11 Jim Meyering <meyering@redhat.com>
37854 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37855 It is not necessarily an error to ignore fwrite's return
37856 value. One can reliably use ferror to test for errors after
37859 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37861 * bits/types.h (__snseconds_t): New type.
37862 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37864 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37866 (__SNSECONDS_T_TYPE): Likewise.
37867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37868 (__SNSECONDS_T_TYPE): Likewise.
37869 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37870 (__SNSECONDS_T_TYPE): Likewise.
37872 2012-04-10 Andreas Jaeger <aj@suse.de>
37875 * manual/time.texi (Processor Time): Return type of times is
37876 elapsed real time since an arbitrary point in the past.
37877 (CPU Time): Move CLK_TCK from here...
37878 (Processor Time): ...to here. Correct description.
37879 * manual/conf.texi (Constants for Sysconf): Correct description of
37882 2012-04-10 David S. Miller <davem@davemloft.net>
37885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37886 where the is a gap between DT_REL(A) and DT_JMPREL.
37888 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37890 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37891 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37892 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37894 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37896 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37897 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37898 (dl_main): Handle --inhibit-cache.
37899 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37901 * elf/dl-load.c (_dl_map_object): Use it.
37902 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37904 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37907 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37908 (__ieee754_powl): Saturate large exponents rather than testing for
37909 overflow of y*log2(x).
37910 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37911 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37915 * math/s_ctan.c: Include <float.h>.
37916 (__ctan): Avoid internal overflow or cancellation in calculating
37918 * math/s_ctanf.c: Likewise.
37919 * math/s_ctanl.c: Likewise.
37920 * math/s_ctanh.c: Likewise.
37921 * math/s_ctanhf.c: Likewise.
37922 * math/s_ctanhl.c: Likewise.
37923 * math/libm-test.inc (ctan_test): Add more tests.
37924 (ctanh_test): Likewise.
37925 * sysdeps/i386/fpu/libm-test-ulps: Update.
37926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37928 2012-04-09 Andreas Jaeger <aj@suse.de>
37931 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37932 is an optional BSD extension.
37935 * manual/stdio.texi (Opening Streams): Document additional fopen
37938 2012-04-09 Roland McGrath <roland@hack.frob.com>
37940 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37941 %eax without telling the compiler.
37943 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37946 * manual/install.texi: Use sourceware.org.
37948 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37951 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37952 (__ieee754_pow): Generate overflow and underflow using huge*huge
37953 and tiny*tiny rather than just returning constant infinity or zero
37954 for large exponents.
37955 * math/libm-test.inc (pow_test): Require overflow exceptions for
37956 applicable cases of large exponents.
37959 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37960 (__ieee754_pow): Use iterative multiplication algorithm only for
37961 integer exponents with absolute value below 1024. Check for odd
37962 integer exponents when using algorithm for real exponents.
37963 * math/libm-test.inc (pow_test): Add more tests.
37964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37966 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37969 * math/libm-test.inc (exp_test): Do not allow overflow exception
37972 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37975 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37976 instead of __kernel_standard_f.
37978 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37980 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37981 * sysdeps/x86_64/memset_chk.S: Likewise.
37983 2012-04-08 Andreas Jaeger <aj@suse.de>
37986 * manual/startup.texi (Environment Access): Describe return value
37987 for putenv and setenv.
37990 * manual/filesys.texi (Directory Entries): Add description for
37994 * manual/filesys.texi (Directory Entries): Clarify that it's file
37995 system not operating system in the description of DT_UNKNOWN.
37998 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38000 2012-04-08 Stephen Compall <s11@member.fsf.org>
38003 * manual/llio.texi (Opening and Closing Files): Add cross
38004 reference to explain mode argument.
38006 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38008 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38009 * sysdeps/x86_64/memset_chk.S: Likewise.
38011 2012-04-07 David S. Miller <davem@davemloft.net>
38013 * elf/elf.h (R_SPARC_WDISP10): Define.
38014 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38017 R_SPARC_SIZE64 and R_SPARC_H34.
38019 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38021 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38022 conditions and remove no longer applicable assertion.
38024 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38026 * bits/byteswap.h: Include <features.h>.
38027 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38028 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38030 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38032 * bits/byteswap.h (__bswap_16): Removed.
38033 Include <bits/byteswap-16.h> to get __bswap_16.
38034 * sysdeps/i386/bits/byteswap.h: Likewise.
38035 * sysdeps/s390/bits/byteswap.h: Likewise.
38036 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38037 * bits/byteswap-16.h: New file.
38038 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38039 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38040 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38041 * string/Makefile (headers): Add bits/byteswap-16.h.
38043 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38046 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38048 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38049 * nss/tst-nss-static.c: New.
38051 2012-04-06 Robert Millan <rmh@gnu.org>
38054 * manual/llio.texi (File Position Primitive): lseek
38055 refers to WHENCE when it really means OFFSET.
38057 2012-04-06 Andreas Jaeger <aj@suse.de>
38059 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38060 strncmp declarations.
38062 * abilist/libc.abilist: Add __poll and __ppoll.
38064 2012-04-05 David S. Miller <davem@davemloft.net>
38066 * scripts/check-local-headers.sh: Accept a host triplet in the
38067 path matched by the exclude regexp.
38069 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38071 * sysdeps/powerpc/powerpc32/dl-machine.h
38072 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38073 * sysdeps/s390/s390-32/dl-machine.h
38074 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38075 * sysdeps/sparc/sparc32/dl-machine.h
38076 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38077 * sysdeps/sparc/sparc64/dl-machine.h
38078 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38080 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38082 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38083 undefined symbol errors.
38085 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38088 2012-04-05 Michael Matz <matz@suse.de>
38091 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38093 2012-04-05 Andreas Jaeger <aj@suse.de>
38096 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38099 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38101 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38102 which ROUND is no valid rounding mode.
38104 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38106 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38108 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38110 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38112 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38113 an exception using FPU order intentionally.
38115 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38117 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38118 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38119 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38120 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38122 2012-04-05 Simon Josefsson <simon@josefsson.org>
38125 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38126 EINVAL when BUFLEN is too smal.
38128 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38131 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38132 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38134 2012-04-03 Andreas Jaeger <aj@suse.de>
38137 * manual/setjmp.texi (System V contexts): Fix sentence.
38140 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38141 New macro for this case.
38142 [!__GNUC__] (__bswap_64): New inline function for this case.
38143 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38144 * bits/byteswap.h: Likewise.
38145 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38146 ull, guard with __GLIBC_HAVE_LONG_LONG.
38148 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38149 __GLIBC_HAVE_LONG_LONG.
38151 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38152 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38154 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38157 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38158 inptr and inend, rather than using last_ch.
38160 2012-04-02 David S. Miller <davem@davemloft.net>
38162 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38163 * stdio-common/printf-parse.h (read_int): Change return type to
38164 'int', return -1 on INT_MAX overflow.
38165 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38166 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38167 overflows INT_MAX. Check for overflow of in-format-string precision
38168 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38169 SIZE_MAX not INT_MAX for integer overflow test.
38170 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38171 skip the construct in the format string but do not record anything.
38172 * stdio-common/bug22.c: Adjust to test both width/prevision
38173 INT_MAX overflow as well as total length INT_MAX overflow. Check
38174 explicitly for proper errno values.
38176 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38178 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38180 * string/test-strcmp.c [! WIDE]: Likewise.
38181 * time/tst-mktime2.c: Likewise for INT_MAX.
38182 * string/test-string.h: #include <sys/param.h> for MIN.
38184 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38185 * sysdeps/i386/init-first.c (init): Likewise.
38186 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38187 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38188 * sysdeps/sh/init-first.c (init): Likewise.
38190 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38192 * po/ru.po: Update from translation team.
38193 * po/vi.po: Likewise.
38195 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38197 * resolv/nss_dns/dns-host.c: Merge copyright years.
38199 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38201 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38202 Optimize memcpy with prefetch if
38203 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38204 src, dst pointers have unequal 16 byte alignments.
38206 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38209 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38210 from a CNAME entry and return the minimum ttl for the query.
38211 (gaih_getanswer_slice): Likewise.
38213 2012-03-30 Jeff Law <law@redhat.com>
38215 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38217 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38218 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38220 * resolv/nss_dns/dns-host.c: Update copyright year.
38222 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38224 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38225 requests to save a system call. Fix check that all bytes are sent.
38227 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38228 comments for sendmmsg.
38230 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38233 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38234 with only 1 character between 0x0041 and 0x01b0.
38235 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38236 * wcsmbs/tst-mbsnrtowcs.c: New file.
38238 2012-03-29 David S. Miller <davem@davemloft.net>
38240 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38241 small copies by hand.
38243 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38246 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38247 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38250 2012-03-28 David S. Miller <davem@davemloft.net>
38252 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38253 that branches into memcpy.
38254 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38255 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38256 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38257 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38260 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38261 implementation too.
38262 * sysdeps/sparc/mempcpy.S: New file.
38264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38265 the IFUNC routine in the libc case.
38266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38268 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38269 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38270 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38271 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38272 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38273 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38274 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38275 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38277 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38278 loop to 256 bytes instead of 64 bytes and fix test signedness.
38280 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38281 * sysdeps/sparc/sparc32/Makefile: rather than here...
38282 * sysdeps/sparc/sparc64/Makefile: and here.
38284 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38286 * malloc/mallocbug.c: Avoid warnings about unused variables.
38288 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38291 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38292 in the right place. Discard and retry query if response is
38293 larger than input buffer size.
38295 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38300 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38301 x for large integer exponent.
38302 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38303 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38304 sign of result as needed afterwards.
38305 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38306 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38307 result for underflowing pow the same as for overflow.
38308 (__kernel_standard_l): Handle powl overflow and underflow here
38309 rather than calling __kernel_standard.
38310 * math/libm-test.inc (pow_test): Add more tests.
38325 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38326 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38327 (__kernel_standard_l): New function.
38328 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38330 * math/w_acosl.c (__acosl): Likewise.
38331 * math/w_asinl.c (__asinl): Likewise.
38332 * math/w_atan2l.c (__atan2l): Likewise.
38333 * math/w_atanhl.c (__atanhl): Likewise.
38334 * math/w_coshl.c (__coshl): Likewise.
38335 * math/w_exp10l.c (__exp10l): Likewise.
38336 * math/w_exp2l.c (__exp2l): Likewise.
38337 * math/w_fmodl.c (__fmodl): Likewise.
38338 * math/w_hypotl.c (__hypotl): Likewise.
38339 * math/w_j0l.c (__j0l, __y0l): Likewise.
38340 * math/w_j1l.c (__j1l, __y1l): Likewise.
38341 * math/w_jnl.c (__jnl, __ynl): Likewise.
38342 * math/w_lgammal.c (__lgammal): Likewise.
38343 * math/w_log10l.c (__log10l): Likewise.
38344 * math/w_log2l.c (__log2l): Likewise.
38345 * math/w_logl.c (__logl): Likewise.
38346 * math/w_powl.c (__powl): Likewise.
38347 * math/w_remainderl.c (__remainderl): Likewise.
38348 * math/w_scalbl.c (sysv_scalbl): Likewise.
38349 * math/w_sinhl.c (__sinhl): Likewise.
38350 * math/w_sqrtl.c (__sqrtl): Likewise.
38351 * math/w_tgammal.c (__tgammal): Likewise.
38352 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38353 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38354 * math/libm-test.inc (acos_test): Add more tests.
38355 (acosh_test): Likewise.
38356 (asin_test): Likewise.
38357 (atanh_test): Likewise.
38358 (exp_test): Likewise.
38359 (exp10_test): Likewise.
38360 (exp2_test): Likewise.
38361 (expm1_test): Likewise.
38362 (lgamma_test): Likewise.
38363 (log_test): Likewise.
38364 (log10_test): Likewise.
38365 (log1p_test): Likewise.
38366 (log2_test): Likewise.
38367 (pow_test): Do not allow some spurious overflow exceptions.
38368 (sqrt_test): Add more tests.
38369 (tgamma_test): Likewise.
38370 (y0_test): Likewise.
38371 (y1_test): Likewise.
38372 (yn_test): Likewise.
38374 2012-03-27 Anton Blanchard <anton@samba.org>
38376 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38378 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38379 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38380 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38382 2012-03-27 David S. Miller <davem@davemloft.net>
38384 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38386 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38387 have-as-vis3 check.
38389 2012-03-27 Andreas Jaeger <aj@suse.de>
38391 * sysdeps/x86_64/elf/configure.in: Moved to ...
38392 * sysdeps/x86_64/configure.in: ... here.
38393 * sysdeps/x86_64/elf/start.S: Moved to ...
38394 * sysdeps/x86_64/start.S: ... here.
38395 * sysdeps/x86_64/elf/configure: Delete.
38397 * sysdeps/x86_64/configure.in: Merge contents from
38398 sysdeps/i386/configure.in (without i686 check).
38400 * sysdeps/i386/elf/Versions: Merge into ...
38401 * sysdeps/i386/Versions: ... this.
38402 * sysdeps/i386/elf/Versions: Delete file.
38403 * sysdeps/i386/elf/start.S: Moved to ...
38404 * sysdeps/i386/start.S: ...here.
38405 * sysdeps/i386/elf/configure.in: Merge into...
38406 * sysdeps/i386/configure.in: ...here.
38407 * sysdeps/i386/elf/configure.in: Delete file.
38408 * sysdeps/i386/elf/configure: Delete file.
38410 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38411 * debug/backtracesyms.c: ... here.
38412 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38413 * debug/backtracesymsfd.c: ... here.
38414 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38415 * sysdeps/generic/ifunc-sel.h: ... here.
38417 * sysdeps/unix/i386/start.c: Delete file.
38418 * sysdeps/unix/sparc/start.c: Delete file.
38419 * sysdeps/unix/start.c: Delete file.
38421 * sysdeps/sh/elf/configure.in: Moved to ...
38422 * sysdeps/sh/configure.in: ... here.
38423 * sysdeps/sh/elf/start.S: Moved to ...
38424 * sysdeps/sh/start.S: ... here.
38425 * sysdeps/sh/elf/configure: Delete file.
38427 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38428 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38429 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38430 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38431 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38432 * sysdeps/powerpc/powerpc64/start.S: here.
38433 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38434 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38435 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38436 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38437 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38439 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38440 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38441 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38442 * sysdeps/powerpc/powerpc32/start.S: ... here.
38443 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38444 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38445 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38447 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38448 * sysdeps/powerpc/ifunc-sel.h: ... here.
38449 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38450 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38452 * sysdeps/sparc/elf/configure.in: Moved to ...
38453 * sysdeps/sparc/configure.in: ... here.
38454 * sysdeps/sparc/elf/configure: Delete file.
38455 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38456 * sysdeps/sparc/sparc32/start.S: ... here.
38457 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38458 * sysdeps/sparc/sparc64/start.S: ... here.
38459 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38460 * sysdeps/sparc/sparc32/Makefile: ... this.
38461 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38462 * sysdeps/sparc/sparc64/Makefile: ... this.
38464 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38465 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38466 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38467 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38468 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38469 * sysdeps/s390/s390-32/setjmp.S: ... here.
38470 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38471 * sysdeps/s390/s390-32/configure.in: ... here.
38472 * sysdeps/s390/s390-32/elf/configure: Delete file.
38473 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38474 * sysdeps/s390/s390-32/start.S: ... here.
38476 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38477 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38478 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38479 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38480 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38481 * sysdeps/s390/s390-64/setjmp.S: ... here.
38482 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38483 * sysdeps/s390/s390-64/configure.in: ... here
38484 * sysdeps/s390/s390-64/elf/configure: Delete file.
38485 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38486 * sysdeps/s390/s390-64/start.S: ... here.
38487 * sysdeps/s390/s390-64/elf/configure: Delete.
38489 * configure.in: Remove support for elf directories in sysdeps.
38491 * configure: Regenerated.
38492 * sysdeps/i386/configure: Regenerated.
38493 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38494 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38495 * sysdeps/s390/s390-32/configure: Regenerated.
38496 * sysdeps/s390/s390-64/configure: Regenerated.
38497 * sysdeps/sh/configure: Regenerated.
38498 * sysdeps/sparc/configure: Regenerated.
38499 * sysdeps/x86_64/configure: Regenerated.
38501 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38505 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38506 denormal result into account.
38508 2012-03-25 Roland McGrath <roland@hack.frob.com>
38510 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38511 Reported by Allan McRae <allan@archlinux.org>.
38513 2012-03-23 Jeff Law <law@redhat.com>
38515 * nss/getnssent.c (__nss_getent): Fix typo.
38517 2012-03-23 David S. Miller <davem@davemloft.net>
38519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38521 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38523 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38524 to pad to uint64_t for each field.
38525 (dl_tls_index): Replace unsigned long with uint64_t.
38527 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38528 Paul Pluzhnikov <ppluzhnikov@google.com>
38531 * grp/Makefile (otherlibs): Don't set it.
38532 * inet/Makefile (otherlibs): Likewise.
38533 * login/Makefile (otherlibs): Likewise.
38534 * nscd/Makefile (otherlibs): Likewise.
38535 * posix/Makefile (otherlibs): Likewise.
38536 * pwd/Makefile (otherlibs): Likewise.
38537 * rt/Makefile (otherlibs): Likewise.
38538 * sunrpc/Makefile (otherlibs): Likewise.
38539 * nss/Makefile (otherlibs): Likewise.
38540 Add libnss_files to routines and static-only-routines.
38541 ($(objpfx)getent): Remove rule.
38542 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38543 static-only-routines.
38545 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38548 * math/s_cexp.c: Include <float.h>.
38549 (__cexp): Handle exp result overflowing not necessarily
38550 overflowing both real and imaginary parts of result.
38551 * math/s_cexpf.c: Likewise.
38552 * math/s_cexpl.c: Likewise.
38553 * math/libm-test.inc (cexp_test): Add more tests.
38554 * sysdeps/i386/fpu/libm-test-ulps: Update.
38555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38557 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38559 * include/link.h (ELFW): New macro.
38560 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38561 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38563 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38565 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38568 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38570 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38572 (struct La_x32_retval): Likewise.
38574 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38576 * sysdeps/x86_64/preconfigure.in: New file.
38577 * sysdeps/x86_64/preconfigure: New generated file.
38579 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38582 * math/e_exp2l.c: Include <float.h>.
38583 (__ieee754_exp2l): Handle overflow and underflow cases
38584 separately. Only pass fractional part of argument to
38586 * math/libm-test.inc (exp2_test): Add more tests.
38588 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38589 negating x to take absolute value.
38590 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38592 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38593 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38595 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38596 computing low part if x was negated.
38597 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38599 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38601 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38602 la_x32_gnu_pltexit.
38603 (pltexit): Cast int_retval to ptrdiff_t.
38604 * elf/tst-auditmod3b.c: Likewise.
38605 * elf/tst-auditmod4b.c: Likewise.
38606 * elf/tst-auditmod5b.c: Likewise.
38607 * elf/tst-auditmod6b.c: Likewise.
38608 * elf/tst-auditmod6c.c: Likewise.
38609 * elf/tst-auditmod7b.c: Likewise.
38611 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38612 and x32_gnu_pltexit.
38614 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38615 __ELF_NATIVE_CLASS.
38616 (La_x32_regs): New macro.
38617 (La_x32_retval): Likewise.
38618 (la_x32_gnu_pltenter): New function prototype.
38619 (la_x32_gnu_pltexit): Likewise.
38621 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38628 * configure.in (libc_cv_cc_nofma): Check for option to disable
38629 generation of FMA instructions.
38630 * configure: Regenerate.
38631 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38632 * sysdeps/ieee754/dbl-64/Makefile: New file.
38633 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38634 Remove brandred-fma4.
38635 (CFLAGS-brandred-fma4.c): Remove.
38636 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38637 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38639 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38642 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38644 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38645 LLONG_MAX != LONG_MAX.
38646 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38647 (_fitoa_word): Likewise.
38648 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38649 LLONG_MAX != LONG_MAX.
38650 * stdio-common/_itowa.h: Include <_itoa.h>.
38651 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38652 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38653 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38654 only if not defined.
38655 (_ITOA_WORD_TYPE): Likewise.
38656 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38657 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38659 2012-03-21 David S. Miller <davem@davemloft.net>
38661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38663 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38665 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38666 of x86_64 when setting libc_cv_slibdir, libdir and
38668 * sysdeps/unix/sysv/linux/configure: Regenerated.
38670 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38672 * manual/lang.texi (Old Varargs): Remove section.
38673 (How Variadic): Update menu.
38674 (va_start): Do not mention varargs.h.
38676 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38677 Joseph Myers <joseph@codesourcery.com>
38679 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38681 * configure: Regenerated.
38683 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38685 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38686 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38689 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38692 * Makefile (files-for-dist): Remove NOTES.
38693 (NOTES): Remove rule.
38694 * README: Don't refer to NOTES.
38695 * manual/creature.texi: Don't include macros.texi.
38696 * manual/intro.texi (creature.texi): Remove comment referring to
38699 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38700 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38701 * configure: Regenerated.
38702 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38703 LIBC_TRY_CC_OPTION.
38704 (libc_cv_as_i686): Likewise.
38705 (libc_cv_cc_avx): Likewise.
38706 (libc_cv_cc_sse2avx): Likewise.
38707 (libc_cv_cc_fma4): Likewise.
38708 (libc_cv_cc_novzeroupper): Likewise.
38709 * sysdeps/i386/configure: Regenerated.
38712 * sysdeps/i386/fpu/s_cexp.S: Remove.
38713 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38714 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38715 * math/libm-test.inc (cexp_test): Add more tests.
38716 * sysdeps/i386/fpu/libm-test-ulps: Update.
38717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38719 2012-03-21 Allan McRae <allan@archlinux.org>
38721 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38723 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38726 * math/w_exp2.c: Do not include <float.h>.
38727 (o_threshold, u_threshold): Remove.
38728 (__exp2): Calculate result before checking finiteness and calling
38730 * math/w_exp2f.c: Likewise.
38731 * math/w_exp2l.c: Likewise.
38732 * math/libm-test.inc (exp2_test): Require overflow exception for
38736 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38737 range of signed 64-bit integers before using fistpll. Remove
38738 checks for whether integers fit in mantissa bits.
38739 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38740 the range of signed 32-bit integers before using fistpl. Remove
38741 checks for whether integers fit in mantissa bits.
38742 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38743 (__ieee754_powl): Test for y outside the range of signed 64-bit
38744 integers before using fistpll. Reduce 64-bit values to 63-bit
38746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38747 divide-by-zero is raised for zero to large negative powers.
38748 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38749 (__ieee754_powl): Test for y outside the range of signed 64-bit
38750 integers before using fistpll. Reduce 64-bit values to 63-bit
38752 * math/libm-test.inc (pow_test): Add more tests.
38754 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38756 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38757 <stdio-common/_itoa.h>.
38758 * debug/segfault.c: Likewise.
38759 * elf/dl-cache.c: Likewise.
38760 * elf/dl-minimal.c: Likewise.
38761 * elf/dl-misc.c: Likewise.
38762 * elf/dl-sysdep.c: Likewise.
38763 * elf/dl-version.c: Likewise.
38764 * elf/rtld.c: Likewise.
38765 * hurd/hurdsock.c: Likewise.
38766 * hurd/lookup-retry.c: Likewise.
38767 * malloc/malloc.c: Likewise.
38768 * malloc/mtrace.c: Likewise.
38769 * nscd/nscd_getgr_r.c: Likewise.
38770 * nscd/nscd_getpw_r.c: Likewise.
38771 * nscd/nscd_getserv_r.c: Likewise.
38772 * posix/getopt_init.c: Likewise.
38773 * posix/wordexp.c: Likewise.
38774 * stdio-common/_itoa.c: Likewise.
38775 * stdio-common/printf_fphex.c: Likewise.
38776 * stdio-common/vfprintf.c: Likewise.
38777 * string/_strerror.c: Likewise.
38778 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38779 * sysdeps/i386/i686/hp-timing.h: Likewise.
38780 * sysdeps/mach/_strerror.c: Likewise.
38781 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38782 * sysdeps/mach/hurd/sethostid.c: Likewise.
38783 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38784 * sysdeps/mach/xpg-strerror.c: Likewise.
38785 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38786 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38787 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38788 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38789 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38790 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38791 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38792 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38793 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38794 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38795 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38796 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38797 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38798 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38799 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38800 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38801 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38802 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38803 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38804 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38805 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38807 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38809 * stdio-common/_itoa.h: Moved to ...
38810 * sysdeps/generic/_itoa.h: Here.
38812 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38814 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38815 instead of "_itoa.h" and "_itowa.h".
38816 * stdio-common/vfprintf.: Likewise.
38818 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38820 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38822 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38823 (__signbit): Likwise.
38824 (llrintf): Likwise.
38827 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38829 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38832 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38834 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38835 OVERFLOW_EXCEPTION_OK.
38836 * math/libm-test.inc ("Philosophy"): Update comment about
38838 (OVERFLOW_EXCEPTION): Define.
38839 (OVERFLOW_EXCEPTION_OK): Likewise.
38840 (INVALID_EXCEPTION_OK): Renumber.
38841 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38842 (IGNORE_ZERO_INF_SIGN): Likewise.
38843 (test_exceptions): Handle FE_OVERFLOW.
38844 (exp10_test): Expect overflow exceptions.
38845 (exp2_test): Likewise.
38846 (expm1_test): Likewise.
38847 (nextafter_test): Likewise.
38848 (pow_test): Likewise.
38849 (scalbn_test): Likewise.
38850 (scalbln_test): Likewise.
38852 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38854 * sysdeps/x86_64/bits/atomic.h
38855 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38857 (atomic_exchange_acq): Likewise.
38858 (__arch_exchange_and_add_body): Likewise.
38859 (__arch_add_body): Likewise.
38860 (atomic_add_negative): Likewise.
38861 (atomic_add_zero): Likewise.
38863 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38865 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38866 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38868 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38870 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38871 Check __x86_64__ instead of __WORDSIZE.
38873 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38875 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38877 2012-03-19 David S. Miller <davem@davemloft.net>
38879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38881 * sysdeps/sparc/fpu/fenv_private.h: New file.
38882 * sysdeps/sparc/fpu/math_private.h: Use it.
38883 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38885 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38886 (libc_feholdexcept_setroundl): Remove.
38887 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38889 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38890 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38892 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38894 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38895 int64_t instead of long int.
38896 (INSERT_WORDS64): Likwise.
38898 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38900 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38901 _Unwind_GetCFA return to _Unwind_Ptr first.
38903 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38906 * math/s_clog.c: Include <float.h>.
38907 (__clog): Scale large or subnormal inputs.
38908 * math/s_clogf.c: Likewise.
38909 * math/s_clogl.c: Likewise.
38910 * math/s_clog10.c: Include <float.h>.
38911 (M_LOG10_2): Define.
38912 (__clog10): Scale large or subnormal inputs.
38913 * math/s_clog10f.c: Likewise.
38914 * math/s_clog10l.c: Likewise.
38915 * math/libm-test.inc (clog_test): Add more tests.
38916 (clog10_test): Likewise.
38917 * sysdeps/i386/fpu/libm-test-ulps: Update.
38918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38921 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38923 * math/libm-test.inc (atan2_test): Add another test.
38925 * Makerules (common-objdir-compile): Remove.
38926 * sysdeps/unix/Makefile (config-generated): Do not add
38927 $(unix-generated) to variable.
38928 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38929 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38931 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38933 [generic bits/local_lim.h] (before-compile): Do not append to
38935 [generic bits/local_lim.h] (common-generated): Likewise.
38936 [generic sys/param.h] (before-compile): Do not append to variable.
38937 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38938 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38939 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38940 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38942 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38943 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38944 [generic sys/param.h] ($(addprefix
38945 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38946 [generic sys/param.h] (common-generated): Do not append to
38948 [generic sys/param.h] (sysdep_headers): Likewise.
38949 [generic bits/errno.h] (before-compile): Do not append to
38951 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38953 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38954 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38955 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38956 [generic bits/errno.h] (common-generated): Do not append to
38958 [generic bits/ioctls.h] (before-compile): Do not append to
38960 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38962 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38963 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38964 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38966 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38967 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38968 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38969 [generic bits/ioctls.h] (common-generated): Do not append to
38971 [generic sys/syscall.h] (syscall.h): Remove variable.
38972 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38974 [generic sys/syscall.h] (before-compile): Do not append to
38976 [generic sys/syscall.h] (common-generated): Likewise.
38977 * sysdeps/unix/errnos-tmpl.c: Remove file.
38978 * sysdeps/unix/errnos.awk: Likewise.
38979 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38980 * sysdeps/unix/ioctls.awk: Likewise.
38981 * sysdeps/unix/mk-local_lim.c: Likewise.
38982 * sysdeps/unix/snarf-ioctls: Likewise.
38984 2012-03-19 Richard Henderson <rth@twiddle.net>
38986 * sysdeps/i386/fpu/fenv_private.h: New file.
38987 * sysdeps/i386/fpu/math_private.h: Use it.
38988 (math_opt_barrier, math_force_eval): Remove.
38989 (libc_feholdexcept_setround_53bit): Remove.
38990 (libc_feupdateenv_53bit): Remove.
38991 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38992 (math_opt_barrier, math_force_eval): Remove.
38993 (libc_feholdexcept): Remove.
38994 (libc_feholdexcept_setround): Remove.
38995 (libc_fetestexcept, libc_fesetenv): Remove.
38996 (libc_feupdateenv_test): Remove.
38997 (libc_feupdateenv, libc_feholdsetround): Remove.
38998 (libc_feresetround): Remove.
39000 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39001 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39003 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39004 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39005 (libc_feupdateenv_testl): New.
39006 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39007 (libc_feupdateenv_testf): New.
39008 (libc_feupdateenv): Use libc_feupdateenv_test.
39009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39010 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39012 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39013 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39014 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39015 (libc_feresetround_noex): New.
39016 (libc_feresetround_noexf): New.
39017 (libc_feresetround_noexl): New.
39018 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39019 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39020 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39021 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39024 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39026 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39027 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39028 SET_RESTORE_ROUND_NOEX.
39029 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39030 SET_RESTORE_ROUND_NOEXF.
39031 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39032 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39033 (libc_feholdsetroundf): New.
39034 (libc_feresetround, libc_feresetroundf): New.
39036 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39037 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39038 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39040 * sysdeps/generic/math_private.h: Include <fenv.h>.
39041 (default_libc_feholdexcept): New.
39042 (default_libc_feholdexcept_setround): New.
39043 (default_libc_fesetenv, default_libc_feupdateenv): New.
39044 (libc_feholdexcept): Only define if undefined.
39045 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39046 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39047 (libc_feholdexcept_setroundl): Likewise.
39048 (libc_feholdexcept_setround_53bit): Likewise.
39049 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39050 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39051 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39052 (libc_feupdateenv_53bit): Likewise.
39053 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39054 (libc_feholdexcept): Convert from macro to inline function.
39055 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39056 (libc_fesetenv, libc_feupdateenv): Likewise.
39058 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39059 not previously defined.
39060 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39061 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39062 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39063 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39064 * sysdeps/ieee754/flt-32/math_private.h: New file.
39065 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39066 math_private.h below SET_FLOAT_WORD.
39067 (__isnan, __isinf_ns, __finite): Remove.
39068 (__isnanf, __isinf_nsf, __finitef): Remove.
39070 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39074 2012-03-17 David S. Miller <davem@davemloft.net>
39077 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39080 2012-03-16 David S. Miller <davem@davemloft.net>
39082 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39086 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39088 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39089 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39090 sysdep_routines when subdir is sysvipc.
39091 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39092 __getshmlba helper.
39094 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39096 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39098 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39101 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39103 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39104 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39105 (__lround): Renamed to ...
39106 (__llround): This. Replace long int with long long int.
39107 Define lround functions as aliases of llround functions.
39108 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39110 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39112 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39113 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39114 adresses to uintptr_t. Replace "long int" and "unsigned long
39115 int" with "greg_t" on va_arg.
39117 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39119 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39120 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39122 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39123 Move e_machine check before EI_CLASS check. Handle x32
39124 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39125 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39126 SKIP_EM_IA_64 and include
39127 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39129 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39130 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39131 (add_system_dir): New macro.
39133 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39134 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39136 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39147 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39149 * math/w_j0f.c (j0f): Likewise.
39151 * math/w_j0l.c (__j0l): Likewise.
39153 * math/w_j1.c (j1): Likewise.
39155 * math/w_j1f.c (j1f): Likewise.
39157 * math/w_j1l.c (__j1l): Likewise.
39159 * math/w_jn.c (jn): Likewise.
39161 * math/w_jnf.c (jnf): Likewise.
39163 * math/w_jnl.c (__jnl): Likewise.
39165 * math/libm-test.inc (j0_test): Add more tests.
39166 (j1_test): Likewise.
39167 (jn_test): Likewise. Add trailing semicolon to existing test.
39168 (y0_test): Likewise.
39169 (y1_test): Likewise.
39170 * sysdeps/i386/fpu/libm-test-ulps: Update.
39171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39175 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39176 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39177 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39178 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39179 (__tanl): Set errno for infinite argument.
39180 * sysdeps/i386/fpu/mptan.c: Remove.
39181 * sysdeps/i386/fpu/s_tan.S: Likewise.
39182 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39183 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39184 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39185 * math/libm-test.inc (tan_test): Add more tests and enable more
39186 tests for double and long double.
39187 * sysdeps/i386/fpu/libm-test-ulps: Update.
39188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39190 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39192 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39193 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39195 2012-03-16 Roland McGrath <roland@hack.frob.com>
39197 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39198 * configure.in: Use it for both main tree and add-ons.
39199 * configure: Regenerated.
39201 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39203 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39205 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39207 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39211 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39212 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39213 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39214 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39215 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39217 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39218 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39219 != 0 for prec == 2.
39220 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39221 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39222 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39223 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39224 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39225 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39226 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39227 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39228 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39229 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39230 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39231 * math/libm-test.inc (cos_test): Add more tests and enable more
39232 tests for long double.
39233 (sin_test): Likewise.
39234 (sincos_test): Likewise.
39235 * sysdeps/i386/fpu/libm-test-ulps: Update.
39236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39238 2012-03-16 David S. Miller <davem@davemloft.net>
39240 * sysdeps/sparc/fpu/math_private.h: New file.
39242 2012-03-15 David S. Miller <davem@davemloft.net>
39244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39258 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39259 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39261 * sysdeps/sparc/sparc-ifunc.h: New file.
39262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39307 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39309 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39313 2012-03-15 Andreas Jaeger <aj@suse.de>
39316 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39317 ieee754/flt-32 implementation for sin, cos and sincos.
39318 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39319 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39320 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39321 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39322 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39323 ieee754/flt-32 implementation for tan.
39325 * math/libm-test.inc (cos_test): Enable some large input tests for
39327 (sin_test): Likewise.
39328 (sincos_test): Likewise.
39329 (tan_test): Add tests for large input.
39331 * sysdeps/i386/fpu/libm-test-ulps: Update.
39333 2012-03-15 Andreas Jaeger <aj@suse.de>
39336 * math/libm-test.inc (cos_test): Add more test cases.
39337 (sin_test): Likewise.
39338 (sincos_test): Likewise.
39340 2012-03-15 Andreas Jaeger <aj@suse.de>
39343 * math/libm-test.inc (cos_test): Add a test case for large input
39345 (sin_test): Likewise.
39346 (sincos_test): Likewise.
39348 2012-03-15 Andreas Jaeger <aj@suse.de>
39349 Joseph Myers <joseph@codesourcery.com>
39352 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39353 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39354 * sysdeps/i386/fpu/branred.c: Likewise.
39355 * sysdeps/i386/fpu/dosincos.c: Likewise.
39356 * sysdeps/i386/fpu/mpa.c: Likewise.
39357 * sysdeps/i386/fpu/s_cos.S: Likewise.
39358 * sysdeps/i386/fpu/s_sin.S: Likewise.
39359 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39360 * sysdeps/i386/fpu/sincos32.c: Likewise.
39362 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39364 (libc_feupdateenv_53bit): Define.
39365 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39367 (libc_feupdateenv_53bit): Define.
39369 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39370 53 bit (without extend i386 double precision).
39372 * math/libm-test.inc (sincos_test): Add tests for large input.
39376 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39378 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39382 2012-03-15 David S. Miller <davem@davemloft.net>
39384 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39385 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39386 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39387 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39412 fmin/fmax sysdep routines.
39413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39415 2012-03-14 David S. Miller <davem@davemloft.net>
39417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39421 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39438 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39439 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39440 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39441 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39442 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39443 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39489 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39494 * sysdeps/sparc/configure.in: New file.
39495 * sysdeps/sparc/configure: Generate.
39496 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39497 * configure: Regenerate.
39498 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39499 * config.make.in (have-as-vis3): New.
39500 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39501 available use -Av9d instead of -Av9a.
39502 * sysdeps/sparc/sparc64/Makefile: Likewise.
39503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39513 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39514 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39518 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39519 fzeros/fnegs to load 0x80000000 into a float register instead of
39521 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39523 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39527 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39528 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39529 ($(inst_includedir)/bits/syscall.h): Remove rule.
39530 ($(objpfx)bits/syscall.d): Include instead of
39531 $(objpfx)syscall-list.d.
39532 (generated): Change syscall-list.h and syscall-list.d to
39533 bits/syscall.h and bits/syscall.d.
39535 2012-03-14 Roland McGrath <roland@hack.frob.com>
39538 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39540 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39543 * math/s_csqrt.c: Include <float.h>.
39544 (__csqrt): Scale large or subnormal inputs.
39545 * math/s_csqrtf.c: Likewise.
39546 * math/s_csqrtl.c: Likewise.
39547 * math/libm-test.inc (csqrt_test): Add more tests.
39548 * sysdeps/i386/fpu/libm-test-ulps: Update.
39549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39552 * math/libm-test.inc (hypot_test): Add more tests.
39554 2012-03-13 David S. Miller <davem@davemloft.net>
39557 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39558 double-precision for the calculation instead of scaling.
39560 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39562 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39563 manipulate bits before adding and subtracting TWO52[sx].
39564 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39565 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39567 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39569 2012-03-13 David S. Miller <davem@davemloft.net>
39571 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39572 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39573 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39574 rtld-global-offsets.h
39575 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39577 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39580 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39582 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39583 'err' in the ifdef scope in which it is actually used.
39585 * nss/nss_db/db-init.c: Include string.h
39587 2012-03-12 David S. Miller <davem@davemloft.net>
39589 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39590 masking out of the most significant byte of random value used.
39591 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39592 Fix coding style in previous change.
39594 * sysdeps/unix/sysv/linux/kernel-features.h
39595 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39596 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39598 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39601 2012-03-11 David S. Miller <davem@davemloft.net>
39603 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39604 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39605 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39606 for 'resultvar' otherwise things get truncated on 64-bit.
39608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39609 Fix masking out of the most significant byte of random value used.
39611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39613 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39617 2012-03-09 David S. Miller <davem@davemloft.net>
39619 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39620 variables with appropriate CPP guards.
39621 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39622 from the frame pointer, not the stack pointer. Correct layout
39623 comments. Fix test on resulting framesize and the management of
39624 the outregs buffer for pltexit. Preserve floating point return
39625 values across _dl_call_pltexit call.
39626 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39627 framesize and the management of the outregs buffer for pltexit.
39628 Preserve floating point return values across _dl_call_pltexit
39630 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39631 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39632 (la_sparc64_gnu_pltexit): New functions.
39633 (print_exit): Fix format string for return register value.
39635 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39637 * sunrpc/Makefile (others): Add rpcgen.
39638 ($(objpfx)rpcgen): Remove special build rule and dependency on
39640 * sunrpc/rpcgen.c: New file.
39642 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39645 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39646 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39647 * sysdeps/i386/crti.S: Likewise.
39648 * sysdeps/i386/crtn.S: Likewise.
39649 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39650 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39651 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39652 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39653 * sysdeps/sh/crti.S: Likewise.
39654 * sysdeps/sh/crtn.S: Likewise.
39655 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39658 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39660 * locale/programs/locfile-kw.gperf: Likewise.
39661 * locale/programs/charmap-kw.h: Regenerated.
39662 * locale/programs/locfile-kw.h: Likewise.
39665 * intl/plural.y: Replace FSF snail mail address with URL.
39666 * intl/plural.c: Regenerated.
39668 2012-03-09 Richard Henderson <rth@twiddle.net>
39670 * include/math_private.h: Remove file.
39671 * math/math_private.h: Move file ...
39672 * sysdeps/generic/math_private.h: ... here.
39674 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39675 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39676 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39678 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39679 and <math_private.h>.
39680 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39681 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39682 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39683 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39684 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39685 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39686 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39688 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39691 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39692 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39694 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39695 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39696 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39697 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39698 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39699 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39702 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39704 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39705 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39706 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39707 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39709 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39710 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39711 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39712 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39713 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39714 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39715 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39716 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39717 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39718 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39719 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39720 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39721 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39722 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39723 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39724 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39725 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39726 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39727 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39729 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39730 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39731 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39732 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39733 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39734 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39735 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39736 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39737 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39738 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39739 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39740 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39741 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39742 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39743 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39744 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39745 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39746 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39748 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39749 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39750 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39751 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39752 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39754 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39758 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39759 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39760 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39761 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39762 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39763 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39764 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39767 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39768 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39769 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39770 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39771 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39772 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39773 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39774 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39775 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39776 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39777 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39778 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39779 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39780 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39781 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39782 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39783 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39784 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39785 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39786 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39787 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39788 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39789 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39790 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39791 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39792 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39793 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39794 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39795 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39796 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39797 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39798 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39799 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39800 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39801 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39802 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39803 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39804 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39805 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39806 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39807 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39808 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39809 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39810 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39811 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39812 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39813 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39814 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39815 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39816 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39817 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39818 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39819 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39820 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39821 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39822 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39823 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39824 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39825 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39826 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39827 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39828 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39829 * sysdeps/ieee754/k_standard.c: Likewise.
39830 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39832 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39833 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39834 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39835 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39838 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39839 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39840 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39842 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39843 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39844 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39845 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39846 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39847 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39848 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39849 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39850 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39851 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39852 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39853 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39854 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39855 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39856 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39857 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39858 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39859 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39860 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39861 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39862 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39863 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39864 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39865 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39866 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39867 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39868 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39869 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39870 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39871 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39872 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39873 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39874 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39875 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39876 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39877 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39878 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39879 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39880 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39881 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39882 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39883 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39884 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39885 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39886 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39887 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39888 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39889 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39890 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39891 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39892 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39893 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39894 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39895 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39896 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39897 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39898 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39899 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39900 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39901 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39902 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39903 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39904 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39906 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39907 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39908 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39909 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39910 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39911 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39912 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39913 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39914 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39915 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39916 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39917 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39918 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39920 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39921 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39922 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39923 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39924 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39925 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39926 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39927 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39928 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39929 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39931 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39933 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39934 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39935 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39936 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39937 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39938 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39939 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39940 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39941 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39942 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39943 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39944 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39945 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39946 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39947 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39948 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39949 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39950 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39951 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39952 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39953 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39954 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39955 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39956 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39957 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39958 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39959 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39960 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39961 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39962 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39963 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39964 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39965 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39966 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39967 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39968 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39969 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39970 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39971 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39972 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39973 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39974 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39975 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39976 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39977 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39978 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39979 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39980 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39981 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39982 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39983 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39984 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39985 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39986 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39987 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39989 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39990 * sysdeps/ieee754/s_lib_version.c: Likewise.
39991 * sysdeps/ieee754/s_matherr.c: Likewise.
39992 * sysdeps/ieee754/s_signgam.c: Likewise.
39993 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39994 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39995 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39996 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39997 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39998 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39999 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40000 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40001 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40002 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40003 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40004 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40005 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40006 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40007 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40008 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40009 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40010 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40011 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40012 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40015 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40017 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40018 * sunrpc/rpc_main.c: Likewise.
40019 * sunrpc/rpc_svcout.c: Likewise.
40021 2012-03-09 David S. Miller <davem@davemloft.net>
40023 * include/math_private.h: New file.
40025 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40027 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40028 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40029 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40030 from <bits/socket_type.h>.
40031 (enum __socket_type): Don't define here.
40032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40034 bits/socket_type.h.
40037 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40038 checking __USE_GNU.
40040 * Makerules ($(inst_includedir)/%.h): New rule.
40041 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40042 (install-others): Remove variable setting.
40043 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40045 2012-03-08 Richard Henderson <rth@twiddle.net>
40047 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40048 from macro to inline function; merge with the
40049 !__LIBC_INTERNAL_MATH_INLINES version.
40050 (__ieee754_sqrtf): Likewise.
40052 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40053 to inline function.
40054 (__rintf, __floor, __floorf): Likewise.
40056 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40057 macro to inline function.
40058 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40060 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40061 not <math/math_private.h>.
40063 2012-03-08 David S. Miller <davem@davemloft.net>
40065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40067 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40069 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40071 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40073 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40074 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40076 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40078 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40079 be defined individually, they must be defined as a block. Define
40080 S for printing a string instead of hidint the different by using a
40081 macro for adding the 'l'.
40082 * stdio-common/tst-fphex-wide.c: Adjust.
40084 2012-03-07 Marek Polacek <polacek@redhat.com>
40086 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40088 2012-03-08 Marek Polacek <polacek@redhat.com>
40091 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40092 * stdio-common/tst-fphex.c: Define a few macros to make the
40093 test reusable. Use them.
40094 * stdio-common/tst-fphex-wide.c: New file.
40096 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40099 * manual/macros.texi (gnusystems): New macro.
40100 (nongnusystems): Likewise.
40101 (gnulinuxhurdsystems): Likewise.
40102 (gnuhurdsystems): Likewise..
40103 (gnulinuxsystems): Likewise.
40104 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40105 variants of the GNU system, not "GNU system".
40106 * manual/conf.texi: Likewise.
40107 * manual/errno.texi: Likewise. Update example of errno macro
40109 * manual/filesys.texi: Likewise.
40110 (getumask): Document as specific to GNU/Hurd.
40111 * manual/install.texi: Likewise. Reword some references to
40113 * manual/intro.texi: Likewise.
40114 * manual/io.texi: Likewise.
40115 (File Name Portability): Detail which constraints are inapplicable
40116 to all GNU systems and which are only inapplicable to GNU/Hurd.
40117 * manual/job.texi: Likewise.
40118 * manual/llio.texi: Likewise.
40119 (O_NOCTTY): Document as present on GNU/Linux.
40120 * manual/maint.texi: Likewise.
40121 * manual/memory.texi: Likewise.
40122 * manual/pattern.texi: Likewise.
40123 * manual/pipe.texi: Likewise.
40124 * manual/process.texi: Likewise.
40125 * manual/resource.texi: Likewise.
40126 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40128 * manual/setjmp.texi: Likewise.
40129 * manual/signal.texi: Likewise.
40130 * manual/startup.texi: Likewise.
40131 * manual/stdio.texi: Likewise.
40132 * manual/terminal.texi: Likewise.
40133 (ONLCR): Document as POSIX.
40134 (OXTABS): Document availability on GNU/Linux as XTABS.
40135 (ONOEOT): Document availability separately from other bits.
40136 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40137 * manual/time.texi: Likewise.
40138 * manual/users.texi: Likewise.
40139 * INSTALL: Regenerated.
40140 * sysdeps/gnu/errlist.c: Regenerated.
40142 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40143 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40144 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40146 * configure: Regenerated.
40148 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40150 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40151 default includes instead of AC_HEADER_CHECK.
40152 * sysdeps/i386/configure: Regenerated.
40155 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40156 * math/s_cacoshf.c (__cacoshf): Likewise.
40157 * math/s_cacoshl.c (__cacoshl): Likewise.
40158 * math/s_casinh.c (__casinh): Set signs of result from argument.
40159 * math/s_casinhf.c (__casinhf): Likewise.
40160 * math/s_casinhl.c (__casinhl): Likewise.
40161 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40162 (casinh_test): Add more tests.
40163 * sysdeps/i386/fpu/libm-test-ulps: Update.
40164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40166 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40168 * po/zh_TW.po: Update from translation team.
40170 * login/Makefile (distribute): Remove variable.
40171 * catgets/Makefile: Likewise.
40172 * mach/Makefile: Likewise.
40173 * malloc/Makefile: Likewise.
40174 * misc/Makefile: Likewise.
40175 * iconv/Makefile: Likewise.
40176 * nscd/Makefile: Likewise.
40177 * hurd/Makefile: Likewise.
40178 * manual/Makefile: Likewise.
40179 * locale/Makefile: Likewise.
40180 * intl/Makefile: Likewise.
40181 * conform/Makefile: Likewise.
40182 * nss/Makefile: Likewise.
40183 * time/Makefile: Likewise.
40184 * soft-fp/Makefile: Likewise.
40185 * dirent/Makefile: Likewise.
40186 * gmon/Makefile: Likewise.
40187 * po/Makefile: Likewise.
40188 * rt/Makefile: Likewise.
40189 * socket/Makefile: Likewise.
40190 * math/Makefile: Likewise.
40191 * signal/Makefile: Likewise.
40192 * debug/Makefile: Likewise.
40193 * elf/Makefile: Likewise.
40194 * timezone/Makefile: Likewise.
40195 * stdlib/Makefile: Likewise.
40196 * iconvdata/Makefile: Likewise.
40197 * sunrpc/Makefile: Likewise.
40198 * io/Makefile: Likewise.
40199 * argp/Makefile: Likewise.
40200 * inet/Makefile: Likewise.
40201 * hesiod/Makefile: Likewise.
40202 * grp/Makefile: Likewise.
40203 * csu/Makefile: Likewise.
40204 * wctype/Makefile: Likewise.
40205 * crypt/Makefile: Likewise.
40206 * libio/Makefile: Likewise.
40207 * string/Makefile: Likewise.
40208 * nis/Makefile: Likewise.
40209 * resolv/Makefile: Likewise.
40210 * stdio-common/Makefile: Likewise.
40211 * wcsmbs/Makefile: Likewise.
40212 * dlfcn/Makefile: Likewise.
40213 * posix/Makefile: Likewise.
40216 * timezone/Makefile: Don't install timezone files, just the programs
40219 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40221 * nss/databases.def: Add missing gshadow entry.
40223 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40225 2012-03-06 Marek Polacek <polacek@redhat.com>
40228 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40229 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40230 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40231 * stdio-common/tst-long-dbl-fphex.c: New file.
40233 2012-03-06 David S. Miller <davem@davemloft.net>
40235 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40236 (set_obp_int): New function.
40237 (get_obp_int): New function.
40238 (__get_clockfreq_via_dev_openprom): Likewise.
40239 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40240 Avoid unused variable warnings on 'val' and use builtin_expect.
40241 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40243 (INLINE_CLONE_SYSCALL): Likewise.
40245 2012-03-05 David S. Miller <davem@davemloft.net>
40247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40249 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40254 only for |x| >= 40.
40255 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40257 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40260 Replace gettimeofday with __vdso_gettimeofday.
40262 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40263 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40264 __vdso_clock_gettime and __vdso_getcpu.
40266 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40267 time with __vdso_time.
40269 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40271 * manual/lang.texi (size_t): Note types to which size_t may be
40272 equivalent with the GNU C Library, but do not describe when
40273 differences between them are significant.
40275 2012-03-05 Andreas Jaeger <aj@suse.de>
40277 * sysdeps/i386/fpu/libm-test-ulps: Update.
40279 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40282 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40283 (__ieee754_pow): Save and restore rounding mode and use
40284 round-to-nearest for main computations.
40285 * math/libm-test.inc (pow_test_tonearest): New function.
40286 (pow_test_towardzero): Likewise.
40287 (pow_test_downward): Likewise.
40288 (pow_test_upward): Likewise.
40289 (main): Call the new functions.
40290 * sysdeps/i386/fpu/libm-test-ulps: Update.
40291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40294 * math/libm-test.inc (cosh_test_tonearest): New function.
40295 (cosh_test_towardzero): Likewise.
40296 (cosh_test_downward): Likewise.
40297 (cosh_test_upward): Likewise.
40298 (sinh_test_tonearest): Likewise.
40299 (sinh_test_towardzero): Likewise.
40300 (sinh_test_downward): Likewise.
40301 (sinh_test_upward): Likewise.
40302 (main): Call the new functions.
40303 * sysdeps/i386/fpu/libm-test-ulps: Update.
40304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40306 2012-03-05 Tom de Vries <tom@codesourcery.com>
40308 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40309 default stack guard is set in last bytes.
40310 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40312 2012-03-05 Kees Cook <keescook@chromium.org>
40314 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40317 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40318 possibly allocate from heap instead of stack.
40319 * stdio-common/bug-vfprintf-nargs.c: New file.
40320 * stdio-common/Makefile (tests): Add nargs overflow test.
40322 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40326 2012-03-03 Marek Polacek <polacek@redhat.com>
40328 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40329 * math/math_private.h: Likewise.
40330 * stdlib/tst-strtod.c: Likewise.
40331 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40332 * sysdeps/x86_64/bits/atomic.h: Likewise.
40334 2012-03-02 David S. Miller <davem@davemloft.net>
40336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40340 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40341 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40342 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40343 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40345 2012-03-02 Roland McGrath <roland@hack.frob.com>
40348 * manual/examples/README: New file, says the example source files
40349 can be used under GPL>=2.
40350 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40351 line containing just "*/".
40352 * manual/examples/add.c: Add copyright header (GPL>=2).
40353 * manual/examples/argp-ex1.c: Likewise.
40354 * manual/examples/argp-ex2.c: Likewise.
40355 * manual/examples/argp-ex3.c: Likewise.
40356 * manual/examples/argp-ex4.c: Likewise.
40357 * manual/examples/atexit.c: Likewise.
40358 * manual/examples/db.c: Likewise.
40359 * manual/examples/dir.c: Likewise.
40360 * manual/examples/dir2.c: Likewise.
40361 * manual/examples/execinfo.c: Likewise.
40362 * manual/examples/filecli.c: Likewise.
40363 * manual/examples/filesrv.c: Likewise.
40364 * manual/examples/fmtmsgexpl.c: Likewise.
40365 * manual/examples/genpass.c: Likewise.
40366 * manual/examples/inetcli.c: Likewise.
40367 * manual/examples/inetsrv.c: Likewise.
40368 * manual/examples/isockad.c: Likewise.
40369 * manual/examples/longopt.c: Likewise.
40370 * manual/examples/memopen.c: Likewise.
40371 * manual/examples/memstrm.c: Likewise.
40372 * manual/examples/mkfsock.c: Likewise.
40373 * manual/examples/mkisock.c: Likewise.
40374 * manual/examples/mygetpass.c: Likewise.
40375 * manual/examples/pipe.c: Likewise.
40376 * manual/examples/popen.c: Likewise.
40377 * manual/examples/rprintf.c: Likewise.
40378 * manual/examples/search.c: Likewise.
40379 * manual/examples/select.c: Likewise.
40380 * manual/examples/setjmp.c: Likewise.
40381 * manual/examples/sigh1.c: Likewise.
40382 * manual/examples/sigusr.c: Likewise.
40383 * manual/examples/stpcpy.c: Likewise.
40384 * manual/examples/strdupa.c: Likewise.
40385 * manual/examples/strftim.c: Likewise.
40386 * manual/examples/strncat.c: Likewise.
40387 * manual/examples/subopt.c: Likewise.
40388 * manual/examples/swapcontext.c: Likewise.
40389 * manual/examples/termios.c: Likewise.
40390 * manual/examples/testopt.c: Likewise.
40391 * manual/examples/testpass.c: Likewise.
40392 * manual/examples/timeval_subtract.c: Likewise.
40395 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40397 * manual/timeval_subtract.c.texi: ... here, new file.
40399 2012-03-02 David S. Miller <davem@davemloft.net>
40401 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40403 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40406 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40407 (__sin): Save and restore rounding mode and use round-to-nearest
40408 for all computations.
40409 (__cos): Save and restore rounding mode and use round-to-nearest
40410 for all computations.
40411 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40413 (tan): Save and restore rounding mode and use round-to-nearest for
40415 * math/libm-test.inc (cos_test_tonearest): New function.
40416 (cos_test_towardzero): Likewise.
40417 (cos_test_downward): Likewise.
40418 (cos_test_upward): Likewise.
40419 (sin_test_tonearest): Likewise.
40420 (sin_test_towardzero): Likewise.
40421 (sin_test_downward): Likewise.
40422 (sin_test_upward): Likewise.
40423 (tan_test_tonearest): Likewise.
40424 (tan_test_towardzero): Likewise.
40425 (tan_test_downward): Likewise.
40426 (tan_test_upward): Likewise.
40427 (main): Call the new functions.
40428 * sysdeps/i386/fpu/libm-test-ulps: Update.
40429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40432 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40433 small n, then large n, before computing and testing k+n.
40434 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40439 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40440 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40441 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40442 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40443 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40444 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40445 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40446 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40447 * math/libm-test.inc (scalbn_test): Add more tests.
40448 (scalbln_test): Likewise.
40450 * manual/filesys.texi (mode_t): Describe constraints on size and
40451 signedness, not exact equivalence to a particular type.
40453 (ino64_t): Likewise.
40455 (nlink_t): Likewise.
40456 (blkcnt_t): Likewise.
40457 (blkcnt64_t): Likewise.
40458 * manual/llio.texi (off_t): Likewise.
40461 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40462 (__ieee754_exp): Save and restore rounding mode and use
40463 round-to-nearest for all computations.
40464 * math/libm-test.inc (exp_test_tonearest): New function.
40465 (exp_test_towardzero): Likewise.
40466 (exp_test_downward): Likewise.
40467 (exp_test_upward): Likewise.
40468 (main): Call the new functions.
40469 * sysdeps/i386/fpu/libm-test-ulps: Update.
40470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40472 2012-03-01 Chris Demetriou <cgd@google.com>
40474 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40475 have predictable order.
40477 2012-03-01 David S. Miller <davem@davemloft.net>
40479 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40481 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40482 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40483 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40484 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40486 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40487 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40488 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40490 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40491 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40492 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40493 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40494 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40498 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40499 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40500 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40502 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40503 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40504 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40505 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40506 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40507 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40508 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40509 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40510 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40511 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40512 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40513 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40515 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40516 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40518 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40519 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40520 * sysdeps/sparc/elf/configure: Regenerated.
40522 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40524 * configure.in (AS, LD): Require binutils 2.20 or later.
40525 * configure: Regenerated.
40526 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40527 as required minimum version.
40528 * INSTALL: Regenerated.
40532 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40533 before squaring exponent.
40534 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40535 bottom long double and 27 bits of top long double before squaring
40537 * math/libm-test.inc (erfc_test): Add more tests.
40538 * sysdeps/i386/fpu/libm-test-ulps: Update.
40539 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40542 2012-03-01 Kai Tietz <ktietz@redhat.com>
40544 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40545 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40546 containing bit-fields.
40547 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40548 * soft-fp/single.h (_FP_UNION_S): Likewise.
40549 * soft-fp/double.h (_FP_UNION_D): Likewise.
40551 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40554 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40555 not include ../strcmp.S.
40556 [USE_AS_STRNCASECMP_L]: Likewise.
40557 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40558 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40559 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40560 (__strncasecmp_l_ia32): Define as alias to
40561 __strncasecmp_l_nonascii.
40564 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40565 * sysdeps/i386/fpu/libm-test-ulps: Update.
40566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40568 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40571 2012-02-29 Jeff Law <law@redhat.com>
40573 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40574 out of bounds read.
40576 2012-02-29 Marek Polacek <polacek@redhat.com>
40579 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40580 * elf/Makefile: Add rules to run tst-unused-dep.out.
40582 2012-02-28 David S. Miller <davem@davemloft.net>
40584 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40585 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40586 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40587 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40588 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40589 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40591 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40593 * math/libm-test.inc (llround_test): Move one test from
40594 lround_test. Use TEST_f_L in moved test.
40595 (lround_test): Move misplaced test to llround_test. Add testcase
40598 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40600 * sysdeps/x86_64/fpu/e_expf.S: New file.
40601 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40603 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40606 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40607 of remain_len that may cause incomplete multi-byte character and
40609 * posix/bug-regex33.c: New file.
40610 * posix/Makefile (tests): Add bug-regex33.
40612 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40614 * manual/macros.texi: New file.
40615 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40616 * manual/libc.texinfo: Include macros.texi.
40617 * manual/creatute.texi: Likewise.
40618 * manual/install.texi: Likewise.
40619 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40620 @glibcadj{} in references to the GNU C Library.
40621 * manual/charset.texi: Likewise.
40622 * manual/conf.texi: Likewise.
40623 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40624 when not using those macros.
40625 * manual/creature.texi: Likewise.
40626 * manual/crypt.texi: Likewise.
40627 * manual/errno.texi: Likewise.
40628 * manual/filesys.texi: Likewise.
40629 * manual/header.texi: Likewise.
40630 * manual/install.texi: Likewise.
40631 * manual/intro.texi: Likewise.
40632 * manual/io.texi: Likewise.
40633 * manual/job.texi: Likewise.
40634 * manual/lang.texi: Likewise.
40635 * manual/libc.texiinfo: Likewise.
40636 * manual/llio.texi: Likewise.
40637 * manual/locale.texi: Likewise.
40638 * manual/maint.texi: Likewise.
40639 * manual/math.texi: Likewise.
40640 * manual/memory.texi: Likewise.
40641 * manual/message.texi: Likewise.
40642 * manual/nss.texi: Likewise.
40643 * manual/pattern.texi: Likewise.
40644 * manual/process.texi: Likewise.
40645 * manual/resource.texi: Likewise.
40646 * manual/search.texi: Likewise.
40647 * manual/setjmp.texi: Likewise.
40648 * manual/signal.texi: Likewise.
40649 * manual/socket.texi: Likewise.
40650 * manual/startup.texi: Likewise.
40651 * manual/stdio.texi: Likewise.
40652 * manual/string.texi: Likewise.
40653 * manual/sysinfo.texi: Likewise.
40654 * manual/syslog.texi: Likewise.
40655 * manual/terminal.texi: Likewise.
40656 * manual/time.texi: Likewise.
40657 * manual/users.texi: Likewise.
40658 * INSTALL: Regenerated.
40659 * NOTES: Regenerated.
40660 * sysdeps/gnu/errlist.c: Regenerated.
40662 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40664 * include/dirent.h: Include <dirstream.h> before
40667 2012-02-28 David S. Miller <davem@davemloft.net>
40669 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40670 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40671 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40672 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40674 2012-02-27 David S. Miller <davem@davemloft.net>
40676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40678 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40679 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40682 frame pointer instead of stack pointer relative arg slot.
40683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40684 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40685 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40687 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40690 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40692 2012-02-27 David S. Miller <davem@davemloft.net>
40694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40698 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40699 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40700 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40701 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40703 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40705 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40706 later. Allow versions 5-9.
40707 * configure: Regenerated.
40708 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40709 required minimum version and 4.6 as recommended version. Do not
40710 mention bugs in GCC 2.7 and 2.8.
40711 * INSTALL: Regenerated.
40713 2012-02-27 David S. Miller <davem@davemloft.net>
40715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40719 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40720 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40721 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40722 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40724 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40725 manipulate bits before adding and subtracting TWO112[sx].
40726 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40728 2012-02-27 Roland McGrath <roland@hack.frob.com>
40731 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40732 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40733 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40734 being in POSIX, because they are in 1003.1-2008.
40736 * rt/tst-aio.c: Include <fcntl.h>.
40737 * rt/tst-aio7.c: Likewise.
40738 * rt/tst-aio64.c: Likewise.
40740 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40742 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40744 * manual/install.texi (--with-headers): Describe headers as
40745 interface headers, not private headers.
40746 (Specific advice for GNU/Linux systems): Describe use of headers
40747 from "make headers_install", not private headers from older
40749 * INSTALL: Regenerated.
40750 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40752 * sysdeps/unix/sysv/linux/configure: Regenerated.
40754 * manual/llio.texi (fclean): Remove documentation.
40756 * manual/Makefile (libc-texi-generated): New variable. Include
40758 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40759 $(libc-texi-generated), not duplicated list of files.
40760 (version.texi, stamp-version): New rules.
40761 (realclean): Remove $(libc-texi-generated), not individual files
40762 from that list. Do not remove dir-add.texinfo.
40763 * manual/libc.texinfo: Comment out uses of edition numbers and
40764 references to printed manual. Remove last-updated dates.
40765 (EDITION): Comment out.
40767 (VERSION, UPDATED): Remove.
40768 (version.texi): Include.
40770 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40772 * sysdeps/posix/spawni.c: Include <signal.h>.
40773 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40774 * sysdeps/pthread/aio_fsync.c: Likewise.
40776 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40778 * conform/Makefile (tests): Run only when not cross-compiling and
40779 when fast-check is not defined.
40781 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40782 * conform/data/limits.h-data: Fixes for POSIX2008.
40783 * conform/run-conformtest.sh: Run all tests.
40784 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40786 * include/bits/dlfcn.h: Likewise.
40787 * include/langinfo.h: Likewise.
40788 * include/monetary.h: Likewise.
40789 * include/sys/poll.h: Likewise.
40791 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40793 * posix/spawn.h: Define __need_sigset_t.
40794 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40795 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40796 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40797 to get sigevent_t only.
40798 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40799 only for __USE_GNU.
40800 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40801 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40802 process_vm_writev only for __USE_GNU.
40803 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40805 * conform/Makefile: For now ignore errors from run-conformtest.
40806 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40807 POSIX to avoid namespace pollution. Don't prepend headers.
40808 * conform/data/aio.h-data: Fixes for POSIX testing.
40809 * conform/data/fcntl.h-data: Likewise.
40810 * conform/data/glob.h-data: Likewise.
40811 * conform/data/grp.h-data: Likewise.
40812 * conform/data/pthread.h-data: Likewise.
40813 * conform/data/pwd.h-data: Likewise.
40814 * conform/data/signal.h-data: Likewise.
40815 * conform/data/spawn.h-data: Likewise.
40816 * conform/data/stdio.h-data: Likewise.
40817 * conform/data/stdlib.h-data: Likewise.
40818 * conform/data/stropts.h-data: Likewise.
40819 * conform/data/sys/mman.h-data: Likewise.
40820 * conform/data/sys/stat.h-data: Likewise.
40821 * conform/data/sys/types.h-data: Likewise.
40822 * conform/data/sys/wait.h-data: Likewise.
40823 * conform/data/time.h-data: Likewise.
40824 * conform/data/unistd.h-data: Likewise.
40825 * conform/data/utime.h-data: Likewise.
40827 * io/sys/stat.h: fchmod was always in POSIX.
40828 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40829 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40830 * rt/aio.h: Define __need_timespec before including <time.h>.
40831 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40832 struct. Add forward declaration of pthread_attr_t and use it in
40834 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40835 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40836 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40837 always remove CLK_TCK definition.
40839 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40841 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40843 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40845 * conform/run-conformtest.sh: New file.
40846 * conform/Makefile: Run run-conformtest for tests.
40847 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40850 * conform/data/uchar.h-data: New file.
40851 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40852 * conform/data/arpa/inet.h-data: Likewise.
40853 * conform/data/assert.h-data: Likewise.
40854 * conform/data/complex.h-data: Likewise.
40855 * conform/data/cpio.h-data: Likewise.
40856 * conform/data/ctype.h-data: Likewise.
40857 * conform/data/dirent.h-data: Likewise.
40858 * conform/data/dlfcn.h-data: Likewise.
40859 * conform/data/errno.h-data: Likewise.
40860 * conform/data/fcntl.h-data: Likewise.
40861 * conform/data/float.h-data: Likewise.
40862 * conform/data/fmtmsg.h-data: Likewise.
40863 * conform/data/fnmatch.h-data: Likewise.
40864 * conform/data/ftw.h-data: Likewise.
40865 * conform/data/glob.h-data: Likewise.
40866 * conform/data/grp.h-data: Likewise.
40867 * conform/data/iconv.h-data: Likewise.
40868 * conform/data/inttypes.h-data: Likewise.
40869 * conform/data/langinfo.h-data: Likewise.
40870 * conform/data/libgen.h-data: Likewise.
40871 * conform/data/limits.h-data: Likewise.
40872 * conform/data/locale.h-data: Likewise.
40873 * conform/data/math.h-data: Likewise.
40874 * conform/data/monetary.h-data: Likewise.
40875 * conform/data/mqueue.h-data: Likewise.
40876 * conform/data/ndbm.h-data: Likewise.
40877 * conform/data/net/if.h-data: Likewise.
40878 * conform/data/netdb.h-data: Likewise.
40879 * conform/data/netinet/in.h-data: Likewise.
40880 * conform/data/nl_types.h-data: Likewise.
40881 * conform/data/poll.h-data: Likewise.
40882 * conform/data/pthread.h-data: Likewise.
40883 * conform/data/pwd.h-data: Likewise.
40884 * conform/data/regex.h-data: Likewise.
40885 * conform/data/sched.h-data: Likewise.
40886 * conform/data/search.h-data: Likewise.
40887 * conform/data/semaphore.h-data: Likewise.
40888 * conform/data/setjmp.h-data: Likewise.
40889 * conform/data/signal.h-data: Likewise.
40890 * conform/data/spawn.h-data: Likewise.
40891 * conform/data/stdarg.h-data: Likewise.
40892 * conform/data/stdio.h-data: Likewise.
40893 * conform/data/stdlib.h-data: Likewise.
40894 * conform/data/string.h-data: Likewise.
40895 * conform/data/strings.h-data: Likewise.
40896 * conform/data/stropts.h-data: Likewise.
40897 * conform/data/sys/ipc.h-data: Likewise.
40898 * conform/data/sys/mman.h-data: Likewise.
40899 * conform/data/sys/msg.h-data: Likewise.
40900 * conform/data/sys/resource.h-data: Likewise.
40901 * conform/data/sys/select.h-data: Likewise.
40902 * conform/data/sys/sem.h-data: Likewise.
40903 * conform/data/sys/shm.h-data: Likewise.
40904 * conform/data/sys/socket.h-data: Likewise.
40905 * conform/data/sys/stat.h-data: Likewise.
40906 * conform/data/sys/statvfs.h-data: Likewise.
40907 * conform/data/sys/time.h-data: Likewise.
40908 * conform/data/sys/timeb.h-data: Likewise.
40909 * conform/data/sys/times.h-data: Likewise.
40910 * conform/data/sys/types.h-data: Likewise.
40911 * conform/data/sys/uio.h-data: Likewise.
40912 * conform/data/sys/un.h-data: Likewise.
40913 * conform/data/sys/utsname.h-data: Likewise.
40914 * conform/data/sys/wait.h-data: Likewise.
40915 * conform/data/syslog.h-data: Likewise.
40916 * conform/data/tar.h-data: Likewise.
40917 * conform/data/termios.h-data: Likewise.
40918 * conform/data/utime.h-data: Likewise.
40919 * conform/data/utmpx.h-data: Likewise.
40920 * conform/data/varargs.h-data: Likewise.
40921 * conform/data/wchar.h-data: Likewise.
40922 * conform/data/wctype.h-data: Likewise.
40923 * conform/data/wordexp.h-data: Likewise.
40925 * include/stropts.h: New file.
40926 * include/uchar.h: New file.
40927 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40928 * include/assert.h: Likewise.
40929 * include/ctype.h: Likewise.
40930 * include/dirent.h: Likewise.
40931 * include/dlfcn.h: Likewise.
40932 * include/fcntl.h: Likewise.
40933 * include/fnmatch.h: Likewise.
40934 * include/glob.h: Likewise.
40935 * include/grp.h: Likewise.
40936 * include/libio.h: Likewise.
40937 * include/locale.h: Likewise.
40938 * include/math.h: Likewise.
40939 * include/net/if.h: Likewise.
40940 * include/netdb.h: Likewise.
40941 * include/netinet/in.h: Likewise.
40942 * include/pthread.h: Likewise.
40943 * include/pwd.h: Likewise.
40944 * include/regex.h: Likewise.
40945 * include/sched.h: Likewise.
40946 * include/search.h: Likewise.
40947 * include/setjmp.h: Likewise.
40948 * include/signal.h: Likewise.
40949 * include/stdio.h: Likewise.
40950 * include/stdlib.h: Likewise.
40951 * include/string.h: Likewise.
40952 * include/sys/cdefs.h: Likewise.
40953 * include/sys/mman.h: Likewise.
40954 * include/sys/msg.h: Likewise.
40955 * include/sys/resource.h: Likewise.
40956 * include/sys/select.h: Likewise.
40957 * include/sys/socket.h: Likewise.
40958 * include/sys/stat.h: Likewise.
40959 * include/sys/statvfs.h: Likewise.
40960 * include/sys/time.h: Likewise.
40961 * include/sys/times.h: Likewise.
40962 * include/sys/uio.h: Likewise.
40963 * include/sys/utsname.h: Likewise.
40964 * include/sys/wait.h: Likewise.
40965 * include/termios.h: Likewise.
40966 * include/time.h: Likewise.
40967 * include/ulimit.h: Likewise.
40968 * include/unistd.h: Likewise.
40969 * include/utime.h: Likewise.
40970 * include/wchar.h: Likewise.
40971 * include/wctype.h: Likewise.
40972 * include/wordexp.h: Likewise.
40974 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40976 * time/time.h: TIME_UTC must be a macro.
40977 Make timespec_get available for ISO C11 only as well.
40979 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40981 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40982 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40984 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40986 * configure.in: Use -o not -a in test for unsupported multi-arch.
40988 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40990 * manual/texinfo.tex: Update to version 2012-01-19.16.
40992 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40994 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40996 2012-02-24 Roland McGrath <roland@hack.frob.com>
40999 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41000 * manual/fdl-1.3.texi: New file.
41001 * manual/fdl-1.1.texi: File removed.
41004 * manual/libc.texinfo (FDL_VERSION): New @set.
41005 Use it for mention of FDL in cover text.
41006 (Documentation License): Use it in @include file name.
41008 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41009 Roland McGrath <roland@hack.frob.com>
41012 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41013 (not LONG_LONG_MAX and LONG_LONG_MIN.
41014 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41015 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41017 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41019 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41023 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41024 manipulate bits before adding and subtracting TWO23[sx].
41025 * math/libm-test.inc (nearbyint_test): Add more tests.
41027 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41030 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41031 bits before adding and subtracting TWO23[sx].
41032 * math/libm-test.inc (rint_test): Add more tests.
41033 (rint_test_tonearest): Likewise.
41034 (rint_test_towardzero): Likewise.
41035 (rint_test_downward): Likewise.
41036 (rint_test_upward: Likewise.
41038 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41041 * include/stdc-predef.h: New file. Extracted from features.h.
41042 * include/features.h: Include stdc-predef.h.
41043 * Makefile (headers): Add stdc-predef.h.
41044 * CONFORMANCE (Compiler limitations): Update.
41046 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41048 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41050 2012-02-21 David S. Miller <davem@davemloft.net>
41052 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41053 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41055 2012-02-20 David S. Miller <davem@davemloft.net>
41057 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41058 using a normal save/restore sequence, rather than allocating a
41059 dummy stack frame just to store a frame pointer and restore.
41060 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41062 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41064 * manual/install.texi: Fix stray word in line-wrapped comment.
41066 2012-02-20 David S. Miller <davem@davemloft.net>
41068 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41069 both binutils and gcc support GOTDATA.
41071 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41072 "rd %pc" in the PIC register setup sequences.
41074 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41075 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41076 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41077 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41078 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41080 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41081 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41083 (SYSCALL_ERROR_HANDLER): Likewise.
41084 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41085 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41087 (SYSCALL_ERROR_HANDLER): Likewise.
41089 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41090 (HAVE_GCC_GOTDATA): New.
41091 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41092 relocation support in both binutils and gcc.
41093 * sysdeps/sparc/elf/configure: Regenerate.
41095 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41096 * sysdeps/sparc/sparc32/elf/configure: Delete.
41097 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41098 * sysdeps/sparc/sparc64/elf/configure: Delete.
41099 * sysdeps/sparc/elf/configure.in: New file.
41100 * sysdeps/sparc/elf/configure: Generate.
41102 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41103 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41104 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41105 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41106 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41108 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41110 * manual/install.texi: Do not mention specific glibc version
41112 * manual/libc.texinfo (VERSION, UPDATED): Update.
41113 (@copying): Use @copyright{} and range of years.
41115 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41118 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41119 [crti.S not in sysdirs] (generated): Do not append.
41120 [crti.S not in sysdirs] (omit-deps): Likewise.
41121 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41122 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41123 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41124 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41125 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41127 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41128 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41129 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41130 * csu/defs.awk: Remove file.
41131 * sysdeps/generic/initfini.c: Likewise.
41132 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41134 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41137 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41139 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41140 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41141 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41142 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41143 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41144 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41146 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41147 (__EPOLL_PACKED): Define to empty if not defined by
41149 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41153 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41155 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41156 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41157 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41158 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41160 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41164 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41166 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41168 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41169 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41170 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41173 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41175 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41176 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41178 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41180 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41181 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41183 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41185 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41188 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41190 * math/w_acos.c: Use non-signaling floating-point comparisons.
41191 * math/w_acosf.c: Likewise.
41192 * math/w_acosh.c: Likewise.
41193 * math/w_acoshf.c: Likewise.
41194 * math/w_acoshl.c: Likewise.
41195 * math/w_acosl.c: Likewise.
41196 * math/w_asin.c: Likewise.
41197 * math/w_asinf.c: Likewise.
41198 * math/w_asinl.c: Likewise.
41199 * math/w_atanh.c: Likewise.
41200 * math/w_atanhf.c: Likewise.
41201 * math/w_atanhl.c: Likewise.
41202 * math/w_exp2.c: Likewise.
41203 * math/w_exp2f.c: Likewise.
41204 * math/w_exp2l.c: Likewise.
41205 * math/w_j0.c: Likewise.
41206 * math/w_j0f.c: Likewise.
41207 * math/w_j0l.c: Likewise.
41208 * math/w_j1.c: Likewise.
41209 * math/w_j1f.c: Likewise.
41210 * math/w_j1l.c: Likewise.
41211 * math/w_jn.c: Likewise.
41212 * math/w_jnf.c: Likewise.
41213 * math/w_log.c: Likewise.
41214 * math/w_log10.c: Likewise.
41215 * math/w_log10f.c: Likewise.
41216 * math/w_log10l.c: Likewise.
41217 * math/w_log2.c: Likewise.
41218 * math/w_log2f.c: Likewise.
41219 * math/w_log2l.c: Likewise.
41220 * math/w_logf.c: Likewise.
41221 * math/w_logl.c: Likewise.
41222 * math/w_sqrt.c: Likewise.
41223 * math/w_sqrtf.c: Likewise.
41224 * math/w_sqrtl.c: Likewise.
41225 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41226 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41227 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41228 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41229 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41231 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41234 * manual/string.texi (strnlen): Use correct parameter name in
41235 equivalent expression.
41237 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41240 * manual/users.texi (seteuid): Consistently use neweuid for
41243 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41246 * manual/nss.texi (Services in the NSS configuration): Correct
41247 list of services in example configuration file.
41249 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41252 * manual/arith.texi: Remove statements about negative zero
41253 behaving identically to zero.
41255 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41258 * manual/install.texi: Do not document upgrading from libc5.
41260 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41263 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41265 2012-02-18 David S. Miller <davem@davemloft.net>
41267 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41268 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41269 %o7 across the call.
41270 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41273 SETUP_PIC_REG_LEAF.
41274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41275 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41276 * sysdeps/sparc/crtn.S: Likewise.
41278 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41280 * aout/Makefile: Remove.
41282 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41285 * manual/examples/argp-ex1.c (main): Format definition in GNU
41287 * manual/examples/argp-ex2.c (main): Likewise.
41288 * manual/examples/argp-ex3.c (main): Likewise.
41289 * manual/examples/argp-ex4.c (main): Likewise.
41290 * manual/examples/longopt.c (main): Use new-style prototype
41292 * manual/examples/strncat.c (main): Specify return type and use
41293 (void) for arguments.
41294 * manual/examples/subopt.c (main): Use char **argv argument.
41296 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41299 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41302 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41305 * manual/string.texi (strchr): Change when strchrnul is
41308 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41311 * manual/locale.texi (setlocale): Document LOCPATH.
41313 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41316 * manual/process.texi (execle): Move @dots{} before last argument.
41318 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41321 * manual/charset.texi (Generic Charset Conversion): Fix typo
41322 (LC_TYPE -> LC_CTYPE).
41324 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41327 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41328 (scalbnf): Likewise.
41329 (scalbnl): Likewise.
41330 (scalbln): Likewise.
41331 (scalblnf): Likewise.
41332 (scalblnl): Likewise.
41333 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41334 (vwarnx): Likewise.
41337 * manual/filesys.texi (telldir): Use braces around return type.
41338 * manual/llio.texi (mmap): Add space after comma.
41339 (mmap64): Likewise.
41340 * manual/math.texi (jn): Use @var{} on parameter names.
41346 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41348 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41350 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41351 (sched_get_priority_max): Likewise.
41352 * manual/signal.texi (sigvec): Add space after comma.
41353 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41355 (if_indextoname): Likewise.
41356 (if_freenameindex): Likewise.
41357 (sendto): Use ',' instead of '.' in prototype.
41358 * manual/startup.texi (syscall): Use @dots{} instead of literal
41360 * manual/stdio.texi (__fpending): Separate initial words of
41361 paragraph from @deftypefun line.
41362 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41364 (vsyslog): Use @var{} on parameter names.
41365 * manual/terminal.texi (stty): Use @var{} on parameter names.
41366 * manual/users.texi (getutmp): Use @var{} on parameter names.
41367 (getutmpx): Likewise.
41369 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41372 * manual/stdio.texi (fopen): Fix typos in description of
41375 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41378 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41379 get clock_id definition.
41381 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41384 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41385 (madvise): Cast every argument to void on its own.
41387 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41390 * manual/startup.texi (Exit Status): Fix typo.
41392 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41395 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41396 * manual/examples/argp-ex2.c: Likewise.
41397 * manual/examples/argp-ex3.c: Likewise.
41399 2012-02-16 Richard Henderson <rth@redhat.com>
41401 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41402 * sysdeps/s390/s390-32/initfini.c: Remove.
41403 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41404 * sysdeps/s390/s390-64/initfini.c: Remove.
41406 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41408 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41409 compiler output for sysdeps/generic/initfini.c.
41410 * sysdeps/sh/elf/initfini.c: Remove file.
41412 2012-02-16 David S. Miller <davem@davemloft.net>
41415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41417 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41418 * sysdeps/sparc/crti.S: New file.
41419 * sysdeps/sparc/crtn.S: New file.
41420 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41421 * sysdeps/sparc/sparc64/Makefile: Likewise.
41423 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41426 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41428 2012-02-15 Roland McGrath <roland@hack.frob.com>
41431 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41433 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41434 (write, read, close): Likewise.
41435 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41437 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41439 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41440 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41441 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41442 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41444 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41448 2012-02-14 Marek Polacek <polacek@redhat.com>
41450 * sysdeps/x86_64/crti.S: New file.
41451 * sysdeps/x86_64/crtn.S: New file.
41452 * sysdeps/x86_64/elf/initfini.c: Remove file.
41454 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41456 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41457 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41458 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41459 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41461 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41465 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41467 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41468 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41469 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41470 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41472 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41476 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41478 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41479 __feraiseexcept instead of feraiseexcept.
41481 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41482 nanosleep invocations.
41483 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41484 strings, and add error checking for a nanosleep invocations.
41486 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41488 Replace FSF snail mail address with URLs, as per GNU coding standards.
41489 Most of the snail mail addresses were wrong anyway, and omitting
41490 them makes the source code easier to maintain. Almost all of the
41491 changes are to license notices and to locale LC_IDENTIFICATION
41492 addresses, except for this one:
41493 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41494 not its snail mail address.
41496 2012-02-09 Richard Henderson <rth@twiddle.net>
41498 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41499 of kernel-features.h.
41501 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41503 2012-02-08 Marek Polacek <polacek@redhat.com>
41505 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41506 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41507 * sysdeps/gnu/_G_config.h: Likewise.
41508 * sysdeps/generic/_G_config.h: Likewise.
41510 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41512 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41516 * sysdeps/powerpc/powerpc32/crti.S: New file.
41517 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41518 * sysdeps/powerpc/powerpc64/crti.S: New file.
41519 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41521 * Makeconfig (have-initfini): Don't set.
41522 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41523 * configure.in (nopic_initfini): Don't substitute.
41524 * config.h.in (HAVE_INITFINI): Don't #undef.
41525 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41526 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41528 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41530 Support crti.S and crtn.S provided directly by architectures.
41531 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41532 [crti.S in sysdirs] (omit-deps): Likewise.
41533 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41534 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41535 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41536 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41537 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41538 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41539 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41540 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41541 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41542 compiler output for sysdeps/generic/initfini.c.
41543 * sysdeps/i386/elf/Makefile: Remove file.
41544 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41546 2012-02-07 Marek Polacek <polacek@redhat.com>
41548 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41549 * sysdeps/gnu/_G_config.h: Likewise.
41550 * sysdeps/mach/hurd/_G_config.h: Likewise.
41552 2012-02-07 Marek Polacek <polacek@redhat.com>
41554 * math/Makefile (tests): Add tst-CMPLX2.
41555 * math/tst-CMPLX2.c: New file.
41557 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41559 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41561 * math/libm-test.inc (jn_test): Add missing L suffix.
41563 2012-02-06 Marek Polacek <polacek@redhat.com>
41565 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41566 * sysdeps/i386/fpu/e_powf.S: Likewise.
41567 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41568 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41569 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41570 * sysdeps/i386/fpu/e_pow.S: Likewise.
41571 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41572 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41573 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41574 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41575 * sysdeps/i386/fpu/e_log2.S: Likewise.
41576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41577 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41578 * sysdeps/i386/fpu/e_powl.S: Likewise.
41579 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41580 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41581 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41582 * sysdeps/i386/fpu/e_logl.S: Likewise.
41583 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41584 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41585 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41586 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41587 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41588 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41589 * sysdeps/i386/fpu/e_log.S: Likewise.
41590 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41591 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41592 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41593 * sysdeps/i386/fpu/e_logf.S: Likewise.
41594 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41595 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41596 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41597 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41598 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41599 * sysdeps/i386/fpu/e_log10.S: Likewise.
41600 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41601 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41602 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41603 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41604 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41605 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41606 * sysdeps/i386/asm-syntax.h: Likewise.
41607 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41608 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41609 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41610 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41611 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41612 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41613 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41614 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41615 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41616 * sysdeps/powerpc/sysdep.h: Likewise.
41617 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41618 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41620 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41623 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41625 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41627 * sysdeps/i386/sysdep.h: Include <features.h>.
41628 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41631 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41633 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41635 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41638 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41640 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41641 (SETUP_PIC_REG): Use GET_PC_THUNK.
41642 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41645 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41647 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41648 for non-PIC compilation.
41649 (SETUP_PIC_REG): Add .p2align directive.
41650 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41651 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41652 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41653 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41654 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41655 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41657 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41658 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41659 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41660 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41661 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41662 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41663 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41664 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41665 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41666 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41667 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41668 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41669 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41670 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41671 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41672 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41673 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41674 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41676 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41677 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41678 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41679 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41680 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41681 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41682 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41683 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41684 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41685 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41686 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41687 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41688 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41689 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41690 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41692 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41694 * math/tst-CMPLX.c: Include <stdio.h>.
41696 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41698 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41700 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41701 * sysdeps/sparc/bits/mathdef.h: Likewise.
41703 2012-01-31 Marek Polacek <polacek@redhat.com>
41705 * libio/libio.h: Don't define _PARAMS.
41706 * locale/programs/config.h: Don't define PARAMS.
41707 * stdlib/strtol_l.c: Likewise.
41708 (__strtol_l): Remove PARAMS from the prototype.
41710 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41712 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41713 names. Just use the correct names. Remove unnecessary wrapper
41715 * malloc/arena.c: Likewise.
41716 * malloc/hooks.c: Likewise.
41718 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41719 ARENA_TEST says not to. Simplify test for creation of a new arena.
41720 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41722 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41724 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41726 (update_get_addr): New function.
41727 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41728 GET_ADDR_MODULE parameter.
41730 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41732 * crypt/cert.c: Remove __STDC__ conditionals.
41733 * crypt/crypt-entry.c: Likewise.
41734 * crypt/crypt_util.c: Likewise.
41735 * libio/filedoalloc.c: Likewise.
41736 * libio/fileops.c: Likewise.
41737 * libio/genops.c: Likewise.
41738 * libio/iofclose.c: Likewise.
41739 * libio/iofdopen.c: Likewise.
41740 * libio/iofopen.c: Likewise.
41741 * libio/iofopen64.c: Likewise.
41742 * libio/iogetdelim.c: Likewise.
41743 * libio/iopopen.c: Likewise.
41744 * libio/obprintf.c: Likewise.
41745 * libio/oldfileops.c: Likewise.
41746 * libio/oldiofclose.c: Likewise.
41747 * libio/oldiofdopen.c: Likewise.
41748 * libio/oldiofopen.c: Likewise.
41749 * libio/oldiopopen.c: Likewise.
41750 * libio/wfiledoalloc.c: Likewise.
41751 * libio/wgenops.c: Likewise.
41752 * locale/programs/xmalloc.c: Likewise.
41753 * misc/syslog.c: Likewise.
41754 * stdio-common/xbug.c: Likewise.
41755 * string/memchr.c: Likewise.
41756 * string/memcmp.c: Likewise.
41757 * string/memrchr.c: Likewise.
41758 * string/rawmemchr.c: Likewise.
41759 * sysdeps/posix/getcwd.c: Likewise.
41760 * time/strftime_l.c: Likewise.
41762 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41764 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41765 * config.make.in (config-cflags-sse2avx): Define.
41766 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41769 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41771 * scripts/config.guess: Update from upstream config git repository.
41772 * scripts/config.sub: Likewise.
41774 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41776 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41778 (R_TILEPRO_*, R_TILEGX_*): New macros.
41780 * scripts/firstversions.awk: Fix bug in version range handling.
41782 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41784 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41786 * include/sys/epoll.h: New file.
41787 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41790 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41792 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41793 Avoid unnecessary __WORDSIZE == 64 test.
41794 (fmaxf): Use VEX format if possible.
41799 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41800 * math/math_private.h: Remove libc_fegetround* and
41802 * sysdeps/i386/configure.in: Check for -msse2avx.
41803 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41804 also if SSE2AVX is defined.
41805 Remove libc_fegetround* and libc_fesetround*.
41806 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41807 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41808 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41810 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41811 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41814 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41816 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41818 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41820 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41822 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41824 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41827 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41829 * Makeconfig (libm): Define.
41830 * elf/Makefile: Add rules to build and run tst-relsort1.
41831 * elf/tst-relsort1.c: New file.
41832 * elf/tst-relsort1mod1.c: New file.
41833 * elf/tst-relsort1mod2.c: New file.
41835 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41837 * math/s_ldexp.c: Remove __STDC__ conditionals.
41838 * math/s_ldexpf.c: Likewise.
41839 * math/s_ldexpl.c: Likewise.
41840 * math/s_nextafter.c: Likewise.
41841 * math/s_nexttowardf.c: Likewise.
41842 * math/s_significand.c: Likewise.
41843 * math/s_significandf.c: Likewise.
41844 * math/s_significandl.c: Likewise.
41845 * math/w_jnl.c: Likewise.
41846 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41847 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41848 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41849 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41850 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41852 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41853 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41854 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41855 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41856 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41857 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41858 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41859 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41860 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41861 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41862 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41863 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41865 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41866 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41867 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41868 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41869 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41870 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41871 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41872 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41873 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41874 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41875 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41876 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41877 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41878 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41879 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41880 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41881 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41882 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41883 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41884 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41885 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41886 * sysdeps/ieee754/k_standard.c: Likewise.
41887 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41889 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41890 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41891 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41892 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41893 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41894 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41895 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41896 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41897 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41898 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41899 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41900 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41901 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41902 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41903 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41904 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41905 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41906 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41907 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41908 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41909 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41910 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41911 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41912 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41913 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41915 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41916 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41917 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41918 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41919 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41920 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41921 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41922 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41923 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41924 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41925 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41926 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41927 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41929 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41930 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41931 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41932 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41933 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41934 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41935 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41936 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41937 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41938 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41939 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41940 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41941 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41942 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41943 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41944 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41945 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41946 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41947 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41948 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41949 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41950 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41951 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41952 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41953 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41954 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41955 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41956 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41957 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41958 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41959 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41960 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41961 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41962 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41963 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41964 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41965 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41966 * sysdeps/ieee754/s_matherr.c: Likewise.
41967 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41968 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41969 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41972 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41974 * crypt/md5.h: Remove __STDC__ conditionals.
41975 * libio/libioP.h: Likewise.
41976 * locale/programs/config.h: Likewise.
41977 * sysdeps/generic/sysdep.h: Likewise.
41978 * sysdeps/i386/asm-syntax.h: Likewise.
41979 * sysdeps/s390/asm-syntax.h: Likewise.
41980 * sysdeps/unix/sysdep.h: Likewise.
41981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41984 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41986 * libio/libio.h: Remove __STDC__ conditionals.
41987 * malloc/obstack.h: Likewise.
41988 * math/complex.h: Likewise.
41989 * math/math.h: Likewise.
41990 * sysdeps/generic/_G_config.h: Likewise.
41991 * sysdeps/gnu/_G_config.h: Likewise.
41992 * sysdeps/mach/hurd/_G_config.h: Likewise.
41993 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41994 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41995 * sysdeps/sparc/bits/mathdef.h: Likewise.
41997 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42000 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42001 Clean up HAS_* macros.
42002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42003 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42005 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42007 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42008 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42009 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42010 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42011 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42013 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42015 * elf/tst-unique3.cc (gets): Remove declaration.
42016 * elf/tst-unique3lib.cc (gets): Likewise.
42017 * elf/tst-unique3lib2.cc (gets): Likewise.
42018 * elf/tst-unique4.cc (gets): Likewise.
42020 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42022 * include/stdio.h: Add C++ protection. Add gets declarations and
42024 * debug/tst-chk1.c: Don't declare gets here.
42025 * stdio-common/tst-gets.c: Likewise.
42027 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42029 * posix/glob: Remove directory.
42031 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42033 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42035 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42037 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42038 of the non-standard EPFNOSUPPORT.
42040 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42042 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42043 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42044 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42046 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42048 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42050 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42052 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42054 * nscd/grpcache.c (cache_addgr): Likewise.
42055 * nscd/hstcache.c (cache_addhst): Likewise.
42056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42057 * nscd/pwdcache.c (cache_addpw): Likewise.
42058 * nscd/servicescache.c (cache_addserv): Likewise.
42060 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42062 * malloc/malloc.c: Various cleanups.
42063 * malloc/hooks.c: Likewise.
42065 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42066 * stdlib/bug-fmtmsg1.c: New file.
42068 * stdlib/fmtmsg.c (init): Add missing unlock.
42069 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42071 2012-01-12 Marek Polacek <polacek@redhat.com>
42073 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42076 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42078 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42079 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42080 macro to ensure uniqueness of label name.
42081 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42082 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42084 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42086 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42088 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42089 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42090 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42093 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42095 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42097 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42098 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42099 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42101 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42103 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42104 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42105 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42108 * math/bits/math-finite.h: Add ldexp support.
42110 2012-01-10 Marek Polacek <polacek@redhat.com>
42112 * locale/programs/localedef.h (show_archive_content): Add noreturn
42115 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42117 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42119 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42121 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42123 * io/Makefile (headers): Add bits/poll2.h.
42125 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42128 typo #include statement.
42130 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42132 * include/sys/cdefs.h: Define __attribute_alloc_size.
42133 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42134 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42135 * elf/pldd.c: Likewise.
42136 * iconv/iconv_charmap.c: Likewise.
42137 * iconv/iconvconfig.c: Likewise.
42138 * iconv/strtab.c: Likewise.
42139 * locale/programs/locale.c: Likewise.
42140 * locale/programs/localedef.h: Likewise.
42141 * locale/programs/simple-hash.c: Likewise.
42142 * nscd/nscd.h: Likewise.
42143 * nss/makedb.c: Likewise.
42144 * sysdeps/generic/ldconfig.h: Likewise.
42145 * locale/programs/localedef.c: Remove xmalloc prototype.
42146 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42148 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42150 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42153 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42155 * math/Makefile (tests): Add tst-CMPLX.
42156 * math/tst-CMPLX.c: New file.
42158 * math/complex.h (CMPLXL): Fix typo.
42160 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42161 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42163 * debug/tst-chk1.c: Add poll and ppoll tests.
42164 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42165 * include/sys/poll.h: Add hidden proto for ppoll.
42166 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42167 * sysdeps/mach/hurd/ppoll.c: Likewise.
42168 * io/ppoll.c: Likewise.
42169 * debug/poll_chk.c: New file.
42170 * debug/ppoll_chk.c: New file.
42171 * include/bits/poll2.h: New file.
42172 * io/bits/poll2.h: New file.
42175 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42177 * configure.in: static is always set to yes. Remove.
42178 * config.make.in: Don't set build-static.
42179 * Makeconfig: Remove use of build-static.
42180 * dlfcn/Makefile: Likewise.
42181 * elf/Makefile: Likewise.
42182 * math/Makefile: Likewise.
42183 * misc/Makefile: Likewise.
42184 * nptl/Makefile: Likewise.
42185 * sysdeps/mach/hurd/Makefile: Likewise.
42187 * configure.in: PWD_P is not used anymore.
42188 * config.make.in: Remove PWD_P entry.
42190 * configure.in: Remove last remnants of RANLIB.
42191 No need to check for signed size_t anymore.
42192 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42194 Remove __builtin_expect test because we require at least gcc 3.4.
42195 * aclocal.m4: Likewise.
42197 * wcsmbs/mbrtoc16.c: Implement using towc function.
42198 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42199 * wcsmbs/wcsmbsload.c: Likewise.
42200 * iconv/gconv_simple.c: Likewise.
42201 * iconv/gconv_int.h: Likewise.
42202 * iconv/gconv_builtin.h: Likewise.
42203 * iconv/iconv_prog.c: Remove CHAR16 handling.
42205 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42207 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42209 * configure.in: Remove --with-elf and --enable-bounded options.
42210 Dont set base_machine for ia64. More non-ELF conditions removed.
42211 Remove testing and setting of leading underscore information.
42212 * config.make.in (build-bounded): Set to no.
42213 * config.h.in: Remove NO_UNDERSCORES entry.
42214 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42216 * csu/start.c: Remove !NO_UNDERSCORE code.
42217 * locale/localeinfo.h: Likewise.
42218 * sysdeps/generic/machine-gmon.h: Likewise.
42219 * sysdeps/generic/sysdep.h: Likewise.
42220 * sysdeps/i386/sysdep.h: Likewise.
42221 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42222 * sysdeps/mach/sysdep.h: Likewise.
42223 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42224 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42225 * sysdeps/sh/sysdep.h: Likewise.
42226 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42227 * sysdeps/unix/i386/sysdep.S: Likewise.
42228 * sysdeps/unix/sparc/start.c: Likewise.
42229 * sysdeps/unix/sparc/sysdep.S: Likewise.
42230 * sysdeps/unix/sparc/sysdep.h: Likewise.
42231 * sysdeps/unix/start.c: Likewise.
42232 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42233 * sysdeps/x86_64/sysdep.h: Likewise.
42235 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42238 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42240 * argp/argp-fmtstream.h: Use const instead __const.
42241 * argp/argp.h: Likewise.
42242 * assert/assert.h: Likewise.
42243 * bits/fenv.h: Likewise.
42244 * bits/sched.h: Likewise.
42245 * bits/sigset.h: Likewise.
42246 * bits/sigthread.h: Likewise.
42247 * catgets/nl_types.h: Likewise.
42248 * conform/data/pthread.h-data: Likewise.
42249 * crypt/crypt-private.h: Likewise.
42250 * crypt/crypt.h: Likewise.
42251 * crypt/crypt_util.c: Likewise.
42252 * ctype/ctype.h: Likewise.
42253 * debug/execinfo.h: Likewise.
42254 * debug/mbsnrtowcs_chk.c: Likewise.
42255 * debug/mbsrtowcs_chk.c: Likewise.
42256 * debug/wcsnrtombs_chk.c: Likewise.
42257 * debug/wcsrtombs_chk.c: Likewise.
42258 * debug/wcstombs_chk.c: Likewise.
42259 * dirent/dirent.h: Likewise.
42260 * dlfcn/dlfcn.h: Likewise.
42261 * elf/neededtest4.c: Likewise.
42262 * grp/grp.h: Likewise.
42263 * gshadow/gshadow.h: Likewise.
42264 * iconv/gconv.h: Likewise.
42265 * iconv/gconv_int.h: Likewise.
42266 * iconv/gconv_simple.c: Likewise.
42267 * iconv/iconv.h: Likewise.
42268 * iconv/loop.c: Likewise.
42269 * iconv/skeleton.c: Likewise.
42270 * include/aio.h: Likewise.
42271 * include/aliases.h: Likewise.
42272 * include/argz.h: Likewise.
42273 * include/arpa/inet.h: Likewise.
42274 * include/assert.h: Likewise.
42275 * include/dirent.h: Likewise.
42276 * include/dlfcn.h: Likewise.
42277 * include/execinfo.h: Likewise.
42278 * include/fcntl.h: Likewise.
42279 * include/fenv.h: Likewise.
42280 * include/glob.h: Likewise.
42281 * include/grp.h: Likewise.
42282 * include/libintl.h: Likewise.
42283 * include/mntent.h: Likewise.
42284 * include/netdb.h: Likewise.
42285 * include/pwd.h: Likewise.
42286 * include/rpc/netdb.h: Likewise.
42287 * include/sched.h: Likewise.
42288 * include/search.h: Likewise.
42289 * include/shadow.h: Likewise.
42290 * include/signal.h: Likewise.
42291 * include/stdio.h: Likewise.
42292 * include/stdlib.h: Likewise.
42293 * include/string.h: Likewise.
42294 * include/sys/socket.h: Likewise.
42295 * include/sys/stat.h: Likewise.
42296 * include/sys/statfs.h: Likewise.
42297 * include/sys/statvfs.h: Likewise.
42298 * include/sys/syslog.h: Likewise.
42299 * include/sys/time.h: Likewise.
42300 * include/sys/uio.h: Likewise.
42301 * include/time.h: Likewise.
42302 * include/unistd.h: Likewise.
42303 * include/utmp.h: Likewise.
42304 * include/wchar.h: Likewise.
42305 * include/wctype.h: Likewise.
42306 * inet/aliases.h: Likewise.
42307 * inet/arpa/inet.h: Likewise.
42308 * inet/netinet/ether.h: Likewise.
42309 * inet/netinet/in.h: Likewise.
42310 * intl/libintl.h: Likewise.
42311 * io/bits/fcntl2.h: Likewise.
42312 * io/fcntl.h: Likewise.
42313 * io/ftw.h: Likewise.
42314 * io/sys/poll.h: Likewise.
42315 * io/sys/stat.h: Likewise.
42316 * io/sys/statfs.h: Likewise.
42317 * io/sys/statvfs.h: Likewise.
42318 * io/utime.h: Likewise.
42319 * libio/bits/stdio.h: Likewise.
42320 * libio/bits/stdio2.h: Likewise.
42321 * libio/libio.h: Likewise.
42322 * libio/libioP.h: Likewise.
42323 * libio/stdio.h: Likewise.
42324 * locale/lc-ctype.c: Likewise.
42325 * locale/locale.h: Likewise.
42326 * login/utmp.h: Likewise.
42327 * malloc/arena.c: Likewise.
42328 * malloc/malloc.c: Likewise.
42329 * malloc/malloc.h: Likewise.
42330 * malloc/mcheck.c: Likewise.
42331 * malloc/mtrace.c: Likewise.
42332 * math/bits/mathcalls.h: Likewise.
42333 * math/fenv.h: Likewise.
42334 * math/math_private.h: Likewise.
42335 * misc/bits/error.h: Likewise.
42336 * misc/bits/syslog.h: Likewise.
42337 * misc/err.h: Likewise.
42338 * misc/error.h: Likewise.
42339 * misc/fstab.h: Likewise.
42340 * misc/mntent.h: Likewise.
42341 * misc/regexp.h: Likewise.
42342 * misc/search.h: Likewise.
42343 * misc/sgtty.h: Likewise.
42344 * misc/sys/mman.h: Likewise.
42345 * misc/sys/syslog.h: Likewise.
42346 * misc/sys/uio.h: Likewise.
42347 * misc/sys/xattr.h: Likewise.
42348 * misc/ttyent.h: Likewise.
42349 * nis/rpcsvc/ypclnt.h: Likewise.
42350 * nss/nss.h: Likewise.
42351 * posix/bits/unistd.h: Likewise.
42352 * posix/fnmatch.h: Likewise.
42353 * posix/glob.h: Likewise.
42354 * posix/sched.h: Likewise.
42355 * posix/spawn.h: Likewise.
42356 * posix/sys/wait.h: Likewise.
42357 * posix/unistd.h: Likewise.
42358 * posix/wordexp.h: Likewise.
42359 * pwd/pwd.h: Likewise.
42360 * resolv/netdb.h: Likewise.
42361 * resource/sys/resource.h: Likewise.
42362 * rt/aio.h: Likewise.
42363 * rt/bits/mqueue2.h: Likewise.
42364 * rt/mqueue.h: Likewise.
42365 * shadow/shadow.h: Likewise.
42366 * signal/signal.h: Likewise.
42367 * socket/send.c: Likewise.
42368 * socket/sendto.c: Likewise.
42369 * socket/sys/socket.h: Likewise.
42370 * stdio-common/printf.h: Likewise.
42371 * stdlib/bits/stdlib.h: Likewise.
42372 * stdlib/fmtmsg.h: Likewise.
42373 * stdlib/monetary.h: Likewise.
42374 * stdlib/stdlib.h: Likewise.
42375 * stdlib/ucontext.h: Likewise.
42376 * streams/stropts.h: Likewise.
42377 * string/argz.h: Likewise.
42378 * string/bits/string2.h: Likewise.
42379 * string/string.h: Likewise.
42380 * string/strings.h: Likewise.
42381 * sunrpc/rpc/auth.h: Likewise.
42382 * sunrpc/rpc/auth_des.h: Likewise.
42383 * sunrpc/rpc/clnt.h: Likewise.
42384 * sunrpc/rpc/netdb.h: Likewise.
42385 * sunrpc/rpc/pmap_clnt.h: Likewise.
42386 * sunrpc/rpc/xdr.h: Likewise.
42387 * sysdeps/generic/inttypes.h: Likewise.
42388 * sysdeps/generic/net/if.h: Likewise.
42389 * sysdeps/generic/sys/swap.h: Likewise.
42390 * sysdeps/gnu/net/if.h: Likewise.
42391 * sysdeps/gnu/utmpx.h: Likewise.
42392 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42393 * sysdeps/i386/i486/bits/string.h: Likewise.
42394 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42395 * sysdeps/s390/bits/string.h: Likewise.
42396 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42397 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42398 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42399 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42400 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42401 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42402 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42403 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42404 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42405 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42406 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42407 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42408 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42409 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42410 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42411 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42412 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42414 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42415 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42416 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42417 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42418 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42419 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42420 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42421 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42422 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42423 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42424 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42425 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42426 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42427 * sysvipc/sys/ipc.h: Likewise.
42428 * sysvipc/sys/msg.h: Likewise.
42429 * sysvipc/sys/sem.h: Likewise.
42430 * sysvipc/sys/shm.h: Likewise.
42431 * termios/termios.h: Likewise.
42432 * time/sys/time.h: Likewise.
42433 * time/time.h: Likewise.
42434 * wcsmbs/bits/wchar2.h: Likewise.
42435 * wcsmbs/uchar.h: Likewise.
42436 * wcsmbs/wchar.h: Likewise.
42437 * wctype/wctype.h: Likewise.
42440 * Makeconfig: Remove all but ELF support including AIX support.
42441 * Makerules: Likewise.
42442 * config.h.in: Likewise.
42443 * config.make.in: Likewise.
42444 * configure: Likewise.
42445 * configure.in: Likewise.
42446 * csu/Makefile: Likewise.
42447 * csu/version.c: Likewise.
42448 * debug/Makefile: Likewise.
42449 * dlfcn/Makefile: Likewise.
42450 * elf/Makefile: Likewise.
42451 * extra-lib.mk: Likewise.
42452 * iconv/Makefile: Likewise.
42453 * include/libc-symbols.h: Likewise.
42454 * include/shlib-compat.h: Likewise.
42455 * resolv/Makefile: Likewise.
42456 * resolv/res_libc.c: Likewise.
42457 * rt/Makefile: Likewise.
42458 * sysdeps/i386/asm-syntax.h: Likewise.
42459 * sysdeps/i386/sysdep.h: Likewise.
42460 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42461 * sysdeps/mach/sysdep.h: Likewise.
42462 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42463 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42464 * sysdeps/s390/asm-syntax.h: Likewise.
42465 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42467 * sysdeps/sh/sysdep.h: Likewise.
42468 * sysdeps/unix/sparc/sysdep.h: Likewise.
42469 * sysdeps/wordsize-32/divdi3.c: Likewise.
42470 * sysdeps/x86_64/sysdep.h: Likewise.
42472 * argp/Versions: Remove _argp_unlock_xxx.
42475 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42476 * abilist/libBrokenLocale.abilist: Likewise.
42477 * abilist/libanl.abilist: Likewise.
42478 * abilist/libc.abilist: Likewise.
42479 * abilist/libcrypt.abilist: Likewise.
42480 * abilist/libdl.abilist: Likewise.
42481 * abilist/libm.abilist: Likewise.
42482 * abilist/libnsl.abilist: Likewise.
42483 * abilist/libpthread.abilist: Likewise.
42484 * abilist/libresolv.abilist: Likewise.
42485 * abilist/librt.abilist: Likewise.
42486 * abilist/libthread_db.abilist: Likewise.
42487 * abilist/libutil.abilist: Likewise.
42488 * abilist/libnss_db.abilist: New file.
42490 * scripts/abilist.awk: Add support for indirect functions.
42492 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42494 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42496 * shlib-versions: Remove entries for ports architectures.
42498 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42500 * elf/stackguard-macros.h: Remove support for IA-64.
42501 * elf/tst-auditmod1.c: Likewise.
42502 * sysdeps/generic/ldsodefs.h: Likewise.
42504 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42505 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42509 * configure.in: Remove --enable-omitfp support.
42511 * config.make.in: Likewise.
42512 * Makeconfig: Likewise.
42513 * manual/install.texi: Likewise.
42515 In case anyone cares, the IA-64 architecture could move to ports.
42516 * sysdeps/ia64/*: Removed.
42517 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42518 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42521 * configure.in: Remove entries for unsupported architectures.
42524 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42525 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42527 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42528 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42529 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42530 fall back to using wcrtomb.
42531 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42532 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42534 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42535 * wcsmbs/tst-c16c32-1.c: New file.
42537 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42540 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42542 * elf/tst-unique3.cc: Add explicit declaration of gets.
42543 * elf/tst-unique3lib.cc: Likewise.
42544 * elf/tst-unique3lib2.cc: Likewise.
42545 * elf/tst-unique4.cc: Likewise.
42547 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42549 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42552 * assert/assert.h (static_assert): Don't define for C++.
42553 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42554 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42556 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42558 * iconv/loop.c (single loop): Fix assertion in storing of
42561 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42563 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42565 * posix/getconf.c: Update copyright year.
42566 * nss/getent.c: Likewise.
42567 * nss/makedb.c: Likewise.
42568 * iconv/iconvconfig.c: Likewise.
42569 * iconv/iconv_prog.c: Likewise.
42570 * elf/ldconfig.c: Likewise.
42571 * elf/pldd.c: Likewise.
42572 * elf/sotruss.ksh: Likewise.
42573 * catgets/gencat.c: Likewise.
42574 * csu/version.c: Likewise.
42575 * elf/ldd.bash.in: Likewise.
42576 * elf/sprof.c (print_version): Likewise.
42577 * locale/programs/locale.c: Likewise.
42578 * locale/programs/localedef.c: Likewise.
42579 * login/programs/pt_chown.c: Likewise.
42580 * nscd/nscd.c (print_version): Likewise.
42581 * debug/xtrace.sh: Likewise.
42582 * malloc/memusage.sh: Likewise.
42583 * malloc/mtrace.pl: Likewise.
42584 * debug/catchsegv.sh: Likewise.
42586 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42588 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42591 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42594 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42595 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42597 * iconv/gconv_int.h: Likewise.
42598 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42599 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42600 from libc for GLIBC_2.16.
42601 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42602 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42603 * wcsmbs/uchar.h: Really define mbstate_t.
42604 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42605 * wcsmbs/c16rtomb.c: New file.
42606 * wcsmbs/mbrtoc16.c: New file.
42607 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42608 for C/POSIX locale.
42609 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42610 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42612 * wcsmbs/wchar.h: Add missing __restrict.
42614 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42617 * time/Makefile (routines): Add timespec_get.
42618 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42619 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42620 timespec for ISO C11.
42621 * time/timespec_get.c: New file.
42622 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42623 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42626 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42627 * stdlib/stdlib.h: Declare aligned_alloc.
42628 * Versions.def: Add GLIBC_2.16 for libc.
42629 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42632 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42635 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42639 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42642 * assert/assert.h (static_assert): Define.
42644 * version.h: Update for 2.16 development version.
42647 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42650 * version.h (RELEASE): Bump for 2.15 release.
42651 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42653 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42654 Patch by Marek Polacek <mpolacek@redhat.com>.
42656 * bits/byteswap.h: Protect long long constants with __extension__.
42657 * sysdeps/i386/bits/byteswap.h: Likewise.
42658 * sysdeps/ia64/bits/byteswap.h: Likewise.
42659 * sysdeps/s390/bits/byteswap.h: Likewise.
42660 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42662 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42666 destination buffer.
42667 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42669 2011-12-23 Marek Polacek <polacek@redhat.com>
42671 * elf/dl-addr.c (determine_info): Add inline keyword.
42672 * elf/tst-auditmod4b.c (check_avx): Likewise.
42673 * elf/tst-auditmod6b.c (check_avx): Likewise.
42674 * elf/tst-auditmod6c.c (check_avx): Likewise.
42675 * elf/tst-auditmod7b.c (check_avx): Likewise.
42677 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42679 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42682 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42685 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42686 processing for last bytes.
42688 2011-08-06 Bruno Haible <bruno@clisp.org>
42691 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42692 U+0385, not to U+1FEE.
42695 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42696 entry for U+00A5 U+0301.
42698 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42701 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42702 buffer for the output is too small.
42704 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42708 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42709 SSE flags if possible.
42711 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42714 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42715 processing for last bytes.
42717 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42719 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42720 (syscall-list-default-options, syscall-list-default-condition)
42721 (syscall-list-includes): Define.
42722 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42723 list of ABIs and options and #if conditions for each ABI. Do not
42724 handle common syscalls between ABIs specially.
42725 * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
42731 (syscall-list-variants, syscall-list-32bit-options)
42732 (syscall-list-32bit-condition, syscall-list-64bit-options)
42733 (syscall-list-64bit-condition): Define.
42734 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42736 (syscall-list-variants, syscall-list-32bit-options)
42737 (syscall-list-32bit-condition, syscall-list-64bit-options)
42738 (syscall-list-64bit-condition): Define.
42739 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42741 (syscall-list-variants, syscall-list-32bit-options)
42742 (syscall-list-32bit-condition, syscall-list-64bit-options)
42743 (syscall-list-64bit-condition): Define.
42745 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42747 * locale/iso-639.def: Add brx entry.
42750 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42751 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42753 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42754 __feraiseexcept_renamed.
42756 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42759 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42760 EPOLLET with unsigned values.
42761 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42762 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42764 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42765 to large cancellation.
42766 * math/s_cacoshf.c: Likewise.
42767 * math/s_cacoshl.c: Likewise.
42769 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42773 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42774 * math/s_cacoshf.c: Likewise.
42775 * math/s_cacoshl.c: Likewise.
42777 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42780 * iconv/gconv.h: Define __GCONV_SWAP.
42781 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42782 * iconvdata/utf-16.c: Likewise.
42783 * iconvdata/utf-32.c: Likewise.
42785 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42788 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42789 numerator after shifting it by one limb.
42791 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42793 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42794 under [__USE_EXTERN_INLINES].
42796 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42799 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42801 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42803 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42804 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42806 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42807 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42808 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42809 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42810 for strncasecmp/strncasecmp_l compilation.
42811 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42812 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42814 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42817 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42820 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42823 * time/tzfile.c (__tzfile_read): Check values from file header.
42825 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42827 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42828 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42829 * powerpc/powerpc32/dl-start.S: Likewise.
42830 * powerpc/powerpc32/elf/start.S: Likewise.
42831 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42832 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42833 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42834 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42835 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42836 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42837 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42838 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42839 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42840 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42841 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42842 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42843 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42844 * powerpc/powerpc32/memset.S: Likewise.
42845 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42846 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42847 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42848 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42849 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42850 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42851 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42852 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42853 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42854 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42855 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42856 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42857 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42859 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42861 * math/libm-test.inc: Added more nearbyint tests.
42862 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42864 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42867 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42869 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42872 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42874 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42875 Add wcscpy-ssse3 wcscpy-c.
42876 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42877 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42878 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42879 * sysdeps/x86_64/wcschr.S: New file.
42880 * sysdeps/x86_64/wcsrchr.S: New file.
42881 * string/test-strcmp.c: Remove checking of wcscmp function for
42883 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42884 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42885 wcsrchr-sse2 wcsrchr-c.
42886 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42887 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42888 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42889 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42890 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42891 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42892 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42893 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42894 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42895 * wcsmbc/wcschr.c (WCSCHR): New macro.
42897 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42899 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42900 * wcsmbs/test-wcsrchr.c: New file.
42901 * string/test-strrchr.c: Add wcsrchr support.
42903 * wcsmbs/test-wcscpy.c: New file.
42904 * string/test-strcpy.c: Add wcscpy support.
42907 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42909 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42912 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42915 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42917 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42919 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42920 Minor optimizations.
42922 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42923 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42924 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42926 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42928 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42929 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42930 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42931 for gcc to avoid warnings.
42932 * inet/Makefile (tests): Add tst-checks.
42933 * inet/tst-checks.c: New file.
42935 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42938 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42941 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42942 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42944 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42946 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42948 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42951 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42953 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42955 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42956 conditional on GCC version.
42957 (__arch_compare_and_exchange_val_8_acq)
42958 (__arch_compare_and_exchange_val_16_acq)
42959 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42960 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42961 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42963 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42965 * sysdeps/sh/backtrace.c: New file.
42967 2011-12-02 Andreas Schwab <schwab@redhat.com>
42969 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42972 2011-12-01 Andreas Schwab <schwab@redhat.com>
42974 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42975 falling back to utime.
42977 2011-11-30 Andreas Schwab <schwab@redhat.com>
42979 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42980 expectations for float.
42982 2011-11-29 Andreas Schwab <schwab@redhat.com>
42984 * locale/weight.h (findidx): Add parameter len.
42985 * locale/weightwc.h (findidx): Likewise.
42986 * posix/fnmatch_loop.c (FCT): Adjust caller.
42987 * posix/regcomp.c (build_equiv_class): Likewise.
42988 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42989 * posix/regexec.c (check_node_accept_bytes): Likewise.
42990 * string/strcoll_l.c (STRCOLL): Likewise.
42991 * string/strxfrm_l.c (STRXFRM): Likewise.
42993 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42995 * Makefile.in: Remove CVSOPT handling.
42996 * configure.in: Remove use of AC_REVISION.
42997 * iconvdata/Makefile (distribute): No need to filter out CVS.
42998 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43001 2011-11-16 Andreas Schwab <schwab@redhat.com>
43003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43004 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43005 [USE_AS_STRNCASECMP_L]: Likewise.
43006 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43007 NO_TLS_DIRECT_SEG_REFS.
43008 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43009 Fix argument offsets for non-PIC.
43010 [USE_AS_STRNCASECMP_L]: Likewise.
43011 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43012 NO_TLS_DIRECT_SEG_REFS.
43014 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43016 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43018 * locale/loadlocale.c (_nl_load_locale): Likewise.
43020 2011-11-15 Andreas Schwab <schwab@redhat.com>
43022 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43023 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43024 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43025 (SYSCALL_GETTIME): Set errno on error.
43027 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43028 count references to noai6ai_cached.
43030 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43032 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43034 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43035 FD_CLOEXEC for /proc/self/maps.
43037 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43038 FD_CLOEXEC for /proc/meminfo.
43040 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43043 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43044 FD_CLOEXEC for given file.
43046 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43048 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43049 FD_CLOEXEC for /etc/hosts.
43050 (_gethtent): Likewise.
43052 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43054 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43055 cancellation and set FD_CLOEXEC for /etc/netgroup.
43057 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43058 reading /etc/publickey.
43060 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43061 allow cancellation when reading /etc/group.
43063 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43065 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43067 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43068 when using data file.
43070 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43072 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43073 (write_nis_obj): Use "c" and "e" in fopen.
43075 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43077 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43079 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43081 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43083 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43086 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43088 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43090 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43092 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43093 file parsing and set FD_CLOEXEC.
43095 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43097 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43099 2011-11-14 Andreas Schwab <schwab@redhat.com>
43101 * malloc/arena.c (arena_get2): Don't call reused_arena when
43102 _int_new_arena failed.
43104 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43106 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43107 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43108 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43109 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43110 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43111 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43112 to compile strcasecmp and strncasecmp.
43113 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43114 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43116 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43118 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43120 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43121 locale-defines.sym to gen-as-const-headers.
43122 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43123 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43125 to compile strcasecmp and strncasecmp.
43126 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43127 strcasecmp_l and strncasecmp_l.
43128 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43129 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43130 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43131 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43132 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43133 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43134 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43135 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43136 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43137 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43138 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43140 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43142 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43143 result of SYSDEP_GETTIME_CPU to retval.
43144 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43145 parameter list to macro. Remove trailing semicolon. Adjust users.
43147 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43150 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43152 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43154 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43155 from unused variable.
43157 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43159 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43162 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43165 * sunrpc/rpc_prot.c (rejected): Fix case value.
43167 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43168 unsigned long long int to avoid warnings in shift.
43170 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43172 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43175 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43176 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43177 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43179 * nis/nis_table.c (nis_list): Use variable of correct type for
43180 result of __follow_path call.
43182 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43184 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43185 of math functions ceil, trunc, floor, round, and sqrt, when
43186 avaliable on the platform.
43187 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43189 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43190 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43191 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43193 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43195 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43196 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43198 2011-11-11 Roland McGrath <roland@hack.frob.com>
43200 * include/unistd.h: Fix __readlink return type.
43201 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43203 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43205 * stdlib/ucontext.h: Undo last change for makecontext.
43207 2011-11-11 Andreas Schwab <schwab@redhat.com>
43209 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43211 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43212 * setjmp/setjmp.h: Mark functions as non-leaf.
43213 * setjmp/bits/setjmp2.h: Likewise.
43214 * stdlib/ucontext.h: Likewise.
43216 2011-11-10 Andreas Schwab <schwab@redhat.com>
43218 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43219 (reused_arena): Don't check arena limit.
43220 (arena_get2): Atomically check arena limit.
43222 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43224 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43225 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43230 2011-11-07 Andreas Schwab <schwab@redhat.com>
43232 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43233 handler when locking.
43235 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43236 Fix size of allocated buffer.
43238 2011-11-04 Andreas Schwab <schwab@redhat.com>
43241 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43242 declarations for long double functions.
43243 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43245 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43247 2011-11-03 Andreas Schwab <schwab@redhat.com>
43249 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43252 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43255 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43257 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43259 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43261 * include/alloca.h (stackinfo_alloca_round): Define.
43262 (extend_alloca): Use it.
43263 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43264 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43267 * scripts/check-local-headers.sh: Ignore libaudit.h.
43269 * nscd/Makefile (extra-objs): Make recursively expanded.
43271 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43273 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43274 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43276 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43277 * posix/tst-rfc3484-2.c: Likewise.
43278 * posix/tst-rfc3484-3.c: Likewise.
43280 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43282 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43284 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43285 process_vm_writev from libc using GLIBC_2.15 version.
43287 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43289 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43291 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43294 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43297 * nss/getent.c (initgroups_keys): Show error message in case no group
43300 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43301 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43302 __bump_nl_timestamp.
43303 * nscd/connections (nscd_init): When host database is served open
43304 netlink socket and request notification about configuration changes.
43305 (main_loop_poll): Track netlink file descriptor and bump timestamp
43306 in case data becomes available.
43307 (main_loop_epoll): Likewise.
43308 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43309 (database_pers_head): Add extra_data fileds.
43310 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43311 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43312 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43314 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43315 in6ai data, call __free_in6ai.
43316 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43317 Add -DHAVE_NETLINK.
43318 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43319 interface information. Reuse previous data if netlink timestamp
43321 (__bump_nl_timestamp): New function.
43322 (__free_in6ai): New function.
43324 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43326 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43327 close_not_cancel_no_status here.
43328 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43330 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43333 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43336 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43337 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43338 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43340 2011-07-03 Andreas Jaeger <aj@suse.de>
43343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43344 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43345 * math/libm-test.inc (sin_test): Add test case.
43347 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43350 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43351 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43353 * elf/chroot_canon.c (chroot_canon): Cleanups.
43355 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43358 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43359 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43361 * string/test-strchr.c: Make usable for strchrnul testing.
43362 * string/test-strchrnul.c: New file.
43363 * string/Makefile (strop-tests): Add strchrnul.
43365 * po/it.po: Update from translation team.
43366 * po/es.po: Likewise.
43368 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43370 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43371 the three constants needed as parameters. Drop the others.
43372 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43373 __m128i_strloadu_tolower.
43374 Create and initialize variable zero and use it in all the places
43375 where _mm_setzero_si128 was used.
43377 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43378 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43379 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43380 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43382 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43383 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43384 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43385 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43386 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43387 __mpranred, __mptan.
43388 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43389 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43390 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43391 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43392 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43393 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43394 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43395 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43396 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43398 2011-10-28 Andreas Schwab <schwab@redhat.com>
43400 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43401 redefine if SHARED.
43402 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43405 wide char related routines to wcsmbs subdir.
43407 2011-10-27 Andreas Schwab <schwab@redhat.com>
43410 * misc/sys/cdefs.h (__THROWNL): Define.
43411 * posix/unistd.h: Use __THREADNL instead of __THREAD
43412 for memory synchronization functions.
43414 2011-10-26 Roland McGrath <roland@hack.frob.com>
43417 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43419 * manual/stdio.texi (Obstack Streams): Node removed.
43421 2011-10-26 Andreas Schwab <schwab@redhat.com>
43423 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43424 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43425 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43427 * math/math_private.h (math_force_eval): Allow non-addressable
43429 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43431 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43433 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43434 file is not needed.
43436 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43443 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43445 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43446 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43447 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43448 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43449 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43450 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43451 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43452 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43453 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43454 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43455 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43456 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43457 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43458 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43459 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43460 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43461 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43462 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43463 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43465 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43466 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43468 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43469 place. Use VEX encoding when compiling for AVX.
43471 2011-10-25 Andreas Schwab <schwab@redhat.com>
43473 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43474 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43476 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43478 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43480 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43481 useless if() expression.
43482 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43483 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43484 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43485 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43486 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43487 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43488 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43490 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43492 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43493 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43494 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43495 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43496 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43497 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43498 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43499 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43500 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43502 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43504 2011-10-25 Andreas Schwab <schwab@redhat.com>
43506 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43508 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43510 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43512 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43513 .text section. Avoid duplicate constants.
43514 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43515 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43516 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43517 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43518 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43522 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43523 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43524 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43525 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43526 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43527 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43528 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43529 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43530 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43531 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43532 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43533 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43534 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43535 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43536 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43537 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43538 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43539 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43540 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43541 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43542 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43543 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43544 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43545 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43546 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43547 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43548 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43549 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43550 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43551 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43552 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43553 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43554 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43555 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43556 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43557 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43558 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43560 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43562 * sysdeps/x86_64/dla.h: Move to ...
43563 * sysdeps/x86_64/fpu/dla.h: ...here.
43564 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43565 situations. Use __builtin_fma only for gcc 4.6 and up.
43567 * config.make.in: Add have-mfma4 entry.
43568 * configure.in: Substitute libc_cv_cc_fma4.
43569 * math/Makefile (dbl-only-routines): Add sincostab.
43570 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43571 Use __sincostab not sincos.
43572 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43574 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43575 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43576 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43579 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43580 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43581 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43582 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43584 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43585 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43587 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43588 define aliases when function name is a macro.
43589 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43590 sysdeps/ieee754/dbl-64/sincos.tbl.
43591 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43592 fma4-enabled routines.
43593 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43594 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43595 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43596 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43597 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43598 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43599 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43600 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43601 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43602 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43603 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43604 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43605 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43606 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43607 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43608 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43609 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43610 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43611 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43612 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43613 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43614 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43615 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43616 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43617 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43618 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43619 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43620 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43621 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43622 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43624 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43631 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43633 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43635 2011-10-24 Andreas Schwab <schwab@redhat.com>
43637 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43639 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43641 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43643 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43645 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43647 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43648 Remove unused variable magic_bits.
43649 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43651 * string/strnlen.c: Define and use STRNLEN macro.
43652 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43653 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43655 * wcsmbs/wcslen.c: Define and use WCSLEN.
43656 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43657 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43658 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43659 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43660 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43661 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43662 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43664 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43667 strnlen-sse2-no-bsf.
43668 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43669 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43670 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43671 Add strnlen support.
43672 (USE_AS_STRNLEN): New macro.
43673 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43674 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43675 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43676 * sysdeps/x86_64/wcslen.S: New file.
43678 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43680 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43681 XMM-moves are used for copying on small sizes.
43683 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43685 * wcsmbs/Makefile (strop-tests): Add wcschr.
43686 * wcsmbs/test-wcschr.c: New file.
43687 * string/test-strchr.c: Update.
43688 Add wcschr support.
43691 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43693 * wcsmbs/Makefile (strop-tests): Add wcslen.
43694 * wcsmbs/test-wcslen.c: New file.
43695 * string/test-strlen.c: Update.
43696 Add wcslen support.
43699 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43701 * po/it.po: Update from translation team.
43703 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43705 * sysdeps/x86_64/wcscmp.S: Update.
43706 Fix wrong comparison semantics.
43707 wcscmp shall use signed comparison not unsigned.
43708 Don't use substraction to avoid overflow bug.
43709 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43710 * wcsmbc/wcscmp.c: Likewise.
43711 * string/test-strcmp.c: Likewise.
43712 Add new tests to check cases with negative values.
43714 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43716 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43717 * sysdeps/x86_64/dla.h: ...here. New file.
43718 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43719 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43723 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43725 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43726 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43728 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43730 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43731 __ynl_finite aliases.
43733 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43737 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43739 [DLA_FMA] (EMULV): Use DLA_FMA.
43740 [DLA_FMA] (MUL12): Use EMULV.
43741 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43742 that are not needed.
43743 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43751 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43753 * math/s_nan.c: Undef __nan.
43754 * math/s_nanf.c: Undef __nanf.
43755 * math/s_nanl.c: Undef __nanl.
43756 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43759 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43761 * math/s_catan.c: Add branch predictions.
43762 * math/s_catanf.c: Likewise.
43763 * math/s_catanh.c: Likewise.
43764 * math/s_catanhf.c: Likewise.
43765 * math/s_catanhl.c: Likewise.
43766 * math/s_catanl.c: Likewise.
43767 * math/s_cexp.c: Likewise.
43768 * math/s_cexpf.c: Likewise.
43769 * math/s_cexpl.c: Likewise.
43770 * math/s_clog.c: Likewise.
43771 * math/s_clog10.c: Likewise.
43772 * math/s_clog10f.c: Likewise.
43773 * math/s_clog10l.c: Likewise.
43774 * math/s_clogf.c: Likewise.
43775 * math/s_clogl.c: Likewise.
43776 * math/s_csqrt.c: Likewise.
43777 * math/s_csqrtf.c: Likewise.
43778 * math/s_csqrtl.c: Likewise.
43779 * math/s_ctanf.c: Likewise.
43780 * math/s_ctanh.c: Likewise.
43781 * math/s_ctanhf.c: Likewise.
43782 * math/s_ctanhl.c: Likewise.
43783 * math/s_ctanl.c: Likewise.
43785 * math/math_private.h: Define __nan, __nanf, __nanl.
43786 * math/s_cacosh.c: Include <math_private.h>.
43787 * math/s_cacoshl.c: Likewise.
43788 * math/s_casinh.c: Likewise.
43789 * math/s_casinhf.c: Likewise.
43790 * math/s_casinhl.c: Likewise.
43791 * math/s_ccos.c: Rely entire on ccosh.
43792 * math/s_ccosf.c: Rely entire on ccoshf.
43793 * math/s_ccosl.c: Rely entirely on ccoshl.
43794 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43795 Remove tests for FE_INVALID.
43796 * math/s_ccoshf.c: Likewise.
43797 * math/s_ccoshl.c: Likewise.
43798 * math/s_csin.c: Likewise.
43799 * math/s_csinf.c: Likewise.
43800 * math/s_csinh.c Likewise.
43801 * math/s_csinhf.c: Likewise.
43802 * math/s_csinhl.c: Likewise.
43803 * math/s_csinl.c: Likewise.
43804 * math/s_ctan.c: Likewise.
43805 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43806 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43807 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43809 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43812 compilation problems.
43814 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43817 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43819 * sysdeps/i386/configure.in: Test for -mfma4 option.
43820 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43821 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43822 COMMON_CPUID_INDEX_80000001.
43823 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43824 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43825 use it if FMA3 is not supported.
43826 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43828 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43829 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43831 2011-10-20 Andreas Schwab <schwab@redhat.com>
43834 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43835 it would create a cycle with a link time dependency.
43837 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43839 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43841 * string/Makefile (strop-tests): Add rawmemchr.
43842 * string/test-rawmemchr.c: New file.
43844 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43845 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43846 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43847 when compiling str{,n}casecmp and when AVX is available. Hook up
43848 new optimized code in initializers.
43850 2011-10-19 Andreas Schwab <schwab@redhat.com>
43852 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43853 __feraiseexcept instead of feraiseexcept.
43855 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43857 * math/math_private.h: Define defaults for libc_fetestexcept and
43859 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43860 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43861 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43862 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43863 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43864 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43865 libc_fetestexcept and libc_feupdateenv.
43867 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43868 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43869 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43870 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43871 libc_feholdexcept_setround.
43873 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43874 Add s_nearbyint-c and s_nearbyintf-c.
43875 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43876 nearbyintf inlines.
43877 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43878 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43879 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43880 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43882 * math/math_private.h: Define defaults for libc_fegetround,
43883 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43884 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43885 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43886 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43887 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43888 standard functions.
43889 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43890 Remove comments and hacks for old compiler versions.
43891 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43892 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43893 libc_feholdexceptl.
43895 2011-10-18 Andreas Schwab <schwab@redhat.com>
43897 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43898 (__feraiseexcept_renamed): Add __NTH.
43899 (feraiseexcept): Add __NTH. Rename local variables to fix
43900 namespace violations.
43902 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43904 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43906 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43908 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43909 recently added interfaces.
43910 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43912 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43913 about macro parameter expansion.
43915 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43916 __NO_MATH_INLINES is defined. Cleanups.
43918 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43919 and __floorf is target has SSE4.1.
43920 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43921 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43922 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43923 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43925 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43927 (floorf): Likewise.
43929 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43931 2011-10-17 Andreas Schwab <schwab@redhat.com>
43933 * misc/sys/cdefs.h: Fix last change.
43935 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43938 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43940 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43942 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43943 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43944 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43945 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43946 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43947 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43948 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43950 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43951 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43952 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43953 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43954 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43955 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43956 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43957 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43958 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43959 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43960 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43961 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43962 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43963 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43965 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43966 ceil, ceilf, floor, floorf.
43968 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43969 Perform IRELATIVE relocations last.
43971 * elf/do-rel.h: Add another parameter nrelative, replacing the
43972 local variable with the same name. Change name of the function
43973 to end in Rel or Rela (uppercase).
43974 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43975 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43976 elf_dynamic_do_##reloc function.
43978 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43980 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43981 is sufficient, at least on modern CPUs.
43983 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43985 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43986 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43988 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43990 * math/bits/math-finite.h: Add entries for exp.
43991 * math/e_expl.c: Add __*_finite alias.
43992 * sysdeps/i386/fpu/e_exp.S: Likewise.
43993 * sysdeps/i386/fpu/e_expf.S: Likewise.
43994 * sysdeps/i386/fpu/e_expl.c: Likewise.
43995 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43996 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43997 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43998 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43999 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44000 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44001 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44003 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44004 is sufficient, at least on modern CPUs.
44006 * ctype/ctype-info.c (__ctype_init): Define.
44007 * include/ctype.h (__ctype_init): Declare.
44008 (__ctype_b_loc): The variable is always initialized.
44009 (__ctype_toupper_loc): Likewise.
44010 (__ctype_tolower_loc): Likewise.
44011 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44012 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44014 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44016 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44018 * configure.in: Also look in $cxxmachine/include for C++ system
44021 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44023 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44024 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44025 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44026 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44028 (USE_AS_WMEMCMP): New macro.
44030 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44031 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44032 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44033 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44035 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44036 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44037 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44038 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44039 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44040 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44041 (USE_AS_WMEMCMP): New macro.
44042 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44043 * sysdeps/string/test-memcmp.c: Update.
44044 Fix simple_wmemcmp.
44046 * wcsmbs/wmemcmp.c: Update.
44047 (WMEMCMP): New macro.
44050 2011-10-12 Andreas Jaeger <aj@suse.de>
44053 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44055 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44057 * libio/iofwide.c (do_length): Avoid warning.
44059 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44061 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44063 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44065 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44066 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44067 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44068 * sysdeps/i386/i686/fpu/e_log.S: New file.
44069 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44070 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44072 * ctype/ctype.h: Add support for inlined isXXX functions when
44073 compiling C++ code.
44075 2011-10-14 Andreas Schwab <schwab@redhat.com>
44077 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44079 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44081 2011-10-13 Roland McGrath <roland@hack.frob.com>
44084 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44086 2011-10-13 Andreas Schwab <schwab@redhat.com>
44088 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44089 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44092 * sysdeps/x86_64/memrchr.S: Check for zero size.
44094 * string/stratcliff.c: Add memrchr tests.
44096 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44099 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44100 rawmemchr-sse2 rawmemchr-sse2-bsf.
44101 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44102 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44103 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44104 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44105 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44106 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44107 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44108 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44109 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44110 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44111 * string/memrchr.c (MEMRCHR): New macro.
44113 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44115 Add integration with gcc's -ffinite-math-only and optimize wrapper
44117 * Versions.def: Define GLIBC_2.15 version for libm.
44118 * math/Makefile (headers): Add bits/math-finite.h.
44119 * math/bits/math-finite.h: New file.
44120 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44121 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44122 * math/e_acoshl.c: Add __*_finite alias.
44123 * math/e_acosl.c: Likewise.
44124 * math/e_asinl.c: Likewise.
44125 * math/e_atan2l.c: Likewise.
44126 * math/e_atanhl.c: Likewise.
44127 * math/e_coshl.c: Likewise.
44128 * math/e_exp10.c: Likewise.
44129 * math/e_exp10f.c: Likewise.
44130 * math/e_exp10l.c: Likewise.
44131 * math/e_exp2l.c: Likewise.
44132 * math/e_fmodl.c: Likewise.
44133 * math/e_gammal_r.c: Likewise.
44134 * math/e_hypotl.c: Likewise.
44135 * math/e_j0l.c: Likewise.
44136 * math/e_j1l.c: Likewise.
44137 * math/e_jnl.c: Likewise.
44138 * math/e_lgammal_r.c: Likewise.
44139 * math/e_log10l.c: Likewise.
44140 * math/e_log2l.c: Likewise.
44141 * math/e_logl.c: Likewise.
44142 * math/e_powl.c: Likewise.
44143 * math/e_sinhl.c: Likewise.
44144 * math/e_sqrtl.c: Likewise.
44145 * math/e_scalb.c: Completely rewritten and optimized.
44146 * math/e_scalbf.c: Likewise.
44147 * math/e_scalbl.c: Likewise.
44148 * math/w_acos.c: Likewise.
44149 * math/w_acosf.c: Likewise.
44150 * math/w_acosl.c: Likewise.
44151 * math/w_acosh.c: Likewise.
44152 * math/w_acoshf.c: Likewise.
44153 * math/w_acoshl.c: Likewise.
44154 * math/w_asin.c: Likewise.
44155 * math/w_asinf.c: Likewise.
44156 * math/w_asinl.c: Likewise.
44157 * math/w_atan2.c: Likewise.
44158 * math/w_atan2f.c: Likewise.
44159 * math/w_atan2l.c: Likewise.
44160 * math/w_atanh.c: Likewise.
44161 * math/w_atanhf.c: Likewise.
44162 * math/w_atanhl.c: Likewise.
44163 * math/w_exp10.c: Likewise.
44164 * math/w_exp10f.c: Likewise.
44165 * math/w_exp10l.c: Likewise.
44166 * math/w_fmod.c: Likewise.
44167 * math/w_fmodf.c: Likewise.
44168 * math/w_fmodl.c: Likewise.
44169 * math/w_j0.c: Likewise.
44170 * math/w_j0f.c: Likewise.
44171 * math/w_j0l.c: Likewise.
44172 * math/w_j1.c: Likewise.
44173 * math/w_j1f.c: Likewise.
44174 * math/w_j1l.c: Likewise.
44175 * math/w_jn.c: Likewise.
44176 * math/w_jnf.c: Likewise.
44177 * math/w_log.c: Likewise.
44178 * math/w_logf.c: Likewise.
44179 * math/w_logl.c: Likewise.
44180 * math/w_log10.c: Likewise.
44181 * math/w_log10f.c: Likewise.
44182 * math/w_log10l.c: Likewise.
44183 * math/w_log2.c: Likewise.
44184 * math/w_log2f.c: Likewise.
44185 * math/w_log2l.c: Likewise.
44186 * math/w_pow.c: Likewise.
44187 * math/w_powf.c: Likewise.
44188 * math/w_powl.c: Likewise.
44189 * math/w_remainder.c: Likewise.
44190 * math/w_remainderf.c: Likewise.
44191 * math/w_remainderl.c: Likewise.
44192 * math/w_scalb.c: Likewise.
44193 * math/w_scalbf.c: Likewise.
44194 * math/w_scalbl.c: Likewise.
44195 * math/w_sqrt.c: Likewise.
44196 * math/w_sqrtf.c: Likewise.
44197 * math/w_sqrtl.c: Likewise.
44198 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44199 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44201 * math/math_private.h: Declare __kernel_standard_f.
44202 * math/w_cosh.c: Remove cruft and optimize a bit.
44203 * math/w_coshf.c: Likewise.
44204 * math/w_coshl.c: Likewise.
44205 * math/w_exp2.c: Likewise.
44206 * math/w_exp2f.c: Likewise.
44207 * math/w_exp2l.c: Likewise.
44208 * math/w_hypot.c: Likewise.
44209 * math/w_hypotf.c: Likewise.
44210 * math/w_hypotl.c: Likewise.
44211 * math/w_lgamma.c: Likewise.
44212 * math/w_lgamma_r.c: Likewise.
44213 * math/w_lgammaf.c: Likewise.
44214 * math/w_lgammaf_r.c: Likewise.
44215 * math/w_lgammal.c: Likewise.
44216 * math/w_lgammal_r.c: Likewise.
44217 * math/w_sinh.c: Likewise.
44218 * math/w_sinhf.c: Likewise.
44219 * math/w_sinhl.c: Likewise.
44220 * math/w_tgamma.c: Likewise.
44221 * math/w_tgammaf.c: Likewise.
44222 * math/w_tgammal.c: Likewise.
44223 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44224 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44225 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44226 Minor optimizations. Pretty printing. Remove cruft.
44227 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44228 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44229 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44230 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44231 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44232 * sysdeps/i386/fpu/e_asin.S: Likewise.
44233 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44234 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44235 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44236 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44237 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44238 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44239 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44240 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44241 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44242 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44243 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44244 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44245 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44246 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44247 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44248 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44249 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44250 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44251 * sysdeps/i386/fpu/e_log.S: Likewise.
44252 * sysdeps/i386/fpu/e_log10.S: Likewise.
44253 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44254 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44255 * sysdeps/i386/fpu/e_log2.S: Likewise.
44256 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44257 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44258 * sysdeps/i386/fpu/e_logf.S: Likewise.
44259 * sysdeps/i386/fpu/e_logl.S: Likewise.
44260 * sysdeps/i386/fpu/e_pow.S: Likewise.
44261 * sysdeps/i386/fpu/e_powf.S: Likewise.
44262 * sysdeps/i386/fpu/e_powl.S: Likewise.
44263 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44264 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44265 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44266 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44267 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44268 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44269 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44270 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44271 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44272 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44273 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44274 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44275 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44276 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44277 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44278 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44279 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44280 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44281 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44282 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44283 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44285 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44286 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44288 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44289 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44290 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44291 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44292 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44293 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44294 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44295 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44296 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44297 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44298 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44299 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44300 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44301 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44302 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44303 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44304 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44305 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44306 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44307 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44308 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44309 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44310 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44311 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44312 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44313 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44314 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44315 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44316 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44317 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44318 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44319 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44320 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44321 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44322 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44323 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44324 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44325 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44326 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44327 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44328 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44329 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44330 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44331 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44332 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44333 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44335 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44336 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44338 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44339 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44340 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44341 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44342 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44343 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44344 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44345 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44346 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44347 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44348 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44349 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44350 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44351 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44352 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44353 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44354 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44355 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44356 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44357 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44358 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44359 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44360 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44361 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44362 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44363 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44364 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44365 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44366 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44367 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44368 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44369 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44370 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44371 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44372 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44373 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44374 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44375 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44376 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44377 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44378 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44379 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44380 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44381 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44382 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44383 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44384 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44385 (__isnanf): Likewise.
44386 (__isinf_ns): Likewise.
44387 (__isinf_nsf): Likewise.
44388 (__finite): Likewise.
44389 (__finitef): Likewise.
44390 (__ieee754_sqrt): Define as macro.
44391 (__ieee754_sqrtf): Define as macro.
44392 (__ieee754_sqrtl): Define as macro.
44393 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44395 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44396 __FINITE_MATH_ONLY__ consistent.
44397 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44399 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44401 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44404 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44406 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44408 * po/ja.po: Update from translation team.
44410 2011-10-08 Roland McGrath <roland@hack.frob.com>
44412 * locale/programs/locarchive.c (prepare_address_space): New function.
44413 (create_archive, enlarge_archive, open_archive): Use it.
44415 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44416 inside [SHARED], where it is used.
44418 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44420 * nss/getent.c (netgroup_keys): Remove unused variable.
44421 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44423 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44425 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44426 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44428 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44429 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44430 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44431 * math/Makefile (libm-calls): Add s_isinf_ns.
44432 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44433 * math/multc3.c: Likewise.
44434 * math/s_casin.c: Likewise.
44435 * math/s_casinf.c: Likewise.
44436 * math/s_casinl.c: Likewise.
44437 * math/s_ccos.c: Likewise.
44438 * math/s_ccosf.c: Likewise.
44439 * math/s_ccosl.c: Likewise.
44440 * math/s_ctan.c: Likewise.
44441 * math/s_ctanf.c: Likewise.
44442 * math/s_ctanh.c: Likewise.
44443 * math/s_ctanhf.c: Likewise.
44444 * math/s_ctanhl.c: Likewise.
44445 * math/s_ctanl.c: Likewise.
44446 * math/w_fmod.c: Likewise.
44447 * math/w_fmodf.c: Likewise.
44448 * math/w_fmodl.c: Likewise.
44449 * math/w_remainder.c: Likewise.
44450 * math/w_remainderf.c: Likewise.
44451 * math/w_remainderl.c: Likewise.
44452 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44453 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44454 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44456 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44457 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44458 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44459 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44461 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44463 * stdio-common/printf_fphex.c: Likewise.
44464 * stdio-common/printf_size.c: Likewise.
44466 * math/e_exp10.c: Include math_private.h using <...> not "...".
44467 * math/e_exp10f.c: Likewise.
44468 * math/e_exp10l.c: Likewise.
44469 * math/e_exp2l.c: Likewise.
44470 * math/e_j0l.c: Likewise.
44471 * math/e_j1l.c: Likewise.
44472 * math/e_jnl.c: Likewise.
44473 * math/e_lgammal_r.c: Likewise.
44474 * math/e_rem_pio2l.c: Likewise.
44475 * math/e_scalb.c: Likewise.
44476 * math/e_scalbf.c: Likewise.
44477 * math/e_scalbl.c: Likewise.
44478 * math/k_cosl.c: Likewise.
44479 * math/k_sinl.c: Likewise.
44480 * math/k_tanl.c: Likewise.
44481 * math/s_cacoshf.c: Likewise.
44482 * math/s_catan.c: Likewise.
44483 * math/s_catanf.c: Likewise.
44484 * math/s_catanh.c: Likewise.
44485 * math/s_catanhf.c: Likewise.
44486 * math/s_catanhl.c: Likewise.
44487 * math/s_catanl.c: Likewise.
44488 * math/s_ccosh.c: Likewise.
44489 * math/s_ccoshf.c: Likewise.
44490 * math/s_ccoshl.c: Likewise.
44491 * math/s_cexp.c: Likewise.
44492 * math/s_cexpf.c: Likewise.
44493 * math/s_cexpl.c: Likewise.
44494 * math/s_clog.c: Likewise.
44495 * math/s_clog10.c: Likewise.
44496 * math/s_clog10f.c: Likewise.
44497 * math/s_clog10l.c: Likewise.
44498 * math/s_clogf.c: Likewise.
44499 * math/s_clogl.c: Likewise.
44500 * math/s_csin.c: Likewise.
44501 * math/s_csinf.c: Likewise.
44502 * math/s_csinh.c: Likewise.
44503 * math/s_csinhf.c: Likewise.
44504 * math/s_csinhl.c: Likewise.
44505 * math/s_csinl.c: Likewise.
44506 * math/s_csqrt.c: Likewise.
44507 * math/s_csqrtf.c: Likewise.
44508 * math/s_csqrtl.c: Likewise.
44509 * math/s_ctan.c: Likewise.
44510 * math/s_ctanf.c: Likewise.
44511 * math/s_ctanh.c: Likewise.
44512 * math/s_ctanhf.c: Likewise.
44513 * math/s_ctanhl.c: Likewise.
44514 * math/s_ctanl.c: Likewise.
44515 * math/s_ldexp.c: Likewise.
44516 * math/s_ldexpf.c: Likewise.
44517 * math/s_ldexpl.c: Likewise.
44518 * math/s_significand.c: Likewise.
44519 * math/s_significandf.c: Likewise.
44520 * math/s_significandl.c: Likewise.
44521 * math/w_acos.c: Likewise.
44522 * math/w_acosf.c: Likewise.
44523 * math/w_acosh.c: Likewise.
44524 * math/w_acoshf.c: Likewise.
44525 * math/w_acoshl.c: Likewise.
44526 * math/w_acosl.c: Likewise.
44527 * math/w_asin.c: Likewise.
44528 * math/w_asinf.c: Likewise.
44529 * math/w_asinl.c: Likewise.
44530 * math/w_atan2.c: Likewise.
44531 * math/w_atan2f.c: Likewise.
44532 * math/w_atan2l.c: Likewise.
44533 * math/w_atanh.c: Likewise.
44534 * math/w_atanhf.c: Likewise.
44535 * math/w_atanhl.c: Likewise.
44536 * math/w_cosh.c: Likewise.
44537 * math/w_coshf.c: Likewise.
44538 * math/w_coshl.c: Likewise.
44539 * math/w_dremf.c: Likewise.
44540 * math/w_exp10.c: Likewise.
44541 * math/w_exp10f.c: Likewise.
44542 * math/w_exp10l.c: Likewise.
44543 * math/w_exp2.c: Likewise.
44544 * math/w_exp2f.c: Likewise.
44545 * math/w_fmod.c: Likewise.
44546 * math/w_fmodf.c: Likewise.
44547 * math/w_fmodl.c: Likewise.
44548 * math/w_hypot.c: Likewise.
44549 * math/w_hypotf.c: Likewise.
44550 * math/w_hypotl.c: Likewise.
44551 * math/w_j0.c: Likewise.
44552 * math/w_j0f.c: Likewise.
44553 * math/w_j0l.c: Likewise.
44554 * math/w_j1.c: Likewise.
44555 * math/w_j1f.c: Likewise.
44556 * math/w_j1l.c: Likewise.
44557 * math/w_jn.c: Likewise.
44558 * math/w_jnf.c: Likewise.
44559 * math/w_jnl.c: Likewise.
44560 * math/w_lgamma.c: Likewise.
44561 * math/w_lgamma_r.c: Likewise.
44562 * math/w_lgammaf.c: Likewise.
44563 * math/w_lgammaf_r.c: Likewise.
44564 * math/w_lgammal.c: Likewise.
44565 * math/w_lgammal_r.c: Likewise.
44566 * math/w_log.c: Likewise.
44567 * math/w_log10.c: Likewise.
44568 * math/w_log10f.c: Likewise.
44569 * math/w_log10l.c: Likewise.
44570 * math/w_log2.c: Likewise.
44571 * math/w_log2f.c: Likewise.
44572 * math/w_log2l.c: Likewise.
44573 * math/w_logf.c: Likewise.
44574 * math/w_logl.c: Likewise.
44575 * math/w_pow.c: Likewise.
44576 * math/w_powf.c: Likewise.
44577 * math/w_powl.c: Likewise.
44578 * math/w_remainder.c: Likewise.
44579 * math/w_remainderf.c: Likewise.
44580 * math/w_remainderl.c: Likewise.
44581 * math/w_scalb.c: Likewise.
44582 * math/w_scalbf.c: Likewise.
44583 * math/w_scalbl.c: Likewise.
44584 * math/w_sinh.c: Likewise.
44585 * math/w_sinhf.c: Likewise.
44586 * math/w_sinhl.c: Likewise.
44587 * math/w_sqrt.c: Likewise.
44588 * math/w_sqrtf.c: Likewise.
44589 * math/w_sqrtl.c: Likewise.
44590 * math/w_tgamma.c: Likewise.
44591 * math/w_tgammaf.c: Likewise.
44592 * math/w_tgammal.c: Likewise.
44594 * po/ja.po: Update from translation team.
44596 2011-09-29 Andreas Jaeger <aj@suse.de>
44599 * sunrpc/netname.c (netname2host): Fix logic.
44603 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44605 * math/w_remainder.c (__remainder): Likewise.
44606 * math/w_remainderf.c (__remainderf): Likewise.
44607 * math/libm-test.inc (remainder_test): Add test cases.
44609 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44611 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44614 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44616 * string/test-memcmp.c: Avoid unncessary #defines.
44617 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44619 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44621 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44622 Use new sse2 version for core i3 - i7 as it's faster
44623 than sse42 version.
44624 (bit_Prefer_PMINUB_for_stringop): New.
44625 * sysdeps/x86_64/rawmemchr.S: Update.
44626 Replace with faster SSE2 version.
44627 * sysdeps/x86_64/memrchr.S: New file.
44628 * sysdeps/x86_64/memchr.S: Update.
44629 Replace with faster SSE2 version.
44631 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44633 * elf/dl-load.c (lose): Add cast to avoid warning.
44635 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44637 * po/ca.po: Update from translation team.
44639 * inet/getnetgrent_r.c: Hook up nscd.
44640 * nscd/Makefile (routines): Add nscd_netgroup.
44641 (nscd-modules): Add netgroupcache.
44642 (CFLAGS-netgroupcache.c): Define.
44643 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44644 (cache_search): Add const to second parameter.
44645 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44647 (dbs): Add netgrdb entry.
44648 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44649 (verify_persistent_db): Handle netgrdb.
44650 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44651 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44653 (netgroup_response_header): Define.
44654 (innetgroup_response_header): Define.
44655 (datahead): Add netgroup_response_header and innetgroup_response_header
44657 * nscd/nscd.conf: Add entries for netgroup cache.
44658 * nscd/nscd.h (dbtype): Add netgrdb.
44659 (_PATH_NSCD_NETGROUP_DB): Define.
44660 (netgroup_iov_disabled): Declare.
44661 (xmalloc, xcalloc, xrealloc): Move declarations here.
44662 (cache_search): Adjust prototype.
44663 Add netgroup-related prototypes.
44664 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44665 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44666 (__nscd_innetgr): Declare.
44667 * nscd/selinux.c (perms): Use access_vector_t as element type and
44668 add netgroup-related initializers.
44669 * nscd/netgroupcache.c: New file.
44670 * nscd/nscd_netgroup.c: New file.
44671 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44672 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44673 For four parameters use innetgr.
44674 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44675 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44676 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44677 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44679 * nscd/connections.c (register_traced_file): Don't register file
44680 for disabled databases.
44682 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44684 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44686 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44687 from tree and freeing node.
44689 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44691 * nss/nsswitch.c (__nss_database_lookup): Handle
44692 nss_parse_service_list out of memory case.
44694 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44696 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44697 out of memory case.
44699 2011-10-04 Andreas Schwab <schwab@redhat.com>
44701 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44702 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44704 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44705 elf_machine_rela, elf_machine_lazy_rel.
44706 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44707 (ELF_DYNAMIC_DO_REL): Likewise.
44708 (ELF_DYNAMIC_DO_RELA): Likewise.
44709 (ELF_DYNAMIC_RELOCATE): Likewise.
44710 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44711 to ELF_DYNAMIC_DO_REL.
44712 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44713 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44714 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44716 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44717 skip_ifunc, don't call ifunc function if non-zero.
44718 (elf_machine_rela): Likewise.
44719 (elf_machine_lazy_rel): Likewise.
44720 (elf_machine_lazy_rela): Likewise.
44721 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44722 (elf_machine_lazy_rel): Likewise.
44723 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44725 (elf_machine_lazy_rel): Likewise.
44726 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44728 (elf_machine_lazy_rel): Likewise.
44729 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44730 (elf_machine_lazy_rel): Likewise.
44731 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44732 (elf_machine_lazy_rel): Likewise.
44733 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44734 (elf_machine_lazy_rel): Likewise.
44735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44736 (elf_machine_lazy_rel): Likewise.
44737 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44738 (elf_machine_lazy_rel): Likewise.
44739 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44740 (elf_machine_lazy_rel): Likewise.
44742 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44744 * nss/nss_files/files-init.c (_nss_files_init): Use static
44745 initialization for all the *_traced_file variables.
44747 2011-09-28 Andreas Schwab <schwab@redhat.com>
44749 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44751 2011-09-27 Roland McGrath <roland@hack.frob.com>
44754 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44756 2011-09-27 Andreas Schwab <schwab@redhat.com>
44758 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44759 Reread the line before reparsing it.
44761 2011-09-26 Andreas Schwab <schwab@redhat.com>
44763 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44765 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44766 Maxim Kuvyrkov <maxim@codesourcery.com>
44767 Joseph Myers <joseph@codesourcery.com>
44769 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44770 if needed for __stack_chk_guard.
44772 2011-09-19 Roland McGrath <roland@hack.frob.com>
44774 * sysdeps/posix/spawni.c (script_execute): Always define it.
44775 It will be optimized away if unused.
44776 (maybe_script_execute): New function.
44777 (__spawni): Call it.
44779 * Makerules: Don't include tls.make.
44780 (config-tls): Always set to thread.
44781 * tls.make.c: File removed.
44783 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44785 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44786 * config.make.in (CPPFLAGS-config): New substituted variable.
44788 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44790 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44793 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44794 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44796 2011-09-15 Roland McGrath <roland@hack.frob.com>
44798 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44799 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44801 (CALL_FAIL): Likewise.
44802 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44803 (CALL_FAIL): Macro removed.
44804 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44806 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44808 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44809 for __FINITE_MATH_ONLY__ == 1.
44811 2011-09-15 Andreas Schwab <schwab@redhat.com>
44813 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44814 __ieee754_sqrt instead of sqrt.
44815 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44816 __ieee754_sqrtf instead of sqrtf.
44817 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44818 __floorf instead of floorf.
44819 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44820 __floorf, __truncf instead of floorf, truncf.
44822 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44824 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44826 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44827 __extern_always_inline.
44828 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44831 2011-09-14 Andreas Schwab <schwab@redhat.com>
44833 * elf/rtld.c (dl_main): Also relocate in dependency order when
44834 doing symbol dependency testing.
44836 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44838 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44839 Always define `refsym'.
44841 2011-09-13 Andreas Schwab <schwab@redhat.com>
44843 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44844 (__FD_ELT): Renamed from __FDELT.
44845 * misc/bits/select2.h (__FD_ELT): Likewise.
44846 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44847 __FD_MASK instead of __FDELT, __FDMASK.
44848 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44850 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44853 * elf/Makefile (gen-ldd): Fix pattern.
44855 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44856 (init_tls): Likewise.
44858 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44862 2011-09-12 Andreas Schwab <schwab@redhat.com>
44864 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44865 `struct cmsghdr *' instead of `void *'.
44866 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44869 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44871 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44873 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44874 ldd_rewrite_script.
44876 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44878 * configure.in: Remove --with-tls option.
44879 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44880 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44881 out in case it is missing.
44882 * sysdeps/ia64/elf/configure.in: Likewise.
44883 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44884 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44885 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44886 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44887 * sysdeps/sh/elf/configure.in: Likewise.
44888 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44889 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44890 * sysdeps/x86_64/elf/configure.in: Likewise.
44891 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44892 * sysdeps/mach/hurd/tls.h: Likewise.
44895 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44898 * configure.in: Fix use of AC_INIT.
44900 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44902 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44904 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44906 * malloc/hooks.c: Likewise.
44909 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44910 variables statically.
44911 (narenas): Initialize.
44912 (list_lock): Initialize.
44913 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44914 initializtion of main_arena and list_lock. Small cleanups.
44915 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44916 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44917 Add initializers to main_arena and mp_.
44918 (malloc_state): Remove pagesize member. Change all users to use
44921 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44922 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44923 is always initialized.
44925 * malloc/malloc.c: Removed unused configurations and dead code.
44926 * malloc/arena.c: Likewise.
44927 * malloc/hooks.c: Likewise.
44928 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44930 * include/tls.h: Removed. USE___THREAD must always be defined.
44931 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44932 * elf/dl-libc.c: Likewise.
44933 * elf/dl-tsd.c: Likewise.
44934 * include/errno.h: Likewise.
44935 * include/netdb.h: Likewise.
44936 * include/resolv.h: Likewise.
44937 * inet/herrno-loc.c: Likewise.
44938 * inet/herrno.c: Likewise.
44939 * malloc/arena.c: Likewise.
44940 * malloc/hooks.c: Likewise.
44941 * malloc/malloc.c: Likewise.
44942 * resolv/res-state.c: Likewise.
44943 * resolv/res_libc.c: Likewise.
44944 * sysdeps/i386/dl-machine.h: Likewise.
44945 * sysdeps/ia64/dl-machine.h: Likewise.
44946 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44947 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44948 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44949 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44950 * sysdeps/sh/dl-machine.h: Likewise.
44951 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44952 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44953 * sysdeps/unix/i386/sysdep.S: Likewise.
44954 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44955 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44960 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44964 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44965 * sysdeps/x86_64/dl-machine.h: Likewise.
44966 * tls.make.c: Likewise.
44968 * configure.in: Remove --with-__thread option. Make tests for
44969 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44970 tls_model attribute fail if no support is available. Remove
44972 * Makeconfig: Adjust for dropped configure option. All features are
44974 * Makerules: Likewise.
44975 * Versions.def: Likewise.
44976 * argp/argp-fmtstream.c: Likewise.
44977 * argp/argp-fmtstream.h: Likewise.
44978 * argp/argp-help.c: Likewise.
44979 * assert/assert.c: Likewise.
44980 * config.h.in: Likewise.
44981 * config.make.in: Likewise.
44982 * configure: Likewise.
44983 * configure.in: Likewise.
44984 * csu/Versions: Likewise.
44985 * csu/init.c: Likewise.
44986 * elf/tst-audit2.c: Likewise.
44987 * elf/tst-tls10.c: Likewise.
44988 * elf/tst-tls10.h: Likewise.
44989 * elf/tst-tls11.c: Likewise.
44990 * elf/tst-tls12.c: Likewise.
44991 * elf/tst-tls14.c: Likewise.
44992 * elf/tst-tlsmod11.c: Likewise.
44993 * elf/tst-tlsmod12.c: Likewise.
44994 * elf/tst-tlsmod13.c: Likewise.
44995 * elf/tst-tlsmod13a.c: Likewise.
44996 * elf/tst-tlsmod14a.c: Likewise.
44997 * elf/tst-tlsmod15b.c: Likewise.
44998 * elf/tst-tlsmod16a.c: Likewise.
44999 * elf/tst-tlsmod16b.c: Likewise.
45000 * elf/tst-tlsmod7.c: Likewise.
45001 * elf/tst-tlsmod8.c: Likewise.
45002 * elf/tst-tlsmod9.c: Likewise.
45003 * gmon/gmon.c: Likewise.
45004 * grp/fgetgrent_r.c: Likewise.
45005 * grp/putgrent.c: Likewise.
45006 * hurd/fopenport.c: Likewise.
45007 * include/libc-symbols.h: Likewise.
45008 * include/tls.h: Likewise.
45009 * intl/gettextP.h: Likewise.
45010 * intl/loadinfo.h: Likewise.
45011 * locale/global-locale.c: Likewise.
45012 * locale/localeinfo.h: Likewise.
45013 * mach/devstream.c: Likewise.
45014 * malloc/arena.c: Likewise.
45015 * malloc/set-freeres.c: Likewise.
45016 * misc/err.c: Likewise.
45017 * misc/getttyent.c: Likewise.
45018 * misc/mntent_r.c: Likewise.
45019 * posix/getopt.c: Likewise.
45020 * posix/wordexp.c: Likewise.
45021 * pwd/fgetpwent_r.c: Likewise.
45022 * resolv/Versions: Likewise.
45023 * resolv/res_hconf.c: Likewise.
45024 * shadow/fgetspent_r.c: Likewise.
45025 * shadow/putspent.c: Likewise.
45026 * stdio-common/printf_fphex.c: Likewise.
45027 * stdio-common/tmpfile.c: Likewise.
45028 * stdlib/abort.c: Likewise.
45029 * stdlib/fmtmsg.c: Likewise.
45030 * sunrpc/auth_unix.c: Likewise.
45031 * sunrpc/clnt_perr.c: Likewise.
45032 * sunrpc/clnt_tcp.c: Likewise.
45033 * sunrpc/clnt_udp.c: Likewise.
45034 * sunrpc/clnt_unix.c: Likewise.
45035 * sunrpc/openchild.c: Likewise.
45036 * sunrpc/svc_simple.c: Likewise.
45037 * sunrpc/svc_tcp.c: Likewise.
45038 * sunrpc/svc_udp.c: Likewise.
45039 * sunrpc/svc_unix.c: Likewise.
45040 * sunrpc/xdr.c: Likewise.
45041 * sunrpc/xdr_array.c: Likewise.
45042 * sunrpc/xdr_rec.c: Likewise.
45043 * sunrpc/xdr_ref.c: Likewise.
45044 * sunrpc/xdr_stdio.c: Likewise.
45046 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45048 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45050 2011-07-03 Andreas Jaeger <aj@suse.de>
45052 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45053 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45054 regenerate with gen-libm-tests.pl.
45056 2010-05-12 Petr Baudis <pasky@suse.cz>
45059 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45060 around j0() zero points by switching to j1().
45061 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45062 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45063 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45064 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45066 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45068 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45070 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45073 Patch in part by Pavel Roskin <proski@gnu.org>.
45076 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45078 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45079 Free memory block if necessary.
45082 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45083 be NULL. Don't lock in this case.
45085 2011-09-09 Roland McGrath <roland@hack.frob.com>
45087 * elf/elf.h (ELFOSABI_GNU): New macro.
45088 (ELFOSABI_LINUX): Define to that.
45090 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45092 * string/strncat.c (strncat): Undef the symbol in case it has been
45093 defined in bits/string.h.
45095 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45097 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45099 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45102 2011-08-17 Andreas Jaeger <aj@suse.de>
45104 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45106 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45107 Ian Lance Taylor <iant@google.com>
45109 * math/libm-test.inc (lround_test): New testcase.
45110 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45112 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45114 * Makefile: Remove support for automatic cvs check-ins.
45115 * Makerules: Likewise.
45116 * config.make.in: Likewise.
45117 * configure.in: Likewise.
45118 * intl/Makefile: Likewise.
45119 * locale/Makefile: Likewise.
45120 * po/Makefile: Likewise.
45121 * posix/Makefile: Likewise.
45122 * sysdeps/gnu/Makefile: Likewise.
45123 * sysdeps/mach/hurd/Makefile: Likewise.
45124 * sysdeps/sparc/sparc32/Makefile: Likewise.
45127 * posix/Makefile (bug-regex32-ENV): Define.
45128 Patch by John Stanley <jpsinthemix@verizon.net>.
45130 * misc/Makefile (headers): Add bits/select2.h.
45131 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45132 * misc/bits/select2.h: New file.
45133 * include/bits/select2.h: New file.
45134 * debug/Makefile (routines): Add fdelt_chk.
45135 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45136 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45138 * debug/fdelt_chk.c: New file.
45140 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45141 * wcsmbs/test-wmemcmp.c: Likewise.
45142 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45143 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45145 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45147 * string/Makefile (strop-tests): Add memcmp.
45148 * string/test-wmemcmp.c: New file.
45149 * string/test-memcmp.c: Add wmemcmp support.
45151 2011-09-08 Roland McGrath <roland@hack.frob.com>
45154 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45157 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45158 garbage value in a __mach_port_mod_refs call in the cases of the
45159 task-self and thread-self ports.
45161 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45163 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45165 2011-09-08 Andreas Schwab <schwab@redhat.com>
45167 * elf/dl-load.c (lose): Check for non-null L.
45169 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45171 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45173 * elf/dl-libc.c (dlerror_run): Pass back error code from
45177 * elf/dl-load.c (lose): Free l_origin if it is valid.
45179 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45181 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45182 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45183 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45184 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45185 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45186 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45188 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45190 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45191 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45192 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45193 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45194 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45195 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45196 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45197 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45198 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45199 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45201 2011-08-15 Alan Modra <amodra@gmail.com>
45204 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45205 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45206 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45207 ppc_mcount to static-only-routines.
45208 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45210 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45211 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45213 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45215 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45216 for finite and infinity parameters.
45218 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45220 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45221 and add nop instructions for throughput optimization.
45222 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45224 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45226 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45227 aligned copy for power7 with vector-scalar instructions.
45228 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45230 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45235 2011-09-07 Andreas Schwab <schwab@redhat.com>
45238 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45241 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45243 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45244 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45245 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45246 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45249 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45251 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45252 Forgot to demangle the pointer.
45254 * sysdeps/i386/sysdep.h: Define atom_text_section.
45255 * sysdeps/x86_64/sysdep.h: Likewise.
45256 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45257 section with atom_text_section.
45258 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45259 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45260 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45261 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45262 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45264 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45265 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45266 already be defined. Change to take two parameters and don't assign
45267 result to variable. Adjust all users.
45268 Define INTERNAL_GETTIME if not already defined.
45269 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45272 HAVE_CLOCK_GETTIME_VSYSCALL.
45273 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45276 gettimeofday vsyscall, just use time.
45278 2011-09-06 Andreas Schwab <schwab@redhat.com>
45280 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45283 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45285 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45289 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45290 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45291 syscall if possible.
45293 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45295 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45296 e_ident. Don't pass to find_mapsXX.
45297 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45299 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45302 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45303 * sysdeps/x86_64/multiarch/strchr.S: Update.
45304 Check bit_slow_BSF bit.
45305 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45306 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45307 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45309 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45312 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45314 (tryshell): Define.
45315 (__spawni): Change last parameter to be flag. Test
45316 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45317 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45318 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45319 * posix/spawni.c: Likewise.
45320 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45321 * posix/spawnp.c: Likewise. Change normal version to use
45322 SPAWN_XFLAGS_USE_PATH.
45323 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45324 SPAWN_XFLAGS_TRY_SHELL.
45327 * posix/glob.h: Remove gcc 1.x support.
45330 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45332 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45335 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45337 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45338 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45339 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45340 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45341 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45342 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45344 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45346 * sysdeps/x86_64/wcscmp.S: New file.
45348 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45349 wcscmp-c wcscmp-sse2
45350 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45351 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45352 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45353 * wcsmbs/wcscmp.c: Allow renaming.
45355 2011-09-05 David S. Miller <davem@davemloft.net>
45357 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45358 stack slot, rather than the struct return pointer slot.
45359 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45360 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45362 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45364 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45366 * po/ja.po: Update from translation team.
45369 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45370 kernel in 64-bit binaries.
45372 2011-09-01 David S. Miller <davem@davemloft.net>
45374 * elf/elf.h (HWCAP_SPARC_*): Move to..
45375 * sysdeps/sparc/sysdep.h: this new file and add new values.
45376 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45377 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45378 _DL_HWCAP_COUNT to 24.
45379 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45381 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45382 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45383 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45384 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45385 instead of magic constants.
45386 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45388 2011-08-31 David S. Miller <davem@davemloft.net>
45390 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45392 Reimplement to do errno handling inline.
45393 (SYSCALL_ERROR_HANDLER): New macro.
45394 (__SYSCALL_STRING): Do not do errno handling in asm.
45395 (__CLONE_SYSCALL_STRING): Delete.
45396 (__INTERNAL_SYSCALL_STRING): Delete.
45397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45398 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45399 (PSEUDO): Reimplement to do errno handling inline.
45400 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45401 (SYSCALL_ERROR_HANDLER): New macro.
45402 (__SYSCALL_STRING): Do not do errno handling in asm.
45403 (__CLONE_SYSCALL_STRING): Delete.
45404 (__INTERNAL_SYSCALL_STRING): Delete.
45405 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45406 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45408 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45409 (inline_syscall*): Add 'err' argument.
45410 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45411 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45412 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45413 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45415 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45416 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45418 2011-08-30 Andreas Schwab <schwab@redhat.com>
45420 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45422 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45424 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45427 2011-08-24 David S. Miller <davem@davemloft.net>
45429 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45431 2011-08-24 Andreas Schwab <schwab@redhat.com>
45433 * elf/Makefile: Add rules to build and run unload8 test.
45434 * elf/unload8.c: New file.
45435 * elf/unload8mod1.c: New file.
45436 * elf/unload8mod1x.c: New file.
45437 * elf/unload8mod2.c: New file.
45438 * elf/unload8mod3.c: New file.
45440 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45443 2011-08-23 David S. Miller <davem@davemloft.net>
45445 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45446 subtract stack bias.
45447 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45448 %sp not %fp in calculations.
45449 (_JMPBUF_UNWINDS_ADJ): Likewise.
45451 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45452 (aio_suspend): Call it to force an exception region around the
45453 AIO_MISC_WAIT() invocation.
45455 2011-08-23 Andreas Schwab <schwab@redhat.com>
45457 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45460 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45462 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45464 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45465 and <dl-machine.h>.
45466 (Elf64_FuncDesc): Remove.
45468 2011-08-22 David S. Miller <davem@davemloft.net>
45470 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45471 sigaltstack check, add missing cfi directives.
45472 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45473 missing cfi directives, and sigaltstack handling.
45475 2011-08-16 Andreas Schwab <schwab@redhat.com>
45478 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45479 object is seen twice.
45480 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45482 * elf/Makefile (distribute): Add tst-initorder2.c.
45483 (tests): Add tst-initorder2.
45484 (modules-names): Add tst-initorder2a tst-initorder2b
45485 tst-initorder2c tst-initorder2d. Add rules to build them.
45486 ($(objpfx)tst-initorder2.out): New rule.
45487 * elf/tst-initorder2.c: New file.
45488 * elf/tst-initorder2.exp: New file.
45490 2011-08-22 Andreas Schwab <schwab@redhat.com>
45492 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45494 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45495 dependencies back to end of function.
45497 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45498 $(elfobjdir)/ld.so.
45500 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45502 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45503 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45504 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45505 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45506 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45507 of __vdso_gettimeofday.
45508 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45509 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45511 (_libc_vdso_platform_setup): Remove initialization of
45512 __vdso_gettimeofday and __vdso_time.
45514 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45516 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45517 and fgetc_unlocked.
45518 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45521 * elf/dl-open.c (add_to_global): Report additions to the global scope
45522 for LD_DEBUG=scopes.
45523 (dl_open_worker): Also print scope of newly loaded dependencies.
45524 (_dl_show_scope): Indicate if there is no scope.
45527 * stdio-common/Makefile (tests): Add bug24.
45528 * stdio-common/bug24.c: New file.
45530 2011-08-19 Andreas Jaeger <aj@suse.de>
45533 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45534 non-existant file when using close-on-exec mode.
45536 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45539 the very first instruction.
45541 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45542 the CFI state in the end.
45543 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45544 inclusion of dl-trampoline.h.
45545 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45547 2011-08-19 Andreas Schwab <schwab@redhat.com>
45549 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45550 expectations for long double.
45552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45553 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45555 2011-08-14 David S. Miller <davem@davemloft.net>
45557 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45558 artificual limit depends upon the system page size.
45560 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45562 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45563 * resolv/Makefile: Define CFLAGS-libresolv.
45565 2011-08-17 Andreas Schwab <schwab@redhat.com>
45567 * nss/makedb.c (compute_tables): Make variables used in nested
45570 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45572 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45573 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45574 if buffer was too small.
45576 * elf/pldd.c (main): Attach to all threads in the process.
45577 Rewrite /proc handling to use *at functions.
45579 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45581 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45582 specifies first scope to show.
45583 (dl_open_worker): Update callers. Move printing scope of new
45584 object to before the relocation.
45585 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45586 * sysdeps/generic/ldsodefs.h: Update declaration.
45588 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45589 string for the scope number.
45591 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45593 * nscd/servicescache.c (cache_addserv): Make sure written is always
45596 2011-08-14 Roland McGrath <roland@hack.frob.com>
45598 * sysdeps/i386/i486/bits/atomic.h
45599 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45600 statement expression, so as to suppress "set but not used" warning.
45601 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45603 * string/strncat.c (STRNCAT): Use prototype definition.
45605 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45606 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45608 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45609 (localedef-modules): Add localedef.
45610 (locale-modules): Add locale.
45612 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45613 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45614 to avoid a warning.
45616 2011-08-14 David S. Miller <davem@davemloft.net>
45618 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45619 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45621 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45623 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45624 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45625 * elf/rtld.c (dl_main): Set l_name of vDSO.
45626 Call _dl_show_scope when DL_DEBUG_SCOPES.
45627 (process_dl_debug): Recognize scopes flag and also set it for all.
45628 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45629 Declare _dl_show_scope.
45631 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45632 (do_dlopen): Pass caller_dlopen to dl_open.
45633 (__libc_dlopen_mode): Initialize caller_dlopen.
45635 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45636 of libc. Make tolower call locale-independent. Optimize a bit by
45637 using isdigit instead of isalnum.
45638 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45640 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45642 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45643 was a dependency or dynamically loaded.
45645 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45647 * intl/l10nflist.c: Allow architecture-specific pop function.
45648 * sysdeps/x86_64/l10nflist.c: New file.
45650 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45653 2011-08-10 Andreas Schwab <schwab@redhat.com>
45655 * include/dirent.h: Add libc_hidden_proto for scandirat and
45656 scandirat64. Don't declare __scandirat64.
45657 * dirent/scandirat.c: Add libc_hidden_def.
45658 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45659 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45661 2011-08-10 David S. Miller <davem@davemloft.net>
45663 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45665 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45669 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45671 * Versions.def [libc]: Add GLIBC_2.15.
45672 * dirent/Makefile (routines): Add scandirat and scandirat64.
45673 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45675 * dirent/dirent.h: Declare scandirat and scandirat64.
45676 * dirent/scandirat.c: New file.
45677 * dirent/scandirat64.c: New file.
45678 * sysdeps/wordsize-64/scandirat.c: New file.
45679 * sysdeps/wordsize-64/scandirat64.c: New file.
45680 * dirent/opendir.c: Define opendirat.
45681 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45683 * dirent/scandir64.c: Adjust for scandir.c change.
45684 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45685 __scandirat64, and __scandir_cancel_handler.
45686 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45687 additional parameter and use openat instead of open (outside of ld.so).
45688 Add new __opendir as wrapper around __opendirat.
45689 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45690 here without requiring old scandirat implementation.
45692 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45694 * dirent/scandir.c (cancel_handler): Renamed to
45695 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45696 defined. Adjust users.
45697 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45698 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45700 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45702 * string/test-string.h (IMPL): Use __STRING to expand name and then
45705 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45708 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45710 * string/Makefile: Update.
45711 (strop-tests): Append strncat.
45712 * string/test-wcscmp.c: New file.
45713 New comprehensive test for wcscmp.
45714 * string/test-strcmp.c: Update.
45715 (WIDE): New define.
45717 2011-07-22 Andreas Schwab <schwab@redhat.com>
45719 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45722 2011-07-26 Andreas Schwab <schwab@redhat.com>
45724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45725 encoding to ACE if AI_IDN.
45727 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45729 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45730 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45732 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45734 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45735 Fix overflow bug in strncat.
45736 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45738 * string/test-strncat.c: Update.
45739 Add new tests for checking overflow bugs.
45741 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45744 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45745 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45746 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45747 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45748 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45749 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45750 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45751 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45753 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45754 (USE_AS_STRCAT): Define.
45755 Add strcat and strncat support.
45756 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45758 2011-07-25 Andreas Schwab <schwab@redhat.com>
45760 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45761 __n bigger than INT_MAX+1.
45762 (__strncmp_g): Likewise.
45764 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45766 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45767 * libio/stido.h: Likewise.
45769 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45774 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45775 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45776 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45777 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45778 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45781 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45784 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45786 (_dl_x86_64_save_sse): Likewise.
45788 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45790 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45792 (_dl_x86_64_save_sse): Likewise.
45794 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45796 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45798 2011-07-21 Andreas Schwab <schwab@redhat.com>
45800 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45802 (_dl_x86_64_save_sse): Use correct AVX check.
45804 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45806 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45807 bug in strncpy/strncat.
45808 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45810 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45812 * string/tester.c (test_strcat): Add tests for different alignments
45813 of source and destination.
45814 (test_strncat): Likewise.
45816 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45819 * posix/glob.c (glob): Check passed in values before using them in
45820 expressions to avoid some overflows.
45821 (glob_in_dir): Likewise.
45824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45825 check for AVX enablement so that we don't crash with old kernels and
45827 * elf/tst-audit4.c: Add same checks here.
45828 * elf/tst-audit6.c: Likewise.
45830 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45832 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45834 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45836 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45838 * po/cs.po: Update from translation team.
45839 * po/bg.po: Likewise.
45841 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45843 * misc/sys/cdefs.h: Add support for const attribute.
45844 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45845 to gnu_dev_{major,minor,makedev} functions.
45847 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45849 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45851 2011-07-20 Andreas Schwab <schwab@redhat.com>
45853 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45856 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45859 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45860 register in order to avoid conflicts with the soft frame pointer
45861 being held in r11 when necessary.
45862 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45863 (INTERNAL_VSYSCALL_NCS): Likewise.
45865 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45867 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45868 * elf/dl-fini.c (_dl_fini): Adjust caller.
45869 * elf/dl-close.c (_dl_close_worker): Likewise.
45870 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45872 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45874 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45875 "aux_cache->nlibs < 0".
45877 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45878 in the reload-count case.
45880 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45883 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45884 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45885 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45886 * sysdeps/x86_64/multiarch/strcat.S: New file.
45887 * sysdeps/x86_64/multiarch/strncat.S: New file.
45888 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45889 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45890 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45891 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45892 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45893 (USE_AS_STRCAT): Define.
45894 Add strcat and strncat support.
45895 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45896 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45897 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45898 * string/strncat.c: Update.
45899 (USE_AS_STRNCAT): Define.
45900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45901 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45903 * sysdeps/x86_64/multiarch/init-arch.h
45904 (bit_Prefer_PMINUB_for_stringop): New.
45905 (index_Prefer_PMINUB_for_stringop): Likewise.
45906 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45907 bit_Prefer_PMINUB_for_stringop.
45909 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45911 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45913 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45914 of casting of buffer.
45915 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45916 buffer32 and buffer64.
45917 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45918 writes instead of casting of buffer.
45919 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45921 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45924 2011-07-19 Andreas Schwab <schwab@redhat.com>
45926 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45928 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45930 * nscd/nscd.c (termination_handler): Don't do anything for a database
45931 if it has not yet been initialized.
45933 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45935 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45937 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45939 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45941 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45943 * po/nl.po: Update from translation team.
45944 * po/sv.po: Likewise.
45946 2011-07-16 Roland McGrath <roland@hack.frob.com>
45948 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45949 now disallowed by GCC.
45951 * configure.in (use-default-link): Default to yes if a test -shared
45952 link meets our qualifications.
45953 * configure: Regenerated.
45955 * config.make.in (output-format): New variable.
45956 * configure.in: Check for ld --print-output-format support.
45957 * configure: Regenerated.
45958 * Makerules ($(common-objpfx)format.lds)
45959 [$(output-format) != unknown]: Just use $(output-format),
45960 instead of the linker-script munging.
45962 2011-07-14 Roland McGrath <roland@hack.frob.com>
45964 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45965 of $(common-objpfx)shlib.lds.
45966 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45968 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45969 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45971 * configure.in (-z relro check): Adjust test code to add a large
45972 writable data section after it.
45973 * configure: Regenerated.
45975 2011-07-11 Roland McGrath <roland@hack.frob.com>
45977 * configure.in (-z relro check): Fix test code to make the variable
45979 * configure: Regenerated.
45981 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45983 * nscd/nscd.h (struct traced_file): Define.
45984 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45985 elements. Add traced_files.
45986 (inotify_fd): Declare.
45987 (register_traced_file): Declare.
45988 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45989 (inotify_fd): Export.
45990 (resolv_conf_descr): Remove.
45991 (nscd_init): Move inotify descriptor creation to main.
45992 Don't register files for notification here.
45993 (register_traced_file): New function.
45994 (invalidate_cache): Don't use reset_res to determine whether to call
45995 res_init, go through the list of registered files.
45996 (main_loop_poll): The inotify descriptors are now stored in the
45997 structures for the traced files.
45998 (main_loop_epoll): Likewise
45999 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46000 to __nss_disable_nscd.
46001 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46002 for a database anymore. Check the records for all the registered
46004 * nss/Makefile (libnss_files-routines): Add files-init.
46005 (libnss_db-routines): Add db-init.
46006 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46007 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46008 * nss/nss_db/db-init.c: New file.
46009 * nss/nss_files/files-init.c: New file.
46010 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46011 __nss_lookup_function.
46012 (__nss_lookup_function): Call nss_load_library.
46013 (nss_load_all_libraries): New function.
46014 (__nss_disable_nscd): Take parameter with callback function for files
46015 to register. Set is_nscd. Load all the DSOs for the NSS modules
46016 used for the cached services.
46017 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46018 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46019 options for features to all the files in nscd.
46021 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46023 2011-07-10 Roland McGrath <roland@hack.frob.com>
46025 * csu/elf-init.c (__libc_csu_init): Comment typo.
46027 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46029 * po/pl.po: Update from translation team.
46030 * po/ja.po: Likewise.
46031 * po/ru.po: Likewise.
46032 * po/ko.po: Likewise.
46033 * po/fr.po: Likewise.
46035 2011-07-09 Roland McGrath <roland@hack.frob.com>
46037 * configure.in (.ctors/.dtors header and trailer check):
46038 Use an empirical test on a built program.
46039 * configure: Regenerated.
46041 * configure.in (-z relro check): Use an empirical test on a built DSO.
46042 Detect, but do not require, on ia64.
46043 * configure: Regenerated.
46045 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46046 Update tests that use readelf to use $READELF instead.
46047 * configure: Regenerated.
46049 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46051 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46052 if the result is not used.
46054 2011-07-05 Andreas Jaeger <aj@suse.de>
46057 * stdlib/tst-strtod.c: Add testcase.
46059 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46061 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46062 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46063 The latter has a higher limit. Take additional parameter to pass to
46065 (__pathconf): Pass file to __statfs_link_max.
46066 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46068 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46072 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46073 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46075 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46076 (__statfs_filesize_max): Likewise.
46077 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46079 2011-07-05 Andreas Jaeger <aj@suse.de>
46081 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46083 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46085 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46087 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46090 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46092 * Makefile (strop-tests): Add strncat.
46093 * string/test-strncat.c: New file.
46095 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46097 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46099 2011-06-21 Andreas Jaeger <aj@suse.de>
46101 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46102 Copy rule from iconvdata/Makefile.
46104 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46107 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46108 but no long options are defined, just return 'W'.
46110 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46113 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46115 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46117 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46119 (innetgr): Likewise.
46121 2011-07-05 Roland McGrath <roland@hack.frob.com>
46123 * config.make.in (install_root): Default to $(DESTDIR).
46125 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46127 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46129 2011-07-02 Roland McGrath <roland@hack.frob.com>
46131 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46133 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46134 containing directory rather than embedding absolute directory names.
46136 * scripts/check-local-headers.sh: Rewritten using awk.
46137 Match by word, not by line. Print error messages for matches.
46138 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46140 * Makerules [shlib-lds-flags empty]:
46141 ($(common-objpfx)libc_pic.opts): New target.
46142 ($(common-objpfx)libc_pic.os.clean): New target.
46143 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46145 * config.make.in (OBJCOPY): New variable.
46146 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46147 * configure: Regenerated.
46149 * config.make.in (use-default-link): New variable.
46150 * configure.in (use_default_link): Grok --with-default-link to set it.
46151 * configure: Regenerated.
46152 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46153 (shlib-lds, shlib-lds-flags): Define to empty.
46155 * Makerules (shlib-lds): New variable.
46156 (shlib-lds-flags): New variable.
46157 (build-shlib, build-moduile, build-module-asneeded): Use it.
46158 ($(common-objpfx)libc.so): Use $(shlib-lds).
46159 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46160 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46162 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46163 DT_FLAGS/DT_FLAGS_1 with zero flags.
46165 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46166 linker script munging.
46168 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46170 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46172 * crypt/sha512.c (sha512_process_block): Perform total addition using
46173 128-bit if possible.
46174 (__sha512_finish_ctx): Likewise.
46175 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46177 * crypt/sha256.c (SWAP64): Define.
46178 (sha256_process_block): Perform total addition using 64-bit if
46180 (__sha256_finish_ctx): Likewise.
46182 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46184 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
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
46189 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46191 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46193 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46194 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46195 * nscd/hstcache.c (cache_addhst): Likewise.
46196 * nscd/grpcache.c (cache_addgr): Likewise.
46197 * nscd/aicache.c (addhstaiX): Likewise
46199 2011-07-01 Andreas Schwab <schwab@redhat.com>
46201 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46202 domain only when needed.
46204 2011-06-30 Andreas Schwab <schwab@redhat.com>
46206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46207 is always restored.
46209 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46211 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46212 are re-adding the entry.
46213 * nscd/servicescache.c (cache_addserv): Likewise.
46215 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46217 * sysdeps/generic/dl-irel.h: fix protection against multiple
46219 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46221 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46224 * malloc/memusage.sh: Fix quoting in message.
46225 * debug/xtrace.sh: Likewise.
46227 * configure.in: Remove support for --experimental-malloc option, make
46229 * config.make.in: Likewise.
46230 * malloc/Makefile: Likewise.
46232 2011-06-27 Andreas Schwab <schwab@redhat.com>
46234 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46235 two-byte characters.
46237 2011-06-27 Roland McGrath <roland@hack.frob.com>
46239 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46240 AC_CACHE_CHECK invocation.
46241 * configure: Regenerated.
46243 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46245 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46248 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46249 bit from old_res_options.
46251 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46253 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46254 value type for setfct.
46256 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46258 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46259 __gettimeofday instead of gettimeofday.
46261 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46263 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46265 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46267 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46269 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46272 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46275 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46276 strcpy-sse2-unaligned strncpy-sse2-unaligned
46277 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46278 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46279 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46280 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46281 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46282 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46283 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46284 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46285 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46286 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46287 (STRCPY): Support SSE2 and SSSE3 versions.
46289 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46292 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46293 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46294 kernels which artificially limit size of requests.
46296 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46299 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46300 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46301 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46302 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46303 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46304 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46305 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46306 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46307 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46308 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46309 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46310 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46311 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46312 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46314 Enable unaligned load optimization for Intel Core i3, i5 and i7
46316 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46318 (index_Fast_Unaligned_Load): Define.
46319 (HAS_FAST_UNALIGNED_LOAD): Define.
46321 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46323 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46325 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46328 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46329 until it is clear that the information is realy needed.
46330 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46332 2011-06-22 Andreas Schwab <schwab@redhat.com>
46334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46336 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46338 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46339 /sys/devices/system/cpu/online if it is usable.
46341 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46342 reading the information from the /proc filesystem to once a second.
46344 2011-06-21 Andreas Jaeger <aj@suse.de>
46346 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46347 NULL after inclusion of kernel headers.
46349 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46351 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46352 calls to internal_setent.
46355 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46356 addresses using gethostbyname4_r ignore IPv4 addresses.
46358 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46359 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46361 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46363 2011-06-20 David S. Miller <davem@davemloft.net>
46365 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46367 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46369 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46370 (elf_irel): Use it.
46371 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46372 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46373 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46374 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46375 * sysdeps/x86_64/dl-irel.h: Likewise.
46377 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46378 * elf/dl-sym.c: Likewise.
46380 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46382 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46383 need to dereference resplen2.
46385 2011-06-14 Andreas Schwab <schwab@redhat.com>
46387 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46389 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46391 * Makeconfig: Define vardbdir and inst_vardbdir.
46392 * nss/Makefile: Add rules to install db-Makefile.
46394 * nss/nss_db/db-XXX.c: Cleanup.
46396 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46397 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46399 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46400 * nss/makedb.c: Implement -g option to specify that value strings
46401 are generated and should not be added to table iterated over for
46403 * nss/nss_db/db-initgroups.c: New file.
46405 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46408 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46409 (internal_getgrouplist): Adjust to name change.
46410 Update use_initgroups_entry if this is not the first call.
46411 * nss/databases.def: Add initgroups entry.
46413 * nss/makedb.c (compute_tables): Check result of multiple hash table
46414 sizes to minimize maximum chain length.
46416 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46418 * Versions.def: Add entry for libnss_db.
46419 * shlib-versions: Likewise.
46420 * nss/Makefile: Add rules to build libnss_db.
46421 * nss/Versions: Add libnss_db information. Organize libnss_files
46423 * nss/db-Makefile: Add gshadow support. Change rules for the new
46424 makedb progra. Some minor improvements to generate smaller files.
46425 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46427 * nss/makedb.c: ...here.
46428 Improve database format to be smaller and require less memory at
46430 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46432 * nss/nss_db/db-netgrp.c: Likewise.
46433 * nss/nss_db/db-open.c: Likewise.
46434 * nss/nss_files/flies-XXX.x: Adjust comments.
46435 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46436 * nss/nss_files/files-grp.c: Likewise.
46437 * nss/nss_files/files-hosts.c: Likewise.
46438 * nss/nss_files/files-network.c: Likewise.
46439 * nss/nss_files/files-proto.c: Likewise.
46440 * nss/nss_files/files-pwd.c: Likewise.
46441 * nss/nss_files/files-rpc.c: Likewise.
46442 * nss/nss_files/files-service.c: Likewise.
46443 * nss/nss_files/files-sgrp.c: Likewise.
46444 * nss/nss_files/files-spwd.c: Likewise.
46445 * nss/nss_db/db-alias.c: Removed.
46446 * nss/nss_db/dummy-db.h: Removed.
46448 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46450 * nss/makedb.c: Rewritten to not use database library.
46451 * nss/Makefile: Update to build new makedb program.
46453 2011-06-14 Andreas Jaeger <aj@suse.de>
46455 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46456 memset declaration.
46458 2011-06-10 Andreas Schwab <schwab@redhat.com>
46460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46463 2011-06-10 Roland McGrath <roland@hack.frob.com>
46465 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46466 * elf/Makefile ($(objpfx)ld.so): Likewise.
46468 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46469 Don't list ld.so twice in dependencies.
46471 * posix/bug-regex31.c: Include <stdlib.h>.
46473 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46475 * nis/nss_compat/compat-spwd.c
46476 (getspent_next_nss_netgr): Remove unused variable.
46477 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46479 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46480 nonmembers" output to use the right array.
46482 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46484 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46486 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46487 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46488 * catgets/gencat.c (read_input_file): Likewise.
46489 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46491 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46492 variable definition inside #if's controlling its use.
46494 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46496 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46498 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46500 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46503 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46505 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46506 * configure: Regenerated.
46508 * Makerules: Revert last change.
46509 * elf/Makefile: Likewise.
46511 2011-06-09 Roland McGrath <roland@hack.frob.com>
46513 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46514 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46515 (reloc-link): Likewise.
46517 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46519 * elf/Makefile: Add rules to build pldd.
46520 * elf/pldd.c: New file.
46521 * elf/pldd-xx.c: New file.
46523 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46525 * version.h: Update for 2.15 development version.
46527 2011-06-07 David S. Miller <davem@davemloft.net>
46529 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46532 elf_machine_lazy_rel): Likewise.
46533 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46534 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46535 elf_machine_lazy_rel): Likewise.
46536 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46537 dl_hwcap via passed in argument.
46538 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46541 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46543 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46545 2011-06-06 Roland McGrath <roland@hack.frob.com>
46548 * manual/fdl-1.1.texi: New file, verbatim from:
46549 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46550 * manual/lgpl-2.1.texi: New file, verbatim from:
46551 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46552 * manual/Makefile (licenses): New variable, list those new file names.
46554 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46556 * manual/fdl.texi: File removed.
46557 * manual/lesser.texi: File removed.
46558 * manual/libc.texinfo (Copying, Documentation License):
46559 Use new @include file names, put @appendix directive before @include.
46561 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46564 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46565 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46566 (mq_open): Add __NTH.
46568 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46571 Assume Intel Core i3/i5/i7 processor if AVX is available.
46573 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46575 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46578 2011-05-31 Andreas Schwab <schwab@redhat.com>
46580 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46581 memory. Use alloca_account. Fix memory leak when retrying.
46583 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46585 * version.h (RELEASE): Bump for 2.14 release.
46586 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46588 * config.make.in (RANLIB): Remove entry.
46590 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46592 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46593 (libc.pot): Work around missing support for .ksh extension in xgettext.
46596 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46597 if both request failed.
46598 (send_dg): In case of server errors clear resplen or *resplen2.
46601 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46602 when there are multiple maps.
46603 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46604 (_dl_fini): Remove test here.
46606 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46608 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46611 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46612 bit from old_res_options.
46613 (gaih_inet): Likewise.
46616 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46619 * resolv/res_init.c (res_setoptions): Make the code more compact.
46622 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46626 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46628 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46631 * malloc/malloc.h: Declare malloc hook variables as volatile.
46633 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46637 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46638 raise in the comment.
46639 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46640 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46641 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46643 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46646 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46647 grow the buffers more if it already has to be sufficient.
46648 (build_wcs_upper_buffer): Likewise.
46649 * posix/regexec.c (check_matching): Likewise.
46650 (clean_state_log_if_needed): Likewise.
46651 (extend_buffers): Don't enlarge buffers beyond size of the input
46653 Patches mostly by Emil Wojak <emil@wojak.eu>.
46654 * posix/bug-regex32.c: New file.
46655 * posix/Makefile (tests): Add bug-regex32.
46657 * locale/findlocale.c (_nl_find_locale): Return right away if
46658 _nl_explode_name failed.
46659 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46661 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46663 * debug/xtrace.sh: Unify messages.
46664 * malloc/memusage.sh: Likewise.
46667 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46668 time symbol from vDSO. Substitute with vsyscall if not available.
46669 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46672 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46673 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46674 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46675 Add sendmmsg and internal_sendmmsg.
46676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46677 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46678 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46680 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46681 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46682 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46684 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46687 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46688 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46690 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46694 * iconvdata/Makefile (tests): Add bug-iconv9.
46695 * iconvdata/bug-iconv9.c: New file.
46697 2011-05-27 Andreas Schwab <schwab@redhat.com>
46700 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46702 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46705 (struct user_regs_struct): Change intcs field back to cs.
46707 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46709 * po/ja.po: Update from translation team.
46711 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46714 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46715 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46717 2011-05-20 Andreas Schwab <schwab@redhat.com>
46719 * stdlib/longlong.h: Update from GCC.
46721 2011-05-23 Andreas Schwab <schwab@redhat.com>
46723 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46725 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46726 Add parameter name.
46727 (__sysconf): Pass it down.
46729 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46732 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46734 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46735 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46736 add in in __libc_use_alloca calls. Adjust callers.
46737 (glob): Use malloc in some situations.
46739 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46740 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46743 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46745 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46746 and CLOCK_BOOTTIME_ALARM.
46749 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46752 * string/_strerror.c (__strerror_r): Print negative errors as signed
46756 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46757 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46758 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46760 * configure.in: Fix typo in redirection and correct removal of test
46761 files in two cases.
46764 * locale/setlocale.c (new_composite_name): Fix test to check for
46765 identical name of all categories.
46768 * libio/filedoalloc.c (local_isatty): New function.
46769 (_IO_file_doallocate): Use local_isatty.
46770 * stdio-common/perror.c (perror): In case a new stream is used
46771 forward the stream error.
46772 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46775 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46780 * include/alloca.h (extend_alloca_account): Define.
46783 * posix/regex.h: Fix comments with documentation of user-accessible
46784 fields after compilation and describe correct free'ing of pattern
46785 after re_compile_pattern.
46786 Patch by Reuben Thomas <rrt@sc3d.org>.
46788 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46790 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46791 and -mno-altivec to prevent the compiler from using Altivec and/or
46792 VSX instructions when the corresponding registers are not available.
46794 2011-05-19 Andreas Schwab <schwab@redhat.com>
46796 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46798 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46800 * libio/freopen.c (freopen): Use __dup2, not dup2.
46801 * libio/freopen64.c (freopen64): Likewise.
46803 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46806 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46807 * math/Makefile (tests): Add test-powl.
46808 (CFLAGS-test-powl.c): Define.
46809 * math/test-powl.c: New file.
46811 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46813 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46815 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46818 * iconvdata/gb18030.c: Update to GB18020-2005.
46820 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46822 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46823 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46824 Patch by Aharon Robbins <arnold@skeeve.com>.
46827 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46831 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46832 through underflows.
46835 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46836 point to strings before performing equality test for error_one_per_line
46840 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46844 (struct user_fpregs_struct): Avoid __uint*_t types.
46847 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46848 symbol info. Use it instead of calling _dl_addr locally.
46849 (lock_and_info): New function.
46850 (tr_freehook): Call lock_and_info and pass symbol info as additional
46851 parameter to tr_where.
46852 (tr_mallochook): Likewise.
46853 (tr_reallochook): Likewise.
46854 (tr_memalignhook): Likewise.
46856 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46857 used and couldn't be at all thread-safe.
46859 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46861 * libio/freopen.c (freopen): Don't close old file descriptor
46862 before the new one is opened. Instead dup the new file descriptor
46863 to the old one after the new stream is created.
46864 * libio/freopen64.c (freopen64): Likewise.
46865 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46866 * libio/fileops.c (_IO_new_file_close_it): Handle new
46867 _IO_FLAGS2_NOCLOSE flag.
46868 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46869 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46870 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46871 _IO_FLAGS2_NOCLOSE flag.
46872 * include/unistd.h: Add hidden_proto for dup3.
46873 Define __have_dup3.
46874 * io/dup3.c: Define hidden symbol.
46875 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46878 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46879 when an incomplete long option is used.
46880 * posix/tst-getopt_long1.c: New file.
46881 * posix/Makefile (tests): Add tst-getopt_long1.
46884 * scripts/config.guess: Update from autoconf-2.68.
46885 * scripts/config.sub: Likewise.
46888 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46890 (has_cpuclock): ...this. New function.
46891 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46892 macro here based on has_cpuclock code.
46895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46896 First byte (not low byte) is now always NUL.
46897 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46900 Use non-cancelable interfaces.
46903 * locale/iso-639.def: Add entry for Sorani.
46906 * include/stdlib.h: Move include protection to the right place.
46907 Define abort_msg_s. Declare __abort_msg with it.
46908 * stdlib/abort.c (__abort_msg): Adjust type.
46909 * assert/assert.c (__assert_fail_base): New function. Majority
46910 of code from __assert_fail. Allocate memory for __abort_msg with
46912 (__assert_fail): Now call __assert_fail_base.
46913 * assert/assert-perr.c: Remove bulk of implementation. Use
46914 __assert_fail_base.
46915 * include/assert.hL Declare __assert_fail_base.
46916 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46918 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46920 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46924 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46925 until all modules are registered in the DTV.
46926 * elf/Makefile: Add rules to build and run tst-tls19.
46927 * elf/tst-tls19.c: New file.
46928 * elf/tst-tls19mod1.c: New file.
46929 * elf/tst-tls19mod2.c: New file.
46930 * elf/tst-tls19mod3.c: New file.
46931 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46934 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46938 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46939 two-byte sequence errors.
46940 * iconvdata/Makefile (tests): Add bug-iconv8.
46941 * iconvdata/bug-iconv8.c: New file.
46944 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46947 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46950 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46951 (dummy_getcfa): New function.
46952 (init): Get _Unwind_GetCFA address, use dummy if not found.
46953 (backtrace_helper): In recursion check, also check whether CFA changes.
46954 (__backtrace): Completely initialize arg.
46956 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46957 storing incomplete byte sequence in state object. Avoid testing for
46958 guaranteed too small input if we know there is enough data available.
46960 2011-05-11 Andreas Schwab <schwab@redhat.com>
46962 * Makeconfig (+link-pie): Indent.
46963 * Rules (binaries-pie): Define if $(have-fpie) and
46965 (binaries-shared): Also filter out $(binaries-pie).
46966 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46967 * nscd/Makefile (others-pie): Add nscd.
46968 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46969 ($(objpfx)nscd): Remove command override.
46970 * login/Makefile (others-pie): Add pt_chown.
46971 ($(objpfx)pt_chown): Remove command override.
46972 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46973 remove command overrides.
46975 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46977 * libio/tst_putwc.c: Fix error messages.
46980 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46981 currently writing and seek to current position when not.
46982 * libio/Makefile (tests): Add bug-fclose1.
46983 * libio/bug-fclose1.c: New file.
46985 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46988 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46989 don't set DF_1_NODELETE here.
46990 (do_lookup_x): When entering new entry test for copy relocation
46991 and if necessary set DF_1_NODELETE flag.
46992 * elf/tst-unique4.cc: New file.
46993 * elf/tst-unique4.h: New file.
46994 * elf/tst-unique4lib.cc: New file.
46995 * elf/Makefile: Add rules to build and run tst-unique4.
46996 Patch by Piotr Bury <pbury@goahead.com>.
46998 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47001 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47004 * misc/mntent_r.c (addmntent): Flush the stream after the output
47007 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47008 (is_trusted_path_normalize): Skip initial colon. Append slash
47009 to empty buffer. Duplicate is_trusted_path code but allow
47010 constructed patch to be prefix.
47011 (is_dst): Allow $ORIGIN followed by /.
47012 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47013 Correct testing of result of is_trusted_path_normalize
47014 (decompose_rpath): Fix warning.
47016 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47019 * grp/initgroups.c (internal_getgrouplist): When we found the service
47020 list through the initgroups entry in nsswitch.conf do not always
47021 continue on a successful lookup. Don't always use the
47022 __nss_group_database value if it is set.
47023 * nss/nsswitch.conf (initgroups): Change action for successful db
47024 lookup to continue for compatibility.
47026 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47029 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47031 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47033 * iconvdata/tst-tables.sh: Likewise.
47034 * iconvdata/cp770.c: New file.
47035 * iconvdata/cp771.c: New file.
47036 * iconvdata/cp772.c: New file.
47037 * iconvdata/cp773.c: New file.
47038 * iconvdata/cp774.c: New file.
47039 * iconvdata/testdata/CP770: New file.
47040 * iconvdata/testdata/CP770..UTF8: New file.
47041 * iconvdata/testdata/CP771: New file.
47042 * iconvdata/testdata/CP771..UTF8: New file.
47043 * iconvdata/testdata/CP772: New file.
47044 * iconvdata/testdata/CP772..UTF8: New file.
47045 * iconvdata/testdata/CP773: New file.
47046 * iconvdata/testdata/CP773..UTF8: New file.
47047 * iconvdata/testdata/CP774: New file.
47048 * iconvdata/testdata/CP774..UTF8: New file.
47050 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47052 * iconvdata/gen-8bit-gap.sh: Likewise.
47053 * iconvdata/gen-8bit.sh: Likewise.
47055 * locale/iso-639.def: Add ary entry.
47058 * locale/C-translit.h.in: Add U20A1 transliteration.
47061 * locale/iso-639.def: Add wae entry.
47062 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47065 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47069 * locale/C-translit.h.in: Add entry for U20B9.
47070 Patch by pravin.d.s@gmail.com.
47072 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47075 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47076 ENAMETOOLONG use generic getcwd.
47077 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47078 in rtld. Use *stat64.
47079 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47080 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47081 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47082 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47083 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47084 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47085 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47086 __fstatat64 macros.
47087 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47088 * dirent/rewinddir.c: Add libc_hidden_def.
47089 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47090 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47092 * include/dirent.h (__alloc_dir): Add flags parameter.
47093 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47094 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47096 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47097 from fdopendir if O_CLOEXEC is already set.
47099 2011-03-15 Alan Modra <amodra@gmail.com>
47101 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47102 l_tls_firstbyte_offset non-zero. Save padding offset in
47103 l_tls_firstbyte_offset for later use.
47104 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47105 freeing static tls block.
47107 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47109 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47110 where #ifdef was intended. The intent is to prevent ARG_MAX from
47111 being defined by the kernel headers.
47113 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47116 * resolv/resolv.h: Define RES_NOTLDQUERY.
47117 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47118 no-tld-query and set RES_NOTLDQUERY.
47119 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47120 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47121 modern BIND to search name as TLD unless forbidden.
47123 2011-05-07 Petr Baudis <pasky@suse.cz>
47124 Ulrich Drepper <drepper@gmail.com>
47127 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47128 (is_trusted_path): ...to here.
47129 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47130 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47131 using is_trusted_path_normalize() in setuid scripts.
47133 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47135 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47136 __BEGIN/__END_DECLS.
47138 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47141 NSS_STATUS_NOTFOUND if no record was found.
47143 2011-05-05 Andreas Schwab <schwab@redhat.com>
47145 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47146 (headers-not-in-tirpc): Remove rpc/netdb.h
47147 * resolv/netdb.h: Revert last change.
47149 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47151 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47152 circular dependency between libgcc.a and libc.a.
47154 2011-05-05 Andreas Schwab <schwab@redhat.com>
47156 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47157 * nis/Makefile: Don't install rpcsvc/*.
47158 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47159 instead of <rpc/types.h>.
47160 (MAXHOSTNAMELEN): Define.
47162 2011-05-03 Andreas Schwab <schwab@redhat.com>
47164 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47166 2011-04-28 Maciej Babinski <mbabinski@google.com>
47169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47170 gethostbyname4_r when IPv6 results are possible.
47172 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47175 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47176 _PC_PIPE_BUF handling.
47178 2011-04-30 Bruno Haible <bruno@clisp.org>
47181 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47182 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47184 * inet/getnameinfo.c (getnameinfo): Likewise.
47186 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47188 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47189 to groups setting in database lookup.
47190 * nss/nsswitch.conf: Add initgroups entry.
47192 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47195 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47197 Patch by Eric Blake <eblake@redhat.com>.
47199 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47201 * sunrpc/Makefile (need-export-routines): Add svc_run.
47202 (routines): Remove svc_run.
47203 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47204 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47205 * sunrpc/svc_run.c (svc_run): Likewise.
47206 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47208 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47210 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47211 problem in reallocation in last patch.
47213 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47215 * sunrpc/Makefile: Move inclusion of Rules.
47217 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47219 * nss/nss_files/files-initgroups.c: New file.
47220 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47221 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47222 _nss_files_initgroups_dyn.
47224 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47226 * elf/elf.h (R_ARM_IRELATIVE): Define.
47228 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47230 * po/ru.po: Update from translation team.
47232 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47234 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47237 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47240 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47241 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47242 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47243 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47244 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47246 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47248 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47250 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47251 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47252 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47254 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47257 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47259 * stdlib/bug-getcontext.c: New file.
47260 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47262 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47264 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47265 instructions into .machine "z9-109".
47266 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47267 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47269 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47271 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47272 between environment variables and auxiliary vector.
47274 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47276 * Makefile: Add rules to build linkobj/libc.so.
47277 * include/libc-symbols.h: Define libc_hidden_nolink.
47278 * include/rpc/auth.h: Mark functions which are to be hidden.
47279 * include/rpc/auth_des.h: Likewise.
47280 * include/rpc/auth_unix.h: Likewise.
47281 * include/rpc/clnt.h: Likewise.
47282 * include/rpc/des_crypt.h: Likewise.
47283 * include/rpc/key_prot.h: Likewise.
47284 * include/rpc/pmap_clnt.h: Likewise.
47285 * include/rpc/pmap_prot.h: Likewise.
47286 * include/rpc/pmap_rmt.h: Likewise.
47287 * include/rpc/rpc_msg.h: Likewise.
47288 * include/rpc/svc.h: Likewise.
47289 * include/rpc/svc_auth.h: Likewise.
47290 * include/rpc/xdr.h: Likewise.
47291 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47292 * nss/Makefile: Likewise.
47293 * sunrpc/Makefile: Don't install headers. Build library with normal
47294 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47295 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47296 for the compat linking library. Remove use of INTDEF/INTUSE.
47297 * sunrpc/auth_none.c: Likewise.
47298 * sunrpc/auth_unix.c: Likewise.
47299 * sunrpc/authdes_prot.c: Likewise.
47300 * sunrpc/authuxprot.c: Likewise.
47301 * sunrpc/clnt_gen.c: Likewise.
47302 * sunrpc/clnt_perr.c: Likewise.
47303 * sunrpc/clnt_raw.c: Likewise.
47304 * sunrpc/clnt_simp.c: Likewise.
47305 * sunrpc/clnt_tcp.c: Likewise.
47306 * sunrpc/clnt_udp.c: Likewise.
47307 * sunrpc/clnt_unix.c: Likewise.
47308 * sunrpc/des_crypt.c: Likewise.
47309 * sunrpc/des_soft.c: Likewise.
47310 * sunrpc/get_myaddr.c: Likewise.
47311 * sunrpc/key_call.c: Likewise.
47312 * sunrpc/key_prot.c: Likewise.
47313 * sunrpc/netname.c: Likewise.
47314 * sunrpc/pm_getmaps.c: Likewise.
47315 * sunrpc/pm_getport.c: Likewise.
47316 * sunrpc/pmap_clnt.c: Likewise.
47317 * sunrpc/pmap_prot.c: Likewise.
47318 * sunrpc/pmap_prot2.c: Likewise.
47319 * sunrpc/pmap_rmt.c: Likewise.
47320 * sunrpc/publickey.c: Likewise.
47321 * sunrpc/rpc_cmsg.c: Likewise.
47322 * sunrpc/rpc_common.c: Likewise.
47323 * sunrpc/rpc_dtable.c: Likewise.
47324 * sunrpc/rpc_prot.c: Likewise.
47325 * sunrpc/rpc_thread.c: Likewise.
47326 * sunrpc/rtime.c: Likewise.
47327 * sunrpc/svc.c: Likewise.
47328 * sunrpc/svc_auth.c: Likewise.
47329 * sunrpc/svc_authux.c: Likewise.
47330 * sunrpc/svc_raw.c: Likewise.
47331 * sunrpc/svc_run.c: Likewise.
47332 * sunrpc/svc_simple.c: Likewise.
47333 * sunrpc/svc_tcp.c: Likewise.
47334 * sunrpc/svc_udp.c: Likewise.
47335 * sunrpc/svc_unix.c: Likewise.
47336 * sunrpc/svcauth_des.c: Likewise.
47337 * sunrpc/xcrypt.c: Likewise.
47338 * sunrpc/xdr.c: Likewise.
47339 * sunrpc/xdr_array.c: Likewise.
47340 * sunrpc/xdr_float.c: Likewise.
47341 * sunrpc/xdr_intXX_t.c: Likewise.
47342 * sunrpc/xdr_mem.c: Likewise.
47343 * sunrpc/xdr_rec.c: Likewise.
47344 * sunrpc/xdr_ref.c: Likewise.
47345 * sunrpc/xdr_sizeof.c: Likewise.
47346 * sunrpc/xdr_stdio.c: Likewise.
47348 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47351 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47352 * sysdeps/ia64/dl-tls.h: Likewise.
47353 * sysdeps/powerpc/dl-tls.h: Likewise.
47354 * sysdeps/s390/dl-tls.h: Likewise.
47355 * sysdeps/sh/dl-tls.h: Likewise.
47356 * sysdeps/sparc/dl-tls.h: Likewise.
47357 * sysdeps/x86_64/dl-tls.h: Likewise.
47358 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47360 2011-03-14 Andreas Schwab <schwab@redhat.com>
47362 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47363 rpath element also skip the following colon.
47364 (expand_dynamic_string_token): Add is_path parameter and pass
47365 down to DL_DST_REQUIRED and _dl_dst_substitute.
47366 (decompose_rpath): Call expand_dynamic_string_token with
47367 non-zero is_path. Ignore empty rpaths.
47368 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47371 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47376 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47379 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47380 Patch by Filipe David Manana <fdmanana@apache.org>.
47382 2011-04-07 Andreas Schwab <schwab@redhat.com>
47384 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47385 Maintain aligned stack.
47386 (CHECK_RSP): Remove unused macro.
47388 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47390 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47391 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47393 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47395 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47397 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47399 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47402 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47403 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47404 * sysdeps/x86_64/memmove.c: New file.
47405 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47406 (memcpy): Renamed to ...
47407 (__new_memcpy): This.
47408 (memcpy): Provide GLIBC_2_14 memcpy.
47409 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47410 (memcpy): Provide GLIBC_2_2_5 memcpy.
47412 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47415 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47417 2011-03-30 Andreas Schwab <schwab@redhat.com>
47419 * misc/syncfs.c: New file.
47420 * misc/Makefile (routines): Add syncfs.
47421 * posix/unistd.h: Declare syncfs.
47422 * sysdeps/unix/syscalls.list: Add syncfs.
47424 2011-04-01 Andreas Schwab <schwab@redhat.com>
47426 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47428 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47429 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47431 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47433 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47436 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47438 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47439 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47440 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47442 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47444 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47446 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47447 sync_file_range.c with -fexceptions.
47448 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47449 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47450 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47451 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47452 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47453 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47454 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47455 sync_file_range as cancellation point
47456 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47457 now a wrapper around __call_sync_file_range with cancellation handling.
47458 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47459 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47460 function name to __call_sync_file_range.
47461 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47462 Add call_sync_file_range.
47464 2011-04-01 Andreas Schwab <schwab@redhat.com>
47466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47469 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47471 * iconv/iconv.h: Fix typo in comment.
47472 * io/fcntl.h: Likewise.
47473 * libio/stdio.h: Likewise.
47474 * posix/spawn.h: Likewise.
47475 * posix/unistd.h: Likewise.
47476 * stdlib/stdlib.h: Likewise.
47477 * time/time.h: Likewise.
47478 * wcsmbs/wchar.h: Likewise.
47480 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47481 open_by_handle): Add.
47482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47483 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47484 Augment a few comments.
47485 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47487 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47490 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47493 * io/fcntl.h (AT_EMPTY_PATH): Define.
47495 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47497 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47498 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47499 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47501 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47502 * Versions.def: Add GLIBC_2.14.
47503 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47506 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47508 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47510 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47512 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47515 * string/test-strncmp.c (do_page_test): New function.
47516 (check2): Likewise.
47517 (test_main): Call check2.
47518 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47520 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47523 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47524 Handle cache information in CPU leaf 4.
47525 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47527 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47530 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47531 character representation.
47532 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47534 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47536 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47537 END(__isnan) to END(__isnanf) to match function entry point/label
47538 EALIGN(__isnanf,...).
47540 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47542 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47544 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47547 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47548 copy from the symbol referenced in the relocation to initialize the
47550 Patch by Piotr Bury <pbury@goahead.com>.
47551 * elf/Makefile: Add rules to build and tst-unique3.
47552 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47553 * elf/tst-unique3.cc: New file.
47554 * elf/tst-unique3.h: New file.
47555 * elf/tst-unique3lib.cc: New file.
47556 * elf/tst-unique3lib2.cc: New file.
47558 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47560 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47562 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47563 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47566 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47568 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47569 to-be-loaded object along a path to loader is ld.so.
47571 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47572 Ulrich Drepper <drepper@gmail.com>
47574 * sysdeps/x86_64/memset.S: After aligning destination, code
47575 branches to different locations depending on the value of
47576 misalignment, when multiarch is enabled. Fix this.
47578 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47580 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47581 Set _x86_64_preferred_memory_instruction for AMD processsors.
47582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47583 Set bit_Prefer_SSE_for_memop for AMD processors.
47585 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47587 * libio/fmemopen.c (fmemopen): Optimize a bit.
47589 2011-03-03 Andreas Schwab <schwab@redhat.com>
47591 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47593 2011-03-03 Roland McGrath <roland@redhat.com>
47595 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47597 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47599 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47600 __bzero_ultra1 instead of __memset_ultra1.
47602 2011-02-23 Andreas Schwab <schwab@redhat.com>
47603 Ulrich Drepper <drepper@gmail.com>
47606 * include/link.h (struct link_map): Add l_orig_initfini.
47607 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47608 returning unsuccessfully.
47609 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47610 close of a file loaded at startup, restore the original l_initfini
47612 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47613 list, store the pointer.
47614 * elf/Makefile ($(objpfx)noload-mem): New rule.
47615 (noload-ENV): Define.
47616 (tests): Add $(objpfx)noload-mem.
47617 * elf/noload.c: Include <memcheck.h>.
47618 (main): Call mtrace. Close all opened handles.
47620 2011-02-17 Andreas Schwab <schwab@redhat.com>
47623 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47624 dependencies are missing.
47626 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47628 Fix __if_freereq crash: Unlike the generic version which uses free,
47630 * sysdeps/mach/hurd/ifreq.h: New file.
47632 2011-01-27 Petr Baudis <pasky@suse.cz>
47633 Ulrich Drepper <drepper@gmail.com>
47636 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47637 to extend_alloca().
47638 * stdio-common/bug23.c: New file.
47639 * stdio-common/Makefile (tests): Add bug23.
47641 2010-09-28 Andreas Schwab <schwab@redhat.com>
47642 Ulrich Drepper <drepper@gmail.com>
47645 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47646 before performing relro protection. At old place add assertion
47647 to make sure nothing changed.
47649 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47650 Glauber de Oliveira Costa <glommer@gmail.com>
47652 * elf/elf.h: Add new ARM TLS relocs.
47654 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47657 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47659 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47661 * sysdeps/wordsize-64/tst-writev.c: New file.
47663 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47665 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47666 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47667 insns in _dl_start to prevent a TOC reference before relocs are
47670 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47673 * Makeconfig: Remove RANLIB definition.
47674 * Makerules: Don't use RANLIB.
47675 * aclocal.m4: Remove ranlib test.
47676 * configure.in: No need to check for ranlib.
47677 * elf/rtld-Rules: Don't use RANLIB.
47679 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47681 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47683 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47684 inclusion protection macro.
47686 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47687 SIGRTMIN and SIGRTMAX and print information in that case only when
47688 SIGRTMIN is defined.
47690 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47692 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47693 arginfo fn returning -1.
47695 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47696 and thousands string is zero terminated.
47698 2011-02-03 Andreas Schwab <schwab@redhat.com>
47700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47701 sysdeps/unix/sysv/linux/bits/socket.h.
47703 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47705 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47706 (__CPU_COUNT): Remove old macros.
47707 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47708 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47709 (__CPU_ALLOC, __CPU_FREE): Add macros.
47710 (__sched_cpualloc, __sched_cpufree): Add declarations.
47712 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47714 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47715 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47716 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47717 (readdhstai): Return value of addhstaiX call.
47718 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47719 (addgrbyX): Return value returned by cache_addgr.
47720 (readdgrbyname): Return value returned by addgrbyX.
47721 (readdgrbygid): Likewise.
47722 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47723 (addpwbyX): Return value returned by cache_addpw.
47724 (readdpwbyname): Return value returned by addhstbyX.
47725 (readdpwbyuid): Likewise.
47726 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47727 (addservbyX): Return value returned by cache_addserv.
47728 (readdservbyname): Return value returned by addservbyX:
47729 (readdservbyport): Likewise.
47730 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47731 (addhstbyX): Return value returned by cache_addhst.
47732 (readdhstbyname): Return value returned by addhstbyX.
47733 (readdhstbyaddr): Likewise.
47734 (readdhstbynamev6): Likewise.
47735 (readdhstbyaddrv6): Likewise.
47736 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47737 (readdinitgroups): Return value returned by addinitgroupsX.
47738 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47739 (prune_cache): Keep track of timeout value of re-added entries.
47740 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47741 * nscd/nscd.h: Adjust prototypes of readd* functions.
47743 2011-02-04 Roland McGrath <roland@redhat.com>
47745 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47746 (nis_stats): Likewise.
47747 * nis/nis_modify.c (nis_modify): Likewise.
47748 * nis/nis_remove.c (nis_remove): Likewise.
47749 * nis/nis_add.c (nis_add): Likewise.
47751 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47753 * posix/fnmatch_loop.c: Add some consts.
47755 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47757 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47760 * config.make.in (config-cflags-novzeroupper): Define.
47761 * configure.in: Substitute libc_cv_cc_novzeroupper.
47762 * elf/Makefile (AVX-CFLAGS): Define.
47763 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47764 (CFLAGS-tst-auditmod4a.c): Likewise.
47765 (CFLAGS-tst-auditmod4b.c): Likewise.
47766 (CFLAGS-tst-auditmod6b.c): Likewise.
47767 (CFLAGS-tst-auditmod6c.c): Likewise.
47768 (CFLAGS-tst-auditmod7b.c): Likewise.
47769 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47771 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47773 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47774 function to the callback.
47775 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47777 2011-02-02 Andreas Schwab <schwab@redhat.com>
47779 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47782 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47785 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47787 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47789 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47792 * elf/Makefile: Add rules to build and run new test.
47793 * elf/tst-initorder.c: New file.
47794 * elf/tst-initorder.exp: New file.
47795 * elf/tst-initordera1.c: New file.
47796 * elf/tst-initordera2.c: New file.
47797 * elf/tst-initordera3.c: New file.
47798 * elf/tst-initordera4.c: New file.
47799 * elf/tst-initorderb1.c: New file.
47800 * elf/tst-initorderb2.c: New file.
47801 * elf/tst-order-a1.c: New file.
47802 * elf/tst-order-a2.c: New file.
47803 * elf/tst-order-a3.c: New file.
47804 * elf/tst-order-a4.c: New file.
47805 * elf/tst-order-b1.c: New file.
47806 * elf/tst-order-b2.c: New file.
47807 * elf/tst-order-main.c: New file.
47808 New test case by George Gensure <werkt0@gmail.com>.
47810 2010-10-01 Andreas Schwab <schwab@redhat.com>
47812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47813 decoding ACE if AI_CANONIDN.
47815 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47817 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47819 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47821 * version.h (RELEASE): Bump for 2.13 release.
47822 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47824 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47826 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47828 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47829 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47830 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47831 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47832 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47833 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47835 * posix/getconf.c: Update copyright year.
47836 * catgets/gencat.c: Likewise.
47837 * csu/version.c: Likewise.
47838 * debug/catchsegv.sh: Likewise.
47839 * debug/xtrace.sh: Likewise.
47840 * elf/ldconfig.c: Likewise.
47841 * elf/ldd.bash.in: Likewise.
47842 * elf/sprof.c (print_version): Likewise.
47843 * iconv/iconv_prog.c: Likewise.
47844 * iconv/iconvconfig.c: Likewise.
47845 * locale/programs/locale.c: Likewise.
47846 * locale/programs/localedef.c: Likewise.
47847 * malloc/memusage.sh: Likewise.
47848 * malloc/mtrace.pl: Likewise.
47849 * nscd/nscd.c (print_version): Likewise.
47850 * nss/getent.c: Likewise.
47852 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47853 PF_CAIF, and PF_ALG.
47854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47856 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47858 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47859 (modules-names): Use them.
47860 (ifunc-test-modules, ifunc-pie-tests): Define.
47861 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47862 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47863 (test-extras): Likewise.
47864 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47865 $(compile-command.c).
47866 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47867 (all-built-dso): Define.
47868 (check-textrel.out, check-execstack.out): Depend on it.
47870 * configure.in: Don't override --enable-multi-arch.
47872 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47875 * nscd/hstcache.c (tryagain): Define.
47876 (cache_addhst): Return tryagain not notfound for temporary errors.
47877 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47880 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47883 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47884 to make the syscall.
47885 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47888 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47889 and fall back to matching as normal character if the string ends before
47890 the matching ']' is found. This is what POSIX requires.
47891 * posix/testfnm.c: Adjust test result.
47892 * posix/globtest.sh: Adjust test result. Add new test.
47893 * posix/tst-fnmatch.input: Likewise.
47894 * posix/tst-fnmatch2.c: Add new test.
47896 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47898 * elf/Makefile (check-execstack): Revert last change. Depend on
47900 (check-execstack.h): New target.
47901 (generated): Add check-execstack.h.
47902 * elf/check-execstack.c: Include "check-execstack.h".
47903 (main): Revert last change.
47904 (handle_file): Return zero if GNU_STACK is absent and
47905 DEFAULT_STACK_PERMS doesn't include PF_X.
47907 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47909 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47910 in child fails because the descriptor is already closed.
47911 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47912 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47913 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47916 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47920 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47921 temporary buffer used to handle multi lookups locally.
47922 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47924 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47926 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47929 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47931 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47932 alignment for SSE2.
47934 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47937 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47938 characters. When rounding increased number of integer digits recompute
47940 * stdio-common/tst-grouping.c: New file.
47941 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47943 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47945 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47946 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47948 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47950 * bits/select.h: Likewise.
47952 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47954 * po/ja.po: Update from translation team.
47956 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47959 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47960 implementation just like for lxstat, fxstatat, et al.
47962 2010-12-27 Jim Meyering <meyering@redhat.com>
47965 * posix/regexec.c (build_trtable): Return failure indication upon
47966 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47968 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47971 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47972 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47973 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47974 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47977 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47980 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47981 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47983 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47985 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47986 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47987 script has SORT_BY_INIT_PRIORITY.
47988 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47989 NO_CTORS_DTORS_SECTIONS is defined.
47990 * elf/soinit.c: Likewise.
47991 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47992 NO_CTORS_DTORS_SECTIONS is defined.
47993 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47994 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47995 * sysdeps/sh/init-first.c: Likewise.
47996 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47998 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48000 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48001 always use the slow path.
48003 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48005 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48006 similar rule which adds the sysdep directories to the header search in
48007 order to pick up the correct platform stackinfo.h.
48008 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48009 perform test if it is, otherwise return successfully without testing.
48010 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48011 DEFAULT_STACK_PERMS define in stackinfo.h.
48012 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48013 defined in stackinfo.h.
48014 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48015 DEFAULT_STACK_PERMS defined in stackinfo.h.
48016 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48017 * sysdeps/ia64/stackinfo.h: Likewise.
48018 * sysdeps/s390/stackinfo.h: Likewise.
48019 * sysdeps/sh/stackinfo.h: Likewise.
48020 * sysdeps/sparc/stackinfo.h: Likewise.
48021 * sysdeps/x86_64/stackinfo.h: Likewise.
48022 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48023 PF_X for powerpc64. Retain PF_X for powerpc32.
48025 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48027 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48029 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48030 GETDENTS_64BIT_ALIGNED.
48032 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48034 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48036 2010-12-10 Andreas Schwab <schwab@redhat.com>
48038 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48041 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48042 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48044 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48045 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48047 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48050 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48053 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48055 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48057 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48059 * po/it.po: Update from translation team.
48061 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48066 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48068 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48070 2010-11-24 Andreas Schwab <schwab@redhat.com>
48072 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48074 (gaih_getanswer_slice): Likewise.
48076 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48080 2010-05-31 Petr Baudis <pasky@suse.cz>
48083 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48084 silently even in the chroot mode.
48086 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48088 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48089 last patch a bit. Pretty printing
48091 2010-05-31 Petr Baudis <pasky@suse.cz>
48094 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48095 initialization of skip_initgroups_dyn.
48097 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48099 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48102 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48104 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48106 2010-11-11 Andreas Schwab <schwab@redhat.com>
48108 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48109 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48110 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48111 ($(objpfx)tst-fnmatch-mem): New rule.
48112 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48113 * posix/tst-fnmatch.c (main): Call mtrace.
48115 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48118 Support Intel processor model 6 and model 0x2c.
48120 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48125 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48128 * string/test-strncasecmp.c (check_result): New function.
48129 (do_one_test): Use it.
48130 (check1): New function.
48131 (test_main): Use it.
48132 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48133 Support strcasecmp and strncasecmp.
48135 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48138 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48139 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48141 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48143 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48147 * sysdeps/x86_64/multiarch/bzero.S: New file.
48148 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48149 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48150 * sysdeps/x86_64/multiarch/memset.S: New file.
48151 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48153 Set bit_Prefer_SSE_for_memop for Intel processors.
48154 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48156 (index_Prefer_SSE_for_memop): Define.
48157 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48159 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48161 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48162 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48164 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48167 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48168 (__x86_64_raw_data_cache_size_half): Likewise.
48169 (__x86_64_raw_shared_cache_size): Likewise.
48170 (__x86_64_raw_shared_cache_size_half): Likewise.
48172 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48173 (__x86_64_raw_data_cache_size_half): Likewise.
48174 (__x86_64_raw_shared_cache_size): Likewise.
48175 (__x86_64_raw_shared_cache_size_half): Likewise.
48176 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48177 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48178 and __x86_64_raw_shared_cache_size_half. Round
48179 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48180 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48181 to multiple of 256 bytes.
48183 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48186 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48187 of inacessible symlinks. Verify result of symlink before returning it.
48188 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48189 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48191 2010-10-28 Erich Ritz <erichritz@gmail.com>
48193 * math/math.h (isinf): Fix typo in comment.
48195 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48197 * po/da.po: Update from translation team.
48199 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48201 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48202 is added to the list.
48204 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48205 Ulrich Drepper <drepper@gmail.com>
48207 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48208 the global list here. Move code to...
48209 (_dl_add_to_namespace_list): ...here. New function.
48210 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48211 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48212 * elf/dl-load.c (lose): Don't remove the element from the list.
48213 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48214 (_dl_map_object): Likewise.
48216 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48219 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48220 into all bytes of SSE register.
48221 Patch by Richard Li <richardpku@gmail.com>.
48223 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48226 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48229 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48231 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48232 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48233 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48234 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48239 2010-10-22 Andreas Schwab <schwab@redhat.com>
48241 * include/dlfcn.h (__RTLD_SECURE): Define.
48242 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48243 mode & __RTLD_SECURE instead.
48244 (open_path): Rename preloaded parameter to secure.
48245 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48246 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48247 * elf/dl-deps.c (openaux): Likewise.
48248 * elf/rtld.c (struct map_args): Remove is_preloaded.
48249 (map_doit): Don't use it.
48250 (dl_main): Likewise.
48251 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48252 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48254 2010-09-09 Andreas Schwab <schwab@redhat.com>
48256 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48257 (sysd-rules-targets): Remove duplicates.
48258 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48259 rtld-%.$o dependency.
48261 2010-10-18 Andreas Schwab <schwab@redhat.com>
48263 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48264 _dl_map_object do it.
48266 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48268 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48269 fast fma builtins, define the macros in the C99 standard.
48270 (FP_FAST_FMAF): Likewise.
48271 (FP_FAST_FMAL): Likewise.
48272 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48274 * bits/mathdef.h: Update copyright year.
48275 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48277 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48279 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48280 builtins, define the macros in the C99 standard.
48281 (FP_FAST_FMAF): Likewise.
48282 (FP_FAST_FMAL): Likewise.
48283 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48285 (FP_FAST_FMAF): Likewise.
48287 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48290 * math/libm-test.inc (fma_test): Some new testcases.
48291 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48292 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48293 y and infinite z. Do multiplication by C already in long double.
48294 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48296 y and infinite z. Do bitwise or of inexact bit into u.d.
48297 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48298 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48299 * sysdeps/i386/fpu/s_fma.S: Removed.
48300 * sysdeps/i386/fpu/s_fmal.S: Removed.
48302 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48305 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48306 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48307 computation is not scheduled after fetestexcept. Fix value
48308 of minimum denormal long double.
48310 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48313 * math/libm-test.inc (fma_test): Add some more tests.
48314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48317 2010-10-15 Andreas Schwab <schwab@redhat.com>
48319 * scripts/data/localplt-s390-linux-gnu.data: New file.
48320 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48322 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48325 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48326 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48328 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48330 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48332 if one of x and y is very large and the other is subnormal.
48333 * sysdeps/s390/fpu/s_fmaf.c: New file.
48334 * sysdeps/s390/fpu/s_fma.c: New file.
48335 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48336 * sysdeps/powerpc/fpu/s_fma.S: New file.
48337 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48338 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48339 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48341 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48344 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48346 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48347 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48348 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48349 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48350 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48351 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48352 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48354 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48357 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48358 * posix/bug-regex31.input: Add test case.
48360 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48362 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48363 * posix/bug-regex31.input: New file.
48366 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48367 (parse_sub_exp): Fix last change, use postorder.
48369 * posix/bug-regex31.c: New file.
48370 * posix/Makefile: Add rules to build and run bug-regex31.
48372 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48375 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48378 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48379 to have entries in sys_siglist.
48382 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48385 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48388 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48389 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48390 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48391 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48392 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48393 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48394 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48395 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48396 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48397 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48398 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48399 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48400 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48401 * math/ftestexcept.c (fetestexcept): Likewise.
48402 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48403 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48404 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48405 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48406 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48407 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48408 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48410 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48413 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48416 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48418 * string/bug-strstr1.c: New file.
48419 * string/Makefile: Add rules to build and run bug-strstr1.
48421 2010-10-05 Eric Blake <eblake@redhat.com>
48424 * string/str-two-way.h (two_way_long_needle): Always clear memory
48425 when skipping input due to the shift table.
48427 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48430 * malloc/mcheck.c: Handle large requests.
48433 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48434 for strncmp and strncasecmp.
48435 * string/stratcliff.c: Add tests for strcmp and strncmp.
48436 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48438 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48440 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48443 2010-09-30 Andreas Jaeger <aj@suse.de>
48445 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48446 (CGROUP_SUPER_MAGIC): Define.
48447 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48448 Handle btrfs and cgroup file systems.
48449 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48452 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48454 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48455 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48457 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48460 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48461 trying to locate the ELF header.
48463 2010-09-27 Andreas Schwab <schwab@redhat.com>
48466 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48467 Mask out sign-bit copies when constructing f_fsid.
48469 2010-09-24 Petr Baudis <pasky@suse.cz>
48471 * debug/stack_chk_fail_local.c: Add missing licence exception.
48472 * debug/warning-nop.c: Likewise.
48474 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48476 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48477 implementing getdents64 using getdents syscall, set d_type if
48478 __ASSUME_GETDENTS32_D_TYPE.
48480 2010-09-16 Andreas Schwab <schwab@redhat.com>
48482 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48483 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48485 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48488 * posix/unistd.h: Undo change of feature selection for ftruncate from
48491 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48493 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48496 2010-09-20 Andreas Schwab <schwab@redhat.com>
48498 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48500 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48502 2010-09-14 Andreas Schwab <schwab@redhat.com>
48504 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48505 variables after CHECK_SP call.
48506 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48508 2010-09-13 Andreas Schwab <schwab@redhat.com>
48509 Ulrich Drepper <drepper@redhat.com>
48511 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48512 re-relocationg ld.so.
48513 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48514 _dl_init_paths call.
48515 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48518 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48520 * resolv/res_init.c (__res_vinit): Count the default server we added.
48522 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48523 Ulrich Drepper <drepper@redhat.com>
48526 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48527 (____longjmp_chk): Use %ebx for saving value across system call.
48530 2010-09-06 Andreas Schwab <schwab@redhat.com>
48532 * manual/Makefile: Don't mix pattern rules with normal rules.
48534 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48536 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48538 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48539 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48540 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48541 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48542 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48545 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48548 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48549 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48551 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48553 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48554 * sysdeps/x86_64/addmul_1.S: Likewise.
48555 * sysdeps/x86_64/lshift.S: Likewise.
48556 * sysdeps/x86_64/mul_1.S: Likewise.
48557 * sysdeps/x86_64/rshift.S: Likewise.
48558 * sysdeps/x86_64/sub_n.S: Likewise.
48559 * sysdeps/x86_64/submul_1.S: Likewise.
48561 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48563 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48564 Define __sched_param instead of SCHED_* and sched_param when
48565 <bits/sched.h> is included with __need_schedparam defined.
48566 * bits/sched.h [__need_schedparam]
48567 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48568 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48569 (__defined_schedparam): Define to 1.
48570 (__sched_param): New structure, identical to sched_param.
48571 (__need_schedparam): Undefine.
48573 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48575 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48576 (epoll_create1): Declare.
48578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48580 2010-08-31 Andreas Schwab <schwab@redhat.com>
48583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48584 shifting retval into place.
48586 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48588 * nis/rpcsvc/nis.h: Update copyright notice.
48589 * nis/rpcsvc/nis.x: Likewise.
48590 * nis/rpcsvc/nis_callback.h: Likewise.
48591 * nis/rpcsvc/nis_callback.x: Likewise.
48592 * nis/rpcsvc/nis_object.x: Likewise.
48593 * nis/rpcsvc/nis_tags.h: Likewise.
48594 * nis/rpcsvc/yp.h: Likewise.
48595 * nis/rpcsvc/yp.x: Likewise.
48596 * nis/rpcsvc/ypupd.h: Likewise.
48597 * nis/yp_xdr.c: Likewise.
48598 * nis/ypupdate_xdr.c: Likewise.
48600 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48601 mainly the body of pmap_getport. Add parameters to specify timeouts.
48602 (pmap_getport): Use __libc_rpc_getport.
48603 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48604 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48605 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48607 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48612 2010-08-27 Roland McGrath <roland@redhat.com>
48614 * sysdeps/i386/i686/multiarch/Makefile
48615 (CFLAGS-varshift.c): New variable.
48617 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48619 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48620 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48624 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48626 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48628 * sysdeps/x86_64/strlen.S: Unroll the loop.
48629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48630 strlen-sse2 strlen-sse2-bsf.
48631 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48632 __strlen_no_bsf if bit_Slow_BSF is set.
48633 (__strlen_sse42): Removed.
48634 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48635 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48637 2010-08-25 Roland McGrath <roland@redhat.com>
48639 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48640 * sysdeps/x86_64/multiarch/varshift.c: New file.
48641 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48642 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48643 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48644 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48646 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48649 strlen-sse2 strlen-sse2-bsf.
48650 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48651 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48652 (__strlen_sse2): Removed.
48653 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48656 bit_Slow_BSF for Atom.
48657 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48658 (index_Slow_BSF): Define.
48659 (HAS_SLOW_BSF): Define.
48661 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48664 * resolv/res_init.c (__res_vinit): When no server address at all
48665 is given default to loopback.
48667 2010-08-24 Roland McGrath <roland@redhat.com>
48669 * configure.in: Remove config-name.h generation.
48670 * configure: Regenerated.
48671 * config-name.in: File removed.
48672 * scripts/config-uname.sh: New file.
48673 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48674 ($(objdir)config-name.h): New target.
48676 * sunrpc/rpc_parse.h: Avoid nested comment.
48678 2010-08-24 Richard Henderson <rth@redhat.com>
48679 Ulrich Drepper <drepper@redhat.com>
48680 H.J. Lu <hongjiu.lu@intel.com>
48682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48684 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48685 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48686 _mm_alignr_epi8 with _mm_loadu_si128.
48687 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48688 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48689 (__m128i_shift_right): Removed.
48690 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48691 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48692 * sysdeps/x86_64/multiarch/varshift.h: New file.
48693 * sysdeps/x86_64/multiarch/varshift.S: New file.
48695 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48697 * configure.in: Move assembler checks to before sysdep dir checking.
48699 2010-08-20 Petr Baudis <pasky@suse.cz>
48701 * LICENSES: Sync the sunrpc license.
48703 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48705 * sunrpc/auth_des.c: Update copyright notice once again.
48706 * sunrpc/auth_none.c: Likewise.
48707 * sunrpc/auth_unix.c: Likewise.
48708 * sunrpc/authdes_prot.c: Likewise.
48709 * sunrpc/authuxprot.c: Likewise.
48710 * sunrpc/bindrsvprt.c: Likewise.
48711 * sunrpc/clnt_gen.c: Likewise.
48712 * sunrpc/clnt_perr.c: Likewise.
48713 * sunrpc/clnt_raw.c: Likewise.
48714 * sunrpc/clnt_simp.c: Likewise.
48715 * sunrpc/clnt_tcp.c: Likewise.
48716 * sunrpc/clnt_udp.c: Likewise.
48717 * sunrpc/clnt_unix.c: Likewise.
48718 * sunrpc/des_crypt.c: Likewise.
48719 * sunrpc/des_soft.c: Likewise.
48720 * sunrpc/get_myaddr.c: Likewise.
48721 * sunrpc/getrpcport.c: Likewise.
48722 * sunrpc/key_call.c: Likewise.
48723 * sunrpc/key_prot.c: Likewise.
48724 * sunrpc/openchild.c: Likewise.
48725 * sunrpc/pm_getmaps.c: Likewise.
48726 * sunrpc/pm_getport.c: Likewise.
48727 * sunrpc/pmap_clnt.c: Likewise.
48728 * sunrpc/pmap_prot.c: Likewise.
48729 * sunrpc/pmap_prot2.c: Likewise.
48730 * sunrpc/pmap_rmt.c: Likewise.
48731 * sunrpc/rpc/auth.h: Likewise.
48732 * sunrpc/rpc/auth_unix.h: Likewise.
48733 * sunrpc/rpc/clnt.h: Likewise.
48734 * sunrpc/rpc/des_crypt.h: Likewise.
48735 * sunrpc/rpc/key_prot.h: Likewise.
48736 * sunrpc/rpc/netdb.h: Likewise.
48737 * sunrpc/rpc/pmap_clnt.h: Likewise.
48738 * sunrpc/rpc/pmap_prot.h: Likewise.
48739 * sunrpc/rpc/pmap_rmt.h: Likewise.
48740 * sunrpc/rpc/rpc.h: Likewise.
48741 * sunrpc/rpc/rpc_des.h: Likewise.
48742 * sunrpc/rpc/rpc_msg.h: Likewise.
48743 * sunrpc/rpc/svc.h: Likewise.
48744 * sunrpc/rpc/svc_auth.h: Likewise.
48745 * sunrpc/rpc/types.h: Likewise.
48746 * sunrpc/rpc/xdr.h: Likewise.
48747 * sunrpc/rpc_clntout.c: Likewise.
48748 * sunrpc/rpc_cmsg.c: Likewise.
48749 * sunrpc/rpc_common.c: Likewise.
48750 * sunrpc/rpc_cout.c: Likewise.
48751 * sunrpc/rpc_dtable.c: Likewise.
48752 * sunrpc/rpc_hout.c: Likewise.
48753 * sunrpc/rpc_main.c: Likewise.
48754 * sunrpc/rpc_parse.c: Likewise.
48755 * sunrpc/rpc_parse.h: Likewise.
48756 * sunrpc/rpc_prot.c: Likewise.
48757 * sunrpc/rpc_sample.c: Likewise.
48758 * sunrpc/rpc_scan.c: Likewise.
48759 * sunrpc/rpc_scan.h: Likewise.
48760 * sunrpc/rpc_svcout.c: Likewise.
48761 * sunrpc/rpc_tblout.c: Likewise.
48762 * sunrpc/rpc_util.c: Likewise.
48763 * sunrpc/rpc_util.h: Likewise.
48764 * sunrpc/rpcinfo.c: Likewise.
48765 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48766 * sunrpc/rpcsvc/key_prot.x: Likewise.
48767 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48768 * sunrpc/rpcsvc/mount.x: Likewise.
48769 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48770 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48771 * sunrpc/rpcsvc/rex.x: Likewise.
48772 * sunrpc/rpcsvc/rstat.x: Likewise.
48773 * sunrpc/rpcsvc/rusers.x: Likewise.
48774 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48775 * sunrpc/rpcsvc/spray.x: Likewise.
48776 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48777 * sunrpc/rtime.c: Likewise.
48778 * sunrpc/svc.c: Likewise.
48779 * sunrpc/svc_auth.c: Likewise.
48780 * sunrpc/svc_authux.c: Likewise.
48781 * sunrpc/svc_raw.c: Likewise.
48782 * sunrpc/svc_run.c: Likewise.
48783 * sunrpc/svc_simple.c: Likewise.
48784 * sunrpc/svc_tcp.c: Likewise.
48785 * sunrpc/svc_udp.c: Likewise.
48786 * sunrpc/svc_unix.c: Likewise.
48787 * sunrpc/svcauth_des.c: Likewise.
48788 * sunrpc/xcrypt.c: Likewise.
48789 * sunrpc/xdr.c: Likewise.
48790 * sunrpc/xdr_array.c: Likewise.
48791 * sunrpc/xdr_float.c: Likewise.
48792 * sunrpc/xdr_mem.c: Likewise.
48793 * sunrpc/xdr_rec.c: Likewise.
48794 * sunrpc/xdr_ref.c: Likewise.
48795 * sunrpc/xdr_sizeof.c: Likewise.
48796 * sunrpc/xdr_stdio.c: Likewise.
48798 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48801 2010-08-19 Andreas Schwab <schwab@redhat.com>
48803 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48805 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48807 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48808 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48809 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48810 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48811 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48812 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48813 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48814 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48815 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48816 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48817 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48818 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48819 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48820 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48822 2010-07-26 Anton Blanchard <anton@samba.org>
48824 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48825 * malloc/arena.c (heap_trim): Likewise.
48827 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48829 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48832 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48834 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48836 * sysdeps/i386/elf/Makefile: New file.
48838 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48840 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48841 from fanotify_init.
48842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48843 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48845 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48847 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48849 * sysdeps/multiarch/strcmp.S: Likewise.
48851 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48853 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48854 strncase_l-nonascii.
48855 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48856 Add strncase_l-ssse3.
48857 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48858 * sysdeps/x86_64/strcmp.S: Likewise.
48859 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48860 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48861 * sysdeps/x86_64/strncase.S: New file.
48862 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48863 * sysdeps/x86_64/strncase_l.S: New file.
48864 * string/Makefile (strop-tests): Add strncasecmp.
48865 * string/test-strncasecmp.c: New file.
48867 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48870 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48871 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48873 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48875 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48877 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48879 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48880 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48881 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48883 2010-05-01 Alan Modra <amodra@gmail.com>
48885 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48886 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48887 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48888 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48889 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48890 tidying. Don't tail-call __sigjmp_save for static lib.
48891 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48893 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48894 (CALL_MCOUNT): Add eh info, and nop after bl.
48895 (TAIL_CALL_SYSCALL_ERROR): New macro.
48896 (PSEUDO_RET): Use it.
48897 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48898 Correct save location of integer regs and cr.
48899 (_dl_profile_resolve): Correct cr save location. Delete nops
48900 after bl when SHARED. Reduce cfi size a little by better
48901 placement of cfi directives.
48902 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48903 make a stack frame. Instead use parm save area as a temp.
48904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48905 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48907 Don't make a stack frame for parent, use parm save area.
48908 Increase child stack frame to 112 bytes. Don't save unused reg,
48909 and adjust reg usage. Set up cfi on error recovery and
48910 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48912 (__makecontext): Add dummy nop after jump to exit.
48913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48914 Use correct parm save area and cr save, reduce stack frame.
48915 Correct cfi for possible PSEUDO_RET frame setup.
48916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48917 Branch to local label emitted by PSEUDO_RET rather than
48920 2010-08-12 Andreas Schwab <schwab@redhat.com>
48923 * locale/programs/locale.c (print_assignment): New function.
48924 (show_locale_vars): Use it.
48926 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48928 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48930 (struct statfs64): Likewise.
48931 (_STATFS_F_FLAGS): Define.
48932 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48933 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48934 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48935 (ST_VALID): Define locally.
48936 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48937 __statvfs_getflags, use the provided value.
48938 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48939 __ASSUME_STATFS_F_FLAGS.
48941 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48943 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48944 Add sys/fanotify.h.
48945 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48946 fanotify_mask for GLIBC_2.13.
48947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48948 fanotify_init and fanotify_mark.
48949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48950 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48952 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48954 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48955 prlimit64 for GLIBC_2.13.
48956 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48958 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48961 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48962 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48963 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48964 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48966 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48969 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48970 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48972 * nss/Makefile: Add rules to build and run tst-nss-test1.
48973 * shlib-versions: Add entry for libnss_test1.
48974 * nss/nss_test1.c: New file.
48975 * nss/tst-nss-test1.c: New file.
48977 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48978 (__nss_configure_lookup): Set appropriate entry in
48979 __nss_configure_lookup to true.
48980 * nss/nsswitch.h: Define enum with indeces of databases in
48981 databases and __nss_database_custom arrays. Declare
48982 __nss_database_custom.
48983 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48984 to avoid using nscd when custom rules are installed.
48985 * nss/getXXbyYY_r.c: Likewise.
48986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48988 * nss/nss_files/files-parse.c: Whitespace fixes.
48990 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48993 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48994 * posix/fnmatch_loop.c: Likewise.
48996 2010-07-17 Andi Kleen <ak@linux.intel.com>
48998 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48999 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49000 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49001 * Versions.def [GLIBC_2.13]: Add.
49003 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49005 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49006 Also fail if tpwd after pwuid call is NULL.
49008 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49010 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49011 when converting to ms.
49013 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49015 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49016 EOPNOTSUPP errors with ENOTTY.
49017 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49018 EOPNOTSUPP errors with ENOTTY.
49020 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49022 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49023 Add strcasecmp_l-ssse3.
49024 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49026 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49027 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49028 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49030 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49032 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49034 * string/Makefile (strop-tests): Add strcasecmp.
49035 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49036 strcasecmp_l-nonascii.
49037 (gen-as-const-headers): Add locale-defines.sym.
49038 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49039 * sysdeps/x86_64/strcasecmp.S: New file.
49040 * sysdeps/x86_64/strcasecmp_l.S: New file.
49041 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49042 * sysdeps/x86_64/locale-defines.sym: New file.
49043 * string/test-strcasecmp.c: New file.
49045 * string/test-strcasestr.c: Test both ends of the range of characters.
49046 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49048 2010-07-29 Roland McGrath <roland@redhat.com>
49051 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49053 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49055 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49058 2010-07-27 Andreas Schwab <schwab@redhat.com>
49060 * manual/memory.texi (Malloc Tunable Parameters): Document
49063 2010-07-26 Roland McGrath <roland@redhat.com>
49066 * configure.in (-fgnu89-inline check): Set and substitute
49067 gnu89_inline, not libc_cv_gnu89_inline.
49068 * configure: Regenerated.
49069 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49071 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49073 * string/test-strnlen.c: New file.
49074 * string/Makefile (strop-tests): Add strnlen.
49075 * string/tester.c (test_strnlen): Add a few more test cases.
49076 * string/tst-strlen.c: Better error reporting.
49078 * sysdeps/x86_64/strnlen.S: New file.
49080 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49082 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49083 lower-latency instructions.
49085 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49087 * string/test-strcasestr.c: New file.
49088 * string/test-strstr.c: New file.
49089 * string/Makefile (strop-tests): Add strstr and strcasestr.
49090 * string/str-two-way.h: Don't undefine MAX.
49091 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49093 2010-07-21 Andreas Schwab <schwab@redhat.com>
49095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49096 strcasestr-nonascii.
49097 (CFLAGS-strcasestr-nonascii.c): Define.
49098 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49099 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49100 Remove unused attribute.
49102 2010-07-20 Roland McGrath <roland@redhat.com>
49104 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49105 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49106 ld.so.cache was broken. With it, there is no way to disable dsocaps
49107 like LD_HWCAP_MASK can disable hwcaps.
49109 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49111 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49113 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49115 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49116 call in strcasestr.
49117 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49118 __strcasestr_sse42_nonascii.
49119 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49120 strcasestr-nonascii.c.
49121 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49123 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49125 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49126 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49127 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49128 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49130 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49132 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49135 2010-07-06 Andreas Schwab <schwab@redhat.com>
49138 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49141 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49143 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49144 _PC_PIPE_BUF using F_GETPIPE_SZ.
49146 2010-07-05 Roland McGrath <roland@redhat.com>
49148 * manual/arith.texi (Rounding Functions): Fix rint description
49149 implicit in round description.
49151 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49153 * elf/Makefile: Fix linking for a few tests to make recent linker
49156 2010-06-30 Andreas Schwab <schwab@redhat.com>
49158 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49159 $(common-objpfx)libc_nonshared.a.
49161 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49163 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49164 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49165 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49166 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49167 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49168 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49169 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49170 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49185 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49186 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49187 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49188 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49189 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49190 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49191 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49192 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49193 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49194 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49195 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49196 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49212 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49214 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49215 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49216 * string/memmove.c (memmove): Renamed to ...
49217 (MEMMOVE): ...this. Default to memmove.
49218 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49219 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49222 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49223 mempcpy-ssse3-back memmove-ssse3-back.
49224 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49225 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49226 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49227 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49228 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49229 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49230 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49231 * sysdeps/x86_64/multiarch/memmove.c: New file.
49232 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49233 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49234 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49235 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49236 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49237 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49239 (index_Fast_Copy_Backward): Define.
49240 (HAS_ARCH_FEATURE): Define.
49241 (HAS_FAST_REP_STRING): Define.
49242 (HAS_FAST_COPY_BACKWARD): Define.
49244 2010-06-21 Andreas Schwab <schwab@redhat.com>
49246 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49247 Restore proper fallback handling.
49249 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49252 * posix/group_member.c (__group_member): Correct checking loop.
49254 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49255 OOM in getpwuid_r correctly. Return error number when the caller
49256 should return, otherwise -1.
49257 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49258 call returning > 0 value.
49259 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49261 2010-06-07 Andreas Schwab <schwab@redhat.com>
49263 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49264 libc_nonshared.a from targets in modules-names.
49266 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49268 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49271 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49273 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49274 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49278 2010-06-02 Andreas Schwab <schwab@redhat.com>
49280 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49282 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49284 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49286 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49293 2010-06-14 Roland McGrath <roland@redhat.com>
49295 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49297 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49299 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49300 __REDIRECT followed by __THROW.
49301 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49302 * posix/getopt.h (getopt): Likewise.
49304 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49306 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49307 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49308 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49310 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49311 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49313 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49315 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49317 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49321 Properly check family and model.
49323 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49325 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49327 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49329 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49331 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49333 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49336 2010-05-19 Andreas Schwab <schwab@redhat.com>
49338 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49341 2010-05-21 Andreas Schwab <schwab@redhat.com>
49343 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49344 and internal_recvmmsg.
49345 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49346 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49347 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49348 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49350 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49351 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49352 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49354 2010-05-20 Andreas Schwab <schwab@redhat.com>
49356 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49358 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49360 POWER7 optimizations.
49361 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49362 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49364 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49366 * version.h: Update for 2.13 development version.
49368 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49370 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49371 exceptions. Return 0.
49373 2010-05-07 Roland McGrath <roland@redhat.com>
49375 * elf/ldconfig.c (main): Add a const.
49377 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49379 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49380 (args_options): Add no-idn option.
49381 (ahosts_keys_int): Add idn_flags to ai_flags.
49382 (parse_option): Handle 'i' option to clear idn_flags.
49384 * malloc/malloc.c (_int_free): Possible race in the most recently
49385 added check. Only act on the data if no current modification
49388 See ChangeLog.17 for earlier changes.