1 2014-07-16 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4 just Linux configurations. Test empirically that the compiler sets
5 __ARM_EABI__, rather than using the tuple to decide.
6 * sysdeps/arm/preconfigure: Regenerated.
7 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10 * sysdeps/arm/configure.ac: ... here.
11 * sysdeps/arm/configure: Regenerated.
13 2014-07-15 Roland McGrath <roland@hack.frob.com>
15 * nptl/pthread_kill.c: New file.
16 * nptl/pthread_sigmask.c: New file.
17 * nptl/pthread_sigqueue.c: New file.
19 * sysdeps/nptl/lowlevellock.h: New file.
20 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21 * sysdeps/nptl/lowlevellock-futex.h: New file.
23 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24 Remove dead declarations.
26 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
28 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31 * sysdeps/x86_64/configure.ac: Likewise.
32 * sysdeps/i386/configure: Regenerated.
33 * sysdeps/x86_64/configure: Likewise.
34 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35 memset-avx2 only if config-cflags-avx2 is yes.
36 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
40 only if HAVE_AVX2_SUPPORT is defined.
41 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43 2014-07-14 Alan Modra <amodra@gmail.com>
46 * elf/elf.h (DT_PPC64_NUM): Correct value.
47 * NEWS: Add to fixed bug list.
49 2014-07-13 Jim Meyering <meyering@fb.com>
52 regex: don't deref NULL upon heap allocation failure
53 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
54 failure in one more place.
55 To trigger the segfault, configure grep -with-included-regex,
56 build it, and run these commands:
57 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
59 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
61 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
63 2014-07-11 Richard Henderson <rth@redhat.com>
65 * sysdeps/aarch64/libm-test-ulps: Update.
67 2014-07-10 Florian Weimer <fweimer@redhat.com>
70 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
71 * nptl/allocatestack.c (__nptl_setxid_error): New function.
72 (__nptl_setxid): Initialize error member. Call
74 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
75 * nptl/descr.h (struct xid_command): Add error member.
76 * nptl/tst-setuid3.c: New file.
77 * nptl/Makefile (tests): Add it.
79 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
83 (__lll_trylock): Use __lll_base_trylock.
84 (__lll_cond_trylock): Likewise.
86 2014-07-10 Roland McGrath <roland@hack.frob.com>
88 * nptl/pthread_create.c (start_thread): Use atomic_or and
89 lll_futex_wake directly rather than lll_robust_dead.
90 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
91 (lll_robust_dead): Macro removed.
92 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
93 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
94 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
95 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
96 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
97 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
98 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
99 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
100 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
102 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
103 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
104 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
105 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
106 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
108 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
109 Use atomic_compare_and_exchange_val_acq directly rather than
111 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
112 (__lll_robust_trylock, lll_robust_trylock): Removed.
113 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
114 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
115 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
116 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
117 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
118 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
119 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
120 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
121 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
122 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
123 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
124 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
125 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
126 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
128 2014-07-02 Florian Weimer <fweimer@redhat.com>
130 * manual/locale.texi (Locale Names): New section documenting
131 locale name syntax. Adjust menu and node chaining accordingly.
132 (Choosing Locale): Reference Locale Names, Locale Categories.
133 Mention setting LC_ALL=C. Reflect that name syntax is now
135 (Locale Categories): New section title. Reference Locale Names.
136 LC_ALL is an environment variable, but not a category.
137 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
138 description, now in Locale Name. Reference that section. Locale
139 name syntax is now documented.
141 2014-07-02 Florian Weimer <fweimer@redhat.com>
144 * locale/findlocale.c (name_present, valid_locale_name): New
146 (_nl_find_locale): Use the loc_name variable to store name
147 candidates. Call name_present and valid_locale_name to check and
148 validate locale names. Return an error if the locale is invalid.
150 2014-07-02 Florian Weimer <fweimer@redhat.com>
152 * locale/setlocale.c (setlocale): Use strdup for allocating
155 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
158 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
159 [!_LIBC && ENABLE_NLS]: Include gettext.h.
160 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
162 [USE_UNLOCKED_IO]: Include unlocked-io.h.
163 [!_LIBC]: Include code for Windows and Cygwin.
164 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
165 Include prototype for int strerror_r.
166 [!_LIBC] (is_open): New function.
167 (flush_stdout): New function.
168 (print_errno_message): Use it.
170 (error_at_line): Likewise.
171 (error_tail) Add function attribute macros. Use
174 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
176 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
178 * io/ftw.c: Include sys/param.h unconditionally.
180 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
183 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
185 (freecache): New function to free CACHE on exit.
187 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
190 2014-07-09 David S. Miller <davem@davemloft.net>
192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
194 * sysdeps/sparc/nptl/internaltypes.h: Delete.
195 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
196 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
197 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
198 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
199 * sysdeps/sparc/nptl/sem_init.c: Likewise.
200 * sysdeps/sparc/nptl/sem_post.c: Likewise.
201 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
202 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
203 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
204 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
205 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
206 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
208 2014-07-09 Andreas Schwab <schwab@suse.de>
210 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
212 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
215 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
217 2014-07-09 Will Newton <will.newton@linaro.org>
219 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
220 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
221 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
222 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
223 * sysdeps/hppa/start.S (_start): Likewise.
225 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
227 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
229 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
232 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
234 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
235 after checking that it is non-NULL.
237 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
239 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
241 * sysdeps/powerpc/memmove.c: Remove file.
242 * sysdeps/powerpc/powerpc32/power4/memcopy.h
243 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
244 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
245 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
246 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
247 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
248 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
249 string memmove instead of removed powerpc one.
251 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
252 [weak_alias]: Fix compiler warning due trailing data.
253 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
254 [weak_alias]: Likewise.
255 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
256 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
258 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
259 (__libc_ifunc_impl_list): Add memmove functions.
261 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
263 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
265 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
267 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
269 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
271 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
273 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
275 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
277 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
279 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
281 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
283 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
285 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
287 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
289 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
291 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
293 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
295 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
298 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
300 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
301 to avoid alignment traps in non-cacheable memory.
302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
306 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
307 file: multiarch power7 memmove.
308 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
309 multiarch default memmove.
310 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
311 multiarch memove for powerpc32/power4.
313 * string/bcopy.c: Use full path to include memmove.c.
314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
316 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
318 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
321 and memmove implementations.
322 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
323 optimized multiarch memmove for POWER7/powerpc64.
324 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
325 default multiarch memmove for powerpc64.
326 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
327 multiarch for powerpc64.
328 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
329 for POWER7/powerpc64.
330 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
331 memmove for POWER7/powerpc64.
333 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
336 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
337 __ELF_NATIVE_CLASS equal to 64.
339 2014-07-07 Roland McGrath <roland@hack.frob.com>
341 * sysdeps/nptl/lowlevellock.h: File removed.
343 * NEWS: NPTL is no longer an add-on!
344 * nptl/internaltypes.h: Moved ...
345 * sysdeps/nptl/internaltypes.h: ... here.
346 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
347 * sysdeps/nptl/fork.c: Likewise.
348 * sysdeps/nptl/gai_misc.h: Likewise.
349 * sysdeps/nptl/librt-cancellation.c: Likewise.
350 * sysdeps/nptl/jmp-unwind.c: Likewise.
351 * sysdeps/nptl/setxid.h: Likewise.
352 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
353 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
354 * sysdeps/unix/sysv/linux/arm/Implies: New file.
355 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
356 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
357 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
358 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
359 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
360 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
361 * sysdeps/unix/sysv/linux/mips/Implies: New file.
362 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
363 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
364 * sysdeps/unix/sysv/linux/sh/Implies: New file.
365 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
366 * sysdeps/unix/sysv/linux/tile/Implies: New file.
367 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
368 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
369 * nptl/Makeconfig: Moved ...
370 * sysdeps/nptl/Makeconfig: ... here.
371 * nptl/configure: File removed.
372 * nptl/ANNOUNCE: File removed.
373 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
374 * sysdeps/unix/sysv/linux/configure: Regenerated.
376 * nptl/Makefile (routines): Add libc_pthread_init,
377 libc_multiple_threads, register-atfork and unregister-atfork.
378 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
379 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
380 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
381 pthread-pi-defines.sym, structsem.sym.
382 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
383 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
384 [$(subdir) = nptl] (tests): Add tst-setgetname.
385 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
386 * sysdeps/unix/sysv/linux/sigaction.c: Just include
387 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
388 [!LIBC_SIGACTION]: Remove aliases.
389 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
390 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
391 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
392 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
393 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
394 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
395 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
396 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
397 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
398 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
399 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
400 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
401 __libc_allocate_rtsig_private.
402 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
403 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
404 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
405 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
406 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
407 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
408 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
409 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
410 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
411 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
412 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
413 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
414 * nptl/internaltypes.h: ... here.
415 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
416 * sysdeps/nptl/jmp-unwind.c: ... here.
417 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
418 * nptl/libc-lowlevellock.c: ... here.
419 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
420 * nptl/libc_multiple_threads.c: ... here.
421 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
422 * nptl/libc_pthread_init.c: ... here.
423 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
424 * nptl/lowlevelbarrier.sym: ... here.
425 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
426 * nptl/lowlevelcond.sym: ... here.
427 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
428 * nptl/lowlevellock.c: ... here.
429 * nptl/lowlevellock.h: Moved ...
430 * sysdeps/nptl/lowlevellock.h: ... here.
431 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
432 * nptl/lowlevelrobustlock.c: ... here.
433 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
434 * nptl/lowlevelrobustlock.sym: ... here.
435 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
436 * nptl/lowlevelrwlock.sym: ... here.
437 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
438 * nptl/pt-fork.c: ... here.
439 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
440 * nptl/pthread-pi-defines.sym: ... here.
441 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
442 * nptl/pthread_attr_getaffinity.c: ... here.
443 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
444 * nptl/pthread_attr_setaffinity.c: ... here.
445 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
446 * nptl/pthread_mutex_cond_lock.c: ... here.
447 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
449 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
450 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
451 * nptl/pthread_once.c: ... here, replacing old file.
452 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
453 * nptl/pthread_yield.c: ... here.
454 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
455 * nptl/register-atfork.c: ... here.
456 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
457 * nptl/sem_post.c: ... here.
458 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
459 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
460 * nptl/sem_timedwait.c: ... here.
461 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
462 * nptl/sem_trywait.c: ... here.
463 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
464 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
465 * nptl/sem_wait.c: ... here.
466 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
467 * nptl/structsem.sym: ... here.
468 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
469 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
470 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
471 * nptl/unregister-atfork.c: ... here.
472 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
473 * nptl/unwindbuf.sym: ... here.
474 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
475 * sysdeps/nptl/fork.c: ... here.
476 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
477 * sysdeps/nptl/fork.h: ... here.
478 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
479 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
480 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
481 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
482 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
483 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
484 * sysdeps/unix/sysv/linux/getpid.c: ... here.
485 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
486 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
487 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
488 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
489 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
490 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
491 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
492 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
493 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
494 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
495 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
496 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
497 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
498 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
499 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
500 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
501 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
502 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
503 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
504 * sysdeps/unix/sysv/linux/raise.c: ... here.
505 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
506 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
507 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
508 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
509 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
510 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
511 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
512 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
513 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
514 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
515 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
516 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
517 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
518 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
519 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
521 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
523 * sysdeps/generic/memcopy.h: Add comment for
524 MEMCPY_OK_FOR_FWD_MEMMOVE.
526 2014-07-04 Will Newton <will.newton@linaro.org>
528 * string/memchr.c: Merge from gnulib.
529 [_LIBC]: Remove conditionals.
530 (__ptr_t): Remove define.
531 (LONG_MAX_32_BITS): Likewise.
532 (LONG_MAX): Likewise.
533 (MEMCHR): Use ANSI prototype and optimize algorithm.
535 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
537 2014-07-03 Roland McGrath <roland@hack.frob.com>
539 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
540 (lll_futex_timed_wait_bitset): Fix syscall argument count.
542 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
543 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
544 in a bare environment with no <stdlib.h> installed.
545 * sysdeps/nptl/configure: Regenerated.
547 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
549 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
550 AC_EGREP_CPP for kernel header checks, so they only succeed if
551 including <linux/version.h> actually works right.
552 * sysdeps/unix/sysv/linux/configure: Regenerated.
554 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
555 value so it's not diagnosed as unused.
557 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
558 thing) with "ifeq ($(subdir),rt)".
560 2014-07-03 Richard Henderson <rth@redhat.com>
562 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
563 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
564 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
566 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
567 (math_force_eval): New.
569 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
570 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
572 * sysdeps/alpha/fpu/s_round.c: Remove file.
573 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
575 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
576 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
577 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
578 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
579 (_dl_start, print_statistics): Likewise.
580 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
581 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
583 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
584 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
585 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
586 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
587 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
588 (HP_SMALL_TIMING_AVAIL): Define.
589 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
590 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
591 (HP_SMALL_TIMING_AVAIL): Define.
592 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
593 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
595 * sysdeps/aarch64/hp-timing.h: New file.
597 * sysdeps/generic/hp-timing.h: Remove dead comment.
598 * sysdeps/generic/hp-timing-common.h: New file.
599 * sysdeps/alpha/hp-timing.h: Include it.
600 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
601 * sysdeps/i386/i686/hp-timing.h: Likewise.
602 * sysdeps/ia64/hp-timing.h: Likewise.
603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
604 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
605 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
606 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
607 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
608 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
611 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
612 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
613 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
614 * elf/rtld.c (_dl_start_final): Likewise.
615 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
616 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
617 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
618 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
619 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
621 (HP_TIMING_DIFF_INIT): Remove.
622 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
623 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
624 (HP_TIMING_DIFF_INIT): Remove.
625 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
626 * sysdeps/i386/i686/hp-timing.c: Remove file.
627 * sysdeps/x86_64/hp-timing.c: Remove file.
628 * sysdeps/ia64/hp-timing.c: Remove file.
629 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
630 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
631 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
632 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
634 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
635 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
636 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
637 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
638 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
639 (HP_TIMING_ACCUM): Remove.
640 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
641 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
642 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
644 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
645 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
646 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
647 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
648 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
649 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
650 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
651 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
653 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
655 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
657 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
659 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
661 Sync up with gettext.
662 * intl/loadmsgcat.c: Define O_BINARY if not defined.
663 [_MSC_VER]: Include malloc.h
664 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
665 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
666 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
667 TEMP_FAILURE_RETRY. Cast return of alloca.
668 [!_LIBC] Call gl_rwlock_init.
669 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
671 2014-07-02 Roland McGrath <roland@hack.frob.com>
673 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
674 before checking its value.
676 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
678 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
680 * debug/memcpy_chk.c: Don't include pagecopy.h.
681 * debug/mempcpy_chk.c: Likewise.
682 * string/memcpy.c: Likewise.
683 * string/memmove.c: Likewise.
684 * sysdeps/powerpc/memmove.c: Likewise.
685 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
686 definition of PAGE_COPY_FWD_MAYBE here...
687 * sysdeps/generic/pagecopy.h: ... from here.
688 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
690 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
691 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
697 (__libc_ifunc_impl_list): Likewise.
698 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
699 multiarch strcat for PPC64.
700 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
701 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
703 2014-07-02 Roland McGrath <roland@hack.frob.com>
705 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
707 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
709 * intl/loadmsgcat.c: Remove declaration of
710 get_sysdep_segment_value.
711 (get_sysdep_segment_value): Use ISO C style.
712 (_nl_load_domain): Use ISO C style. Get rid of redundant
713 semicolon. Fix typo and formatting in comment.
714 (_nl_unload_domain): Use ISO C style.
716 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
718 2014-07-02 Will Newton <will.newton@linaro.org>
720 * malloc/obstack.c: Merge from gnulib master.
721 [HAVE_CONFIG_H]: Remove conditional code.
722 [!_LIBC]: Include config.h.
723 [!ELIDE_CODE]: Don't include inttypes.h, include
724 stdint.h unconditionally.
725 (print_and_abort): Mark as _Noreturn.
726 (_obstack_allocated_p): Mark as __attribute_pure__.
727 (obstack_free): Rename to __obstack_free.
728 [!__attribute__]: Remove conditional code.
729 * malloc/obstack.h: Merge from gnulib master.
730 [__cplusplus]: Move conditional down.
731 [!__attribute_pure__]: Define __attribute_pure__ here
732 if it is not already defined.
733 (_obstack_memory_used): Mark as __attribute_pure__.
734 [!__obstack_free]: Define as obstack_free.
735 [__GNUC__]: Remove check for ancient NeXT gcc.
737 2014-07-02 Will Newton <will.newton@linaro.org>
738 Paul Eggert <eggert@cs.ucla.edu>
740 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
742 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
744 * resolv/gethnamaddr.c: Add comment warning that the file is
747 2014-07-01 Carlos O'Donell <carlos@redhat.com>
749 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
752 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
753 entry for aio_cancel and aio_cancel64.
754 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
755 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
756 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
757 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
758 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
759 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
760 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
761 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
762 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
763 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
764 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
765 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
766 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
768 2014-07-01 Roland McGrath <roland@hack.frob.com>
770 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
771 * nptl/pthread_mutex_lock.c: Likewise.
772 * nptl/pthread_mutex_timedlock.c: Likewise.
773 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
775 2014-07-01 Richard henderson <rth@redhat.com>
777 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
778 (__isnan, __isnanl): Remove.
779 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
781 * sysdeps/alpha/fpu/libm-test-ulps: Update.
783 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
785 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
787 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
789 * resolv/nss_dns/dns-host.c (getanswer_r)
790 [MULTI_PTRS_ARE_ALIASES]: Remove code.
792 2014-07-01 Joseph Myers <joseph@codesourcery.com>
794 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
795 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
797 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
798 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
800 2014-07-01 Roland McGrath <roland@hack.frob.com>
802 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
803 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
805 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
806 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
808 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
809 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
811 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
812 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
814 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
815 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
816 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
817 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
819 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
820 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
821 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
822 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
823 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
825 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
827 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
828 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
829 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
830 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
831 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
832 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
833 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
834 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
835 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
836 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
837 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
838 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
839 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
840 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
841 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
842 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
843 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
844 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
845 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
846 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
848 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
849 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
850 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
851 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
852 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
853 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
854 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
855 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
857 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
859 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
860 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
861 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
864 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
868 2014-06-30 Joseph Myers <joseph@codesourcery.com>
870 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
871 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
873 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
875 * sysdeps/arm/libm-test-ulps: Regenerated.
877 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
878 Roland McGrath <roland@hack.frob.com>
880 * test-skeleton.c (signal_handler): Kill the whole process group
881 before killing the child individually.
882 (main): Report any failure on `setpgid'.
884 2014-06-30 Roland McGrath <roland@hack.frob.com>
886 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
887 from _TLS_H to _ARM_NPTL_TLS_H.
888 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
889 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
891 2014-06-30 Joseph Myers <joseph@codesourcery.com>
894 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
895 (__expm1l): Return argument unchanged when small but not
898 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
900 (_FP_UNPACK_RAW_1_P): Likewise.
901 (_FP_PACK_RAW_1): Likewise.
902 (_FP_PACK_RAW_1_P): Likewise.
903 (_FP_MUL_MEAT_1_wide): Likewise.
904 (_FP_MUL_MEAT_DW_1_hard): Likewise.
905 (_FP_MUL_MEAT_1_hard): Likewise.
906 (_FP_DIV_MEAT_1_imm): Likewise.
907 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
908 (_FP_DIV_MEAT_1_udiv): Likewise.
909 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
910 (_FP_UNPACK_RAW_2): Likewise.
911 (_FP_UNPACK_RAW_2_P): Likewise.
912 (_FP_PACK_RAW_2): Likewise.
913 (_FP_PACK_RAW_2_P): Likewise.
914 (_FP_MUL_MEAT_DW_2_wide): Likewise.
915 (_FP_MUL_MEAT_2_wide): Likewise.
916 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
917 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
918 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
919 (_FP_MUL_MEAT_2_gmp): Likewise.
920 (_FP_DIV_MEAT_2_udiv): Likewise.
921 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
922 (_FP_FRAC_SRL_4): Likewise.
923 (_FP_FRAC_SRST_4): Likewise.
924 (_FP_FRAC_SRS_4): Likewise.
925 (_FP_UNPACK_RAW_4): Likewise.
926 (_FP_UNPACK_RAW_4_P): Likewise.
927 (_FP_PACK_RAW_4): Likewise.
928 (_FP_PACK_RAW_4_P): Likewise.
929 (_FP_MUL_MEAT_DW_4_wide): Likewise.
930 (_FP_MUL_MEAT_4_wide): Likewise.
931 (_FP_MUL_MEAT_4_gmp): Likewise.
932 (umul_ppppmnnn): Likewise.
933 (_FP_DIV_MEAT_4_udiv): Likewise.
934 (__FP_FRAC_ADD_4): Likewise.
935 (__FP_FRAC_SUB_3): Likewise.
936 (__FP_FRAC_SUB_4): Likewise.
937 (__FP_FRAC_DEC_3): Likewise.
938 (__FP_FRAC_DEC_4): Likewise.
939 (__FP_FRAC_ADDI_4): Likewise.
940 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
941 (_FP_FRAC_SRL_8): Likewise.
942 (_FP_FRAC_SRS_8): Likewise.
944 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
946 (FP_UNPACK_RAW_EP): Likewise.
947 (FP_PACK_RAW_E): Likewise.
948 (FP_PACK_RAW_EP): Likewise.
949 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
950 (_FP_ISSIGNAN): Likewise.
951 (_FP_ADD_INTERNAL): Likewise.
954 (_FP_SQRT): Likewise.
955 (_FP_TO_INT): Likewise.
956 (_FP_FROM_INT): Likewise.
957 (FP_EXTEND): Likewise.
958 (_FP_DIV_MEAT_N_loop): Likewise.
960 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
962 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
965 2014-06-29 Joseph Myers <joseph@codesourcery.com>
968 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
969 result with correct sign in case of exponents that produce
970 overflow except for X very close to 1.
972 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
974 mktime: merge #if/#ifdef usage from glibc
975 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
976 as that works with both Glibc's and Gnulib's style.
977 See thread starting at Siddhesh Poyarekar's bug report at:
978 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
980 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
982 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
983 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
984 * sysdeps/tile/tilegx/memmove.c: Remove file.
986 2014-06-27 Joseph Myers <joseph@codesourcery.com>
988 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
990 * scripts/soversions.awk: Do not handle or generate ABI lines.
991 * shlib-versions: Remove ABI entries.
992 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
993 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
995 2014-06-27 Roland McGrath <roland@hack.frob.com>
997 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
998 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
999 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1000 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1001 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1002 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1003 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1005 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1007 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1008 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1009 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1010 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1011 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1012 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1013 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1014 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1015 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1016 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1017 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1018 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1019 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1021 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1022 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1023 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1024 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1025 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1026 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1028 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1029 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1031 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1033 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1036 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1037 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1038 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1040 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1041 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1042 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1043 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1045 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1046 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1047 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1048 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1050 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1051 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1053 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1054 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1055 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1056 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1058 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1060 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1061 Identical file removed.
1062 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1064 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1065 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1066 Identical file removed.
1067 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1068 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1069 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1071 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1072 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1073 Identical file removed.
1074 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1075 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1076 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1077 Identical file removed.
1078 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1079 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1080 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1081 Identical file removed.
1082 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1083 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1084 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1085 Identical file removed.
1086 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1088 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1089 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1090 Identical file removed.
1091 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1093 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1094 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1095 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1096 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1097 Identical file removed.
1098 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1100 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1102 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1103 Identical file removed.
1104 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1106 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1107 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1108 Identical file removed.
1109 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1111 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1112 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1113 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1114 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1115 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1116 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1118 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1119 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1120 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1122 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1123 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1124 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1125 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1126 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1128 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1131 * nscd/nscd.c (monitor_child): Return exit status of child
1132 instead of return value from wait syscall.
1134 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1136 * configure.ac (libc_commonpagesize): Remove variable.
1137 (libc_relro_required): Likewise.
1138 (libc_cv_z_relro): Remove configure test.
1139 * configure: Regenerated.
1140 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1142 (libc_relro_required): Likewise.
1143 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1144 (libc_relro_required): Likewise.
1145 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1146 (libc_relro_required): Likewise.
1147 * sysdeps/arm/preconfigure: Regenerated.
1148 * sysdeps/ia64/preconfigure: Remove file.
1149 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1151 (libc_relro_required): Likewise.
1155 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1156 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1157 recompute overflowing results in original rounding mode.
1158 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1159 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1160 recompute overflowing results in original rounding mode.
1161 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1162 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1163 recompute overflowing results in original rounding mode.
1164 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1165 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1166 recompute overflowing results in original rounding mode.
1167 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1168 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1169 recompute overflowing results in original rounding mode.
1170 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1171 (libc_feholdsetround_ctx): New macro.
1172 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1173 * sysdeps/i386/fpu/libm-test-ulps: Update.
1174 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1176 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1178 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1179 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1180 corresponding .cpsetup call.
1182 2014-06-26 Roland McGrath <roland@hack.frob.com>
1184 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1185 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1186 * sysdeps/arm/Makefile [$(subdir) = csu]
1187 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1188 (static-only-routines): Add aeabi_read_tp here.
1189 (shared-only-routines): Add libc-aeabi_read_tp here.
1190 (CFLAGS-libc-start.c): Add -fexceptions here.
1191 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1192 (sysdep_routines, static-only-routines, shared-only-routines):
1193 Don't add to these here.
1194 (CFLAGS-libc-start.c): Likewise.
1196 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1197 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1198 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1199 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1200 * sysdeps/arm/Makefile [$(subdir) = rt]
1201 (librt-sysdep_routines, librt-shared-only-routines):
1202 Append rt-aeabi_unwind_cpp_pr1 here.
1203 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1204 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1205 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1206 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1207 Append nptl-aeabi_unwind_cpp_pr1 here.
1208 (tests): Filter out tst-cleanupx4 here.
1209 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1210 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1211 Don't do those here.
1213 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1215 * scripts/list-sources.sh: Do not handle ports specially.
1217 2014-06-26 Roland McGrath <roland@hack.frob.com>
1219 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1220 * sysdeps/arm/feupdateenv.c: Likewise.
1222 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1224 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1226 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1227 trailing whitespace removed.
1228 * scripts/config.guess: Update to version 2014-03-23.
1229 * scripts/config.sub: Update to version 2014-05-01
1230 * scripts/install-sh: Update to version 2013-12-25.23.
1231 * scripts/move-if-change: Update from gnulib.
1233 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1235 * debug/memmove_chk.c: Remove pagecopy.h include.
1237 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1239 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1240 identical to gnulib mktime.
1242 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1244 * configure.ac: Do not test for machine being rs6000. Do not test
1246 * configure: Regenerated.
1248 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1250 * configure: Regenerated.
1251 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1252 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1253 Remove configure test.
1254 * sysdeps/arm/configure: Regenerated.
1255 * sysdeps/nptl/configure.ac: Do not check
1256 libc_cv_asm_cfi_directives.
1257 * sysdeps/nptl/configure: Regenerated.
1258 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1259 * sysdeps/x86_64/nptl/configure: Remove generated file.
1260 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1262 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1264 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1266 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1267 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1268 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1271 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1272 instead of whether it is defined.
1273 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1274 * sysdeps/hppa/dl-machine.h: Likewise.
1275 * sysdeps/ia64/dl-machine.h: Likewise.
1276 * sysdeps/m68k/dl-machine.h: Likewise.
1277 * sysdeps/microblaze/dl-machine.h: Likewise.
1278 * sysdeps/mips/dl-machine.: Likewise.
1279 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1280 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1281 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1282 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1283 * sysdeps/sh/dl-machine.h: Likewise.
1284 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1285 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1286 * sysdeps/tile/dl-machine.h: Likewise.
1287 * sysdeps/x86_64/dl-machine.h: Likewise.
1289 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1291 (verify_persistent_db): Likewise.
1293 2014-06-26 Roland McGrath <roland@hack.frob.com>
1295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1296 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1298 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1301 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1304 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1306 Identical file removed.
1307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1308 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1310 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1312 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1314 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1316 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1319 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1321 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1323 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1326 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1328 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1330 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1332 Identical file removed.
1333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1334 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1336 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1339 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1342 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1344 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1346 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1348 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1350 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1353 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1356 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1358 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1361 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1363 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1365 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1367 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1368 * sysdeps/unix/sysv/linux/s390/Versions
1369 (libpthread: GLIBC_2.19): New version set.
1370 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1371 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1372 (librt: GLIBC_2.3.3): New version set.
1373 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1374 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1375 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1376 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1377 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1378 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1379 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1380 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1381 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1382 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1383 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1384 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1385 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1386 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1387 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1388 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1389 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1390 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1391 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1392 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1393 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1394 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1395 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1396 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1397 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1398 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1399 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1400 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1401 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1402 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1403 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1404 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1405 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1406 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1407 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1408 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1409 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1410 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1411 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1412 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1413 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1415 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1416 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1417 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1419 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1420 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1421 (__libc_vfork): Define the function under this name.
1422 [!NOT_IN_libc] (__vfork): Make this an alias.
1423 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1424 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1425 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1426 (__libc_vfork): Define the function under this name.
1427 [!NOT_IN_libc] (__vfork): Make this an alias.
1428 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1429 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1430 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1431 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1432 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1433 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1435 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1436 code that was previously under [RESET_PID].
1437 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1438 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1441 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1442 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1443 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1444 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1445 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1446 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1447 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1448 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1449 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1450 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1453 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1457 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1459 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1463 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1465 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1466 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1467 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1469 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1471 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1472 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1473 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1474 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1475 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1477 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1478 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1479 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1480 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1481 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1483 2014-06-25 Roland McGrath <roland@hack.frob.com>
1485 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1486 that was previously under [RESET_PID].
1487 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1489 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1491 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1492 not undefine and redefine.
1493 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1494 [O_CLOEXEC]: Make code unconditional.
1495 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1496 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1497 <kernel-features.h>.
1498 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1499 conditional variable definition.
1500 (shm_open) [O_CLOEXEC]: Make code unconditional.
1501 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1504 * configure.ac (USE_REGPARMS): Don't define here.
1505 * configure: Regenerated.
1506 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1507 * sysdeps/i386/configure: Regenerated.
1509 * nptl/createthread.c: Don't include kernel-features.h.
1510 * nptl/pthread_cancel.c: Likewise.
1511 * nptl/pthread_condattr_setclock.c: Likewise.
1512 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1513 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1514 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1515 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1516 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1517 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1518 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1519 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1520 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1521 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1522 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1523 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1524 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1525 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1526 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1527 * nscd/gai.c: Likewise.
1528 * nss/nss_db/db-open.c: Likewise.
1529 * sysdeps/generic/ldsodefs.h: Likewise.
1530 * sysdeps/sh/nptl/tls.h: Likewise.
1531 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1532 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1533 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1534 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1535 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1536 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1537 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1538 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1539 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1540 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1541 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1542 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1543 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1544 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1545 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1546 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1547 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1548 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1549 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1550 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1551 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1552 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1553 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1554 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1555 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1556 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1557 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1558 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1559 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1560 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1561 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1562 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1563 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1564 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1565 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1566 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1567 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1568 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1569 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1570 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1571 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1572 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1573 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1574 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1575 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1576 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1577 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1578 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1579 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1580 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1581 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1582 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1583 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1584 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1585 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1586 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1587 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1588 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1611 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1612 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1613 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1614 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1615 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1616 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1617 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1618 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1619 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1620 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1621 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1622 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1623 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1624 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1625 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1626 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1627 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1628 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1629 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1630 * sysdeps/unix/sysv/linux/system.c: Likewise.
1631 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1632 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1633 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1634 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1635 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1636 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1637 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1639 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1640 * configure: Regenerated.
1641 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1643 * configure.ac (base_machine): Do not set specially for particular
1645 * configure: Regenerated.
1646 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1647 settings from configure.ac.
1648 * sysdeps/i386/preconfigure: New file.
1649 * sysdeps/s390/preconfigure: Likewise.
1650 * sysdeps/sh/preconfigure: Likewise.
1651 * sysdeps/sparc/preconfigure: Likewise.
1653 2014-06-25 Roland McGrath <roland@hack.frob.com>
1655 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1656 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1657 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1658 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1659 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1660 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1661 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1662 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1663 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1664 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1665 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1666 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1667 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1668 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1669 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1670 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1671 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1672 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1673 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1675 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1676 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1677 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1678 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1679 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1680 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1681 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1682 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1683 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1684 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1685 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1686 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1687 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1688 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1689 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1690 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1691 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1692 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1693 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1694 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1695 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1696 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1697 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1698 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1699 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1700 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1701 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1702 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1703 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1704 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1705 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1706 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1707 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1708 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1709 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1710 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1711 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1712 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1715 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1717 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1720 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1723 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1725 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1728 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1730 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1732 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1734 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1737 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1740 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1742 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1745 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1747 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1749 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1751 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1753 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1756 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1759 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1761 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1764 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1766 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1768 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1773 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1776 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1778 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1781 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1783 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1785 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1787 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1789 * timezone/checktab.awk: Update from tzcode 2014e.
1790 * timezone/private.h: Likewise.
1791 * timezone/tzfile.h: Likewise.
1792 * timezone/zdump.c: Likewise.
1793 * timezone/zic.c: Likewise.
1795 * sysdeps/unix/sysv/linux/kernel-features.h
1796 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1797 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1798 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1799 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1800 Remove conditional code.
1802 2014-06-25 Will Newton <will.newton@linaro.org>
1804 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1805 (_dl_arm_cap_flags): Add HWCAP2 values.
1806 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1807 (_DL_HWCAP_COUNT): Increase to 37.
1808 (_DL_HWCAP_LAST): New define.
1809 (_DL_HWCAP2_LAST): New define.
1810 (_dl_procinfo): Add support for printing
1812 (_dl_string_hwcap): Use _dl_hwcap_string.
1814 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1818 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1820 * README: Do not mention ports directory.
1822 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1824 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1825 <kernel-features.h>.
1826 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1827 conditional variable definition.
1828 (__futimes): Update comment.
1829 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1830 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1833 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1834 arguments close to 0.
1835 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1837 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1839 * math/auto-libm-test-in: Add more tests of exp10.
1840 * math/auto-libm-test-out: Regenerated.
1841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1843 * sysdeps/unix/sysv/linux/kernel-features.h
1844 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1845 * sysdeps/unix/sysv/linux/readv.c: Do not include
1846 <kernel-features.h>.
1847 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1848 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1849 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1851 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1853 * sysdeps/unix/sysv/linux/writev.c: Do not include
1854 <kernel-features.h>.
1855 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1856 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1857 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1859 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1862 2014-06-25 Will Newton <will.newton@linaro.org>
1864 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1865 comment changes throughout the file. Remove checks
1866 for HAVE_*_H definitions that are not required.
1867 (__gen_tempname): Call abort if an unknown kind value is
1870 2014-06-25 Andreas Schwab <schwab@suse.de>
1873 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1874 scalbln, scalblnf, scalblnl in libc.
1876 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1879 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1880 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1881 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1883 2014-06-24 Roland McGrath <roland@hack.frob.com>
1885 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1886 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1887 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1888 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1890 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1891 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1893 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1894 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1895 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1896 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1897 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1898 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1899 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1900 * sysdeps/x86/bits/semaphore.h: ... here.
1901 * sysdeps/x86/nptl/elide.h: Moved ...
1902 * sysdeps/x86/elide.h: ... here.
1903 * sysdeps/x86_64/nptl/Implies: File removed.
1904 * sysdeps/i386/nptl/Implies: File removed.
1906 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1909 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1910 return the argument for normal arguments with exponent below -64.
1911 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1913 * math/auto-libm-test-in: Add another test of expm1.
1914 * math/auto-libm-test-out: Regenerated.
1917 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1918 calling __erfcl for arguments at least 16.
1919 * math/auto-libm-test-in: Add more tests of erf.
1920 * math/auto-libm-test-out: Regenerated.
1922 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1923 individual architectures.
1924 * sysdeps/unix/sysv/linux/configure: Regenerated.
1925 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1926 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1927 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1928 (ldd_rewrite_script): Define variable.
1929 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1934 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1935 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1936 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1937 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1938 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1939 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1940 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1941 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1943 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1946 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1947 Rename member __data.d to __data.__elision_data.
1949 2014-06-24 Wilco <wdijkstr@arm.com>
1951 * NEWS: Add 16918 to fixed bug list.
1953 2014-06-24 Wilco <wdijkstr@arm.com>
1955 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1957 2014-06-24 Wilco <wdijkstr@arm.com>
1959 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1960 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1961 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1962 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1963 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1964 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1965 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1968 2014-06-24 Wilco <wdijkstr@arm.com>
1970 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1972 2014-06-24 Wilco <wdijkstr@arm.com>
1974 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1975 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1976 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1977 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1979 2014-06-24 Wilco <wdijkstr@arm.com>
1982 * sysdeps/arm/feupdateenv.c (feupdateenv):
1983 Rewrite to reduce FPSCR accesses and fix return value.
1985 2014-06-24 Wilco <wdijkstr@arm.com>
1987 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1988 Optimize to avoid unnecessary FPSCR writes.
1989 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1990 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1991 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1992 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1994 2014-06-24 Wilco <wdijkstr@arm.com>
1996 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1997 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1998 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1999 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2000 Call libc_fetestexcept_vfp.
2001 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2002 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2003 __SOFTFP__ ifdef so that they can be built for softfp.
2005 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2007 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2008 argument type signed char.
2010 * Makerules (check-abi): Dump diff of symlist if the test
2013 2014-06-23 Roland McGrath <roland@hack.frob.com>
2015 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2018 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2019 Remove unused variable ST.
2021 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2025 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2026 small arguments before calling __expm1.
2027 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2028 small arguments before calling __expm1f.
2029 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2030 small arguments before calling __expm1l.
2031 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2033 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2034 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2035 spurious underflow for some cosh tests.
2036 * math/auto-libm-test-out: Regenerated.
2037 * sysdeps/i386/fpu/libm-test-ulps: Update.
2040 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2041 (__ieee754_y1): Set errno if return value overflows.
2042 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2043 (__ieee754_y1f): Set errno if return value overflows.
2044 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2045 (__ieee754_y1l): Set errno if return value overflows.
2046 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2047 (__ieee754_y1l): Set errno if return value overflows.
2048 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2049 * math/auto-libm-test-out: Regenerated.
2051 * math/gen-auto-libm-tests.c: Document use of
2052 ignore-zero-inf-sign.
2053 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2054 (input_flags): Add ignore-zero-inf-sign.
2055 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2056 * math/gen-libm-test.pl (generate_testfile): Handle
2057 ignore-zero-inf-sign.
2058 * math/auto-libm-test-in: Mark some cpow tests with
2059 ignore-zero-inf-sign and some with xfail-rounding.
2060 * math/auto-libm-test-out: Regenerated.
2061 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2062 * sysdeps/i386/fpu/libm-test-ulps: Update.
2063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2066 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2067 overflowing or underflowing operations take place with sign of
2069 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2070 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2071 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2072 (__ieee754_pow): Recompute overflowing and underflowing results in
2073 original rounding mode.
2074 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2075 (__powl_helper): Allow negative argument X and scale negated value
2076 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2077 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2078 overflowing or underflowing operations take place with sign of
2080 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2082 * math/auto-libm-test-in: Add more tests of pow.
2083 * math/auto-libm-test-out: Regenerated.
2084 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2085 (pow_tonearest_test_data): Remove.
2086 (pow_test_tonearest): Likewise.
2087 (pow_towardzero_test_data): Likewise.
2088 (pow_test_towardzero): Likewise.
2089 (pow_downward_test_data): Likewise.
2090 (pow_test_downward): Likewise.
2091 (pow_upward_test_data): Likewise.
2092 (pow_test_upward): Likewise.
2093 (main): Don't call removed functions.
2094 * sysdeps/i386/fpu/libm-test-ulps: Update.
2095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2097 2014-06-23 Roland McGrath <roland@hack.frob.com>
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2273 2014-06-23 Will Newton <will.newton@linaro.org>
2274 Wilco <wdijkstr@arm.com>
2276 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2277 implementation. Include get-rounding-mode.h.
2278 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2279 [!libc_feholdsetround_noex_ctx]: Define
2280 libc_feholdsetround_noex_ctx.
2281 [!libc_feholdsetround_noexf_ctx]: Define
2282 libc_feholdsetround_noexf_ctx.
2283 [!libc_feholdsetround_noexl_ctx]: Define
2284 libc_feholdsetround_noexl_ctx.
2285 (libc_feholdsetround_ctx): New function.
2286 (libc_feresetround_ctx): New function.
2287 (libc_feholdsetround_noex_ctx): New function.
2288 (libc_feresetround_noex_ctx): New function.
2290 2014-06-23 Roland McGrath <roland@hack.frob.com>
2292 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2293 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2294 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2295 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2296 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2297 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2299 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2300 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2301 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2302 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2303 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2304 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2305 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2306 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2307 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2308 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2309 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2311 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2313 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2314 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2315 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2316 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2317 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2319 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2323 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2328 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2329 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2331 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2336 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2340 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2341 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2342 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2343 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2347 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2349 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2350 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2351 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2352 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2356 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2363 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2365 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2370 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2372 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2374 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2376 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2377 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2378 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2381 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2383 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2385 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2387 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2389 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2391 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2392 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2393 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2394 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2395 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2399 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2400 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2401 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2402 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2403 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2405 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2407 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2408 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2409 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2410 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2411 (IPV6_PMTUDISC_INTERFACE): Likewise.
2412 (IPV6_PMTUDISC_OMIT): Likewise.
2414 2014-06-23 Andreas Schwab <schwab@suse.de>
2416 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2417 Remove unused errout label.
2419 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2421 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2422 macro: hardware supports Vector Crypto instructions.
2424 2014-06-23 Will Newton <will.newton@linaro.org>
2426 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2427 rather than __builtin_expect.
2429 * elf/dl-lookup.c (undefined_msg): Remove variable.
2430 (_dl_lookup_symbol_x): Replace undefined_msg with string
2433 * elf/dl-lookup.c (do_lookup_unique): New function.
2434 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2435 to a separate function.
2437 2014-06-23 Andreas Schwab <schwab@suse.de>
2440 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2441 before reading the next line.
2443 2014-06-23 Will Newton <will.newton@linaro.org>
2445 * test-skeleton.c (signal_handler): Use printf and %m
2446 rather than perror. Use printf rather than fprintf to
2447 stderr. Use puts rather than fputs to stderr.
2450 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2452 * nscd/nscd.c (thread_info_t): Remove typedef.
2453 (thread_info): Remove variable.
2455 2014-06-21 Allan McRae <allan@archlinux.org>
2457 * NEWS: Mention CVE-2014-4043.
2459 2014-06-20 Roland McGrath <roland@hack.frob.com>
2461 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2462 * nptl/smp.h: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2466 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2467 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2468 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2469 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2471 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2472 * nptl/stack-aliasing.h: New file.
2473 * sysdeps/i386/i686/stack-aliasing.h: New file.
2474 * sysdeps/i386/i686/nptl/Makefile: File removed.
2475 * sysdeps/x86_64/stack-aliasing.h: New file.
2476 * sysdeps/x86_64/nptl/Makefile
2477 (CFLAGS-pthread_create.c): Variable removed.
2479 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2480 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2482 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2483 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2486 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2488 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2489 (__ASSUME_SIGFRAME_V2): Remove macro.
2490 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2491 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2492 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2493 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2494 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2495 Declare as function. Remove conditional macro definitions.
2496 (__default_rt_sa_restorer): Likewise.
2497 (__default_sa_restorer_v1): Remove declaration.
2498 (__default_sa_restorer_v2): Likewise.
2499 (__default_rt_sa_restorer_v1): Likewise.
2500 (__default_rt_sa_restorer_v2): Likewise.
2501 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2502 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2503 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2505 2014-06-20 Roland McGrath <roland@hack.frob.com>
2507 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2508 (libpthread-routines): Add sysdep.
2509 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2510 * sysdeps/unix/sysv/linux/sparc/Versions
2511 (libpthread: GLIBC_2.3.3): New version set.
2512 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2513 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2514 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2515 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2516 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2517 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2519 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2520 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2521 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2522 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2523 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2524 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2525 * sysdeps/sparc/nptl/sem_init.c: ... here.
2526 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2527 * sysdeps/sparc/nptl/sem_post.c: ... here.
2528 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2529 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2530 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2531 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2532 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2533 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2534 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2535 (libpthread-routines): Add cpu_relax.
2536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2538 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2539 (librt: GLIBC_2.3.3): New version set.
2540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2541 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2542 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2543 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2545 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2546 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2547 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2549 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2551 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2553 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2555 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2556 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2557 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2560 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2564 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2568 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2572 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2576 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2580 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2583 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2585 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2589 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2591 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2594 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2596 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2598 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2600 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2602 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2603 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2604 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2605 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2606 * nscd/nscd.c: Likewise.
2607 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2608 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2609 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2610 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2612 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2613 <kernel-features.h>.
2614 (init_mq_netlink): Remove conditional have_sock_cloexec
2615 definitions. Remove code conditional on have_sock_cloexec < 0.
2616 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2617 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2618 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2619 <kernel-features.h>.
2620 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2621 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2623 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2625 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2626 Add tests for memset_chk and memset.
2628 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2631 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2634 * elf/tst-dl-iter-static.c: New file.
2635 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2637 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2640 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2642 * sysdeps/unix/sysv/linux/kernel-features.h
2643 (__ASSUME_F_GETOWN_EX): Remove macro.
2644 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2645 <kernel-features.h>.
2646 (miss_F_GETOWN_EX): Remove variable or macro.
2647 (do_fcntl): Do not check miss_F_GETOWN_EX.
2648 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2650 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2652 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2653 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2654 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2656 * sysdeps/unix/sysv/linux/kernel-features.h
2657 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2658 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2659 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2660 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2662 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2665 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2666 Fix calculation of the symbol's value.
2667 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2668 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2669 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2670 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2671 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2672 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2673 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2674 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2675 (modules-names): Add `tst-armtlsdescmod',
2676 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2677 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2678 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2679 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2680 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2681 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2682 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2683 ($(objpfx)tst-armtlsdescloc): New dependency.
2684 ($(objpfx)tst-armtlsdescextnow): Likewise.
2685 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2686 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2688 * sysdeps/arm/configure: Regenerate.
2690 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2692 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2693 (__atfct_seterrno_2): Likewise.
2694 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2695 <kernel-features.h>.
2696 (__ASSUME_ATFCTS): Do not undefine and redefine.
2697 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2698 (__have_atfcts): Remove conditional definition.
2699 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2700 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2701 unreachable if [__ASSUME_ATFCTS].
2702 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2703 not undefine and redefine.
2704 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2705 <kernel-features.h>.
2706 (faccessat) [__NR_faccessat]: Make code unconditional.
2707 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2708 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2709 <kernel-features.h>.
2710 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2711 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2712 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2713 <kernel-features.h>.
2714 (fchownat) [__NR_fchownat]: Make code unconditional.
2715 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2716 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2717 <kernel-features.h>.
2718 (futimesat) [__NR_futimesat]: Make code unconditional.
2719 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2720 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2721 <kernel-features.h>.
2722 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2723 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2724 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2725 <kernel-features.h>.
2726 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2727 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2728 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2729 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2730 <kernel-features.h>.
2731 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2732 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2733 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2734 <kernel-features.h>.
2735 (linkat) [__NR_linkat]: Make code unconditional.
2736 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2737 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2738 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2739 <kernel-features.h>.
2740 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2741 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2742 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2743 <kernel-features.h>.
2744 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2745 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2746 * sysdeps/unix/sysv/linux/openat.c: Do not include
2747 <kernel-features.h>.
2748 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2749 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2750 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2751 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2752 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2753 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2754 <kernel-features.h>.
2755 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2756 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2757 result of INLINE_SYSCALL directly, not via int variable.
2758 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2759 <kernel-features.h>.
2760 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2761 (renameat) [__NR_renameat]: Make code unconditional.
2762 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2763 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2764 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2765 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2766 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2767 (__ASSUME_ATFCTS): Do not undefine and redefine.
2768 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2769 <kernel-features.h>.
2770 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2771 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2772 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2773 <kernel-features.h>.
2774 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2775 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2776 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2777 (__ASSUME_ATFCTS): Do not undefine and redefine.
2778 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2779 <kernel-features.h>.
2780 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2781 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2782 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2783 <kernel-features.h>.
2784 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2785 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2787 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2789 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2791 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2794 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2795 constructed tree before returning error.
2796 * posix/bug-regexp36.c: Expand test case.
2798 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2801 * math/libm-test.inc (scalbln_test_date):
2802 Add errno expectations.
2803 * math/w_scalblnf.c: New File.
2804 Add wrapper which checks for setting errno to ERANGE.
2805 Add weak_alias for corresponding scalbln function.
2806 * math/w_scalbln.c: Likewise.
2807 * math/w_scalblnl.c: Likewise.
2808 * math/Makefile (libm-calls): Add w_scalbln.
2809 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2810 Remove weak_alias for corresponding scalbln function.
2811 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2813 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2814 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2815 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2816 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2817 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2818 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2819 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2820 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2821 Remove long_double_symbol for scalblnl function in libm, libc.
2822 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2823 Add wrapper which checks for setting errno to ERANGE.
2824 Add long_double_symbol for scalblnl function in libm, libc.
2825 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2826 Remove long_double_symbol for scalblnl in libm.
2827 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2828 Add wrapper which checks for setting errno to ERANGE.
2829 Add long_double_symbol for scalblnl function in libm.
2830 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2831 Do not use wrapper because of own implementation.
2833 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2835 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2836 3 bytes for __pad1 for x32.
2837 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2839 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2840 H.J. Lu <hongjiu.lu@intel.com>
2842 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2843 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2844 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2845 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2846 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2848 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2851 * posix/regcomp.c (parse_expression): Deallocate partially
2852 constructed tree before returning error.
2853 * posix/Makefile.c (tests): Add bug-regex36.
2854 (generated): Add bug-regex36.mtrace.
2855 (tests-special): Add $(objpfx)bug-regex36-mem.out
2856 (bug-regex36-ENV): New variable.
2857 ($(objpfx)bug-regex36-mem.out): New rule.
2858 * posix/bug-regex36.c: New file.
2860 2014-06-19 Will Newton <will.newton@linaro.org>
2862 * malloc/malloc.c (systrim): If extra is zero then return
2865 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2867 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2869 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2871 * sysdeps/aarch64/strchr.S: New file.
2873 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2876 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2877 from arguments -2 or below.
2878 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2879 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2881 2014-06-18 Andreas Schwab <schwab@suse.de>
2884 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2885 of a bracket expr not to run off the end of the string.
2886 * posix/Makefile (tests): Add tst-fnmatch3.
2887 * posix/tst-fnmatch3.c: New file.
2889 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2891 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2892 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2893 [$(cross-compiling) = no]: Likewise.
2894 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2895 [$(cross-compiling) = no]: Likewise.
2897 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2900 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2901 double, adjusted for any remainder from the high double.
2902 * math/libm-test.inc (nearbyint): Add tests.
2905 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907 * nptl/sysdeps/powerpc/Makefile: Moved ...
2908 * sysdeps/powerpc/nptl/Makefile: ... here.
2909 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2910 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2911 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2912 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2913 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2914 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2915 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2916 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2917 * nptl/sysdeps/powerpc/tls.h: Moved ...
2918 * sysdeps/powerpc/nptl/tls.h: ... here.
2920 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2923 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2924 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2925 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2926 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2927 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2928 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2929 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2930 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2931 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2933 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2935 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2937 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2939 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2942 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2945 2014-06-16 Florian Weimer <fweimer@redhat.com>
2948 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2949 non-executed part of the test.
2951 2014-06-16 Andreas Schwab <schwab@suse.de>
2953 * string/bits/string2.h (strdup, strndup): Update feature guard.
2955 2014-06-14 David S. Miller <davem@davemloft.net>
2957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2959 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2961 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2962 that was previously under [RESET_PID].
2963 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2965 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2966 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2967 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2968 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2969 (__libc_vfork): New strong alias.
2970 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2972 2014-06-14 Andi Kleen <ak@linux.intel.com>
2974 * sysdeps/generic/elide.h: New file.
2976 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2978 * Makefile (installed-headers): Adjust path of pthread.h header.
2980 2014-06-13 Roland McGrath <roland@hack.frob.com>
2982 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2983 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2984 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2985 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2987 * nptl/sysdeps/s390/Makefile: Moved ...
2988 * sysdeps/s390/nptl/Makefile: ... here.
2989 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2990 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2991 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2992 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2993 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2994 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2995 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2996 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2997 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2998 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2999 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3000 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3001 * nptl/sysdeps/s390/tls.h: Moved ...
3002 * sysdeps/s390/nptl/tls.h: ... here.
3004 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3005 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3007 2014-06-13 David S. Miller <davem@davemloft.net>
3009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3010 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3012 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3016 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3017 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3018 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3019 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3020 Remove RESET_PID cpp guards.
3021 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3022 Remove RESET_PID cpp guards.
3023 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3025 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3027 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3030 2014-06-13 Andi Kleen <ak@linux.intel.com>
3032 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3033 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3034 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3035 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3036 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3037 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3038 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3039 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3040 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3041 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3042 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3043 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3044 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3045 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3046 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3047 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3048 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3049 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3050 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3051 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3053 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3054 (pthread_rwlock_rdlock): Add elision.
3055 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3056 (pthread_rwlock_wrlock): Add elision.
3057 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3058 (pthread_rwlock_trywrlock): Add elision.
3059 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3060 (pthread_rwlock_tryrdlock): Add elision.
3061 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3062 (pthread_rwlock_tryrdlock): Add elision unlock.
3063 * nptl/sysdeps/pthread/pthread.h:
3064 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3065 (PTHREAD_RWLOCK_INITIALIZER,
3066 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3067 Handle new elision field.
3068 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3069 * sysdeps/arm/nptl/bits/pthreadtypes.h
3070 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3071 * sysdeps/sh/nptl/bits/pthreadtypes.h
3072 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3073 * sysdeps/tile/nptl/bits/pthreadtypes.h
3074 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3075 * sysdeps/a/nptl/bits/pthreadtypes.h
3076 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3077 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3078 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3079 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3080 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3081 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3082 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3083 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3084 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3085 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3086 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3087 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3088 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3089 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3091 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3092 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3093 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3094 (elision_init): Set try_xbegin to zero when no RTM.
3095 * sysdeps/x86/nptl/bits/pthreadtypes.h
3096 (pthread_rwlock_t): Change __pad1 to __rwelision.
3097 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3099 2014-06-13 Andi Kleen <ak@linux.intel.com>
3101 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3102 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3103 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3104 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3106 2014-06-13 Meador Inge <meadori@codesourcery.com>
3109 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3110 that the cached result has been set before returning it.
3112 2014-06-12 Roland McGrath <roland@hack.frob.com>
3114 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3115 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3116 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3117 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3118 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3119 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3121 * nptl/sysdeps/sparc/Makefile: Moved ...
3122 * sysdeps/sparc/nptl/Makefile: ... here.
3123 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3124 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3125 * nptl/sysdeps/sparc/tls.h: Moved ...
3126 * sysdeps/sparc/nptl/tls.h: ... here.
3127 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3128 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3129 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3130 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3131 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3132 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3133 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3134 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3135 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3136 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3137 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3138 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3139 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3140 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3141 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3142 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3143 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3144 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3146 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3147 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3149 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3150 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3152 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3153 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3156 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3158 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3159 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3161 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3162 (struct list_links): Type removed.
3163 (struct thread_node, struct timer_node): Replace struct list_links
3164 with struct list_head.
3165 (list_unlink_ip): Likewise.
3166 * sysdeps/pthread/timer_routines.c
3167 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3168 (list_append, list_insbefore): Likewise.
3169 (list_init): Function removed.
3170 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3171 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3172 * sysdeps/pthread/Makefile: ... here, new file.
3174 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3175 * sysdeps/nptl/Implies: ... here.
3176 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3177 * nptl/sysdeps/pthread/list.h: Moved ...
3178 * include/list.h: ... here.
3179 * nptl/sysdeps/pthread/createthread.c: Moved ...
3180 * nptl/createthread.c: ... here.
3181 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3182 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3183 * nptl/pt-longjmp.c: ... here.
3184 * nptl/sysdeps/pthread/Makefile: Moved ...
3185 * sysdeps/nptl/Makefile: ... here.
3186 * nptl/sysdeps/pthread/Subdirs: Moved ...
3187 * sysdeps/nptl/Subdirs: ... here.
3188 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3189 * sysdeps/nptl/aio_misc.h: ... here.
3190 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3191 * sysdeps/nptl/bits/libc-lock.h: ... here.
3192 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3193 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3194 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3195 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3196 * nptl/sysdeps/pthread/configure: Moved ...
3197 * sysdeps/nptl/configure: ... here.
3198 * nptl/sysdeps/pthread/configure.ac: Moved ...
3199 * sysdeps/nptl/configure.ac: ... here.
3200 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3201 * sysdeps/nptl/gai_misc.h: ... here.
3202 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3203 * sysdeps/nptl/librt-cancellation.c: ... here.
3204 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3205 * sysdeps/nptl/malloc-machine.h: ... here.
3206 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3207 * sysdeps/nptl/pthread-functions.h: ... here.
3208 * nptl/sysdeps/pthread/pthread.h: Moved ...
3209 * sysdeps/nptl/pthread.h: ... here.
3210 * nptl/sysdeps/pthread/setxid.h: Moved ...
3211 * sysdeps/nptl/setxid.h: ... here.
3212 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3213 * sysdeps/nptl/sigfillset.c: ... here.
3214 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3215 * sysdeps/nptl/tcb-offsets.h: ... here.
3216 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3217 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3218 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3219 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3220 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3221 * sysdeps/pthread/allocalim.h: ... here.
3222 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3223 * sysdeps/pthread/bits/sigthread.h: ... here.
3224 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3225 * sysdeps/pthread/flockfile.c: ... here.
3226 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3227 * sysdeps/pthread/ftrylockfile.c: ... here.
3228 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3229 * sysdeps/pthread/funlockfile.c: ... here.
3230 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3231 * sysdeps/pthread/posix-timer.h: ... here.
3232 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3233 * sysdeps/pthread/timer_create.c: ... here.
3234 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3235 * sysdeps/pthread/timer_delete.c: ... here.
3236 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3237 * sysdeps/pthread/timer_getoverr.c: ... here.
3238 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3239 * sysdeps/pthread/timer_gettime.c: ... here.
3240 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3241 * sysdeps/pthread/timer_routines.c: ... here.
3242 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3243 * sysdeps/pthread/timer_settime.c: ... here.
3244 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3245 * sysdeps/pthread/tst-timer.c: ... here.
3246 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3247 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3249 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3250 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3252 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3253 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3254 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3255 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3256 Update #include target.
3257 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3258 * sysdeps/i386/i686/nptl/Makefile: ... here.
3259 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3260 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3261 Update #include target.
3262 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3263 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3264 * nptl/sysdeps/i386/Makefile: Moved ...
3265 * sysdeps/i386/nptl/Makefile: ... here.
3266 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3267 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3268 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3269 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3270 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3271 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3272 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3273 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3274 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3275 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3276 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3277 * nptl/sysdeps/i386/tls.h: Moved ...
3278 * sysdeps/i386/nptl/tls.h: ... here.
3280 * sysdeps/sh/Makefile [$(subdir) = csu]
3281 (gen-as-const-headers): Add tcb-offsets.sym.
3282 * nptl/sysdeps/sh/Makefile: File removed.
3283 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3284 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3285 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3286 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3287 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3288 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3289 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3290 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3291 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3292 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3293 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3294 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3295 * nptl/sysdeps/sh/tls.h: Moved ...
3296 * sysdeps/sh/nptl/tls.h: ... here.
3297 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3298 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3299 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3300 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3301 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3302 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3303 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3304 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3305 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3306 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3307 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3308 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3309 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3310 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3311 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3312 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3313 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3314 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3315 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3316 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3317 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3318 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3319 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3320 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3321 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3323 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3324 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3326 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3327 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3328 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3329 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3330 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3331 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3332 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3333 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3334 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3335 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3336 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3337 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3338 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3339 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3340 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3341 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3342 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3343 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3344 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3346 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3348 * posix/spawn_faction_addopen.c: Include string.h.
3350 2014-06-11 Roland McGrath <roland@hack.frob.com>
3352 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3353 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3354 * nptl/sysdeps/x86_64/Makefile: Moved ...
3355 * sysdeps/x86_64/nptl/Makefile: ... here.
3356 * nptl/sysdeps/x86_64/configure: Moved ...
3357 * sysdeps/x86_64/nptl/configure: ... here.
3358 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3359 * sysdeps/x86_64/nptl/configure.ac: ... here.
3360 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3361 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3362 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3363 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3364 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3365 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3366 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3367 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3368 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3369 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3370 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3371 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3372 * nptl/sysdeps/x86_64/tls.h: Moved ...
3373 * sysdeps/x86_64/nptl/tls.h: ... here.
3374 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3375 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3376 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3377 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3379 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3381 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3385 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3387 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3389 [POSIX] (off_t): Likewise.
3390 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3391 [POSIX] (S_ISBLK): Require macro.
3392 [POSIX] (S_ISCHR): Likewise.
3393 [POSIX] (S_ISDIR): Likewise.
3394 [POSIX] (S_ISFIFO): Likewise.
3395 [POSIX] (S_ISREG): Likewise.
3396 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3398 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3400 [POSIX] (time_t): Likewise.
3401 [POSIX] (timer_t): Likewise.
3403 2014-06-11 Florian Weimer <fweimer@redhat.com>
3406 * posix/spawn_int.h (struct __spawn_action): Make the path string
3407 non-const to support deallocation.
3408 * posix/spawn_faction_addopen.c
3409 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3410 * posix/spawn_faction_destroy.c
3411 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3412 path in all spawn_do_open actions.
3413 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3414 posix_spawn_file_actions_addopen.
3416 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3418 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3419 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3420 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3421 conditional code always true.
3422 (__libc_vfork): New alias.
3424 2014-06-11 Roland McGrath <roland@hack.frob.com>
3426 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3427 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3429 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3431 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3432 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3434 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3435 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3437 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3438 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3440 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3442 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3443 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3444 multiarch strcmp for PPC64.
3445 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3446 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3448 multiarch optimizations.
3449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3450 (__libc_ifunc_impl_list): Likewise.
3452 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3454 * benchtests/scripts/validate_benchout.py: New script.
3455 * benchtests/Makefile (bench-func): Call it.
3456 * benchtests/scripts/benchout.schema.json: New file.
3458 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3460 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3461 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3462 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3463 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3464 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3465 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3466 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3467 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3468 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3469 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3470 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3471 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3472 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3473 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3474 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3475 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3579 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3580 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3581 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3585 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3587 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3592 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3594 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3595 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3596 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3597 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3598 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3599 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3601 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3602 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3604 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3605 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3606 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3607 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3609 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3611 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3612 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3613 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3614 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3615 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3617 2014-06-10 Wilco <wdijkstr@arm.com>
3619 * math/test-fenv-return.c: New file.
3620 * math/Makefile: Add new test test-fenv-return.
3622 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3625 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3627 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3628 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3629 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3630 0.0L for an argument of 1.0L.
3631 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3633 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3634 value when x - 1 is zero.
3635 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3636 * sysdeps/i386/fpu/libm-test-ulps: Update.
3637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3639 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3642 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3644 2014-06-09 Roland McGrath <roland@hack.frob.com>
3646 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3647 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3649 2014-06-09 Roland McGrath <roland@hack.frob.com>
3651 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3652 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3654 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3655 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3657 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3658 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3660 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3661 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3663 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3664 if not already defined.
3665 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3666 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3667 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3668 (TLS_INIT_TP): Use it.
3669 (TLS_DEFINE_INIT_TP): New macro.
3670 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3672 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3674 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3676 [POSIX] (IXANY): Likewise.
3677 [POSIX] (OLCUC): Likewise.
3678 [POSIX || POSIX2008] (CBAUD): Do not allow.
3679 [POSIX || POSIX2008] (DEFECHO): Likewise.
3680 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3681 [POSIX || POSIX2008] (ECHOKE): Likewise.
3682 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3683 [POSIX || POSIX2008] (EXTA): Likewise.
3684 [POSIX || POSIX2008] (EXTB): Likewise.
3685 [POSIX || POSIX2008] (FLUSHO): Likewise.
3686 [POSIX || POSIX2008] (LOBLK): Likewise.
3687 [POSIX || POSIX2008] (PENDIN): Likewise.
3688 [POSIX || POSIX2008] (SWTCH): Likewise.
3689 [POSIX || POSIX2008] (VDISCARD): Likewise.
3690 [POSIX || POSIX2008] (VDSUSP): Likewise.
3691 [POSIX || POSIX2008] (VLNEXT): Likewise.
3692 [POSIX || POSIX2008] (VREPRINT): Likewise.
3693 [POSIX || POSIX2008] (VSTATUS): Likewise.
3694 [POSIX || POSIX2008] (VWERASE): Likewise.
3695 (B*): Change to B[0123456789]*.
3696 * conform/data/time.h-data [POSIX || UNIX98]
3697 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3698 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3699 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3700 [POSIX] (tm_*): Do not allow.
3702 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3704 * Makefile (install): Don't set LANGUAGE.
3705 * Makefile.in (install): Likewise.
3706 * assert/Makefile (test-assert-ENV): Remove variable.
3707 (test-assert-perr-ENV): Likewise.
3708 * elf/Makefile (neededtest4-ENV): Likewise.
3709 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3710 [$(cross-compiling) = no]: Don't set LANGUAGE.
3711 * io/ftwtest-sh (LANG): Remove variable.
3712 * libio/Makefile (tst-widetext-ENV): Likewise.
3713 * manual/install.texi (Running make install): Don't refer to
3714 environment settings for make install.
3715 * INSTALL: Regenerated.
3716 * nptl/tst-tls6.sh: Don't set LANG.
3717 * posix/globtest.sh (LANG): Remove variable.
3718 * string/Makefile (tester-ENV): Likewise.
3719 (inl-tester-ENV): Likewise.
3720 (noinl-tester-ENV): Likewise.
3721 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3722 [$(cross-compiling) = no]: Don't set LANGUAGE.
3723 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3724 without explicit environment settings.
3726 2014-06-06 Roland McGrath <roland@hack.frob.com>
3728 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3729 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3731 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3733 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3735 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3736 other files in the crypt directory.
3737 * crypt/crypt.c: Remove duplicate includes.
3738 * crypt/crypt-entry.c: Likewise.
3739 * crypt/crypt_util.c: Likewise.
3741 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3743 * Makeconfig (run-program-env): New variable.
3744 (run-program-prefix-before-env): Likewise.
3745 (run-program-prefix-after-env): Likewise.
3746 (run-program-prefix): Define in terms of new variables.
3747 (built-program-cmd-before-env): New variable.
3748 (built-program-cmd-after-env): Likewise.
3749 (built-program-cmd): Define in terms of new variables.
3750 (test-program-prefix-before-env): New variable.
3751 (test-program-prefix-after-env): Likewise.
3752 (test-program-prefix): Define in terms of new variables.
3753 (test-program-cmd-before-env): New variable.
3754 (test-program-cmd-after-env): Likewise.
3755 (test-program-cmd): Define in terms of new variables.
3756 * Rules (make-test-out): Use $(run-program-env).
3757 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3758 (help): Do not mention environment variables. Mention
3759 --timeoutfactor option.
3760 (timeoutfactor): New variable.
3761 (blacklist_exports): Remove function.
3762 (exports): Remove variable.
3763 (command): Do not include ${exports}.
3764 * manual/install.texi (Configuring and compiling): Do not mention
3765 test wrappers preserving environment variables. Mention that last
3766 assignment to a variable must take precedence.
3767 * INSTALL: Regenerated.
3768 * benchtests/Makefile (run-bench): Use $(run-program-env).
3769 * catgets/Makefile ($(objpfx)test1.cat): Use
3770 $(built-program-cmd-before-env), $(run-program-env) and
3771 $(built-program-cmd-after-env).
3772 ($(objpfx)test2.cat): Do not specify environment variables
3774 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3775 $(run-program-env) and $(built-program-cmd-after-env).
3776 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3777 $(run-program-env) and $(test-program-cmd-after-env).
3778 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3780 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3781 run_program_env and test_program_cmd_after_env arguments.
3782 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3783 * elf/tst-pathopt.sh: Use run_program_env argument.
3784 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3785 $(test-wrapper-env) and $(run-program-env).
3786 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3787 run_program_env arguments.
3788 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3789 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3790 $(test-program-prefix-before-env), $(run-program-env) and
3791 $(test-program-prefix-after-env).
3792 ($(objpfx)tst-gettext2.out): Likewise.
3793 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3794 run_program_env and test_program_prefix_after_env arguments.
3795 * intl/tst-gettext2.sh: Likewise.
3796 * intl/tst-gettext4.sh: Do not set environment variables
3798 * intl/tst-gettext6.sh: Likewise.
3799 * intl/tst-translit.sh: Likewise.
3800 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3801 $(test-program-prefix-before-env), $(run-program-env) and
3802 $(test-program-prefix-after-env).
3803 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3804 run_program_env and test_program_prefix_after_env arguments.
3805 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3806 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3807 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3808 explicitly with each use of ${test_wrapper_env}.
3809 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3810 $(test-program-prefix-before-env), $(run-program-env) and
3811 $(test-program-prefix-after-env).
3812 * posix/tst-getconf.sh: Do not set environment variables
3814 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3815 run_program_env and test_program_prefix_after_env arguments.
3816 * stdio-common/tst-printf.sh: Do not set environment variables
3818 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3819 $(test-program-prefix-before-env), $(run-program-env) and
3820 $(test-program-prefix-after-env).
3821 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3822 run_program_env and test_program_prefix_after_env arguments.
3823 Split $test calls into $test_pre and $test.
3824 * timezone/Makefile (build-testdata): Use
3825 $(built-program-cmd-before-env), $(run-program-env) and
3826 $(built-program-cmd-after-env).
3828 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3830 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3831 strlen for non SHARED builds.
3833 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3835 * nptl/allocatestack.c (check_list): Inlined function...
3836 (__reclaim_stacks): ... here.
3838 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3841 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3844 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3846 * Rules (make-test-out): Include
3847 LOCPATH=$(common-objpfx)localedata in default environment.
3848 * debug/Makefile (tst-chk1-ENV): Remove variable.
3849 (tst-chk2-ENV): Likewise.
3850 (tst-chk3-ENV): Likewise.
3851 (tst-chk4-ENV): Likewise.
3852 (tst-chk5-ENV): Likewise.
3853 (tst-chk6-ENV): Likewise.
3854 (tst-lfschk1-ENV): Likewise.
3855 (tst-lfschk2-ENV): Likewise.
3856 (tst-lfschk3-ENV): Likewise.
3857 (tst-lfschk4-ENV): Likewise.
3858 (tst-lfschk5-ENV): Likewise.
3859 (tst-lfschk6-ENV): Likewise.
3860 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3861 (tst-iconv7-ENV): Likewise.
3862 * intl/Makefile (LOCPATH-ENV): Likewise.
3863 (tst-codeset-ENV): Likewise.
3864 (tst-gettext3-ENV): Likewise.
3865 (tst-gettext5-ENV): Likewise.
3866 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3867 (tst-fopenloc-ENV): Likewise.
3868 (tst-fgetws-ENV): Remove variable.
3869 (tst-ungetwc1-ENV): Likewise.
3870 (tst-ungetwc2-ENV): Likewise.
3871 (bug-ungetwc2-ENV): Likewise.
3872 (tst-swscanf-ENV): Likewise.
3873 (bug-ftell-ENV): Likewise.
3874 (tst-fgetwc-ENV): Likewise.
3875 (tst-fseek-ENV): Likewise.
3876 (tst-ftell-partial-wide-ENV): Likewise.
3877 (tst-ftell-active-handler-ENV): Likewise.
3878 (tst-ftell-append-ENV): Likewise.
3879 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3880 (tst-regexloc-ENV): Likewise.
3881 (bug-regex1-ENV): Likewise.
3882 (tst-regex-ENV): Likewise.
3883 (tst-regex2-ENV): Likewise.
3884 (bug-regex5-ENV): Likewise.
3885 (bug-regex6-ENV): Likewise.
3886 (bug-regex17-ENV): Likewise.
3887 (bug-regex18-ENV): Likewise.
3888 (bug-regex19-ENV): Likewise.
3889 (bug-regex20-ENV): Likewise.
3890 (bug-regex22-ENV): Likewise.
3891 (bug-regex23-ENV): Likewise.
3892 (bug-regex25-ENV): Likewise.
3893 (bug-regex26-ENV): Likewise.
3894 (bug-regex30-ENV): Likewise.
3895 (bug-regex32-ENV): Likewise.
3896 (bug-regex33-ENV): Likewise.
3897 (bug-regex34-ENV): Likewise.
3898 (bug-regex35-ENV): Likewise.
3899 (tst-rxspencer-ENV): Likewise.
3900 (tst-rxspencer-no-utf8-ENV): Likewise.
3901 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3902 (tst-sscanf-ENV): Likewise.
3903 (tst-swprintf-ENV): Likewise.
3904 (tst-swscanf-ENV): Likewise.
3905 (test-vfprintf-ENV): Likewise.
3906 (scanf13-ENV): Likewise.
3907 (bug14-ENV): Likewise.
3908 (tst-grouping-ENV): Likewise.
3909 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3910 (tst-strtod3-ENV): Likewise.
3911 (tst-strtod4-ENV): Likewise.
3912 (tst-strtod5-ENV): Likewise.
3913 (testmb2-ENV): Likewise./
3914 * string/Makefile (tst-strxfrm-ENV): Likewise.
3915 (tst-strxfrm2-ENV): Likewise.
3916 (bug-strcoll1-ENV): Likewise.
3917 (test-strcasecmp-ENV): Likewise.
3918 (test-strncasecmp-ENV): Likewise.
3919 * time/Makefile (tst-strptime-ENV): Likewise.
3920 (tst-ftime_l-ENV): Likewise.
3921 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3922 (tst-mbrtowc-ENV): Likewise.
3923 (tst-wcrtomb-ENV): Likewise.
3924 (tst-mbrtowc2-ENV): Likewise.
3925 (tst-c16c32-1-ENV): Likewise.
3926 (tst-mbsnrtowcs-ENV): Likewise.
3928 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3930 * manual/resource.texi (How to get information about the memory
3931 subsystem?): Fix typo.
3932 Reported by Peon de la Parra Ivan <peon@keba.com>
3934 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3937 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3938 (pthread_spin_lock): Branch out of spin loop to proper location.
3939 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3940 (pthread_spin_lock): Likewise.
3942 * nptl/tst-spin4.c: New test.
3943 * nptl/Makefile (tests): Add tst-spin4.
3945 2014-06-03 Andreas Schwab <schwab@suse.de>
3948 * resolv/res_send.c (send_dg): Reload file descriptor after
3951 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3953 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3955 2014-06-03 Richard Henderson <rth@redhat.com>
3957 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3958 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3959 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3960 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3961 in the SAVE_PID block.
3962 (__libc_vfork): New alias.
3963 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3965 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3966 child in registers, not on the stack. Remove RESET_PID conditionals.
3967 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3969 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3971 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3973 2014-06-03 Wilco <wdijkstr@arm.com>
3975 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3976 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3977 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3978 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3979 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3982 2014-06-03 Wilco <wdijkstr@arm.com>
3984 * sysdeps/aarch64/fpu/math_private.h
3985 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3986 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3987 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3988 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3991 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3993 * crypt/crypt-private.h: Include ufc-crypt.h.
3994 (__b64_from_24bit): Declare extern.
3995 * crypt/crypt_util.c(__b64_from_24bit): New function.
3996 (b64t): New static const variable.
3997 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3998 (b64t): Remove variable.
3999 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4000 * crypt/sha256-crypt.c: Include crypt-private.h.
4001 (b64t): Remove variable.
4002 (__sha256_crypt_r): Remove b64_from_24bit and replace
4003 with __b64_from_24bit.
4004 * crypt/sha512-crypt.c: Likewise.
4006 2014-06-02 Roland McGrath <roland@hack.frob.com>
4008 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4009 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4010 Label the code __libc_vfork rather than __vfork.
4011 [!NOT_IN_libc] (vfork): Define as weak alias.
4012 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4013 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4014 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4016 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4018 * malloc/malloc.c (malloc_info): Fix format specifier for
4021 2014-06-02 Wilco <wdijkstr@arm.com>
4023 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4026 2014-06-02 Wilco <wdijkstr@arm.com>
4029 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4030 Rewrite to reduce FPCR/FPSR accesses.
4032 2014-06-01 David S. Miller <davem@davemloft.net>
4034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4036 2014-05-31 David S. Miller <davem@davemloft.net>
4038 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4039 to occur in round to nearest mode when |x| >= 2.0
4041 2014-05-30 Richard Henderson <rth@twiddle.net>
4043 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4044 (PSEUDO_RET_NOERRNO): Remove.
4045 (ret): Don't redefine.
4046 (ret_NOERRNO): Define in terms of ret.
4047 (ret_ERRVAL): Likewise.
4049 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4050 use of PSEUDO_RET; perform the error check directly.
4052 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4054 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4057 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4059 * malloc/malloc (malloc_info): Fix formatting.
4061 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4062 Roland McGrath <roland@hack.frob.com>
4064 * malloc/malloc (malloc_info): Also print mmapped statistics.
4066 2014-05-30 Roland McGrath <roland@hack.frob.com>
4068 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4069 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4071 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4073 * malloc/malloc.c (malloc_info): Inline mi_arena.
4075 2014-05-29 Richard Henderson <rth@twiddle.net>
4077 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4078 Remove comma before expanding ASM_ARGS_##nr.
4079 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4080 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4082 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4083 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4084 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4085 (ASM_ARGS_1): Add leading comma.
4087 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4088 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4089 to __errno_location.
4090 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4091 Remove the expected plt for __errno_location.
4093 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4094 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4097 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4098 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4099 it and break it down.
4100 (DOCARGS_0, DOCARGS_1): Do nothing.
4101 (DOCARGS_2): Update to store into the new stack frame.
4102 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4103 (UNDOCARGS_1): Update to restore from the new stack frame.
4104 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4105 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4107 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4108 (SINGLE_THREAD_P): New parameter for result regno.
4109 (PSEUDO): Update to match; use cbz instead of beq.
4111 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4112 Use ENTRY to define the _nocancel entry point. Share the syscall
4113 and syscall error check paths with the cancel path.
4116 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4117 whitespace; tabs before and after asm mnemonics.
4119 2014-05-29 Eric Wong <normalperson@yhbt.net>
4122 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4123 Call fstat64 or stat64 internally, depending on arguments passed.
4124 Replace stat buffer argument with file descriptor argument.
4125 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4126 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4127 Pass fd to __internal_statvfs instead of calling fstat64.
4128 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4129 Pass fd to __internal_statvfs64 instead of calling fstat64.
4130 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4131 Pass -1 to __internal_statvfs instead of calling stat64.
4132 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4133 Pass -1 to __internal_statvfs64 instead of calling stat64.
4135 2014-05-28 Roland McGrath <roland@hack.frob.com>
4137 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4138 that was previously under [RESET_PID].
4139 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4141 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4142 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4144 2014-05-27 Roland McGrath <roland@hack.frob.com>
4146 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4148 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4149 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4151 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4153 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4155 2014-05-27 Andreas Schwab <schwab@suse.de>
4157 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4159 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4160 * elf/rtld.c (init_tls, dl_main): Likewise.
4161 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4162 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4163 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4164 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4165 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4166 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4167 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4168 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4169 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4170 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4171 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4172 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4173 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4174 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4175 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4176 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4177 * sysdeps/generic/tls.h: Update description.
4179 2014-05-27 Will Newton <will.newton@linaro.org>
4182 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4183 and restore r2 rather than just restoring.
4185 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4188 * libio/tst-ftell-append.c: New test case.
4189 * libio/Makefile (tests): Add test case.
4190 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4192 * libio/wfileops.c (do_ftell_wide): Likewise.
4194 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4198 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4202 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4203 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4204 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4205 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4206 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4207 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4208 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4211 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4214 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4215 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4216 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4217 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4218 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4220 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4221 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4223 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4225 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4227 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4228 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4229 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4231 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4232 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4233 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4234 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4236 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4239 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4242 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4245 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4249 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4257 conditional [RESET_PID].
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4266 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4267 (__libc_vfork): New strong alias.
4268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4275 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4276 (__libc_vfork): New strong alias.
4277 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4279 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4282 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4284 * malloc/malloc.c (mi_arena): New function.
4285 (malloc_info): Remove nested function mi_arena. Call non-nosted
4288 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4290 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4292 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4293 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4294 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4295 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4296 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4297 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4298 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4300 2014-05-26 Andreas Schwab <schwab@suse.de>
4303 * locale/programs/repertoire.c (repertoire_read): Add slash
4304 between I18NPATH element and file name.
4305 * locale/programs/locfile.c (locfile_read): Likewise.
4307 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4309 * nptl/pthread_mutexattr_settype.c
4310 (__pthread_mutexattr_settype):
4311 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4313 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4315 * nptl/tst-mutex5 (do_test):
4316 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4318 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4320 * benchtests/README: Document 'init' directive.
4321 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4323 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4324 (parse_file): Recognize 'init' directive.
4326 2014-05-26 Kyle McMartin <kyle@redhat.com>
4329 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4330 alignment of struct pthread.
4332 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4335 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4336 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4337 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4338 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4340 2014-05-25 Richard Henderson <rth@twiddle.net>
4342 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4343 (SINGLE_THREAD_P_PIC): Remove.
4344 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4345 (SINGLE_THREAD_P_PIC): Remove.
4347 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4348 branch to syscall error ...
4350 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4351 from __local_syscall_error to .Lsyscall_error.
4352 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4353 (SYSCALL_ERROR): Update label name.
4355 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4356 Do not use DOARGS/UNDOARGS.
4357 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4358 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4359 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4360 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4361 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4363 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4366 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4367 define if !NOT_IN_libc.
4368 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4369 define with non-default symbol versions.
4371 2014-05-23 Richard Henderson <rth@twiddle.net>
4373 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4374 (vfork, __vfork): Define via compat_symbol.
4376 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4377 [!HAVE_IFUNC] (vfork_compat): Remove.
4378 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4380 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4383 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4384 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4387 2014-05-23 Richard Henderson <rth@twiddle.net>
4389 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4390 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4391 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4392 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4394 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4395 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4396 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4397 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4398 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4399 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4400 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4401 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4402 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4403 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4404 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4405 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4406 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4407 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4408 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4409 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4410 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4411 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4412 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4413 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4415 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4417 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4419 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4420 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4421 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4422 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4423 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4424 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4425 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4426 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4427 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4428 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4429 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4430 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4431 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4432 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4433 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4434 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4435 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4436 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4437 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4438 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4439 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4440 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4441 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4442 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4443 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4444 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4445 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4446 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4447 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4448 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4449 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4451 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4452 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4453 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4454 before exiting on error.
4455 (__libc_vfork): New strong alias.
4456 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4457 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4459 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4460 that was previously under [RESET_PID].
4461 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4463 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4465 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4468 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4469 value when x - 1 is zero.
4470 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4471 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4472 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4473 0.0L for an argument of 1.0L.
4474 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4476 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4477 value when x - 1 is zero.
4478 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4479 * sysdeps/i386/fpu/libm-test-ulps: Update.
4480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4482 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4484 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4485 alphasort and versionsort.
4487 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4489 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4491 [copysignf]: Likewise.
4493 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4495 * crypt/md5-crypt.c: Fix formatting.
4497 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4499 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4500 (b64_from_24bit): New function.
4502 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4504 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4505 libc_hidden_builtin_def to ifunc.
4506 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4507 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4509 2014-05-21 Roland McGrath <roland@hack.frob.com>
4511 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4512 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4514 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4516 * nscd/Depend (linuxthreads): Remove.
4518 * resolv/Depend (linuxthreads): Remove.
4519 * rt/Depend (linuxthreads): Remove.
4521 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4522 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4523 $(common-objpfx)elf/.
4524 (link-libc-before-gnulib): Likewise.
4525 (elfobjdir): Remove variable.
4526 * Makefile (install): Use $(elf-objpfx) instead of
4527 $(common-objpfx)elf/.
4528 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4530 (link-libc-deps): Likewise.
4531 ($(common-objpfx)libc.so): Likewise.
4532 ($(common-objpfx)linkobj/libc.so): Likewise.
4533 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4534 instead of $(common-objpfx)elf/.
4535 (symbolic-link-list): Likewise.
4536 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4537 [$(cross-compiling) = no]: Likewise.
4538 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4540 (static-gnulib-arch): Likewise.
4541 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4542 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4543 $(common-objpfx)elf/.
4545 2014-05-21 Richard Henderson <rth@redhat.com>
4547 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4548 (SINGLE_THREAD_P): Use the correct width load. Fold
4549 into the ldr offset.
4551 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4552 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4554 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4556 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4557 (libgcc_s_resume): Use __attribute_used__.
4558 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4561 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4563 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4564 optimization when used with float constants.
4566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4568 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4571 * locale/nl_langinfo_l.c: Make direct reference to every
4572 _nl_current_CATEGORY symbol.
4573 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4574 (tests-static): Add tst-langinfo-static.
4575 (tests-special): Add tst-langinfo-static.out.
4576 ($(objpfx)tst-langinfo.out): Redirect output.
4577 ($(objpfx)tst-langinfo-static.out): New.
4578 * localedata/tst-langinfo.sh: Send output to stdout.
4579 * localedata/tst-langinfo-static.c: New file.
4582 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4583 when the shift amount is modulo the limb size.
4585 2014-05-20 Richard Henderson <rth@redhat.com>
4588 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4589 Change type of sa_flags from unsigned int to int.
4592 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4594 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4596 2014-05-20 Will Newton <will.newton@linaro.org>
4598 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4599 Test the return value of the system call in the nocancel case.
4601 2014-05-20 Will Newton <will.newton@linaro.org>
4602 Yvan Roux <yvan.roux@linaro.org>
4604 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4605 #include of asm/ptrace.h.
4606 (PTRACE_GET_THREAD_AREA): Remove #undef.
4607 (PTRACE_GETHBPREGS): Likewise.
4608 (PTRACE_SETHBPREGS): Likewise.
4609 (struct user_regs_struct): New structure.
4610 (struct user_fpsimd_struct): New structure.
4611 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4612 #include of asm/ptrace.h and second #include of sys/user.h.
4613 (PTRACE_GET_THREAD_AREA): Remove #undef.
4614 (PTRACE_GETHBPREGS): Likewise.
4615 (PTRACE_SETHBPREGS): Likewise.
4616 (ELF_NGREG): Use new struct user_regs_struct.
4617 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4619 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4621 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4622 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4624 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4627 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4628 membar to avoid block loads/stores to overlap previous stores.
4630 2014-05-17 Richard Henderson <rth@redhat.com>
4632 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4633 Create the __##syscall_name##_nocancel entry point.
4634 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4635 Remove; let the sysdep-cancel.h code create it.
4637 2014-05-17 David S. Miller <davem@davemloft.net>
4639 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4640 Protect with __USE_GNU.
4641 (TIOCSET_TEMPT): Likewise.
4642 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4643 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4644 these are already provided in bits/ioctl-types.h
4646 2014-05-16 Roland McGrath <roland@hack.frob.com>
4648 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4649 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4651 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4652 Use wait4 regardless of [__NR_waitpid].
4654 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4657 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4658 (_FP_NANSIGN_Q): Set the quiet bit.
4660 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4662 * benchtests/Makefile
4663 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4664 not $(common-objpfx)math/libm.so.
4665 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4666 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4667 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4668 $(common-objpfx)dlfcn/libdl.so.
4669 ($(objpfx)tst-audit8): Depend on $(libm), not
4670 $(common-objpfx)math/libm.so.
4671 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4672 not $(common-objpfx)dlfcn/libdl.so.
4674 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4675 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4676 [$(build-shared) = yes].
4677 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4678 $(common-objpfx)nptl/libpthread.so.
4679 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4680 $(common-objpfx)math/libm.so$(libm.so-version) or
4681 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4682 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4683 $(common-objpfx)dlfcn/libdl.so.
4684 * setjmp/Makefile (link-libm): Remove variable.
4685 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4686 * stdio-common/Makefile (link-libm): Remove variable.
4687 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4688 * stdlib/Makefile (link-libm): Remove variable.
4689 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4690 ($(objpfx)tst-strtod-round): Likewise.
4691 ($(objpfx)tst-tininess): Likewise.
4692 ($(objpfx)tst-strtod-underflow): Likewise.
4693 ($(objpfx)tst-strtod6): Likewise.
4694 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4695 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4696 $(common-objpfx)dlfcn/libdl.so.
4698 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4700 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4701 BSD terminal modes definitions.
4703 2014-05-16 Roland McGrath <roland@hack.frob.com>
4705 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4706 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4708 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4709 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4710 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4711 Don't do #include_next.
4712 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4713 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4714 Don't do #include_next.
4715 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4716 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4717 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4718 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4720 2014-05-16 Allan McRae <allan@archlinux.org>
4722 * po/sv.po: Update Swedish translation from translation project.
4724 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4727 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4730 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4731 errno if the TIOCGPTN ioctl fails with an error different than
4733 * login/tst-ptsname.c: New file.
4734 * login/Makefile (tests): Add tst-ptsname.
4737 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4740 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4744 herrno to return EAI_AGAIN.
4746 2014-05-14 Roland McGrath <roland@hack.frob.com>
4748 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4749 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4750 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4751 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4752 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4753 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4754 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4755 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4756 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4757 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4758 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4759 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4760 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4761 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4762 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4763 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4764 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4765 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4766 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4767 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4768 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4769 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4770 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4771 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4772 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4773 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4774 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4775 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4776 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4777 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4779 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4781 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4784 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4786 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4788 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4790 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4792 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4794 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4796 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4798 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4800 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4802 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4804 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4806 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4808 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4810 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4813 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4815 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4817 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4819 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4821 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4823 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4825 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4827 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4829 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4831 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4834 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4836 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4838 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4839 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4840 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4841 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4842 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4843 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4844 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4845 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4846 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4847 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4848 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4849 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4850 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4852 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4853 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4854 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4855 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4856 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4857 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4858 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4859 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4860 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4861 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4862 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4863 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4864 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4865 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4866 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4867 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4868 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4870 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4871 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4873 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4874 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4875 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4876 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4877 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4880 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4881 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4883 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4884 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4886 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4887 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4889 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4891 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4894 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4896 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4897 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4898 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4899 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4900 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4901 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4903 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4904 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4906 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4908 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4909 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4910 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4911 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4914 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4916 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4918 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4919 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4920 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4921 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4922 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4923 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4925 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4926 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4928 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4929 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4931 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4934 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4935 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4936 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4937 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4939 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4940 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4941 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4942 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4943 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4944 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4945 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4946 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4948 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4949 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4953 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4954 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4955 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4956 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4957 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4959 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4961 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4963 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4964 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4965 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4966 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4967 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4968 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4969 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4970 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4971 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4972 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4974 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4975 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4977 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4978 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4980 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4981 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4983 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4984 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4985 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4986 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4987 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4988 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4990 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4991 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4992 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4993 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4994 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4995 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4996 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4997 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4999 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5000 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5002 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5004 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5005 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5006 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5007 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5008 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5010 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5012 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5014 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5015 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5016 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5017 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5018 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5019 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5020 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5021 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5022 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5023 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5024 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5026 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5027 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5029 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5030 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5032 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5033 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5034 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5035 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5036 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5037 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5038 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5039 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5040 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5041 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5042 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5043 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5044 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5045 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5046 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5047 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5048 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5049 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5051 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5052 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5053 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5054 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5056 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5057 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5058 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5059 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5060 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5061 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5062 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5063 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5065 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5066 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5068 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5069 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5070 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5071 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5072 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5073 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5074 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5075 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5076 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5077 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5078 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5079 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5080 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5081 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5082 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5083 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5084 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5086 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5087 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5088 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5089 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5090 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5092 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5093 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5094 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5095 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5096 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5097 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5098 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5099 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5100 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5101 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5103 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5104 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5106 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5107 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5108 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5109 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5110 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5111 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5112 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5113 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5114 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5115 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5116 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5117 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5118 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5119 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5120 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5128 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5140 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5141 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5142 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5143 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5144 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5145 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5146 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5147 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5148 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5149 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5150 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5151 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5152 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5153 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5154 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5156 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5157 that was previously under [RESET_PID].
5158 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5159 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5160 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5162 * sysdeps/i386/nptl/Implies: New file.
5163 * sysdeps/x86_64/nptl/Implies: New file.
5164 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5165 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5166 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5167 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5169 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5170 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5171 (__libc_vfork): New strong alias.
5172 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5173 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5175 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5176 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5177 (__libc_vfork): New strong alias.
5178 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5179 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5181 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5182 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5183 (__libc_vfork): New strong alias.
5184 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5185 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5186 * nptl/pt-vfork.c: New file.
5187 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5188 (libpthread: GLIBC_2.20): New version set (empty).
5190 2014-05-14 Will Newton <will.newton@linaro.org>
5192 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5195 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5198 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5199 arguments with exponent 65 or above.
5200 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5201 arguments 0x1p113L or above.
5202 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5203 to arguments 0x1p107L or above.
5204 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5205 positive arguments with exponent 65 or above.
5206 * math/auto-libm-test-in: Add more tests of log1p.
5207 * math/auto-libm-test-out: Regenerated.
5210 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5211 non-finite arguments is +0.
5212 * math/s_cacosf.c (__cacosf): Likewise.
5213 * math/s_cacosl.c (__cacosl): Likewise.
5214 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5215 * sysdeps/i386/fpu/libm-test-ulps: Update.
5216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5219 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5221 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5222 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5223 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5224 for explicit high bit of mantissa when testing for argument equal
5226 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5227 * sysdeps/i386/fpu/libm-test-ulps: Update.
5228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5231 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5232 (__erf): Scale by 16 instead of 8 in potentially underflowing
5233 case. Ensure exception if result actually underflows.
5234 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5235 (__erff): Scale by 16 instead of 8 in potentially underflowing
5236 case. Ensure exception if result actually underflows.
5237 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5238 (efx8): Remove variable.
5239 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5240 case. Ensure exception if result actually underflows.
5241 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5242 (efx8): Remove variable.
5243 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5244 case. Ensure exception if result actually underflows.
5245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5246 (efx8): Remove variable.
5247 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5248 case. Ensure exception if result actually underflows.
5249 * math/auto-libm-test-in: Add more tests of erf.
5250 * math/auto-libm-test-out: Regenerated.
5252 2014-05-14 Andreas Schwab <schwab@suse.de>
5254 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5255 Remove code conditionalized on USE___THREAD.
5257 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5258 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5261 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5264 Define unconditionally.
5265 (__ASSUME_O_CLOEXEC): Likewise.
5266 (__ASSUME_SOCK_CLOEXEC): Likewise.
5267 (__ASSUME_IN_NONBLOCK): Likewise.
5268 (__ASSUME_PIPE2): Likewise.
5269 (__ASSUME_EVENTFD2): Likewise.
5270 (__ASSUME_SIGNALFD4): Likewise.
5271 (__ASSUME_DUP3): Likewise.
5272 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5273 (__ASSUME_DUP3): Do not define.
5274 (__ASSUME_EVENTFD2): Likewise.
5275 (__ASSUME_IN_NONBLOCK): Likewise.
5276 (__ASSUME_O_CLOEXEC): Likewise.
5277 (__ASSUME_PIPE2): Likewise.
5278 (__ASSUME_SIGNALFD4): Likewise.
5279 (__ASSUME_SOCK_CLOEXEC): Likewise.
5280 (__ASSUME_UTIMES): Undefine.
5281 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5282 (__ASSUME_UTIMES): Do not define.
5283 (__ASSUME_O_CLOEXEC): Likewise.
5284 (__ASSUME_SOCK_CLOEXEC): Likewise.
5285 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5286 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5288 (__ASSUME_PIPE2): Likewise.
5289 (__ASSUME_EVENTFD2): Likewise.
5290 (__ASSUME_SIGNALFD4): Likewise.
5291 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5292 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5294 (__ASSUME_EVENTFD2): Likewise.
5295 (__ASSUME_SIGNALFD4): Likewise.
5296 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5297 (__ASSUME_32BITUIDS): Likewise.
5298 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5299 (__ASSUME_IPC64): Likewise.
5300 (__ASSUME_ST_INO_64_BIT): Likewise.
5301 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5302 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5303 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5304 (__ASSUME_UTIMES): Do not define.
5305 (__ASSUME_PSELECT): Likewise.
5306 (__ASSUME_PPOLL): Likewise.
5307 (__ASSUME_O_CLOEXEC): Likewise.
5308 (__ASSUME_SOCK_CLOEXEC): Likewise.
5309 (__ASSUME_IN_NONBLOCK): Likewise.
5310 (__ASSUME_PIPE2): Likewise.
5311 (__ASSUME_EVENTFD2): Likewise.
5312 (__ASSUME_SIGNALFD4): Likewise.
5313 (__ASSUME_DUP3): Likewise.
5314 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5315 (__ASSUME_UTIMES): Likewise.
5316 (__ASSUME_O_CLOEXEC): Likewise.
5317 (__ASSUME_SOCK_CLOEXEC): Likewise.
5318 (__ASSUME_IN_NONBLOCK): Likewise.
5319 (__ASSUME_PIPE2): Likewise.
5320 (__ASSUME_EVENTFD2): Likewise.
5321 (__ASSUME_SIGNALFD4): Likewise.
5322 (__ASSUME_DUP3): Likewise.
5323 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5324 (__ASSUME_UTIMES): Likewise.
5325 (__ASSUME_O_CLOEXEC): Likewise.
5326 (__ASSUME_SOCK_CLOEXEC): Likewise.
5327 (__ASSUME_IN_NONBLOCK): Likewise.
5328 (__ASSUME_PIPE2): Likewise.
5329 (__ASSUME_EVENTFD2): Likewise.
5330 (__ASSUME_SIGNALFD4): Likewise.
5331 (__ASSUME_DUP3): Likewise.
5332 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5334 (__ASSUME_UTIMES): Likewise.
5335 (__ASSUME_EVENTFD2): Likewise.
5336 (__ASSUME_SIGNALFD4): Likewise.
5337 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5338 (__ASSUME_O_CLOEXEC): Likewise.
5339 (__ASSUME_SOCK_CLOEXEC): Likewise.
5340 (__ASSUME_IN_NONBLOCK): Likewise.
5341 (__ASSUME_PIPE2): Likewise.
5342 (__ASSUME_EVENTFD2): Likewise.
5343 (__ASSUME_SIGNALFD4): Likewise.
5344 (__ASSUME_DUP3): Likewise.
5345 (__ASSUME_UTIMES): Undefine.
5347 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5348 feclearexcept. Remove symbol versioning code.
5349 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5350 symbol versioning code.
5351 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5352 symbol versioning code.
5353 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5354 feupdateenv. Remove symbol versioning code.
5355 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5356 fegetexceptflag. Remove symbol versioning code.
5357 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5358 fesetexceptflag. Remove symbol versioning code.
5359 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5360 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5361 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5362 (__posix_fadvise64_l32): Remove prototype.
5363 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5366 2014-05-13 Roland McGrath <roland@hack.frob.com>
5368 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5369 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5370 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5371 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5373 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5375 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5376 current working directory
5378 2014-05-13 Roland McGrath <roland@hack.frob.com>
5380 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5381 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5382 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5383 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5384 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5385 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5386 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5387 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5388 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5389 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5390 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5391 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5392 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5393 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5394 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5395 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5396 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5397 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5398 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5399 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5400 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5401 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5402 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5403 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5404 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5405 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5406 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5407 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5408 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5409 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5410 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5411 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5412 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5413 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5414 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5415 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5416 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5417 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5418 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5419 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5420 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5421 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5423 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5424 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5426 * sysdeps/unix/sysv/linux/arm/Makefile
5427 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5428 Add rt-aeabi_unwind_cpp_pr1.
5429 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5430 Add nptl-aeabi_unwind_cpp_pr1.
5431 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5432 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5433 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5434 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5435 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5436 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5438 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5439 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5440 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5441 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5443 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5444 Deconditionalize the code that was previously under [RESET_PID].
5445 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5447 * sysdeps/generic/exit-thread.h: New file.
5448 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5449 * include/unistd.h (__exit_thread): Remove declaration.
5450 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5451 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5452 * csu/libc-start.c: Include <exit-thread.h>.
5453 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5454 * nptl/pthread_create.c: Include <exit-thread.h>.
5455 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5456 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5457 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5458 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5459 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5460 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5461 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5462 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5463 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5464 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5465 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5466 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5467 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5468 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5469 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5470 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5471 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5473 2014-05-13 Andreas Schwab <schwab@suse.de>
5475 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5477 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5479 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5480 (__ASSUME_UTIMES): Do not condition on kernel version.
5481 (__ASSUME_PSELECT): Define unconditionally.
5482 (__ASSUME_PPOLL): Likewise.
5483 (__ASSUME_ATFCTS): Likewise.
5484 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5485 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5486 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5487 (__ASSUME_UTIMENSAT): Define unconditionally.
5488 (__ASSUME_PRIVATE_FUTEX): Likewise.
5489 (__ASSUME_FALLOCATE): Likewise.
5490 (__ASSUME_O_CLOEXEC): Likewise.
5491 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5492 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5493 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5494 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5495 (__ASSUME_IN_NONBLOCK): Likewise.
5496 (__ASSUME_PIPE2): Likewise.
5497 (__ASSUME_EVENTFD2): Likewise.
5498 (__ASSUME_SIGNALFD4): Likewise.
5499 (__ASSUME_DUP3): Likewise.
5500 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5501 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5502 (__ASSUME_AT_RANDOM): Likewise.
5503 (__ASSUME_PREADV): Likewise.
5504 (__ASSUME_PWRITEV): Likewise.
5505 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5506 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5507 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5508 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5509 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5510 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5511 (__ASSUME_O_CLOEXEC): Define unconditionally.
5512 (__ASSUME_PSELECT): Do not undefine conditionally.
5513 (__ASSUME_PPOLL): Likewise.
5514 (__ASSUME_ATFCTS): Likewise.
5515 (__ASSUME_SET_ROBUST_LIST): Likewise.
5516 (__ASSUME_UTIMENSAT): Likewise.
5517 (__ASSUME_FDATASYNC): Define unconditionally.
5518 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5519 (__ASSUME_SIGFRAME_V2): Likewise.
5520 )__ASSUME_EVENTFD2): Likewise.
5521 (__ASSUME_SIGNALFD4): Likewise.
5522 (__ASSUME_PSELECT): Do not undefine conditionally.
5523 (__ASSUME_PPOLL): Likewise.
5524 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5525 (__ASSUME_PSELECT): Define unconditionally.
5526 (__ASSUME_PPOLL): Likewise.
5527 (__ASSUME_O_CLOEXEC): Likewise.
5528 (__ASSUME_SOCK_CLOEXEC): Likewise.
5529 (__ASSUME_IN_NONBLOCK): Likewise.
5530 (__ASSUME_PIPE2): Likewise.
5531 (__ASSUME_EVENTFD2): Likewise.
5532 (__ASSUME_SIGNALFD4): Likewise.
5533 (__ASSUME_DUP3): Likewise.
5534 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5535 (__ASSUME_O_CLOEXEC): Likewise.
5536 (__ASSUME_SOCK_CLOEXEC): Likewise.
5537 (__ASSUME_IN_NONBLOCK): Likewise.
5538 (__ASSUME_PIPE2): Likewise.
5539 (__ASSUME_EVENTFD2): Likewise.
5540 (__ASSUME_SIGNALFD4): Likewise.
5541 (__ASSUME_DUP3): Likewise.
5542 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5543 (__ASSUME_EVENTFD2): Likewise.
5544 (__ASSUME_SIGNALFD4): Likewise.
5545 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5547 2014-05-12 Andreas Schwab <schwab@suse.de>
5550 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5551 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5552 than maximum RPC packet size.
5553 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5554 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5555 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5556 (_nss_nis_getservbyport_r): Likewise.
5558 2014-05-12 Will Newton <will.newton@linaro.org>
5560 * malloc/Makefile (tests): Add tst-mallopt.
5561 * malloc/tst-mallopt.c: New file.
5563 2014-05-09 Roland McGrath <roland@hack.frob.com>
5565 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5566 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5568 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5570 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5571 (tst-tlsmod6.so): Likewise.
5573 2014-05-09 Roland McGrath <roland@hack.frob.com>
5575 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5577 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5580 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5581 and <dl-procinfo.h>.
5582 (__fegetenv): Save SSE state in envp->__eip if supported.
5583 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5584 envp->__eip if supported.
5585 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5586 and <dl-procinfo.h>.
5587 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5588 __data_offset and __data_selector in environment to 0. Set SSE
5590 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5592 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5594 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5596 2014-05-09 Will Newton <will.newton@linaro.org>
5598 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5599 and libc_relro_required for ARM.
5600 * sysdeps/arm/preconfigure: Regenerate.
5602 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5603 Stefan Liebler <stli@linux.vnet.ibm.com>
5605 * config.make.in (enable-lock-elision): New Makefile variable.
5606 * configure.ac: Likewise.
5607 * configure: Regenerate.
5608 * sysdeps/s390/configure.ac:
5609 Add check for gcc transactions support.
5610 * sysdeps/s390/configure: Regenerate.
5611 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5612 Build elision files if enabled.
5613 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5614 Add lock elision support for s390.
5615 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5616 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5617 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5618 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5619 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5620 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5621 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5623 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5625 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5627 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5629 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5630 (__lll_timedlock_elision, __lll_lock_elision)
5631 (__lll_unlock_elision, __lll_trylock_elision)
5632 (lll_timedlock_elision, lll_lock_elision)
5633 (lll_unlock_elision, lll_trylock_elision): Add.
5634 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5635 (pthread_mutex_t): Add lock elision support for s390.
5637 2014-05-14 Wilco <wdijkstr@arm.com>
5639 * sysdeps/arm/fclrexcpt.c: Cleanup.
5640 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5641 * sysdeps/arm/feenablxcpt.c: Cleanup.
5642 * sysdeps/arm/fegetenv.c: Cleanup.
5643 * sysdeps/arm/fegetexcept.c: Cleanup.
5644 * sysdeps/arm/fegetround.c: Cleanup.
5645 * sysdeps/arm/feholdexcpt.c: Cleanup.
5646 * sysdeps/arm/fesetenv.c: Cleanup.
5647 * sysdeps/arm/fesetround.c: Cleanup.
5648 * sysdeps/arm/feupdateenv.c: Cleanup.
5649 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5650 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5651 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5652 * sysdeps/arm/ftestexcept.c: Cleanup.
5653 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5654 * sysdeps/arm/setfpucw.c: Cleanup.
5656 2014-05-09 Will Newton <will.newton@linaro.org>
5658 * sysdeps/arm/armv7/strcmp.S: New file.
5659 * NEWS: Mention addition of ARMv7 optimized strcmp.
5661 2014-05-08 Roland McGrath <roland@hack.frob.com>
5663 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5664 look for %.ac rather than %.in.
5666 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5667 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5668 * sysdeps/mach/hurd/configure: Regenerated.
5669 * sysdeps/unix/sysv/linux/configure: Regenerated.
5671 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5673 2014-05-07 Steve Ellcey <sellcey@mips.com>
5676 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5680 2014-05-07 Andreas Schwab <schwab@suse.de>
5682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5683 when skipping over non-matching result from nscd.
5685 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5688 * nptl/sockperf.c (client): Check socket return value.
5691 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5692 nscd security class.
5694 2014-05-06 Roland McGrath <roland@hack.frob.com>
5696 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5697 * sysdeps/arm/unwind.h: ... here.
5699 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5702 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5705 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5707 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5708 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5709 multiarch strncpy for PPC64.
5710 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5711 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5713 multiarch optimizations.
5714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5715 (__libc_ifunc_impl_list): Likewise.
5716 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5717 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5718 multiarch stpncpy for PPC64.
5719 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5720 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5722 2014-05-06 Andreas Schwab <schwab@suse.de>
5725 * gmon/mcount.c (_MCOUNT_DECL): Use
5726 atomic_compare_and_exchange_bool_acq instead of
5727 catomic_compare_and_exchange_bool_acq.
5729 2014-05-05 Roland McGrath <roland@hack.frob.com>
5731 * elf/Makefile (others, install-bin): Remove pldd.
5732 (pldd-modules): Variable removed.
5733 ($(objpfx)pldd): Target removed.
5734 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5735 (others, install-bin): Append pldd here.
5736 ($(objpfx)pldd): New target.
5738 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5739 to 0, so the first #if test emitted later doesn't see it undefined.
5740 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5741 * sysdeps/gnu/errlist.c: Regenerated.
5743 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5745 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5746 [libc_hidden_builtin_def]: Define to empty value.
5747 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5748 [libc_hidden_builtin_def]: Likewise.
5749 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5750 [libc_hidden_builtin_def]: Likewise.
5751 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5752 [libc_hidden_builtin_def]: Likewise.
5753 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5754 __redirect_memcpy and define ifunc as default hidden symbol.
5755 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5756 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5758 2014-05-04 Adam Conrad <adconrad@0c3.net>
5760 * locale/iso-4217.def: Reintroduce XDR currency.
5762 2014-05-04 Allan McRae <allan@archlinux.org>
5764 * po/eo.po: Update Esperanto translation from translation project.
5766 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5768 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5769 and FEATURE_INDEX_MAX to 1.
5770 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5772 2014-05-01 Steve Ellcey <sellcey@mips.com>
5774 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5775 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5776 * iconvdata/big5.c (ONE_DIRECTION): Define.
5777 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5778 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5779 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5780 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5781 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5782 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5783 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5784 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5785 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5786 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5787 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5788 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5789 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5790 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5791 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5792 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5793 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5794 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5795 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5796 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5797 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5798 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5799 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5800 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5801 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5802 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5803 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5804 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5805 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5806 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5807 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5808 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5809 * iconvdata/johab.c (ONE_DIRECTION): Define.
5810 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5811 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5812 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5813 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5814 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5815 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5816 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5817 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5818 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5819 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5821 2014-05-01 Roland McGrath <roland@hack.frob.com>
5823 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5824 (_IO_JUMPS_OFFSET): Define to 0.
5826 * nptl/sysdeps/pthread/bits/libc-lock.h
5827 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5828 (__libc_lock_define_initialized_recursive): Always define using
5829 initializer. Modern compilers treat uninitialized (implicit zero) and
5830 explicit zero initializers the same (i.e. put the datum in bss).
5832 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5834 * nscd/nscd-client.h: Include <string.h>.
5836 2014-05-01 David S. Miller <davem@davemloft.net>
5839 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5840 multiple zero bytes exist at the end of a string.
5841 Reported by Aurelien Jarno <aurelien@aurel32.net>
5843 * string/test-strcmp.c (check): Add explicit test for situations where
5844 there are multiple zero bytes after the first.
5846 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5849 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5850 when compiling wprintf.
5851 * stdio-common/tstdiomisc.c (t3): New function.
5854 2014-05-01 Steve Ellcey <sellcey@mips.com>
5856 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5857 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5858 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5859 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5861 2014-05-01 Steve Ellcey <sellcey@mips.com>
5863 * stdlib/longlong.h: Updated from GCC.
5865 2014-05-01 Will Newton <will.newton@linaro.org>
5866 Bernard Ogden <bernie.ogden@linaro.org>
5868 * NEWS: Update fixed bug list.
5871 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5873 2014-04-30 David S. Miller <davem@davemloft.net>
5875 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5876 (libc_feholdexcept_setround_sparc_ctx): New function.
5877 (libc_fesetenv_sparc_ctx): Likewise.
5878 (libc_feupdateenv_sparc_ctx): Likewise.
5879 (libc_feholdsetround_sparc_ctx): Likewise.
5880 (libc_feholdexcept_setround_ctx): Define.
5881 (libc_feholdexcept_setroundf_ctx): Likewise.
5882 (libc_feholdexcept_setroundl_ctx): Likewise.
5883 (libc_fesetenv_ctx): Likewise.
5884 (libc_fesetenvf_ctx): Likewise.
5885 (libc_fesetenvl_ctx): Likewise.
5886 (libc_feupdateenv_ctx): Likewise.
5887 (libc_feupdateenvf_ctx): Likewise.
5888 (libc_feupdateenvl_ctx): Likewise.
5889 (libc_feresetround_ctx): Likewise.
5890 (libc_feresetroundf_ctx): Likewise.
5891 (libc_feresetroundl_ctx): Likewise.
5892 (libc_feholdsetround_ctx): Likewise.
5893 (libc_feholdsetroundf_ctx): Likewise.
5894 (libc_feholdsetroundl_ctx): Likewise.
5896 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5897 with __USE_GNU instead of XOPEN cpp guards.
5899 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5902 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5903 with XOPEN cpp guards.
5905 2014-04-30 Julian Brown <julian@codesourcery.com>
5908 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5911 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5914 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5916 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5917 * sysdeps/unix/sysv/linux/configure: Regenerated.
5918 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5919 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5920 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5921 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5922 * README: Update reference to required Linux kernel version.
5923 * manual/install.texi (Linux): Update reference to required Linux
5924 kernel headers version.
5925 * INSTALL: Regenerated.
5927 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5929 [POSIX] (limits.h): Likewise.
5930 [POSIX] (math.h): Likewise.
5931 [POSIX] (sys/wait.h): Likewise.
5932 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5934 [POSIX] (stddef.h): Do not allow header inclusion.
5936 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5938 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5940 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5942 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5943 Return immediately after lll_futex_wake.
5945 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5948 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5950 (datahead_init_pos): Call datahead_init_common early.
5951 (datahead_init_neg): Likewise.
5953 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5954 datahead_init_neg): New functions.
5955 * nscd/aicache.c (addhstaiX): Use them.
5956 * nscd/grpcache.c (cache_addgr): Likewise.
5957 * nscd/hstcache.c (cache_addhst): Likewise.
5958 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5959 * nscd/netgroupcache.c (do_notfound): Likewise.
5960 (addgetnetgrentX): Likewise.
5961 (addinnetgrX): Likewise.
5962 * nscd/pwdcache.c (cache_addpw): Likewise.
5963 * nscd/servicescache.c (cache_addserv): Likewise.
5965 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5966 Atsushi Onoe <atsushi@onoe.org>
5971 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5972 one response is valid.
5973 * resolv/res_send.c (send_dg): Check for validity of other
5974 response if the current response is a referral.
5976 2014-04-29 Steve Ellcey <sellcey@mips.com>
5978 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5980 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5983 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5984 Always divide by positive zero when computing -Inf result.
5985 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5986 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5988 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5990 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5991 FPSCR if value do not change.
5992 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5993 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5994 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5995 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5996 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5997 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6000 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6002 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6003 * sysdeps/unix/sysv/linux/hppa: Move directory from
6004 ports/systeps/unix/sysv/linux/hppa.
6005 * README: Update listing for hppa-*-linux-gnu.
6007 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6010 * manual/stdio.texi (Hook functions): Fix types of stream hook
6013 * socket/sys/socket.h: Fix typo in comment.
6015 2014-04-28 Wilco <wdijkstr@arm.com>
6017 * sysdeps/arm/fenv_private.h: New file.
6018 * sysdeps/arm/math_private.h: New file.
6019 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6021 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6023 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6025 (La_x86_64_retval): Likewise.
6027 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6029 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6030 fpsr if value didn't change.
6031 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6032 to fpcr if value didn't change.
6033 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6034 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6035 fpsr or fpcr if value didn't change.
6036 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6037 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6038 fpcr if value didn't change.
6039 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6040 to fpsr if value didn't change.
6042 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6044 * nptl/tst-sem3.c: Use test-skeleton.c
6045 (main): Rename to do_test. Use return instead of
6047 * nptl/tst-sem4.c: Use test-skeleton.c
6048 (main): Rename to do_test.
6050 2014-04-22 David S. Miller <davem@davemloft.net>
6052 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6053 (struct sigaction): New struct member __glibc_reserved0, change
6054 type of sa_flags to int.
6056 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6058 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6059 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6061 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6063 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6064 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6066 2014-04-22 Will Newton <will.newton@linaro.org>
6067 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6069 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6070 (__longjmp): Add longjmp and longjmp_target SystemTap
6072 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6073 (__sigsetjmp): Add setjmp SystemTap probe.
6075 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6077 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6080 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6082 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6084 * sysdeps/powerpc/fpu/fenv_private.h
6085 (libc_feholdexcept_setroundl_ctx): Define to
6086 libc_feholdexcept_setround_ppc_ctx.
6087 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6088 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6089 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6090 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6092 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6094 * sysdeps/aarch64/math-tests.h: New file.
6096 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6098 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6101 Check and set bit_AVX2_Usable.
6102 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6104 (bit_AVX2): Likewise.
6105 (index_AVX2_Usable): Likewise.
6106 (CPUID_AVX2): Likewise.
6107 (HAS_AVX2): Likewise.
6109 2014-04-17 Will Newton <will.newton@linaro.org>
6111 * manual/setjmp.texi (System V contexts): Add note that
6112 calling setcontext on a context created by a call to a
6113 signal handler is undefined. Update text to note that
6114 setcontext from a signal handler is possible but not
6118 * stdlib/tst-setcontext.c: Include signal.h.
6119 (main): Check that the signal stack before and
6120 after swapcontext is the same.
6122 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6123 Re-implement to restore registers in user code and avoid
6124 rt_sigreturn system call.
6126 2014-04-17 Wilco <wdijkstr@arm.com>
6128 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6129 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6130 * math/test-fenv.c: Skip exception trap tests on targets which only
6131 support non-stop mode.
6133 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6134 Wilco Dijkstra <wilco.dijkstra@arm.com>
6136 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6137 (libc_feholdsetround_aarch64_ctx)
6138 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6139 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6140 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6141 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6142 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6143 (libc_feresetround_noexl_ctx): Define.
6145 2014-04-16 Richard Henderson <rth@redhat.com>
6147 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6149 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6152 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6153 const from the non-libc, non-ldso copy.
6155 * sysdeps/alpha/libm-test-ulps: Regenerate.
6157 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6158 Wilco Dijkstra <wilco.dijkstra@arm.com>
6160 * sysdeps/aarch64/fpu/math_private.h: New file.
6162 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6164 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6166 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6168 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6169 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6171 Intel MPX bound registers before _dl_profile_fixup.
6172 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6173 registers after _dl_profile_fixup. Save and restore bound
6174 registers bnd0/bnd1 when calling _dl_call_pltexit.
6175 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6176 (LR_BND_OFFSET): Likewise.
6177 (LRV_BND0_OFFSET): Likewise.
6178 (LRV_BND1_OFFSET): Likewise.
6180 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6182 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6184 * sysdeps/mach/hurd/i386/tls.h: ... here.
6185 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6186 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6189 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6191 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6193 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6195 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6197 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6200 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6201 * sysdeps/s390/configure: Regenerate.
6204 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6205 Set round-to-nearest internally to reduce error accumulation.
6207 2014-04-16 Alan Modra <amodra@gmail.com>
6211 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6212 * math/libm-test.inc (frexp_test_data): Add tests.
6213 * NEWS: Update fixed bug list.
6215 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6217 * benchtests/Makefile: Depend on libraries in build directory.
6218 (bench-math): Separate out math tests.
6219 (bench-pthread): Separate out pthread tests.
6220 (bench): Include math and pthread tests.
6222 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6225 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6226 _dl_debug_initialize.
6228 * configure.ac: Remove SELinux header check.
6229 * configure: Regenerate.
6230 * nscd/selinux.c (perms): Array of const char* to permission names.
6231 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6232 default policy. Call string_to_security_class and string_to_av_perm to
6233 translate strings. Enforce default policy and call avs_has_perm with
6234 results of translated strings.
6236 2014-04-13 David S. Miller <davem@davemloft.net>
6238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6240 2014-04-12 Allan McRae <allan@archlinux.org>
6243 * manual/string.texi (Collation Functions): Fix qsort argument
6245 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6247 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6249 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6250 Make the test a no-op if there are no exceptions defined.
6252 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6254 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6255 enable-hardcoded-path-in-tests
6257 2014-04-11 Will Newton <will.newton@linaro.org>
6259 * benchtests/Makefile (extra-objs): Add json-lib.o.
6260 (bench-func): Tidy up JSON output.
6261 * benchtests/bench-skeleton.c: Include json-lib.h.
6262 (main): Use JSON library functions to do output of
6264 * benchtests/bench-timing-type.c (main): Output the
6265 timing type simply, leaving formatting to the user.
6266 * benchtests/json-lib.c: New file.
6267 * benchtests/json-lib.h: Likewise.
6269 2014-04-11 Torvald Riegel <triegel@redhat.com>
6272 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6273 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6274 memory barriers. Add comments.
6275 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6276 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6277 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6278 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6279 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6280 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6282 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6284 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6285 * sysdeps/s390/s390-64/configure.ac: ... this ...
6286 * sysdeps/s390/configure.ac: ... to here.
6287 * sysdeps/s390/s390-32/configure: Delete file.
6288 * sysdeps/s390/s390-64/configure: Delete file.
6289 * sysdeps/s390/configure: Regenerate.
6291 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6293 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6295 2014-04-11 Will Newton <will.newton@linaro.org>
6297 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6298 to zero if it is not defined elsewhere. (mtrim): Test
6299 the value of MALLOC_DEBUG with #if rather than #ifdef.
6301 2014-04-10 Torvald Riegel <triegel@redhat.com>
6303 * benchtests/pthread_once-inputs: New file.
6304 * benchtests/pthread_once-source.c: New file.
6305 * benchtests/README: Update documentation.
6307 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6308 H.J. Lu <hongjiu.lu@intel.com>
6310 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6311 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6312 * sysdeps/x86_64/configure: Regenerated.
6313 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6315 (REGISTER_SAVE_RAX): Likewise.
6316 (REGISTER_SAVE_RCX): Likewise.
6317 (REGISTER_SAVE_RDX): Likewise.
6318 (REGISTER_SAVE_RSI): Likewise.
6319 (REGISTER_SAVE_RDI): Likewise.
6320 (REGISTER_SAVE_R8): Likewise.
6321 (REGISTER_SAVE_R9): Likewise.
6322 (REGISTER_SAVE_BND0): Likewise.
6323 (REGISTER_SAVE_BND1): Likewise.
6324 (REGISTER_SAVE_BND2): Likewise.
6325 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6326 bound registers when calling _dl_fixup.
6328 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6330 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6331 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6333 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6334 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6335 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6336 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6337 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6338 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6339 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6341 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6344 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6345 pathconf(_PC_NAME_MAX).
6347 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6349 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6351 (__PTHREAD_SPINS): Move definition to ...
6352 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6353 (__PTHREAD_SPINS): ... here.
6354 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6355 (__PTHREAD_SPIN): Likewise.
6356 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6357 (__PTHREAD_SPIN): Likewise.
6358 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6359 (__PTHREAD_SPIN): Likewise.
6360 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6361 (__PTHREAD_SPIN): Likewise.
6362 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6363 (__PTHREAD_SPIN): Likewise.
6364 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6365 (__PTHREAD_SPIN): Likewise.
6366 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6367 (__PTHREAD_SPIN): Likewise.
6368 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6369 (__PTHREAD_SPIN): Likewise.
6370 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6371 (__PTHREAD_SPIN): Likewise.
6372 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6373 (__PTHREAD_SPIN): Likewise.
6374 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6375 (__PTHREAD_SPIN): Likewise.
6376 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6377 (__PTHREAD_SPIN): Likewise.
6379 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6380 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6381 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6382 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6384 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6385 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6386 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6387 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6389 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6390 strlen symbol for non multi-arch builds.
6391 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6392 missing hidden_def and weak_alias.
6394 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6396 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6398 2014-04-07 Will Newton <will.newton@linaro.org>
6400 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6401 and contents. [!_LIBC] Remove #ifndef and contents.
6402 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6403 * string/memccpy.c (__memccpy): Use ANSI prototype.
6404 * string/memfrob.c (memfrob): Likewise.
6405 * string/strcoll.c (STRCOLL): Likewise.
6406 * string/strlen.c (strlen): Likewise.
6407 * string/strtok.c (STRTOK): Likewise.
6408 * string/strcat.c: Remove unused #include of memcopy.h.
6409 (strcat): Use ANSI prototype.
6410 * string/strchr.c: Remove unused #include of memcopy.h.
6411 (strchr): Use ANSI prototype.
6412 * string/strcmp.c: Remove unused #include of memcopy.h.
6413 (strcmp): Use ANSI prototype.
6414 * string/strcpy.c: Remove unused #include of memcopy.h.
6415 (strcpy): Use ANSI prototype.
6417 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6419 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6420 * config.make.in (config-extra-cppflags): Set it from
6421 libc_extra_cppflags.
6422 * configure.ac (libc_extra_cflags): Make it accumulate over
6423 configure fragments.
6424 (libc_extra_cppflags): New flag.
6425 * configure. Regenerate.
6426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6427 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6428 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6432 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6433 result for FE_DOWNWARD rounding mode.
6434 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6438 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6440 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6441 in function argument name.
6443 2014-04-03 David Svoboda <svoboda@cert.org>
6446 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6449 2014-04-03 Roland McGrath <roland@hack.frob.com>
6451 * elf/dl-unmap-segments.h: New file.
6452 * sysdeps/generic/ldsodefs.h
6453 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6454 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6455 * elf/dl-fptr.c: Likewise.
6456 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6457 * sysdeps/aarch64/tlsdesc.c: Likewise.
6458 * sysdeps/arm/tlsdesc.c: Likewise.
6459 * sysdeps/i386/tlsdesc.c: Likewise.
6460 * sysdeps/tile/dl-runtime.c: Likewise.
6461 * sysdeps/x86_64/tlsdesc.c: Likewise.
6462 * elf/dl-load.h: New file.
6463 * elf/dl-load.c: Include it.
6464 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6465 Macros moved to dl-load.h.
6466 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6467 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6468 Use _dl_unmap_segments in place of __munmap.
6469 Break out segment-mapping loop into ...
6470 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6472 2014-04-03 Will Newton <will.newton@linaro.org>
6474 * elf/dl-lookup.c (do_lookup_x): Remove comment
6475 referring to nested function and move variable
6476 declarations down to before first use.
6478 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6482 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6484 * math/s_catanf.c (__catanf): Likewise.
6485 * math/s_catanh.c (__catanh): Likewise.
6486 * math/s_catanhf.c (__catanhf): Likewise.
6487 * math/s_catanhl.c (__catanhl): Likewise.
6488 * math/s_catanl.c (__catanl): Likewise.
6489 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6490 by positive zero when computing -Inf result.
6491 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6492 (catanh_test): Likewise.
6493 * sysdeps/i386/fpu/libm-test-ulps: Update.
6494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6497 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6498 instead of using underflowing value in computing result.
6499 * math/s_clog10.c (__clog10): Likewise.
6500 * math/s_clog10f.c (__clog10f): Likewise.
6501 * math/s_clog10l.c (__clog10l): Likewise.
6502 * math/s_clogf.c (__clogf): Likewise.
6503 * math/s_clogl.c (__clogl): Likewise.
6504 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6505 (clog10_test): Likewise.
6506 * sysdeps/i386/fpu/libm-test-ulps: Update.
6507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6509 2014-04-02 Alan Modra <amodra@gmail.com>
6512 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6513 output when value is near a power of two. Use int64_t for lx and
6514 remove casts. Use decimal rather than hex exponent constants.
6515 Don't use long double multiplication when double will suffice.
6516 * math/libm-test.inc (nextafter_test_data): Add tests.
6517 * NEWS: Add 16739 and 16786 to bug list.
6519 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6521 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6523 2014-04-01 Will Newton <will.newton@linaro.org>
6525 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6526 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6528 2014-04-01 Florian Weimer <fweimer@redhat.com>
6531 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6532 * nptl/tst-setuid2.c: New file.
6533 * nptl/Makefile (xtests): Add tst-setuid2.
6535 2014-04-01 Alan Modra <amodra@gmail.com>
6538 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6540 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6544 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6545 set errno as appropriate.
6546 * math/w_scalbf.c (__scalbf): Likewise.
6547 * math/w_scalbl.c (__scalbl): Likewise.
6548 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6549 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6550 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6554 * math/w_atan2.c: Include <errno.h>.
6555 (__atan2): Set errno for result underflowing to zero.
6556 * math/w_atan2f.c: Include <errno.h>.
6557 (__atan2f): Set errno for result underflowing to zero.
6558 * math/w_atan2l.c: Include <errno.h>.
6559 (__atan2l): Set errno for result underflowing to zero.
6560 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6562 * math/auto-libm-test-out: Regenerated.
6564 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6566 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6567 Encode instruction correctly in little endian.
6568 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6570 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6572 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6574 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6577 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6580 * sysdeps/unix/sysv/linux/kernel-features.h
6581 [__sparc__ && !__arch64__ && !__sparc_v9__]
6582 (__ASSUME_SET_ROBUST_LIST): Do not define.
6583 [__sparc__ && !__arch64__ && !__sparc_v9__]
6584 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6585 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6587 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6588 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6589 (__ASSUME_REQUEUE_PI): Likewise.
6590 (__ASSUME_SET_ROBUST_LIST): Likewise.
6591 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6592 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6594 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6595 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6597 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6599 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6601 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6602 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6604 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6605 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6609 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6610 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6611 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6613 2014-03-31 Will Newton <will.newton@linaro.org>
6615 * benchtests/Makefile (bench): Add ffs and ffsll to list
6617 * benchtests/ffs-inputs: New file.
6618 * benchtests/ffsll-inputs: Likewise.
6620 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6623 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6624 too large before casting to int.
6625 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6626 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6627 * math/libm-test.inc (scalb_test_data): Add more tests.
6629 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6631 * benchtests/Makefile (DETAILED_OPT): New make option.
6632 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6634 * benchtests/bench-skeleton.c: Include stdbool.h.
6635 (main): Store and print timings per input.
6636 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6637 member to each argument value.
6638 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6639 (_print_arg_data): Initialize per-input timing to 0.
6641 * benchtests/Makefile (timing-type): New binary.
6642 (bench-clean): Also remove bench-timing-type.
6643 (bench): New target for timing-type.
6644 (bench-func): Print output in JSON format.
6645 * benchtests/bench-skeleton.c (main): Print output in JSON
6647 * benchtests/bench-timing-type.c: New file.
6648 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6649 (TIMING_PRINT_STATS): Remove.
6650 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6653 * benchtests/bench-modf.c: Remove.
6654 * benchtests/modf-inputs: New inputs file.
6656 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6659 * math/s_clog10.c (M_PI_LOG10E): New macro.
6660 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6661 imaginary parts are 0.
6662 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6663 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6664 imaginary parts are 0.
6665 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6666 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6667 imaginary parts are 0.
6668 * math/libm-test.inc (clog10_test_data): Update expected results
6669 for when real and imaginary parts are 0.
6671 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6673 * elf/dl-load.c: Finish conversion of __builtin_expect into
6676 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6679 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6680 1+x for argument with exponent below -67.
6681 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6683 * math/auto-libm-test-in: Add more tests of exp.
6684 * math/auto-libm-test-out: Regenerated.
6686 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6689 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6690 (nscd_getnetgrent): Use it.
6693 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6696 2014-03-27 Andi Kleen <ak@linux.intel.com>
6698 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6699 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6700 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6701 (lll_robust_unlock): Remove out of line section. Use cfi
6703 (LLL_STUB_UNWIND_INFO*): Remove.
6704 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6705 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6706 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6707 (lll_robust_unlock): Remove out of line section. Use cfi
6709 (LLL_STUB_UNWIND_INFO*): Remove.
6711 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6714 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6717 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6719 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6721 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6724 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6726 * math/test-fenv-preserve.c: New file.
6727 * math/Makefile (tests): Add test-fenv-preserve.
6729 2014-03-26 Will Newton <will.newton@linaro.org>
6731 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6733 2014-03-25 Roland McGrath <roland@hack.frob.com>
6735 * scripts/versionlist.awk: Partition the version sets and emit all
6736 GLIBC_* (sorted) before all others (sorted).
6738 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6740 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6741 GLIBC_2.2.5 version.
6743 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6745 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6748 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6753 2014-03-25 Andreas Schwab <schwab@suse.de>
6755 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6756 label to be used after in6ailist is initialized.
6758 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6760 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6761 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6763 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6767 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6769 (fp_formats): Update initializers.
6770 (init_fp_formats): Initialize new field.
6771 (output_for_one_input_case): Allow underflow for results up to
6773 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6774 * math/auto-libm-test-in: Don't mark some underflows from asin and
6776 * math/auto-libm-test-out: Regenerated.
6777 * sysdeps/i386/fpu/libm-test-ulps: Update.
6778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6780 2014-03-25 Andreas Schwab <schwab@suse.de>
6782 * libio/Makefile (tst-ftell-partial-wide-ENV)
6783 (tst-ftell-active-handler-ENV): Define.
6785 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6787 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6789 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6791 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6793 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6795 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6796 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6797 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6799 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6802 * elf/dl-load.c (open_verify): Add mode parameter.
6803 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6804 (open_path): Change from boolean 'secure' to complete flag 'mode'
6805 (_dl_map_object): Adjust.
6806 * elf/Makefile (tests): Add tst-dlopen-aout.
6807 * elf/tst-dlopen-aout.c: New test.
6809 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6812 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6813 (struct stat): Rename member pad0 to __glibc_reserved0.
6816 * sysdeps/s390/s390-32/bits/wordsize.h
6817 (__WORDSIZE32_SIZE_ULONG): New define.
6818 * sysdeps/s390/s390-64/bits/wordsize.h
6819 (__WORDSIZE32_SIZE_ULONG): Likewise.
6820 * sysdeps/generic/stdint.h (SIZE_MAX):
6821 Define as UL if __WORDSIZE32_SIZE_ULONG.
6824 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6825 (__glibc_reserved0): New variable.
6826 (sa_flags): Change type to int.
6828 * posix/Makefile (before-compile): Use += before-compile instead
6831 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6832 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6834 2014-03-20 Andreas Schwab <schwab@suse.de>
6837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6838 non-matching result from nscd.
6840 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6842 * scripts/bench.py: Moved to ...
6843 * benchtests/scripts/bench.py: ... here.
6844 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6846 2014-03-24 Andreas Schwab <schwab@suse.de>
6849 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6850 alloca_account and account alloca use for struct in6ailist.
6852 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6855 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6856 rounding mode to recompute results that overflow to infinity or
6858 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6860 * math/auto-libm-test-out: Regenerated.
6861 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6862 (ccosh_test): Likewise.
6863 (csin_test_data): Use plus_oflow.
6864 (csin_test): Use ALL_RM_TEST.
6865 (csinh_test_data): Use plus_oflow.
6866 (csinh_test): Use ALL_RM_TEST.
6867 * sysdeps/i386/fpu/libm-test-ulps: Update.
6868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6870 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6872 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6873 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6874 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6877 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6879 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6880 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6881 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6882 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6884 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6885 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6887 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6888 * sysdeps/i386/fpu/libm-test-ulps: Update.
6889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6891 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6893 * scripts/bench.pl: Remove file.
6894 * scripts/bench.py: New benchmark script.
6895 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6896 * benchtests/README: Mention python dependency.
6897 * scripts/pylintrc: New file.
6898 * scripts/pylint: New file.
6900 * bits/mathdef.h: Use #ifdef instead of #if.
6901 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6902 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6903 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6904 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6905 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6906 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6908 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6909 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6911 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6913 and strpbrk-ppc64 objects.
6914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6915 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6916 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6917 multiarch strpbrk for POWER7.
6918 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6919 multiarch strpbrk for PPC64.
6920 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6922 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6925 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6927 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6928 (atan_test): Likewise.
6929 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6930 (atanh_test): Use ALL_RM_TEST.
6931 (atan2_test_data): Likewise.
6932 (cabs_test): Likewise.
6933 (cacosh_test): Likewise.
6934 (carg_test): Likewise.
6935 (casin_test): Likewise.
6936 (casinh_test): Likewise.
6937 (cbrt_test): Likewise.
6938 (csqrt_test): Likewise.
6939 (erf_test): Likewise.
6940 (erfc_test): Likewise.
6941 (pow10_test): Likewise.
6942 (exp2_test): Likewise.
6943 (hypot_test): Likewise.
6944 (j0_test): Likewise.
6945 (j1_test): Likewise.
6946 (lgamma_test): Likewise.
6947 (gamma_test): Likewise.
6948 (sincos_test): Likewise.
6949 (tanh_test): Likewise.
6950 (y0_test): Likewise.
6951 (y1_test): Likewise.
6952 * sysdeps/i386/fpu/libm-test-ulps: Update.
6953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6955 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6957 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6958 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6959 and strcspn-ppc64 objects.
6960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6961 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6962 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6963 multiarch strcspn for POWER7.
6964 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6965 multiarch strcspn for PPC64.
6966 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6968 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6971 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6973 * math/gen-libm-test.pl (generate_testfile): Expect only function
6974 name as argument to AUTO_TESTS_* and pass results for all rounding
6975 modes to parse_args.
6976 (parse_auto_input): Separate inputs of automatic tests from
6977 outputs before storing in %auto_tests.
6978 * math/libm-test.inc (acos_test_data): Update call to
6980 (acos_test): Use ALL_RM_TEST.
6981 (acos_tonearest_test_data): Remove.
6982 (acos_test_tonearest): Likewise.
6983 (acos_towardzero_test_data): Likewise.
6984 (acos_test_towardzero): Likewise.
6985 (acos_downward_test_data): Likewise.
6986 (acos_test_downward): Likewise.
6987 (acos_upward_test_data): Likewise.
6988 (acos_test_upward): Likewise.
6989 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6990 (asin_test_data): Likewise.
6991 (asin_test): Use ALL_RM_TEST.
6992 (asin_tonearest_test_data): Remove.
6993 (asin_test_tonearest): Likewise.
6994 (asin_towardzero_test_data): Likewise.
6995 (asin_test_towardzero): Likewise.
6996 (asin_downward_test_data): Likewise.
6997 (asin_test_downward): Likewise.
6998 (asin_upward_test_data): Likewise.
6999 (asin_test_upward): Likewise.
7000 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7001 (atan_test_data): Likewise.
7002 (atanh_test_data): Likewise.
7003 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7004 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7005 (carg_test_data): Likewise.
7006 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7007 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7008 (ccosh_test_data): Likewise.
7009 (cexp_test_data): Likewise.
7010 (clog_test_data): Likewise.
7011 (clog10_test_data): Likewise.
7012 (cos_test_data): Update call to AUTO_TESTS_f_f.
7013 (cos_test): Use ALL_RM_TEST.
7014 (cos_tonearest_test_data): Remove.
7015 (cos_test_tonearest): Likewise.
7016 (cos_towardzero_test_data): Likewise.
7017 (cos_test_towardzero): Likewise.
7018 (cos_downward_test_data): Likewise.
7019 (cos_test_downward): Likewise.
7020 (cos_upward_test_data): Likewise.
7021 (cos_test_upward): Likewise.
7022 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7023 (cosh_test): Use ALL_RM_TEST.
7024 (cosh_tonearest_test_data): Remove.
7025 (cosh_test_tonearest): Likewise.
7026 (cosh_towardzero_test_data): Likewise.
7027 (cosh_test_towardzero): Likewise.
7028 (cosh_downward_test_data): Likewise.
7029 (cosh_test_downward): Likewise.
7030 (cosh_upward_test_data): Likewise.
7031 (cosh_test_upward): Likewise.
7032 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7033 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7034 (ctan_test_data): Likewise.
7035 (ctan_test): Use ALL_RM_TEST.
7036 (ctan_tonearest_test_data): Remove.
7037 (ctan_test_tonearest): Likewise.
7038 (ctan_towardzero_test_data): Likewise.
7039 (ctan_test_towardzero): Likewise.
7040 (ctan_downward_test_data): Likewise.
7041 (ctan_test_downward): Likewise.
7042 (ctan_upward_test_data): Likewise.
7043 (ctan_test_upward): Likewise.
7044 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7045 (ctanh_test): Use ALL_RM_TEST.
7046 (ctanh_tonearest_test_data): Remove.
7047 (ctanh_test_tonearest): Likewise.
7048 (ctanh_towardzero_test_data): Likewise.
7049 (ctanh_test_towardzero): Likewise.
7050 (ctanh_downward_test_data): Likewise.
7051 (ctanh_test_downward): Likewise.
7052 (ctanh_upward_test_data): Likewise.
7053 (ctanh_test_upward): Likewise.
7054 (erf_test_data): Update call to AUTO_TESTS_f_f.
7055 (erfc_test_data): Likewise.
7056 (exp_test_data): Likewise.
7057 (exp_test): Use ALL_RM_TEST.
7058 (exp_tonearest_test_data): Remove.
7059 (exp_test_tonearest): Likewise.
7060 (exp_towardzero_test_data): Likewise.
7061 (exp_test_towardzero): Likewise.
7062 (exp_downward_test_data): Likewise.
7063 (exp_test_downward): Likewise.
7064 (exp_upward_test_data): Likewise.
7065 (exp_test_upward): Likewise.
7066 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7067 (exp10_test): Use ALL_RM_TEST.
7068 (exp10_tonearest_test_data): Remove.
7069 (exp10_test_tonearest): Likewise.
7070 (exp10_towardzero_test_data): Likewise.
7071 (exp10_test_towardzero): Likewise.
7072 (exp10_downward_test_data): Likewise.
7073 (exp10_test_downward): Likewise.
7074 (exp10_upward_test_data): Likewise.
7075 (exp10_test_upward): Likewise.
7076 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7077 (expm1_test_data): Likewise.
7078 (expm1_test): Use ALL_RM_TEST.
7079 (expm1_tonearest_test_data): Remove.
7080 (expm1_test_tonearest): Likewise.
7081 (expm1_towardzero_test_data): Likewise.
7082 (expm1_test_towardzero): Likewise.
7083 (expm1_downward_test_data): Likewise.
7084 (expm1_test_downward): Likewise.
7085 (expm1_upward_test_data): Likewise.
7086 (expm1_test_upward): Likewise.
7087 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7088 (fma_test): Use ALL_RM_TEST.
7089 (fma_towardzero_test_data): Remove.
7090 (fma_test_towardzero): Likewise.
7091 (fma_downward_test_data): Likewise.
7092 (fma_test_downward): Likewise.
7093 (fma_upward_test_data): Likewise.
7094 (fma_test_upward): Likewise.
7095 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7096 (j0_test_data): Update call to AUTO_TESTS_f_f.
7097 (j1_test_data): Likewise.
7098 (jn_test_data): Update call to AUTO_TESTS_if_f.
7099 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7100 (log_test_data): Update call to AUTO_TESTS_f_f.
7101 (log10_test_data): Likewise.
7102 (log1p_test_data): Likewise.
7103 (log2_test_data): Likewise.
7104 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7105 (pow_tonearest_test_data): Likewise.
7106 (sin_test_data): Update call to AUTO_TESTS_f_f.
7107 (sin_test): Use ALL_RM_TEST.
7108 (sin_tonearest_test_data): Remove.
7109 (sin_test_tonearest): Likewise.
7110 (sin_towardzero_test_data): Likewise.
7111 (sin_test_towardzero): Likewise.
7112 (sin_downward_test_data): Likewise.
7113 (sin_test_downward): Likewise.
7114 (sin_upward_test_data): Likewise.
7115 (sin_test_upward): Likewise.
7116 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7117 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7118 (sinh_test): Use ALL_RM_TEST.
7119 (sinh_tonearest_test_data): Remove.
7120 (sinh_test_tonearest): Likewise.
7121 (sinh_towardzero_test_data): Likewise.
7122 (sinh_test_towardzero): Likewise.
7123 (sinh_downward_test_data): Likewise.
7124 (sinh_test_downward): Likewise.
7125 (sinh_upward_test_data): Likewise.
7126 (sinh_test_upward): Likewise.
7127 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7128 (sqrt_test): Use ALL_RM_TEST.
7129 (sqrt_tonearest_test_data): Remove.
7130 (sqrt_test_tonearest): Likewise.
7131 (sqrt_towardzero_test_data): Likewise.
7132 (sqrt_test_towardzero): Likewise.
7133 (sqrt_downward_test_data): Likewise.
7134 (sqrt_test_downward): Likewise.
7135 (sqrt_upward_test_data): Likewise.
7136 (sqrt_test_upward): Likewise.
7137 (tan_test_data): Update call to AUTO_TESTS_f_f.
7138 (tan_test): Use ALL_RM_TEST.
7139 (tan_tonearest_test_data): Remove.
7140 (tan_test_tonearest): Likewise.
7141 (tan_towardzero_test_data): Likewise.
7142 (tan_test_towardzero): Likewise.
7143 (tan_downward_test_data): Likewise.
7144 (tan_test_downward): Likewise.
7145 (tan_upward_test_data): Likewise.
7146 (tan_test_upward): Likewise.
7147 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7148 (tgamma_test_data): Likewise.
7149 (y0_test_data): Likewise.
7150 (y1_test_data): Likewise.
7151 (yn_test_data): Update call to AUTO_TESTS_if_f.
7152 (main): Do not call removed functions.
7154 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7156 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7157 (ldexp_test_data): Remove.
7158 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7160 (scalb_test): Use ALL_RM_TEST.
7162 2014-03-19 Andreas Schwab <schwab@suse.de>
7164 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7166 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7169 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7170 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7171 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7172 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7173 (__ASSUME_PREADV): Undefine.
7174 (__ASSUME_PWRITEV): Likewise.
7176 2014-03-18 Roland McGrath <roland@hack.frob.com>
7178 * bits/mman-linux.h: Add comment about non-Linux use.
7179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7180 bits/mman-linux.h resting place.
7182 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7183 * bits/mman-linux.h: ... here.
7185 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7187 * conform/conformtest.pl: Add standard definition when calling C
7188 preprocessor on data files.
7189 (checknamespace): Remove unused variable.
7191 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7193 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7194 minus_oflow, plus_uflow and minus_uflow in expected results.
7195 * math/libm-test.inc (scalbn_test_data): Add more tests of
7196 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7198 (scalbn_test): Use ALL_RM_TEST.
7199 (scalbln_test_data): Add more tests of negative arguments. Use
7200 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7201 (scalbln_test): Use ALL_RM_TEST.
7203 2014-03-18 Roland McGrath <roland@hack.frob.com>
7205 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7207 2014-03-18 Will Newton <will.newton@linaro.org>
7209 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7212 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7214 * Makerules [!subdir] (check-abi): Exit with error status if a
7217 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7219 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7220 for rint. Include results for all rounding modes.
7221 (nearbyint_test): Use ALL_RM_TEST.
7222 (rint_test_data): Include all tests used for nearbyint.
7224 2014-03-17 Will Newton <will.newton@linaro.org>
7226 * nptl/sysdeps/pthread/pthread.h: Revert previous
7229 * sysdeps/generic/ldsodefs.h: Revert previous
7232 * libio/genops.c: Revert previous change.
7233 * libio/libioP.h: Likewise.
7234 * stdio-common/vfprintf.c: Likewise.
7236 * sysdeps/generic/math_private.h: Revert previous
7239 * sysdeps/generic/math_private.h: Check whether
7240 HAVE_RM_CTX is defined with #ifdef rather
7243 * argp/argp-fmtstream.h: Check whether
7244 __STRICT_ANSI__ is defined with #ifdef rather
7246 * argp/argp.h: Likewise.
7248 * libio/genops.c: Check whether
7249 _IO_JUMPS_OFFSET is defined with #ifdef rather
7251 * libio/libioP.h: Likewise.
7252 * stdio-common/vfprintf.c: Likewise.
7254 * sysdeps/generic/ldsodefs.h: Check whether
7255 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7258 * nptl/sysdeps/pthread/pthread.h: Check
7259 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7262 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7264 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7266 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7270 * libio/fileops.c (_IO_file_open): Seek to end of file but
7271 don't cache the offset.
7272 (get_file_offset): Remove function.
7273 (do_ftell): Use cached offset when available.
7274 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7275 don't cache the offset.
7276 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7278 (do_one_test): Call it.
7279 (do_ftell_test): Fix up expected old offset for a+ mode.
7280 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7283 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7284 up test status with function return status.
7285 (do_write_test): Likewise.
7286 (do_append_test): Likewise.
7288 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7289 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7292 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7294 * math/gen-libm-test.pl (parse_args): Handle results specified for
7295 each rounding mode separately.
7296 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7297 tests and results from lrint_tonearest_test_data,
7298 lrint_towardzero_test_data, lrint_downward_test_data and
7299 lrint_upward_test_data.
7300 (lrint_test): Use ALL_RM_TEST.
7301 (lrint_tonearest_test_data): Remove.
7302 (lrint_test_tonearest): Likewise.
7303 (lrint_towardzero_test_data): Likewise.
7304 (lrint_test_towardzero): Likewise.
7305 (lrint_downward_test_data): Likewise.
7306 (lrint_test_downward): Likewise.
7307 (lrint_upward_test_data): Likewise.
7308 (lrint_test_upward): Likewise.
7309 (llrint_test_data): Merge in per-rounding-mode tests and results
7310 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7311 llrint_downward_test_data and llrint_upward_test_data.
7312 (llrint_test): Use ALL_RM_TEST.
7313 (llrint_tonearest_test_data): Remove.
7314 (llrint_test_tonearest): Likewise.
7315 (llrint_towardzero_test_data): Likewise.
7316 (llrint_test_towardzero): Likewise.
7317 (llrint_downward_test_data): Likewise.
7318 (llrint_test_downward): Likewise.
7319 (llrint_upward_test_data): Likewise.
7320 (llrint_test_upward): Likewise.
7321 (rint_test_data): Merge in per-rounding-mode tests and results
7322 from rint_tonearest_test_data, rint_towardzero_test_data,
7323 rint_downward_test_data and rint_upward_test_data. Add
7324 per-rounding-mode results for tests not in those arrays.
7325 (rint_test): Use ALL_RM_TEST.
7326 (rint_tonearest_test_data): Remove.
7327 (rint_test_tonearest): Likewise.
7328 (rint_towardzero_test_data): Likewise.
7329 (rint_test_towardzero): Likewise.
7330 (rint_downward_test_data): Likewise.
7331 (rint_test_downward): Likewise.
7332 (rint_upward_test_data): Likewise.
7333 (rint_test_upward): Likewise.
7334 (main): Don't call removed functions.
7336 2014-03-14 Roland McGrath <roland@hack.frob.com>
7338 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7339 "Compiled on ..." crapola. It is anti-useful.
7341 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7343 * scripts/evaluate-test.sh: Handle fourth argument to determine
7344 whether test run should stop on failure.
7345 * Makeconfig (stop-on-test-failure): New variable.
7346 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7347 $(stop-on-test-failure).
7348 * Makefile (tests): Give a summary of results from testing and
7349 exit with failure status if they include an ERROR or FAIL.
7351 * manual/install.texi (Configuring and compiling): Mention
7352 stop-on-test-failure=y.
7353 * INSTALL: Regenerated.
7355 2014-03-14 Roland McGrath <roland@hack.frob.com>
7357 * scripts/versionlist.awk: New file.
7358 * Makerules [$(build-shared) = yes]
7359 (postclean-generated): Add Versions.def, not Versions.def.v and
7361 ($(common-objpfx)Versions.def.v.i): Target removed.
7362 ($(common-objpfx)Versions.def): New target.
7363 ($(common-objpfx)Versions.all): Depend on that rather that
7364 $(common-objpfx)Versions.def.v.
7365 * Versions.def: File removed.
7367 * Makeconfig (+gccwarn): Add -Wundef.
7368 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7369 a dl-sysdep.h breaking its contract.
7370 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7371 * include/stackinfo.h: New file.
7372 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7373 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7374 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7375 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7376 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7377 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7378 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7379 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7380 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7381 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7382 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7383 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7384 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7385 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7386 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7388 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7391 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7393 * math/libm-test.inc (round_test_data): Add more tests.
7396 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7398 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7401 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7403 * math/libm-test.inc (ceil_test_data): Add more tests.
7405 * math/libm-test.inc (trunc_test_data): Add more tests related to
7408 2014-03-14 Roland McGrath <roland@hack.frob.com>
7410 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7411 with #if rather than #ifdef.
7412 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7414 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7416 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7417 first. Disable AVX-512 GCC support if assembler doesn't support
7419 * sysdeps/x86_64/configure: Regenerated.
7421 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7423 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7424 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7425 (__old_pthread_attr_setstack): Likewise.
7426 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7427 [!_STACK_GROWS_DOWN]: Likewise.
7429 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7431 * config.make.in (have-bash2): Delete.
7432 * configure.ac (libc_cv_have_bash2): Delete.
7433 * configure: Regenerate.
7434 * elf/Makefile (common-ldd-rewrite): Rename to ...
7435 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7436 (sh-ldd-rewrite): Delete.
7437 (bash-ldd-rewrite): Delete.
7438 (have-bash2): Delete checks.
7439 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7442 * config.make.in (have-ksh): Delete.
7444 * configure.ac (libc_cv_have_ksh): Delete.
7445 * configure: Regenerate.
7447 * elf/Makefile: Delete $(have-ksh) check.
7448 ($(objpfx)sotruss): Change KSH to BASH.
7449 * elf/sotruss.ksh: Rename to ...
7450 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7451 function style to match POSIX. Drop ksh vim mode setting.
7453 * manual/time.texi (Specifying the Time Zone with TZ): Change
7454 Tuesday to Thursday.
7456 * debug/tst-longjmp_chk2.c: Update header comment.
7457 (stackoverflow_handler): Add comment. Call assert on pass value.
7459 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7461 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7462 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7463 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7464 (La_x86_64_vector): Add zmm.
7465 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7466 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7467 ($(objpfx)tst-audit10): New target.
7468 ($(objpfx)tst-audit10.out): Likewise.
7469 (tst-audit10-ENV): New.
7470 (AVX512-CFLAGS): Likewise.
7471 (CFLAGS-tst-audit10.c): Likewise.
7472 (CFLAGS-tst-auditmod10a.c): Likewise.
7473 (CFLAGS-tst-auditmod10b.c): Likewise.
7474 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7475 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7476 * sysdeps/x86_64/configure: Regenerated.
7477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7478 AVX-512 zmm register support.
7479 (_dl_x86_64_save_sse): Likewise.
7480 (_dl_x86_64_restore_sse): Likewise.
7481 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7482 size vector registers.
7483 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7484 (ZMM_SIZE): Likewise.
7485 * sysdeps/x86_64/tst-audit10.c: New file.
7486 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7487 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7489 2014-03-13 Roland McGrath <roland@hack.frob.com>
7491 * configure.ac (HAVE_EHDR_START): New check.
7492 * configure: Regenerated.
7493 * config.h.in (HAVE_EHDR_START): New #undef.
7494 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7495 assuming the lowest-addressed segment maps the start of the file.
7497 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7499 * INSTALL: Regenerated.
7501 2014-03-13 Will Newton <will.newton@linaro.org>
7503 * manual/setjmp.texi (System V contexts): Improve
7504 clarity and grammar of documentation.
7506 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7509 * elf/Makefile (tests): Add tst-pie2.
7510 (tests-pie): Add tst-pie2.
7511 * elf/tst-pie2.c: New file.
7512 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7514 * elf/rtld.c (map_doit): Load executable as lt_executable.
7515 (dl_main): Likewise.
7517 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7520 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7521 (__ASSUME_PSELECT): Undefine.
7523 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7526 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7527 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7529 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7530 selector for static builds.
7532 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7535 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7538 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7540 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7541 IFUNC selector for static builds.
7543 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7545 * sysdeps/mips/math_private.h [__mips_hard_float]
7546 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7547 libc_feresetround_mips_ctx.
7548 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7549 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7550 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7553 * math/s_nextafter.c (__nextafter): Do not return value from
7554 overflowing computation.
7555 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7556 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7557 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7559 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7561 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7562 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7564 2014-03-11 Roland McGrath <roland@hack.frob.com>
7566 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7567 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7568 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7569 the new mov targetting sp.
7571 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7574 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7575 Define it for static builds as well.
7576 (NO_BZERO_IMPL): Likewise.
7578 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7580 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7581 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7582 multiarch strspn for PPC64.
7583 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7584 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7586 (__libc_ifunc_impl_list): Likewise.
7587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7588 multiarch optimizations
7589 * string/strspn.c (strspn): Using macro to redefine symbol name.
7591 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7592 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7594 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7595 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7596 multiarch strncat for PPC64.
7597 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7598 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7600 (__libc_ifunc_impl_list): Likewise.
7601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7602 multiarch optimizations
7604 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7607 * nscd/nscd.service: Make service type forking.
7609 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7611 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7612 sign in non default rounding modes.
7613 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7615 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7617 * math/libm-test.inc (ALL_RM_TEST): New macro.
7618 (ceil_test): Use ALL_RM_TEST.
7619 (cimag_test): Likewise.
7620 (conj_test): Likewise.
7621 (copysign_test): Likewise.
7622 (cproj_test): Likewise.
7623 (creal_test): Likewise.
7624 (fabs_test): Likewise.
7625 (floor_test): Likewise.
7626 (fmax_test): Likewise.
7627 (fmin_test): Likewise.
7628 (fmod_test): Likewise.
7629 (fpclassify_test): Likewise.
7630 (frexp_test): Likewise.
7631 (ilogb_test): Likewise.
7632 (isfinite_test): Likewise.
7633 (finite_test): Likewise.
7634 (isgreater_test): Likewise.
7635 (isgreaterequal_test): Likewise.
7636 (isinf_test): Likewise.
7637 (isless_test): Likewise.
7638 (islessequal_test): Likewise.
7639 (islessgreater_test): Likewise.
7640 (isnan_test): Likewise.
7641 (isnormal_test): Likewise.
7642 (issignaling_test): Likewise.
7643 (isunordered_test): Likewise.
7644 (logb_test): Likewise.
7645 (logb_downward_test_data): Remove.
7646 (logb_test_downward): Likewise.
7647 (lround_test): Use ALL_RM_TEST.
7648 (llround_test): Likewise.
7649 (modf_test): Likewise.
7650 (nexttoward_test): Likewise.
7651 (remainder_test): Likewise.
7652 (drem_test): Likewise.
7653 (remainder_tonearest_test_data): Likewise.
7654 (remainder_test_tonearest): Likewise.
7655 (drem_test_tonearest): Likewise.
7656 (remainder_towardzero_test_data): Likewise.
7657 (remainder_test_towardzero): Likewise.
7658 (drem_test_towardzero): Likewise.
7659 (remainder_downward_test_data): Likewise.
7660 (remainder_test_downward): Likewise.
7661 (drem_test_downward): Likewise.
7662 (remainder_upward_test_data): Likewise.
7663 (remainder_test_upward): Likewise.
7664 (drem_test_upward): Likewise.
7665 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7666 (round_test): Use ALL_RM_TEST.
7667 (signbit_test): Likewise.
7668 (trunc_test): Likewise.
7669 (significand_test): Likewise.
7670 (main): Don't call removed functions.
7672 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7675 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7677 (ILL_ILLOPN): Likewise.
7678 (ILL_ILLADR): Likewise.
7679 (ILL_ILLTRP): Likewise.
7680 (ILL_PRVOPC): Likewise.
7681 (ILL_PRVREG): Likewise.
7682 (ILL_COPROC): Likewise.
7683 (ILL_BADSTK): Likewise.
7684 (FPE_INTDIV): Likewise.
7685 (FPE_INTOVF): Likewise.
7686 (FPE_FLTDIV): Likewise.
7687 (FPE_FLTOVF): Likewise.
7688 (FPE_FLTUND): Likewise.
7689 (FPE_FLTRES): Likewise.
7690 (FPE_FLTINV): Likewise.
7691 (FPE_FLTSUB): Likewise.
7692 (SEGV_MAPERR): Likewise.
7693 (SEGV_ACCERR): Likewise.
7694 (BUS_ADRALN): Likewise.
7695 (BUS_ADRERR): Likewise.
7696 (BUS_OBJERR): Likewise.
7697 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7698 (TRAP_TRACE): Likewise.
7699 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7701 (CLD_KILLED): Likewise.
7702 (CLD_DUMPED): Likewise.
7703 (CLD_TRAPPED): Likewise.
7704 (CLD_STOPPED): Likewise.
7705 (CLD_CONTINUED): Likewise.
7706 (POLL_IN): Likewise.
7707 (POLL_OUT): Likewise.
7708 (POLL_MSG): Likewise.
7709 (POLL_ERR): Likewise.
7710 (POLL_PRI): Likewise.
7711 (POLL_HUP): Likewise.
7712 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7714 (ILL_ILLOPN): Likewise.
7715 (ILL_ILLADR): Likewise.
7716 (ILL_ILLTRP): Likewise.
7717 (ILL_PRVOPC): Likewise.
7718 (ILL_PRVREG): Likewise.
7719 (ILL_COPROC): Likewise.
7720 (ILL_BADSTK): Likewise.
7721 (FPE_INTDIV): Likewise.
7722 (FPE_INTOVF): Likewise.
7723 (FPE_FLTDIV): Likewise.
7724 (FPE_FLTOVF): Likewise.
7725 (FPE_FLTUND): Likewise.
7726 (FPE_FLTRES): Likewise.
7727 (FPE_FLTINV): Likewise.
7728 (FPE_FLTSUB): Likewise.
7729 (SEGV_MAPERR): Likewise.
7730 (SEGV_ACCERR): Likewise.
7731 (BUS_ADRALN): Likewise.
7732 (BUS_ADRERR): Likewise.
7733 (BUS_OBJERR): Likewise.
7734 (BUS_MCEERR_AR): Likewise.
7735 (BUS_MCEERR_AO): Likewise.
7736 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7737 (TRAP_TRACE): Likewise.
7738 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7740 (CLD_KILLED): Likewise.
7741 (CLD_DUMPED): Likewise.
7742 (CLD_TRAPPED): Likewise.
7743 (CLD_STOPPED): Likewise.
7744 (CLD_CONTINUED): Likewise.
7745 (POLL_IN): Likewise.
7746 (POLL_OUT): Likewise.
7747 (POLL_MSG): Likewise.
7748 (POLL_ERR): Likewise.
7749 (POLL_PRI): Likewise.
7750 (POLL_HUP): Likewise.
7751 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7752 (ILL_ILLOPN): Likewise.
7753 (ILL_ILLADR): Likewise.
7754 (ILL_ILLTRP): Likewise.
7755 (ILL_PRVOPC): Likewise.
7756 (ILL_PRVREG): Likewise.
7757 (ILL_COPROC): Likewise.
7758 (ILL_BADSTK): Likewise.
7759 (FPE_INTDIV): Likewise.
7760 (FPE_INTOVF): Likewise.
7761 (FPE_FLTDIV): Likewise.
7762 (FPE_FLTOVF): Likewise.
7763 (FPE_FLTUND): Likewise.
7764 (FPE_FLTRES): Likewise.
7765 (FPE_FLTINV): Likewise.
7766 (FPE_FLTSUB): Likewise.
7767 (SEGV_MAPERR): Likewise.
7768 (SEGV_ACCERR): Likewise.
7769 (BUS_ADRALN): Likewise.
7770 (BUS_ADRERR): Likewise.
7771 (BUS_OBJERR): Likewise.
7772 (BUS_MCEERR_AR): Likewise.
7773 (BUS_MCEERR_AO): Likewise.
7774 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7775 (TRAP_TRACE): Likewise.
7776 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7778 (CLD_KILLED): Likewise.
7779 (CLD_DUMPED): Likewise.
7780 (CLD_TRAPPED): Likewise.
7781 (CLD_STOPPED): Likewise.
7782 (CLD_CONTINUED): Likewise.
7783 (POLL_IN): Likewise.
7784 (POLL_OUT): Likewise.
7785 (POLL_MSG): Likewise.
7786 (POLL_ERR): Likewise.
7787 (POLL_PRI): Likewise.
7788 (POLL_HUP): Likewise.
7789 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7791 (ILL_ILLOPN): Likewise.
7792 (ILL_ILLADR): Likewise.
7793 (ILL_ILLTRP): Likewise.
7794 (ILL_PRVOPC): Likewise.
7795 (ILL_PRVREG): Likewise.
7796 (ILL_COPROC): Likewise.
7797 (ILL_BADSTK): Likewise.
7798 (ILL_BADIADDR): Likewise.
7799 (ILL_BREAK): Likewise.
7800 (FPE_INTDIV): Likewise.
7801 (FPE_INTOVF): Likewise.
7802 (FPE_FLTDIV): Likewise.
7803 (FPE_FLTOVF): Likewise.
7804 (FPE_FLTUND): Likewise.
7805 (FPE_FLTRES): Likewise.
7806 (FPE_FLTINV): Likewise.
7807 (FPE_FLTSUB): Likewise.
7808 (FPE_DECOVF): Likewise.
7809 (FPE_DECDIV): Likewise.
7810 (FPE_DECERR): Likewise.
7811 (FPE_INVASC): Likewise.
7812 (FPE_INVDEC): Likewise.
7813 (SEGV_MAPERR): Likewise.
7814 (SEGV_ACCERR): Likewise.
7815 (SEGV_PSTKOVF): Likewise.
7816 (BUS_ADRALN): Likewise.
7817 (BUS_ADRERR): Likewise.
7818 (BUS_OBJERR): Likewise.
7819 (BUS_MCEERR_AR): Likewise.
7820 (BUS_MCEERR_AO): Likewise.
7821 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7822 (TRAP_TRACE): Likewise.
7823 (TRAP_BRANCH): Likewise.
7824 (TRAP_HWBKPT): Likewise.
7825 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7827 (CLD_KILLED): Likewise.
7828 (CLD_DUMPED): Likewise.
7829 (CLD_TRAPPED): Likewise.
7830 (CLD_STOPPED): Likewise.
7831 (CLD_CONTINUED): Likewise.
7832 (POLL_IN): Likewise.
7833 (POLL_OUT): Likewise.
7834 (POLL_MSG): Likewise.
7835 (POLL_ERR): Likewise.
7836 (POLL_PRI): Likewise.
7837 (POLL_HUP): Likewise.
7838 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7839 (ILL_ILLOPN): Likewise.
7840 (ILL_ILLADR): Likewise.
7841 (ILL_ILLTRP): Likewise.
7842 (ILL_PRVOPC): Likewise.
7843 (ILL_PRVREG): Likewise.
7844 (ILL_COPROC): Likewise.
7845 (ILL_BADSTK): Likewise.
7846 (FPE_INTDIV): Likewise.
7847 (FPE_INTOVF): Likewise.
7848 (FPE_FLTDIV): Likewise.
7849 (FPE_FLTOVF): Likewise.
7850 (FPE_FLTUND): Likewise.
7851 (FPE_FLTRES): Likewise.
7852 (FPE_FLTINV): Likewise.
7853 (FPE_FLTSUB): Likewise.
7854 (SEGV_MAPERR): Likewise.
7855 (SEGV_ACCERR): Likewise.
7856 (BUS_ADRALN): Likewise.
7857 (BUS_ADRERR): Likewise.
7858 (BUS_OBJERR): Likewise.
7859 (BUS_MCEERR_AR): Likewise.
7860 (BUS_MCEERR_AO): Likewise.
7861 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7862 (TRAP_TRACE): Likewise.
7863 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7865 (CLD_KILLED): Likewise.
7866 (CLD_DUMPED): Likewise.
7867 (CLD_TRAPPED): Likewise.
7868 (CLD_STOPPED): Likewise.
7869 (CLD_CONTINUED): Likewise.
7870 (POLL_IN): Likewise.
7871 (POLL_OUT): Likewise.
7872 (POLL_MSG): Likewise.
7873 (POLL_ERR): Likewise.
7874 (POLL_PRI): Likewise.
7875 (POLL_HUP): Likewise.
7876 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
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/sparc/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/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7953 (ILL_ILLOPN): Likewise.
7954 (ILL_ILLADR): Likewise.
7955 (ILL_ILLTRP): Likewise.
7956 (ILL_PRVOPC): Likewise.
7957 (ILL_PRVREG): Likewise.
7958 (ILL_COPROC): Likewise.
7959 (ILL_BADSTK): Likewise.
7960 (ILL_DBLFLT): Likewise.
7961 (ILL_HARDWALL): Likewise.
7962 (FPE_INTDIV): Likewise.
7963 (FPE_INTOVF): Likewise.
7964 (FPE_FLTDIV): Likewise.
7965 (FPE_FLTOVF): Likewise.
7966 (FPE_FLTUND): Likewise.
7967 (FPE_FLTRES): Likewise.
7968 (FPE_FLTINV): Likewise.
7969 (FPE_FLTSUB): Likewise.
7970 (SEGV_MAPERR): Likewise.
7971 (SEGV_ACCERR): Likewise.
7972 (BUS_ADRALN): Likewise.
7973 (BUS_ADRERR): Likewise.
7974 (BUS_OBJERR): Likewise.
7975 (BUS_MCEERR_AR): Likewise.
7976 (BUS_MCEERR_AO): Likewise.
7977 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7978 (TRAP_TRACE): Likewise.
7979 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7981 (CLD_KILLED): Likewise.
7982 (CLD_DUMPED): Likewise.
7983 (CLD_TRAPPED): Likewise.
7984 (CLD_STOPPED): Likewise.
7985 (CLD_CONTINUED): Likewise.
7986 (POLL_IN): Likewise.
7987 (POLL_OUT): Likewise.
7988 (POLL_MSG): Likewise.
7989 (POLL_ERR): Likewise.
7990 (POLL_PRI): Likewise.
7991 (POLL_HUP): Likewise.
7992 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7993 (ILL_ILLOPN): Likewise.
7994 (ILL_ILLADR): Likewise.
7995 (ILL_ILLTRP): Likewise.
7996 (ILL_PRVOPC): Likewise.
7997 (ILL_PRVREG): Likewise.
7998 (ILL_COPROC): Likewise.
7999 (ILL_BADSTK): Likewise.
8000 (FPE_INTDIV): Likewise.
8001 (FPE_INTOVF): Likewise.
8002 (FPE_FLTDIV): Likewise.
8003 (FPE_FLTOVF): Likewise.
8004 (FPE_FLTUND): Likewise.
8005 (FPE_FLTRES): Likewise.
8006 (FPE_FLTINV): Likewise.
8007 (FPE_FLTSUB): Likewise.
8008 (SEGV_MAPERR): Likewise.
8009 (SEGV_ACCERR): Likewise.
8010 (BUS_ADRALN): Likewise.
8011 (BUS_ADRERR): Likewise.
8012 (BUS_OBJERR): Likewise.
8013 (BUS_MCEERR_AR): Likewise.
8014 (BUS_MCEERR_AO): Likewise.
8015 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8016 (TRAP_TRACE): Likewise.
8017 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8019 (CLD_KILLED): Likewise.
8020 (CLD_DUMPED): Likewise.
8021 (CLD_TRAPPED): Likewise.
8022 (CLD_STOPPED): Likewise.
8023 (CLD_CONTINUED): Likewise.
8024 (POLL_IN): Likewise.
8025 (POLL_OUT): Likewise.
8026 (POLL_MSG): Likewise.
8027 (POLL_ERR): Likewise.
8028 (POLL_PRI): Likewise.
8029 (POLL_HUP): Likewise.
8030 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8031 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8034 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8035 before #include of <time.h>.
8036 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8037 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8038 (test-xfail-UNIX98/sched.h/conform): Likewise.
8040 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8042 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8043 error absence of trapping exception support.
8044 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8046 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8048 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8049 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8050 * timezone/Makefile (testdata): Move definition above include of
8052 (test-zones): New variable.
8053 (tests-special): Add zone files.
8054 (build-testdata): Use $(evaluate-test).
8056 * elf/Makefile (tests-special): Rename tests to end with .out.
8057 ($(objpfx)noload-mem): Likewise.
8058 ($(objpfx)tst-leaks1-mem): Likewise.
8059 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8060 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8061 $(objpfx)test-iconvconfig.out.
8062 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8063 set -e inside subshell and redirect output to file.
8064 * iconvdata/Makefile (generated): Rename tests to end with .out.
8066 (tests-special): Rename tests to end with .out.
8067 ($(objpfx)mtrace-tst-loading): Likewise.
8068 * intl/Makefile (generated): Likewise.
8069 (tests-special): Likewise.
8070 ($(objpfx)mtrace-tst-gettext): Likewise.
8071 * misc/Makefile (generated): Likewise.
8072 (tests-special): Likewise.
8073 ($(objpfx)tst-error1-mem): Likewise.
8074 * nptl/Makefile (tests-special): Likewise.
8075 ($(objpfx)tst-stack3-mem): Likewise.
8076 (generated): Likewise.
8077 * posix/Makefile (generated): Likewise.
8078 (tests-special): Likewise.
8079 (xtests-special): Likewise.
8080 ($(objpfx)tst-fnmatch-mem): Likewise.
8081 ($(objpfx)bug-regex2-mem): Likewise.
8082 ($(objpfx)bug-regex14-mem): Likewise.
8083 ($(objpfx)bug-regex21-mem): Likewise.
8084 ($(objpfx)bug-regex31-mem): Likewise.
8085 ($(objpfx)tst-vfork3-mem): Likewise.
8086 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8087 ($(objpfx)tst-pcre-mem): Likewise.
8088 ($(objpfx)tst-boost-mem): Likewise.
8089 ($(objpfx)bug-ga2-mem): Likewise.
8090 ($(objpfx)bug-glob2-mem): Likewise.
8091 * resolv/Makefile (generate): Likewise.
8092 (tests-special): Likewise.
8093 (xtests-special): Likewise.
8094 (generated): Likewise.
8095 ($(objpfx)mtrace-tst-leaks): Likewise.
8096 ($(objpfx)mtrace-tst-leaks2): Likewise.
8098 * scripts/merge-test-results.sh: New file.
8099 * Makefile (tests-special-notdir): New variable.
8100 (tests): Run merge-test-results.sh.
8102 * Rules (tests-special-notdir): New variable.
8103 (xtests-special-notdir): Likewise.
8104 (tests): Run merge-test-results.sh
8107 * Makeconfig (test-xfail-name): New variable.
8108 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8109 compute variable name for expected failures.
8110 * conform/Makefile (conformtest-headers-data): New variable.
8111 (conformtest-standards): Likewise.
8112 (conformtest-headers-ISO): Likewise.
8113 (conformtest-headers-ISO99): Likewise.
8114 (conformtest-headers-ISO11): Likewise.
8115 (conformtest-headers-POSIX): Likewise.
8116 (conformtest-headers-XPG3): Likewise.
8117 (conformtest-headers-XPG4): Likewise.
8118 (conformtest-headers-UNIX98): Likewise.
8119 (conformtest-headers-XOPEN2K): Likewise.
8120 (conformtest-headers-POSIX2008): Likewise.
8121 (conformtest-headers-XOPEN2K8): Likewise.
8122 (conformtest-header-list-base): Likewise.
8123 (conformtest-header-list-tests): Likewise.
8124 (conformtest-header-base): Likewise.
8125 (conformtest-header-tests): Likewise.
8126 (tests-special): Add $(conformtest-header-list-tests). If
8127 [$(fast-check) && !$(cross-compiling)], add
8128 $(conformtest-header-tests) instead of
8129 $(objpfx)run-conformtest.out.
8130 (generated): Add $(conformtest-header-list-base). If
8131 [$(fast-check) && !$(cross-compiling)], add
8132 $(conformtest-header-base). Remove previous setting.
8133 ($(conformtest-header-list-tests)): New target.
8134 (test-xfail-run-conformtest): Remove variable.
8135 ($(objpfx)run-conformtest.out): Remove target.
8136 (test-xfail-ISO11/complex.h/conform): New variable.
8137 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8138 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8139 (test-xfail-XPG3/varargs.h/conform): Likewise.
8140 (test-xfail-XPG4/varargs.h/conform): Likewise.
8141 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8142 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8143 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8144 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8145 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8146 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8147 (test-xfail-XPG3/ftw.h/conform): Likewise.
8148 (test-xfail-XPG3/grp.h/conform): Likewise.
8149 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8150 (test-xfail-XPG3/limits.h/conform): Likewise.
8151 (test-xfail-XPG3/pwd.h/conform): Likewise.
8152 (test-xfail-XPG3/search.h/conform): Likewise.
8153 (test-xfail-XPG3/signal.h/conform): Likewise.
8154 (test-xfail-XPG3/stdio.h/conform): Likewise.
8155 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8156 (test-xfail-XPG3/string.h/conform): Likewise.
8157 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8158 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8159 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8160 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8161 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8162 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8163 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8164 (test-xfail-XPG3/termios.h/conform): Likewise.
8165 (test-xfail-XPG3/time.h/conform): Likewise.
8166 (test-xfail-XPG3/unistd.h/conform): Likewise.
8167 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8168 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8169 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8170 (test-xfail-XPG4/netdb.h/conform): Likewise.
8171 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8172 (test-xfail-XPG4/signal.h/conform): Likewise.
8173 (test-xfail-XPG4/stdio.h/conform): Likewise.
8174 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8175 (test-xfail-XPG4/stropts.h/conform): Likewise.
8176 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8177 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8178 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8179 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8180 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8181 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8182 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8183 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8184 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8185 (test-xfail-XPG4/termios.h/conform): Likewise.
8186 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8187 (test-xfail-XPG4/unistd.h/conform): Likewise.
8188 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8189 (test-xfail-POSIX/sched.h/conform): Likewise.
8190 (test-xfail-POSIX/signal.h/conform): Likewise.
8191 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8192 (test-xfail-POSIX/tar.h/conform): Likewise.
8193 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8194 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8195 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8196 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8197 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8198 (test-xfail-UNIX98/sched.h/conform): Likewise.
8199 (test-xfail-UNIX98/signal.h/conform): Likewise.
8200 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8201 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8202 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8203 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8204 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8205 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8206 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8207 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8208 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8209 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8210 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8211 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8212 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8213 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8214 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8215 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8216 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8217 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8218 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8219 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8220 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8221 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8222 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8223 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8224 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8225 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8226 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8227 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8228 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8229 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8230 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8231 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8232 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8233 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8234 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8235 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8236 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8237 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8238 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8239 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8240 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8241 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8242 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8243 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8244 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8245 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8246 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8247 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8248 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8249 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8250 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8251 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8252 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8253 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8254 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8255 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8256 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8257 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8258 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8259 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8260 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8261 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8262 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8263 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8264 (conformtest-cc-flags): Likewise.
8265 ($(conformtest-header-tests): New target.
8266 * conform/check-header-lists.sh: New file.
8267 * conform/run-conformtest.sh: Remove.
8269 * conform/conformtest.pl: Allow ' and \ in values given for
8271 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8273 [POSIX] (sys/types.h): Likewise.
8274 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8276 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8278 * conform/data/signal.h-data (SIGIO): Remove expectation.
8279 [XPG3] (SIGBUS): Do not expect.
8280 [POSIX || XPG3] (SIGPOLL): Likewise.
8281 [POSIX || XPG3] (SIGPROF): Likewise.
8282 [POSIX || XPG3] (SIGSYS): Likewise.
8283 [XPG3] (SIGTRAP): Likewise.
8284 [POSIX || XPG3] (SIGURG): Likewise.
8285 [POSIX || XPG3] (SIGVTALRM): Likewise.
8286 [POSIX || XPG3] (SIGXCPU): Likewise.
8287 [POSIX || XPG3] (SIGXFSZ): Likewise.
8288 [POSIX] (SA_SIGINFO): Expect.
8289 [XPG3] (siginfo_t): Do not expect type or contents.
8290 [POSIX] (si_pid): Do not expect element.
8291 [POSIX] (si_uid): Likewise.
8292 [POSIX] (si_addr): Likewise.
8293 [POSIX] (si_status): Likewise.
8294 [POSIX] (si_band): Likewise.
8295 [XPG4] (si_value): Likewise.
8296 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8297 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8298 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8299 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8300 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8301 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8302 [POSIX || XPG3] (ILL_COPROC): Likewise.
8303 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8304 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8305 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8306 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8307 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8308 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8309 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8310 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8311 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8312 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8313 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8314 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8315 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8316 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8317 [POSIX || XPG3] (CLD_EXITED): Likewise.
8318 [POSIX || XPG3] (CLD_KILLED): Likewise.
8319 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8320 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8321 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8322 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8323 [POSIX || XPG3] (POLL_IN): Likewise.
8324 [POSIX || XPG3] (POLL_OUT): Likewise.
8325 [POSIX || XPG3] (POLL_MSG): Likewise.
8326 [POSIX || XPG3] (POLL_ERR): Likewise.
8327 [POSIX || XPG3] (POLL_PRI): Likewise.
8328 [POSIX || XPG3] (POLL_HUP): Likewise.
8329 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8330 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8331 (SIG*): Do not allow.
8332 [XPG3] (si_*): Likewise.
8333 [XPG3] (SI_*): Likewise.
8334 [XPG3 || XPG4] (sigev_*): Likewise.
8335 [XPG3 || XPG4] (SIGEV_*): Likewise.
8336 [XPG3 || XPG4] (sival_*): Likewise.
8337 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8338 [POSIX || XPG3] (BUS_*): Likewise.
8339 [POSIX || XPG3] (CLD_*): Likewise.
8340 [POSIX || XPG3] (FPE_*): Likewise.
8341 [POSIX || XPG3] (ILL_*): Likewise.
8342 [POSIX || XPG3] (POLL_*): Likewise.
8343 [POSIX || XPG3] (SEGV_*): Likewise.
8344 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8345 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8346 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8347 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8348 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8349 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8350 Specify type and value.
8351 (TVERSLEN): Likewise.
8352 (REGTYPE): Likewise.
8353 (AREGTYPE): Likewise.
8354 (LNKTYPE): Likewise.
8355 (SYMTYPE): Likewise.
8356 (CHRTYPE): Likewise.
8357 (BLKTYPE): Likewise.
8358 (DIRTYPE): Likewise.
8359 (FIFOTYPE): Likewise.
8360 (CONTTYPE): Likewise.
8365 (TUWRITE): Likewise.
8368 (TGWRITE): Likewise.
8371 (TOWRITE): Likewise.
8373 [POSIX] (TSVTX): Expect constant.
8375 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8377 * Makefile (tests): Change dependencies to ....
8378 (tests-special): ... additions to this variable.
8379 (tests): Depend on $(tests-special).
8380 * Makerules (check-abi-list): New variable.
8381 (check-abi): Depend on $(check-abi-list).
8382 [$(subdir) = elf] (tests-special): Add
8383 $(objpfx)check-abi-libc.out.
8384 [$(build-shared) = yes && subdir] (tests-special): Add
8386 [$(build-shared) = yes && subdir] (tests): Do not depend on
8388 * Rules (tests): Depend on $(tests-special).
8389 (xtests): Depend on $(xtests-special).
8390 * catgets/Makefile (tests): Change dependencies to ....
8391 (tests-special): ... additions to this variable.
8392 * conform/Makefile (tests): Change dependencies to ....
8393 (tests-special): ... additions to this variable.
8394 * elf/Makefile (tests): Change dependencies to ....
8395 (tests-special): ... additions to this variable.
8396 * grp/Makefile (tests): Change dependencies to ....
8397 (tests-special): ... additions to this variable.
8398 * iconv/Makefile (xtests): Change dependencies to ....
8399 (xtests-special): ... additions to this variable.
8400 * iconvdata/Makefile (tests): Change dependencies to ....
8401 (tests-special): ... additions to this variable.
8402 * intl/Makefile (tests): Change dependencies to ....
8403 (tests-special): ... additions to this variable. Also add
8404 $(objpfx)tst-gettext.out.
8405 * io/Makefile (tests): Change dependencies to ....
8406 (tests-special): ... additions to this variable.
8407 * libio/Makefile (tests): Change dependencies to ....
8408 (tests-special): ... additions to this variable.
8409 * malloc/Makefile (tests): Change dependencies to ....
8410 (tests-special): ... additions to this variable.
8411 * misc/Makefile (tests): Change dependencies to ....
8412 (tests-special): ... additions to this variable.
8413 * nptl/Makefile (tests): Change dependencies to ....
8414 (tests-special): ... additions to this variable.
8415 * nptl_db/Makefile (tests): Change dependencies to ....
8416 (tests-special): ... additions to this variable.
8417 * posix/Makefile (tests): Change dependencies to ....
8418 (tests-special): ... additions to this variable.
8419 (xtests): Change dependencies to ....
8420 (xtests-special): ... additions to this variable.
8421 * resolv/Makefile (tests): Change dependencies to ....
8422 (tests-special): ... additions to this variable.
8423 (xtests): Change dependencies to ....
8424 (xtests-special): ... additions to this variable.
8425 * stdio-common/Makefile (tests): Change dependencies to ....
8426 (tests-special): ... additions to this variable.
8427 (do-tst-unbputc): Remove target.
8428 (do-tst-printf): Likewise.
8429 * stdlib/Makefile (tests): Change dependencies to ....
8430 (tests-special): ... additions to this variable.
8431 * string/Makefile (tests): Change dependencies to ....
8432 (tests-special): ... additions to this variable.
8433 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8434 (tests-special): ... additions to this variable.
8436 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8438 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8440 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8441 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8443 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8444 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8445 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8446 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8447 * conform/data/libgen.h-data [XPG3]: Likewise.
8448 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8449 * conform/data/ndbm.h-data [XPG3]: Likewise.
8450 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8451 * conform/data/netdb.h-data [XPG3]: Likewise.
8452 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8453 * conform/data/poll.h-data [XPG3]: Likewise.
8454 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8455 * conform/data/strings.h-data [XPG3]: Likewise.
8456 * conform/data/stropts.h-data [XPG3]: Likewise.
8457 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8458 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8459 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8461 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8462 * conform/data/sys/time.h-data [XPG3]: Likewise.
8463 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8464 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8465 * conform/data/sys/un.h-data [XPG3]: Likewise.
8466 * conform/data/syslog.h-data [XPG3]: Likewise.
8467 * conform/data/ucontext.h-data [XPG3]: Likewise.
8468 * conform/data/utmpx.h-data [XPG3]: Likewise.
8469 * conform/data/varargs.h-data [UNIX98]: Enable file.
8471 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8473 * math/libm-test.inc (struct test_f_f_data): Move expected results
8474 into structure for each rounding mode.
8475 (struct test_ff_f_data): Likewise.
8476 (struct test_ff_f_data_nexttoward): Likewise.
8477 (struct test_fi_f_data): Likewise.
8478 (struct test_fl_f_data): Likewise.
8479 (struct test_if_f_data): Likewise.
8480 (struct test_fff_f_data): Likewise.
8481 (struct test_c_f_data): Likewise.
8482 (struct test_f_f1_data): Likewise.
8483 (struct test_fF_f1_data): Likewise.
8484 (struct test_ffI_f1_data): Likewise.
8485 (struct test_c_c_data): Likewise.
8486 (struct test_cc_c_data): Likewise.
8487 (struct test_f_i_data): Likewise.
8488 (struct test_ff_i_data): Likewise.
8489 (struct test_f_l_data): Likewise.
8490 (struct test_f_L_data): Likewise.
8491 (struct test_fFF_11_data): Likewise.
8493 (RM_FE_DOWNWARD): Likewise.
8494 (RM_FE_TONEAREST): Likewise.
8495 (RM_FE_TOWARDZERO): Likewise.
8496 (RM_FE_UPWARD): Likewise.
8497 (RUN_TEST_LOOP_f_f): Update references to expected results.
8498 (RUN_TEST_LOOP_2_f): Likewise.
8499 (RUN_TEST_LOOP_fff_f): Likewise.
8500 (RUN_TEST_LOOP_c_f): Likewise.
8501 (RUN_TEST_LOOP_f_f1): Likewise.
8502 (RUN_TEST_LOOP_fF_f1): Likewise.
8503 (RUN_TEST_LOOP_fI_f1): Likewise.
8504 (RUN_TEST_LOOP_ffI_f1): Likewise.
8505 (RUN_TEST_LOOP_c_c): Likewise.
8506 (RUN_TEST_LOOP_cc_c): Likewise.
8507 (RUN_TEST_LOOP_f_i): Likewise.
8508 (RUN_TEST_LOOP_f_i_tg): Likewise.
8509 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8510 (RUN_TEST_LOOP_f_b): Likewise.
8511 (RUN_TEST_LOOP_f_b_tg): Likewise.
8512 (RUN_TEST_LOOP_f_l): Likewise.
8513 (RUN_TEST_LOOP_f_L): Likewise.
8514 (RUN_TEST_LOOP_fFF_11): Likewise.
8515 * math/gen-libm-test.pl (parse_args): Output four copies of
8516 expected results for each test.
8518 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8519 (__ASSUME_UTIMES): Remove.
8520 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8521 (__ASSUME_UTIMES): Likewise.
8523 * math/gen-auto-libm-tests.c: Update comment on output format.
8524 (output_for_one_input_case): Generate before-rounding and
8525 after-rounding information as conditions on output flags not
8526 floating-point format.
8527 * math/auto-libm-test-out: Regenerated.
8528 * math/gen-libm-test.pl (cond_value): New function.
8529 (or_cond_value): Use cond_value.
8530 (generate_testfile): Handle conditional exceptions.
8532 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8534 * math/libm-test.inc (max_valid_error): New variable.
8535 (init_max_error): Take new argument specifying whether function
8536 results are exactly determined. Set max_valid_error and bound
8537 other variables for errors based on this argument.
8538 (set_max_error): Do not record results above max_valid_error.
8539 (check_float_internal): Only accept errors of up to 0.5ulps if
8540 also at most max_valid_error.
8541 (START): Take new argument EXACT and pass it to init_max_error.
8542 (acos_test): Update call to START.
8543 (acos_test_tonearest): Likewise.
8544 (acos_test_towardzero): Likewise.
8545 (acos_test_downward): Likewise.
8546 (acos_test_upward): Likewise.
8547 (acosh_test): Likewise.
8548 (asin_test): Likewise.
8549 (asin_test_tonearest): Likewise.
8550 (asin_test_towardzero): Likewise.
8551 (asin_test_downward): Likewise.
8552 (asin_test_upward): Likewise.
8553 (asinh_test): Likewise.
8554 (atan_test): Likewise.
8555 (atanh_test): Likewise.
8556 (atan2_test): Likewise.
8557 (cabs_test): Likewise.
8558 (cacos_test): Likewise.
8559 (cacosh_test): Likewise.
8560 (carg_test): Likewise.
8561 (casin_test): Likewise.
8562 (casinh_test): Likewise.
8563 (catan_test): Likewise.
8564 (catanh_test): Likewise.
8565 (cbrt_test): Likewise.
8566 (ccos_test): Likewise.
8567 (ccosh_test): Likewise.
8568 (ceil_test): Likewise.
8569 (cexp_test): Likewise.
8570 (cimag_test): Likewise.
8571 (clog_test): Likewise.
8572 (clog10_test): Likewise.
8573 (conj_test): Likewise.
8574 (copysign_test): Likewise.
8575 (cos_test): Likewise.
8576 (cos_test_tonearest): Likewise.
8577 (cos_test_towardzero): Likewise.
8578 (cos_test_downward): Likewise.
8579 (cos_test_upward): Likewise.
8580 (cosh_test): Likewise.
8581 (cosh_test_tonearest): Likewise.
8582 (cosh_test_towardzero): Likewise.
8583 (cosh_test_downward): Likewise.
8584 (cosh_test_upward): Likewise.
8585 (cpow_test): Likewise.
8586 (cproj_test): Likewise.
8587 (creal_test): Likewise.
8588 (csin_test): Likewise.
8589 (csinh_test): Likewise.
8590 (csqrt_test): Likewise.
8591 (ctan_test): Likewise.
8592 (ctan_test_tonearest): Likewise.
8593 (ctan_test_towardzero): Likewise.
8594 (ctan_test_downward): Likewise.
8595 (ctan_test_upward): Likewise.
8596 (ctanh_test): Likewise.
8597 (ctanh_test_tonearest): Likewise.
8598 (ctanh_test_towardzero): Likewise.
8599 (ctanh_test_downward): Likewise.
8600 (ctanh_test_upward): Likewise.
8601 (erf_test): Likewise.
8602 (erfc_test): Likewise.
8603 (exp_test): Likewise.
8604 (exp_test_tonearest): Likewise.
8605 (exp_test_towardzero): Likewise.
8606 (exp_test_downward): Likewise.
8607 (exp_test_upward): Likewise.
8608 (exp10_test): Likewise.
8609 (exp10_test_tonearest): Likewise.
8610 (exp10_test_towardzero): Likewise.
8611 (exp10_test_downward): Likewise.
8612 (exp10_test_upward): Likewise.
8613 (pow10_test): Likewise.
8614 (exp2_test): Likewise.
8615 (expm1_test): Likewise.
8616 (expm1_test_tonearest): Likewise.
8617 (expm1_test_towardzero): Likewise.
8618 (expm1_test_downward): Likewise.
8619 (expm1_test_upward): Likewise.
8620 (fabs_test): Likewise.
8621 (fdim_test): Likewise.
8622 (floor_test): Likewise.
8623 (fma_test): Likewise.
8624 (fma_test_towardzero): Likewise.
8625 (fma_test_downward): Likewise.
8626 (fma_test_upward): Likewise.
8627 (fmax_test): Likewise.
8628 (fmin_test): Likewise.
8629 (fmod_test): Likewise.
8630 (fpclassify_test): Likewise.
8631 (frexp_test): Likewise.
8632 (hypot_test): Likewise.
8633 (ilogb_test): Likewise.
8634 (isfinite_test): Likewise.
8635 (finite_test): Likewise.
8636 (isgreater_test): Likewise.
8637 (isgreaterequal_test): Likewise.
8638 (isinf_test): Likewise.
8639 (isless_test): Likewise.
8640 (islessequal_test): Likewise.
8641 (islessgreater_test): Likewise.
8642 (isnan_test): Likewise.
8643 (isnormal_test): Likewise.
8644 (issignaling_test): Likewise.
8645 (isunordered_test): Likewise.
8646 (j0_test): Likewise.
8647 (j1_test): Likewise.
8648 (jn_test): Likewise.
8649 (ldexp_test): Likewise.
8650 (lgamma_test): Likewise.
8651 (gamma_test): Likewise.
8652 (lrint_test): Likewise.
8653 (lrint_test_tonearest): Likewise.
8654 (lrint_test_towardzero): Likewise.
8655 (lrint_test_downward): Likewise.
8656 (lrint_test_upward): Likewise.
8657 (llrint_test): Likewise.
8658 (llrint_test_tonearest): Likewise.
8659 (llrint_test_towardzero): Likewise.
8660 (llrint_test_downward): Likewise.
8661 (llrint_test_upward): Likewise.
8662 (log_test): Likewise.
8663 (log10_test): Likewise.
8664 (log1p_test): Likewise.
8665 (log2_test): Likewise.
8666 (logb_test): Likewise.
8667 (logb_test_downward): Likewise.
8668 (lround_test): Likewise.
8669 (llround_test): Likewise.
8670 (modf_test): Likewise.
8671 (nearbyint_test): Likewise.
8672 (nextafter_test): Likewise.
8673 (nexttoward_test): Likewise.
8674 (pow_test): Likewise.
8675 (pow_test_tonearest): Likewise.
8676 (pow_test_towardzero): Likewise.
8677 (pow_test_downward): Likewise.
8678 (pow_test_upward): Likewise.
8679 (remainder_test): Likewise.
8680 (drem_test): Likewise.
8681 (remainder_test_tonearest): Likewise.
8682 (drem_test_tonearest): Likewise.
8683 (remainder_test_towardzero): Likewise.
8684 (drem_test_towardzero): Likewise.
8685 (remainder_test_downward): Likewise.
8686 (drem_test_downward): Likewise.
8687 (remainder_test_upward): Likewise.
8688 (drem_test_upward): Likewise.
8689 (remquo_test): Likewise.
8690 (rint_test): Likewise.
8691 (rint_test_tonearest): Likewise.
8692 (rint_test_towardzero): Likewise.
8693 (rint_test_downward): Likewise.
8694 (rint_test_upward): Likewise.
8695 (round_test): Likewise.
8696 (scalb_test): Likewise.
8697 (scalbn_test): Likewise.
8698 (scalbln_test): Likewise.
8699 (signbit_test): Likewise.
8700 (sin_test): Likewise.
8701 (sin_test_tonearest): Likewise.
8702 (sin_test_towardzero): Likewise.
8703 (sin_test_downward): Likewise.
8704 (sin_test_upward): Likewise.
8705 (sincos_test): Likewise.
8706 (sinh_test): Likewise.
8707 (sinh_test_tonearest): Likewise.
8708 (sinh_test_towardzero): Likewise.
8709 (sinh_test_downward): Likewise.
8710 (sinh_test_upward): Likewise.
8711 (sqrt_test): Likewise.
8712 (sqrt_test_tonearest): Likewise.
8713 (sqrt_test_towardzero): Likewise.
8714 (sqrt_test_downward): Likewise.
8715 (sqrt_test_upward): Likewise.
8716 (tan_test): Likewise.
8717 (tan_test_tonearest): Likewise.
8718 (tan_test_towardzero): Likewise.
8719 (tan_test_downward): Likewise.
8720 (tan_test_upward): Likewise.
8721 (tanh_test): Likewise.
8722 (tgamma_test): Likewise.
8723 (trunc_test): Likewise.
8724 (y0_test): Likewise.
8725 (y1_test): Likewise.
8726 (yn_test): Likewise.
8727 (significand_test): Likewise.
8729 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8730 individual tests in comment.
8731 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8732 (prev_max_error): New variable.
8733 (prev_real_max_error): Likewise.
8734 (prev_imag_max_error): Likewise.
8735 (compare_ulp_data): Don't refer to test names in comment.
8736 (find_test_ulps): Remove function.
8737 (find_function_ulps): Likewise.
8738 (find_complex_function_ulps): Likewise.
8739 (init_max_error): Take function name as argument. Look up ulps
8741 (print_ulps): Remove function.
8742 (print_max_error): Use prev_max_error instead of calling
8744 (print_complex_max_error): Use prev_real_max_error and
8745 prev_imag_max_error instead of calling find_complex_function_ulps.
8746 (check_float_internal): Take max_ulp parameter instead of calling
8747 find_test_ulps. Don't call print_ulps.
8748 (check_float): Update call to check_float_internal.
8749 (check_complex): Update calls to check_float_internal.
8750 (START): Pass argument to init_max_error.
8751 * math/gen-libm-test.pl (%results): Don't include "kind"
8753 (parse_ulps): Don't handle ulps of individual tests.
8754 (print_ulps_file): Likewise.
8755 (output_ulps): Likewise.
8756 * math/README.libm-test: Update.
8757 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8759 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8760 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8761 * sysdeps/arm/libm-test-ulps: Likewise.
8762 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8763 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8764 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8765 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8766 * sysdeps/microblaze/libm-test-ulps: Likewise.
8767 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8768 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8769 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8770 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8771 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8772 * sysdeps/sh/libm-test-ulps: Likewise.
8773 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8774 * sysdeps/tile/libm-test-ulps: Likewise.
8775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8777 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8779 * math/libm-test.inc (print_complex_max_error): Check separately
8780 whether real and imaginary errors are within allowed range and
8781 pass 0 to print_complex_function_ulps instead of value within
8784 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8786 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8788 (get_handles_fopen): Likewise.
8789 (do_write_test): Likewise.
8791 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8793 * libio/fileops.c (do_ftell): Use cached offset when
8795 * libio/iofwide.c (do_ftell_wide): Likewise.
8796 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8798 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8801 * libio/libioP.h (get_file_offset): New function.
8802 * libio/fileops.c (get_file_offset): Likewise.
8803 (do_ftell): Likewise.
8804 (_IO_new_file_seekoff): Split out ftell logic.
8805 * libio/wfileops.c (do_ftell_wide): Likewise.
8806 (_IO_wfile_seekoff): Split out ftell logic.
8807 * libio/tst-ftell-active-handler.c: New test case.
8808 * libio/Makefile (tests): Add it.
8810 2014-03-03 Roland McGrath <roland@hack.frob.com>
8812 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8813 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8815 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8818 * nscd/connections.c (nscd_init): Call do_exit.
8819 (start_threads): Call do_exit and notify_parent.
8820 (begin_drop_privileges): Call do_exit.
8821 (finish_drop_privileges): Likewise.
8822 * nscd/selinux.c (preserve_capabilities): Likewise.
8823 (install_real_capabilities): Likewise.
8824 (nscd_selinux_enabled): Likewise.
8825 (avc_create_thread): Likewise.
8826 (avc_alloc_lock): Likewise.
8827 (nscd_avc_init): Likewise.
8828 * nscd/nscd.c (parent_fd): New static variable.
8829 (main): Create a pipe between parent and child processes.
8830 Skip closing parent_fd.
8831 (monitor_child): New function.
8832 (do_exit): Likewise.
8833 (notify_parent): Likewise.
8834 * nscd/nscd.h (notify_parent): Likewise.
8835 (do_exit): Likewise.
8837 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8839 * malloc/malloc.c (__libc_calloc): Revert last change.
8841 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8845 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8847 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8851 (__libc_ifunc_impl_list): Likewise.
8852 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8853 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8854 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8855 * string/strrchr.c: Define STRRCHR.
8857 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8859 * benchtest/bench-strtok.c (simple_strtok): Delete.
8860 (strtok_string): Use as benchmark.
8861 * string/strtok (STRTOK): New macro.
8863 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8865 * manual/threads.texi: Add header and standard comments to all
8868 * elf/dl-lookup.c (check_match): New function.
8869 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8870 (do_lookup_x): Remove nested function check_match. Use non-nested
8871 function check_match.
8873 2014-02-28 Roland McGrath <roland@hack.frob.com>
8875 * csu/Makefile (generated, before-compile): Use += rather than =.
8876 * catgets/Makefile (generated, generated-dirs): Likewise.
8877 * debug/Makefile (generated): Likewise.
8878 * dlfcn/Makefile (generated): Likewise.
8879 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8880 * iconvdata/Makefile (before-compile, generated): Likewise.
8881 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8882 * libio/Makefile (generated): Likewise.
8883 * malloc/Makefile (generated): Likewise.
8884 * manual/Makefile (generated, generated-dirs): Likewise.
8885 * misc/Makefile (generated): Likewise.
8886 * posix/Makefile (generated): Likewise.
8887 * resolv/Makefile (generated): Likewise.
8888 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8889 * timezone/Makefile (generated, generated-dirs): Likewise.
8891 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8893 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8895 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8896 power8 implementation.
8897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8898 file: POWER8 llround ifunc implementation.
8899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8900 (__lllround): Add POWER8 implementation.
8901 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8902 POWER8 llround implementation.
8904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8905 power8 implementation.
8906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8907 file: POWER8 llrint ifunc implementation.
8908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8909 Add POWER8 implementation.
8910 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8911 POWER8 llrint implementation.
8913 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8914 power8 implementation.
8915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8916 file: POWER8 finite ifunc implementation.
8917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8918 Add POWER8 implementation.
8919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8921 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8922 POWER8 finite implementation.
8923 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8925 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8926 power8 implementation.
8927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8928 file: POWER8 isinf ifunc implementation.
8929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8930 POWER8 implementation.
8931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8933 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8934 isinf implementation.
8935 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8937 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8938 (INIT_ARCH): Add hwcap2 initialization.
8939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8940 power8 implementation.
8941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8942 file: POWER8 isnan ifunc implementation.
8943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8944 POWER8 implementation.
8945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8947 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8948 isnan implementation.
8949 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8951 2014-02-27 Joey Ye <joey.ye@arm.com>
8953 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8954 (_FP_NANFRAC_Q): Set to zero.
8956 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8959 * math/auto-libm-test-in: New test inputs.
8960 * math/auto-libm-test-out: Regenerate.
8961 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8964 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8966 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8968 * scripts/evaluate-test.sh: Take new argument indicating whether
8969 failure is expected.
8970 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8971 indicating whether failure is expected.
8972 * conform/Makefile (test-xfail-run-conformtest): New variable.
8973 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8975 * posix/Makefile (test-xfail-annexc): New variable.
8976 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8978 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8980 * argp/Makefile: Include Makeconfig immediately after defining
8982 * assert/Makefile: Likewise.
8983 * benchtests/Makefile: Likewise.
8984 * catgets/Makefile: Likewise.
8985 * conform/Makefile: Likewise.
8986 * crypt/Makefile: Likewise.
8987 * csu/Makefile: Likewise.
8988 (all): Remove target.
8989 * ctype/Makefile: Include Makeconfig immediately after defining
8991 * debug/Makefile: Likewise.
8992 * dirent/Makefile: Likewise.
8993 * dlfcn/Makefile: Likewise.
8994 * gmon/Makefile: Likewise.
8995 * gnulib/Makefile: Likewise.
8996 * grp/Makefile: Likewise.
8997 * gshadow/Makefile: Likewise.
8998 * hesiod/Makefile: Likewise.
8999 * hurd/Makefile: Likewise.
9000 (all): Remove target.
9001 * iconvdata/Makefile: Include Makeconfig immediately after
9003 * inet/Makefile: Likewise.
9004 * intl/Makefile: Likewise.
9005 * io/Makefile: Likewise.
9006 * libio/Makefile: Likewise.
9007 (all): Remove target.
9008 * locale/Makefile: Include Makeconfig immediately after defining
9010 * login/Makefile: Likewise.
9011 * mach/Makefile: Likewise.
9012 (all): Remove target.
9013 * malloc/Makefile: Include Makeconfig immediately after defining
9015 (all): Remove target.
9016 * manual/Makefile: Include Makeconfig immediately after defining
9018 * math/Makefile: Likewise.
9019 * misc/Makefile: Likewise.
9020 * nis/Makefile: Likewise.
9021 * nss/Makefile: Likewise.
9022 * po/Makefile: Likewise.
9023 (all): Remove target.
9024 * posix/Makefile: Include Makeconfig immediately after defining
9026 * pwd/Makefile: Likewise.
9027 * resolv/Makefile: Likewise.
9028 * resource/Makefile: Likewise.
9029 * rt/Makefile: Likewise.
9030 * setjmp/Makefile: Likewise.
9031 * shadow/Makefile: Likewise.
9032 * signal/Makefile: Likewise.
9033 * socket/Makefile: Likewise.
9034 * soft-fp/Makefile: Likewise.
9035 * stdio-common/Makefile: Likewise.
9036 * stdlib/Makefile: Likewise.
9037 * streams/Makefile: Likewise.
9038 * string/Makefile: Likewise.
9039 * sunrpc/Makefile: Likewise.
9040 (all): Remove target.
9041 * sysvipc/Makefile: Include Makeconfig immediately after defining
9043 * termios/Makefile: Likewise.
9044 * time/Makefile: Likewise.
9045 * timezone/Makefile: Likewise.
9046 (all): Remove target.
9047 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9049 * wctype/Makefile: Likewise.
9051 2014-02-26 Steve Ellcey <sellcey@mips.com>
9053 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9054 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9055 (libc_feholdexcept_setround_mips): Ditto.
9056 (libc_feholdsetround): New.
9057 (libc_feholdsetroundf): New.
9058 (libc_feholdsetroundl): New.
9059 (libc_feupdateenv_test_mips): New.
9060 (libc_feupdateenv_test): New.
9061 (libc_feupdateenv_testf): New.
9062 (libc_feupdateenv_testl): New.
9063 (libc_feresetround): New.
9064 (libc_feresetroundf): New.
9065 (libc_feresetroundl): New.
9066 (libc_fetestexcept_mips): New.
9067 (libc_fetestexcept): New.
9068 (libc_fetestexceptf): New.
9069 (libc_fetestexceptl): New.
9071 (libc_feholdexcept_setround_mips_ctx): New.
9072 (libc_feholdexcept_setround_ctx): New.
9073 (libc_feholdexcept_setroundf_ctx): New.
9074 (libc_feholdexcept_setroundl_ctx): New.
9075 (libc_fesetenv_mips_ctx): New.
9076 (libc_fesetenv_ctx): New.
9077 (libc_fesetenv_ctxf): New.
9078 (libc_fesetenv_ctxl): New.
9079 (libc_feupdateenv_mips_ctx): New.
9080 (libc_feupdateenv_ctx): New.
9081 (libc_feupdateenvf_ctx): New.
9082 (libc_feupdateenvl_ctx): New.
9083 (libc_feholdsetround_mips_ctx): New.
9084 (libc_feholdsetround_ctx): New.
9085 (libc_feholdsetroundf_ctx): New.
9086 (libc_feholdsetroundl_ctx): New.
9087 (libc_feresetround_mips_ctx): New.
9088 (libc_feresetround_ctx): New.
9089 (libc_feresetroundf_ctx): New.
9090 (libc_feresetroundl_ctx): New.
9092 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9094 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9096 * manual/ipc.texi: New file.
9097 * manual/Makefile (chapters): Add ipc.
9098 * manual/job.texi: Add "Inter-Process Communication" to next.
9099 * manual/process.texi: Add "Inter-Process Communication" to prev.
9101 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9105 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9107 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9109 * manual/arith.texi: Fix spaces after sentences.
9110 * manual/charset.texi: Likewise.
9111 * manual/errno.texi: Likewise.
9112 * manual/install.texi: Likewise.
9113 * manual/llio.texi: Likewise.
9114 * manual/locale.texi: Likewise.
9115 * manual/maint.texi: Likewise.
9116 * manual/math.texi: Likewise.
9117 * manual/memory.texi: Likewise.
9118 * manual/message.texi: Likewise.
9119 * manual/probes.texi: Likewise.
9120 * manual/resource.texi: Likewise.
9121 * manual/signal.texi: Likewise.
9122 * manual/socket.texi: Likewise.
9123 * manual/stdio.texi: Likewise.
9124 * manual/string.texi: Likewise.
9125 * manual/time.texi: Likewise.
9126 * manual/users.texi: Likewise.
9128 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9131 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9132 _DEFAULT_SOURCE is defined.
9134 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9135 Carlos O'Donell <carlos@redhat.com>
9138 * elf/dl-tls.c (_dl_count_modids): New function.
9139 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9140 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9141 audit library and increment generation counter.
9142 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9143 * elf/tst-audit9.c: New file.
9144 * elf/tst-auditmod9a.c: New file.
9145 * elf/tst-auditmod9b.c: New file.
9146 * elf/Makefile: Add rules to build and run tst-audit9.
9148 2014-02-25 Florian Weimer <fweimer@redhat.com>
9151 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9153 2014-02-25 Will Newton <will.newton@linaro.org>
9155 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9156 (__longjmp): Restore sp and lr before restoring callee
9157 saved registers. Add longjmp and longjmp_target
9158 SystemTap probe point.
9159 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9160 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9161 Define to zero to match jmpbuf layout.
9162 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9163 (__sigsetjmp): Save sp and lr before saving callee
9164 saved registers. Add setjmp SystemTap probe point.
9166 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9168 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9170 2014-02-24 Andreas Schwab <schwab@suse.de>
9173 * elf/pldd.c (wait_for_ptrace_stop): New function.
9174 (main): Call it after attaching.
9176 2014-02-22 Roland McGrath <roland@hack.frob.com>
9178 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9179 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9180 Versions files is now verboten.
9181 * hurd/Versions (libc: GLIBC_2.0):
9182 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9183 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9184 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9185 * mach/Versions: Likewise.
9187 * csu/Versions: Remove unused %include.
9188 * resolv/Versions: Likewise.
9190 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9192 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9193 ($(objpfx)check-local-headers.out): Likewise.
9194 ($(objpfx)begin-end-check.out): Likewise.
9195 * Makerules (check-abi-%.out): Likewise.
9196 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9197 ($(objpfx)test2.cat): Likewise.
9198 ($(objpfx)de/libc.cat): Likewise.
9199 ($(objpfx)test-gencat.out): Likewise.
9200 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9201 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9202 ($(objpfx)noload-mem): Likewise.
9203 ($(objpfx)tst-pathopt.out): Likewise.
9204 ($(objpfx)tst-rtld-load-self.out): Likewise.
9205 ($(objpfx)tst-array1-cmp.out): Likewise.
9206 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9207 ($(objpfx)tst-array2-cmp.out): Likewise.
9208 ($(objpfx)tst-array3-cmp.out): Likewise.
9209 ($(objpfx)tst-array4-cmp.out): Likewise.
9210 ($(objpfx)tst-array5-cmp.out): Likewise.
9211 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9212 ($(objpfx)check-textrel.out): Likewise.
9213 ($(objpfx)check-execstack.out): Likewise.
9214 ($(objpfx)check-localplt.out): Likewise.
9215 ($(objpfx)order2-cmp.out): Likewise.
9216 ($(objpfx)tst-leaks1-mem): Likewise.
9217 ($(objpfx)tst-leaks1-static-mem): Likewise.
9218 ($(objpfx)tst-initorder-cmp.out): Likewise.
9219 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9220 ($(objpfx)tst-unused-dep.out): Likewise.
9221 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9222 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9223 * iconv/Makefile (test-iconvconfig): Likewise.
9224 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9225 ($(objpfx)iconv-test.out): Likewise.
9226 ($(objpfx)tst-tables.out): Likewise.
9227 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9228 ($(objpfx)tst-gettext.out): Likewise.
9229 ($(objpfx)tst-translit.out): Likewise.
9230 ($(objpfx)tst-gettext2.out): Likewise.
9231 ($(objpfx)tst-gettext4.out): Likewise.
9232 ($(objpfx)tst-gettext6.out): Likewise.
9233 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9234 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9235 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9236 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9237 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9238 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9239 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9240 ($(objpfx)wordexp-tst.out): Likewise.
9241 ($(objpfx)annexc.out): Likewise.
9242 ($(objpfx)tst-fnmatch-mem): Likewise.
9243 ($(objpfx)bug-regex2-mem): Likewise.
9244 ($(objpfx)bug-regex14-mem): Likewise.
9245 ($(objpfx)bug-regex21-mem): Likewise.
9246 ($(objpfx)bug-regex31-mem): Likewise.
9247 ($(objpfx)tst-vfork3-mem): Likewise.
9248 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9249 ($(objpfx)tst-pcre-mem): Likewise.
9250 ($(objpfx)tst-boost-mem): Likewise.
9251 ($(objpfx)tst-getconf.out): Likewise.
9252 ($(objpfx)bug-ga2-mem): Likewise.
9253 ($(objpfx)bug-glob2-mem): Likewise.
9254 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9255 ($(objpfx)mtrace-tst-leaks2): Likewise.
9256 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9257 ($(objpfx)tst-printf.out): Likewise.
9258 ($(objpfx)tst-setvbuf1.out): Likewise.
9259 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9260 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9261 ($(objpfx)tst-fmtmsg.out): Likewise.
9262 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9263 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9265 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9266 * bits/sigaction.h [__USE_MISC]: Likewise.
9267 * bits/waitstatus.h: Update #endif comments.
9268 * ctype/ctype.h: Likewise.
9269 * dirent/dirent.h: Likewise.
9270 [__USE_MISC]: Remove redundant conditionals.
9271 * grp/grp.h: Update #endif comments.
9272 [__USE_GNU]: Remove redundant conditionals.
9273 [__USE_MISC]: Likewise.
9274 * inet/netinet/in.h [__USE_GNU]: Likewise.
9275 * io/sys/stat.h [__USE_MISC]: Likewise.
9276 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9277 * libio/bits/stdio.h: Update #endif comments.
9278 [__USE_MISC]: Remove redundant conditionals.
9279 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9280 * libio/stdio.h: Update #endif comments.
9281 [__USE_MISC]: Remove redundant conditionals.
9282 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9283 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9284 * math/math.h: Update #else and #endif comments.
9285 [__USE_MISC]: Remove redundant conditionals.
9286 * misc/sys/uio.h: Update #endif comments.
9287 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9288 * posix/glob.h [__USE_MISC]: Likewise.
9289 * posix/sys/types.h: Update #endif comments.
9290 [__USE_MISC]: Remove redundant conditionals.
9291 * posix/sys/wait.h: Update #endif comments.
9292 [__USE_MISC]: Remove redundant conditionals.
9293 * posix/unistd.h: Update #endif comments.
9294 [__USE_MISC]: Remove redundant conditionals.
9295 * pwd/pwd.h [__USE_GNU]: Likewise.
9296 [__USE_MISC]: Likewise.
9297 * resolv/netdb.h [__USE_GNU]: Likewise.
9298 * signal/signal.h: Update #endif comments.
9299 [__USE_MISC]: Remove redundant conditionals.
9300 * stdlib/stdlib.h: Update #else and #endif comments.
9301 [__USE_MISC]: Remove redundant conditionals.
9302 [__USE_GNU]: Likewise.
9303 * string/bits/string2.h [__USE_MISC]: Likewise.
9304 * string/string.h: Update #endif comments.
9305 [__USE_MISC]: Remove redundant conditionals.
9306 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9308 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9309 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9310 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9312 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9314 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9316 [__USE_MISC]: Remove redundant conditionals.
9317 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9318 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9319 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9320 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9321 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9323 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9324 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9326 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9327 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9329 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9331 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9332 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9334 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9336 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9337 * sysdeps/x86/bits/string.h: Update #endif comments.
9338 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9340 * time/sys/time.h: Update #endif comments.
9341 * time/time.h: Likewise.
9342 [__USE_MISC]: Remove redundant conditionals.
9344 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9347 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9349 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9351 * Versions.def (librt): Add GLIBC_2.17.
9353 2014-02-21 Adam Conrad <adconrad@0c3.net>
9355 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9356 synonym for _SYS_AUXV_H to allow direct inclusion.
9357 * sysdeps/sparc/bits/hwcap.h: Likewise.
9358 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9359 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9360 * sysdeps/sparc/sysdep.h: Likewise.
9362 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9364 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9366 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9368 * benchtests/bench-strrchr.c: Print length instead of position.
9370 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9373 * sysdeps/unix/sysv/linux/kernel-features.h
9374 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9375 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9376 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9377 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9379 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9380 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9381 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9382 (__ASSUME_SENDMMSG): Define instead of using previous
9383 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9384 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9385 (__ASSUME_SENDMMSG_SYSCALL): Define.
9386 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9387 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9389 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9390 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9392 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9393 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9395 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9396 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9397 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9398 [__ASSUME_SENDMMSG]: Change conditionals to
9399 [__ASSUME_SENDMMSG_SOCKETCALL].
9400 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9401 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9403 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9404 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9406 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9407 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9408 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9409 [!__ASSUME_SENDMMSG]: Change conditional to
9410 [!__ASSUME_SENDMMSG_SOCKETCALL].
9411 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9412 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9416 * sysdeps/unix/sysv/linux/kernel-features.h
9417 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9418 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9419 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9420 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9421 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9422 [__i386__ || __sparc__]
9423 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9424 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9425 (__ASSUME_RECVMMSG): Define instead of using previous
9426 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9427 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9428 (__ASSUME_RECVMMSG_SYSCALL): Define.
9429 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9430 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9432 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9433 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9435 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9436 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9438 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9439 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9440 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9441 [__ASSUME_RECVMMSG]: Change condition to
9442 [__ASSUME_RECVMMSG_SOCKETCALL].
9443 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9444 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9446 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9447 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9448 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9450 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9451 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9452 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9453 [!__ASSUME_RECVMMSG]: Change condition to
9454 [!__ASSUME_RECVMMSG_SOCKETCALL].
9455 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9456 (__ASSUME_RECVMMSG_SYSCALL): Define.
9459 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9460 __powerpc__ || __s390__ || __sh__ || __sparc__]
9461 (__ASSUME_SOCKETCALL): Define.
9462 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9463 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9464 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9465 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9466 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9467 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9468 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9469 (__ASSUME_ACCEPT4): Define instead of using previous
9470 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9471 __powerpc__ || __sparc__ || __s390__)] condition.
9472 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9473 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9474 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9475 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9476 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9477 [!__ASSUME_ACCEPT4]: Change condition to
9478 [!__ASSUME_ACCEPT4_SOCKETCALL].
9479 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9480 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9481 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9482 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9483 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9484 __ASSUME_ACCEPT4_SYSCALL.
9485 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9486 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9487 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9488 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9489 __ASSUME_ACCEPT4_SYSCALL.
9490 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9491 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9492 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9493 [__ASSUME_ACCEPT4]: Change condition to
9494 [__ASSUME_ACCEPT4_SOCKETCALL].
9495 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9496 (__ASSUME_SOCKETCALL): Define.
9497 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9498 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9499 (__ASSUME_SOCKETCALL): Define.
9500 (__ASSUME_ACCEPT4): Remove.
9501 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9503 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9504 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9506 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9507 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9509 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9511 (HWCAP_ARM_LPAE): Likewise.
9512 (HWCAP_ARM_EVTSTRM): Likewise.
9513 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9514 Add vpfd32, lpae and evtstrm.
9515 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9518 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9520 * math/auto-libm-test-in: Add tests of clog10.
9521 * math/auto-libm-test-out: Regenerated.
9522 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9523 * sysdeps/i386/fpu/libm-test-ulps: Update.
9524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9526 2014-02-18 Andreas Schwab <schwab@suse.de>
9529 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9530 Store non-zero if the second buffer was newly allocated.
9531 (send_dg): Likewise.
9532 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9533 to send_vc and send_dg.
9534 (res_nsend): Pass NULL for ansp2_malloced.
9535 * resolv/res_query.c (__libc_res_nquery): Add parameter
9536 answerp2_malloced and pass it down to __libc_res_nsend.
9537 (res_nquery): Pass additional NULL to __libc_res_nquery.
9538 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9539 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9540 second answer buffer if answerp2_malloced was set.
9541 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9542 (__libc_res_nquerydomain): Add parameter
9543 answerp2_malloced and pass it down to __libc_res_nquery.
9544 (res_nquerydomain): Pass additional NULL to
9545 __libc_res_nquerydomain.
9546 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9547 additional NULL to __libc_res_nsend and __libc_res_nquery.
9548 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9549 additional NULL to __libc_res_nsearch.
9550 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9551 parameter of __libc_res_nsearch to check for separately allocated
9553 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9555 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9556 additional NULL to __libc_res_nquery.
9557 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9559 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9560 * include/resolv.h: Update prototypes of __libc_res_nquery,
9561 __libc_res_nsearch, __libc_res_nsend.
9563 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9565 * math/auto-libm-test-in: Add tests of fma.
9566 * math/auto-libm-test-out: Regenerated.
9567 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9568 (fma_towardzero_test_data): Likewise.
9569 (fma_downward_test_data): Likewise.
9570 (fma_upward_test_data): Likewise.
9571 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9573 (rounding_modes): Add values for new field.
9574 (func_calc_method): Add value mpfr_fff_f.
9575 (func_calc_desc): Add mpfr_fff_f union field.
9576 (test_function): Add field exact_args.
9577 (FUNC): Add macro argument EXACT_ARGS.
9578 (FUNC_mpfr_f_f): Update call to FUNC.
9579 (FUNC_mpfr_f_f): Likewise.
9580 (FUNC_mpfr_ff_f): Likewise.
9581 (FUNC_mpfr_if_f): Likewise.
9582 (FUNC_mpc_c_f): Likewise.
9583 (FUNC_mpc_c_c): Likewise.
9584 (test_functions): Add fma. Update calls to FUNC.
9585 (handle_input_arg): Add argument exact_args.
9586 (add_test): Update call to handle_input_arg.
9587 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9588 (output_for_one_input_case): Update call to calc_generic_results.
9589 Recalculate exact zero results in each rounding mode.
9591 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9592 non-negative before setting low bit.
9593 * math/auto-libm-test-in: Mark one asin test possibly having
9595 * math/auto-libm-test-out: Regenerated.
9596 * sysdeps/i386/fpu/libm-test-ulps: Update.
9597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9599 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9601 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9602 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9603 ports/sysdeps/unix/sysv/linux/microblaze.
9604 * README: Add missing listing for microblaze*-*-linux-gnu.
9606 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9608 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9609 * sysdeps/unix/sysv/linux/ia64: Move directory from
9610 ports/sysdeps/unix/sysv/linux/ia64.
9611 * README: Update listing for ia64-*-linux-gnu.
9613 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9614 Joseph Myers <joseph@codesourcery.com>
9616 * Makeconfig (test-name): New variable.
9617 (evaluate-test): Likewise.
9618 * Makerules (do-test-clean): Remove .test-result files.
9619 (common-mostlyclean): Likewise.
9620 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9621 * scripts/evaluate-test.sh: New file.
9623 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9625 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9626 separate $(objpfx)tst-fopenloc-cmp.out and
9627 $(objpfx)tst-fopenloc-mem.out targets.
9628 (tests): Update dependencies.
9629 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9630 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9631 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9632 (tst-rxspencer-no-utf8-ARGS): New variable.
9633 (tst-rxspencer-no-utf8-ENV): Likewise.
9634 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9635 instead of $(objpfx)tst-rxspencer-mem.
9636 ($(objpfx)tst-rxspencer-mem): Change target to
9637 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9638 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9639 * posix/tst-rxspencer-no-utf8.c: New file.
9641 * elf/Makefile ($(objpfx)order.out): Remove rule.
9642 [$(run-built-tests) = yes] (tests): Depend on
9643 $(objpfx)order-cmp.out.
9644 ($(objpfx)order-cmp.out): New rule.
9645 [$(run-built-tests) = yes] (tests): Depend on
9646 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9647 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9648 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9649 $(objpfx)tst-array5-static-cmp.out.
9650 ($(objpfx)tst-array1.out): Remove rule.
9651 ($(objpfx)tst-array1-cmp.out): New rule.
9652 ($(objpfx)tst-array1-static.out): Remove rule.
9653 ($(objpfx)tst-array1-static-cmp.out): New rule.
9654 ($(objpfx)tst-array2.out): Remove rule.
9655 ($(objpfx)tst-array2-cmp.out): New rule.
9656 ($(objpfx)tst-array3.out): Remove rule.
9657 ($(objpfx)tst-array3-cmp.out): New rule.
9658 ($(objpfx)tst-array4.out): Remove rule.
9659 ($(objpfx)tst-array4-cmp.out): New rule.
9660 ($(objpfx)tst-array5.out): Remove rule.
9661 ($(objpfx)tst-array5-cmp.out): New rule.
9662 ($(objpfx)tst-array5-static.out): Remove rule.
9663 ($(objpfx)tst-array5-static-cmp.out): New rule.
9664 [$(run-built-tests) = yes] (tests): Depend on
9665 $(objpfx)order2-cmp.out.
9666 ($(objpfx)order2.out): Remove rule.
9667 ($(objpfx)order2-cmp.out): New rule.
9668 ($(objpfx)tst-initorder.out): Remove rule.
9669 [$(run-built-tests) = yes] (tests): Depend on
9670 $(objpfx)tst-initorder-cmp.out.
9671 ($(objpfx)tst-initorder-cmp.out): New rule.
9672 ($(objpfx)tst-initorder2.out): Remove rule.
9673 [$(run-built-tests) = yes] (tests): Depend on
9674 $(objpfx)tst-initorder2-cmp.out.
9675 ($(objpfx)tst-initorder2-cmp.out): New rule.
9676 [$(run-built-tests) = yes] (tests): Depend on
9677 $(objpfx)tst-unused-dep-cmp.out.
9678 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9679 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9680 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9681 on $(objpfx)tst-setvbuf1-cmp.out.
9682 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9683 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9684 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9685 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9686 ($(objpfx)tst-svc.out): Remove rule.
9687 ($(objpfx)tst-svc-cmp.out): New rule.
9689 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9691 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9692 * ctype/ctype.h [__USE_MISC]: Likewise.
9693 * dirent/dirent.h [__USE_MISC]: Likewise.
9694 * grp/grp.h [__USE_MISC]: Likewise.
9695 * io/fcntl.h [__USE_MISC]: Likewise.
9696 * io/sys/stat.h [__USE_MISC]: Likewise.
9697 * libio/stdio.h [__USE_MISC]: Likewise.
9698 * posix/unistd.h [__USE_MISC]: Likewise.
9699 * pwd/pwd.h [__USE_MISC]: Likewise.
9700 * stdlib.h [__USE_MISC]: Likewise.
9701 * string/bits/string2.h [__USE_MISC]: Likewise.
9702 * string/string.h [__USE_MISC]: Likewise.
9703 * time/time.h [__USE_MISC]: Likewise.
9705 2014-02-13 Andreas Schwab <schwab@suse.de>
9708 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9709 second answer buffer if it was separately allocated.
9711 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9713 * sysdeps/mips/math-tests.h: Include <features.h>.
9714 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9715 (ROUNDING_TESTS_long_double): Do not define.
9716 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9717 (EXCEPTION_TESTS_long_double): Likewise.
9718 * sysdeps/mips/mips64/libm-test-ulps: Update.
9720 * include/features.h (__USE_BSD): Remove macro definitions.
9721 (__USE_SVID): Likewise.
9722 (_BSD_SOURCE): Likewise.
9723 (_SVID_SOURCE): Likewise.
9724 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9725 from definition of _DEFAULT_SOURCE.
9726 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9728 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9729 * bits/mman.h [__USE_BSD]: Likewise.
9730 * bits/termios.h [__USE_BSD]: Likewise.
9731 * bits/waitstatus.h [__USE_BSD]: Likewise.
9732 * ctype/ctype.h [__USE_SVID]: Likewise.
9733 * dirent/dirent.h [__USE_BSD]: Likewise.
9734 * grp/grp.h [__USE_SVID]: Likewise.
9735 [__USE_BSD]: Likewise.
9736 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9737 * io/fcntl.h [__USE_BSD]: Likewise.
9738 * io/ftw.h [__USE_BSD]: Likewise.
9739 * io/sys/stat.h [__USE_BSD]: Likewise.
9740 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9741 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9742 * libio/stdio.h [__USE_SVID]: Likewise.
9743 [__USE_BSD]: Likewise.
9744 * math/math.h [__USE_SVID]: Likewise.
9745 [__USE_BSD]: Likewise.
9746 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9747 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9748 * misc/search.h [__USE_SVID]: Likewise.
9749 * misc/sys/mman.h [__USE_BSD]: Likewise.
9750 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9751 * misc/sys/uio.h [__USE_BSD]: Likewise.
9752 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9753 * posix/glob.h [__USE_BSD]: Likewise.
9754 * posix/regex.h [__USE_BSD]: Likewise.
9755 * posix/sys/types.h [__USE_BSD]: Likewise.
9756 [__USE_SVID]: Likewise.
9757 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9758 * posix/sys/wait.h [__USE_BSD]: Likewise.
9759 [__USE_SVID]: Likewise.
9760 * posix/unistd.h [__USE_BSD]: Likewise.
9761 [__USE_SVID]: Likewise.
9762 * pwd/pwd.h [__USE_SVID]: Likewise.
9763 * resolv/netdb.h [__USE_BSD]: Likewise.
9764 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9765 * signal/signal.h [__USE_BSD]: Likewise.
9766 [__USE_SVID]: Likewise.
9767 * socket/sys/socket.h [__USE_BSD]: Likewise.
9768 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9769 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9770 [__USE_SVID]: Likewise.
9771 * string/bits/string2.h [__USE_BSD]: Likewise.
9772 [__USE_SVID]: Likewise.
9773 * string/bits/string3.h [__USE_BSD]: Likewise.
9774 * string/endian.h [__USE_BSD]: Likewise.
9775 * string/string.h [__USE_SVID]: Likewise.
9776 [__USE_BSD]: Likewise.
9777 * string/strings.h [__USE_BSD]: Likewise.
9778 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9779 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9780 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9781 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9782 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9783 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9787 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9788 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9790 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9791 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9793 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9795 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9796 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9797 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9799 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9801 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9802 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9803 * termios/termios.h [__USE_BSD]: Likewise.
9804 * time/sys/time.h [__USE_BSD]: Likewise.
9805 * time/time.h [__USE_BSD]: Likewise.
9806 [__USE_SVID]: Likewise.
9808 * Makefile (subdir_targets): Remove subdir_lint.out.
9810 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9811 (do-tst-printf): Likewise.
9812 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9813 $(objpfx)tst-printf.out.
9815 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9817 * Makerules (check-abi-%): Change target to
9818 $(objpfx)check-abi-%.out.
9819 (check-abi target): Update dependencies.
9820 (check-abi-pattern variable): Redirect output of diff to $@.
9821 (check-abi variable): Likewise.
9822 * elf/Makefile (check-abi): Update dependencies.
9824 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9826 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9827 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9829 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9830 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9831 value has largest subnormal exponent.
9832 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9833 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9834 * sysdeps/aarch64/soft-fp/sfp-machine.h
9835 (_FP_TININESS_AFTER_ROUNDING): New macro.
9836 * sysdeps/alpha/soft-fp/sfp-machine.h
9837 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9838 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9840 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9841 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9842 * sysdeps/mips/soft-fp/sfp-machine.h
9843 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9844 * sysdeps/powerpc/soft-fp/sfp-machine.h
9845 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9846 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9848 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9849 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9850 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9851 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9852 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9855 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9858 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9861 2014-02-12 Richard Henderson <rth@redhat.com>
9863 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9864 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9865 * sysdeps/unix/sysv/linux/alpha: Move directory from
9866 ports/sysdeps/unix/sysv/linux/alpha.
9867 * README: Update listing for alpha-*-linux-gnu.
9869 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9871 * include/features.h: Update comment documenting feature test
9873 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9875 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9876 (_SVID_SOURCE): Likewise.
9877 (_DEFAULT_SOURCE): Update description of default features.
9878 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9880 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9881 (S_ISVTX): Likewise.
9882 * manual/math.texi (Mathematical Constants): Likewise.
9883 * manual/signal.texi (Interrupted Primitives): Likewise.
9884 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9885 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9886 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9887 Don't refer to _SVID_SOURCE in warning text.
9889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9891 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9893 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9894 * sysdeps/mips/dl-lookup.c: Remove.
9895 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9897 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9900 * math/auto-libm-test-in: Add testcase for expl.
9901 * math/auto-libm-test-out: Regenerate.
9902 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9903 calculation of unsafe.
9904 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9906 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9908 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9909 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9910 ports/sysdeps/unix/sysv/linux/aarch64.
9911 * README: Update listing for aarch64*-*-linux-gnu.
9913 2014-02-11 Will Newton <will.newton@linaro.org>
9915 * manual/probes.texi (Mathematical Function Probes): Use
9916 "triggered" instead of "hit".
9918 * manual/probes.texi (Internal Probes): Add documentation
9919 of setjmp, longjmp and longjmp_target probes.
9921 * include/stap-probe.h: Add comment about probe argument
9924 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9925 definition. (tr_where, tr_freehook, tr_mallochook,
9926 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9928 2014-02-11 David S. Miller <davem@davemloft.net>
9930 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9931 processing int_tests.
9933 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9935 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9936 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9937 * sysdeps/unix/sysv/linux/mips: Move directory from
9938 ports/sysdeps/unix/sysv/linux/mips.
9939 * README: Update listing for mips-*-linux-gnu and
9942 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9944 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9945 * sysdeps/unix/sysv/linux/m68k: Move directory from
9946 ports/sysdeps/unix/sysv/linux/m68k.
9947 * README: Update listing for m68k-*-linux-gnu.
9949 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9951 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9952 * sysdeps/unix/sysv/linux/generic: Move directory from
9953 ports/sysdeps/unix/sysv/linux/generic.
9954 * sysdeps/unix/sysv/linux/tile: Move directory from
9955 ports/sysdeps/unix/sysv/linux/tile.
9956 * README: Update listing for tile*-*-linux-gnu.
9958 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9960 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9962 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9963 * catgets/open_catalog.c (__open_catalog): Likewise.
9964 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9965 * debug/confstr_chk.c: Likewise.
9966 * debug/fread_chk.c (__fread_chk): Likewise.
9967 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9968 * debug/getgroups_chk.c: Likewise.
9969 * debug/mbsnrtowcs_chk.c: Likewise.
9970 * debug/mbsrtowcs_chk.c: Likewise.
9971 * debug/mbstowcs_chk.c: Likewise.
9972 * debug/memcpy_chk.c: Likewise.
9973 * debug/memmove_chk.c: Likewise.
9974 * debug/mempcpy_chk.c: Likewise.
9975 * debug/memset_chk.c: Likewise.
9976 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9977 * debug/strcat_chk.c (__strcat_chk): Likewise.
9978 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9979 * debug/strncat_chk.c (__strncat_chk): Likewise.
9980 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9981 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9982 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9983 * debug/wcpncpy_chk.c: Likewise.
9984 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9985 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9986 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9987 * debug/wcsncpy_chk.c: Likewise.
9988 * debug/wcsnrtombs_chk.c: Likewise.
9989 * debug/wcsrtombs_chk.c: Likewise.
9990 * debug/wcstombs_chk.c: Likewise.
9991 * debug/wmemcpy_chk.c: Likewise.
9992 * debug/wmemmove_chk.c: Likewise.
9993 * debug/wmempcpy_chk.c: Likewise.
9994 * debug/wmemset_chk.c: Likewise.
9995 * dirent/scandirat.c (SCANDIRAT): Likewise.
9996 * dlfcn/dladdr1.c (dladdr1): Likewise.
9997 * dlfcn/dladdr.c (dladdr): Likewise.
9998 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9999 * dlfcn/dlerror.c (__dlerror): Likewise.
10000 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10001 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10002 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10003 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10004 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10005 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10006 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10007 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10009 * elf/dl-conflict.c: Likewise.
10010 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10011 * elf/dl-dst.h: Likewise.
10012 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10013 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10014 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10015 * elf/dl-init.c (call_init, _dl_init): Likewise.
10016 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10017 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10018 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10020 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10022 * elf/dl-minimal.c (__libc_memalign): Likewise.
10023 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10024 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10025 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10026 * elf/dl-sym.c (do_sym): Likewise.
10027 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10028 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10029 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10030 * elf/dl-writev.h (_dl_writev): Likewise.
10031 * elf/ldconfig.c (search_dir): Likewise.
10032 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10033 (dl_main): Likewise.
10034 * elf/setup-vdso.h (setup_vdso): Likewise.
10035 * grp/compat-initgroups.c (compat_call): Likewise.
10036 * grp/fgetgrent.c (fgetgrent): Likewise.
10037 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10038 * grp/putgrent.c (putgrent): Likewise.
10039 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10041 * hurd/hurdinit.c: Likewise.
10042 * iconvdata/8bit-gap.c (struct): Likewise.
10043 * iconvdata/ansi_x3.110.c : Likewise.
10044 * iconvdata/big5.c : Likewise.
10045 * iconvdata/big5hkscs.c : Likewise.
10046 * iconvdata/cp1255.c: Likewise.
10047 * iconvdata/cp1258.c : Likewise.
10048 * iconvdata/cp932.c : Likewise.
10049 * iconvdata/euc-cn.c: Likewise.
10050 * iconvdata/euc-jisx0213.c : Likewise.
10051 * iconvdata/euc-jp.c: Likewise.
10052 * iconvdata/euc-jp-ms.c : Likewise.
10053 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10054 * iconvdata/gb18030.c : Likewise.
10055 * iconvdata/gbbig5.c (const): Likewise.
10056 * iconvdata/gbgbk.c: Likewise.
10057 * iconvdata/gbk.c : Likewise.
10058 * iconvdata/ibm1364.c : Likewise.
10059 * iconvdata/ibm930.c : Likewise.
10060 * iconvdata/ibm932.c: Likewise.
10061 * iconvdata/ibm933.c : Likewise.
10062 * iconvdata/ibm935.c : Likewise.
10063 * iconvdata/ibm937.c : Likewise.
10064 * iconvdata/ibm939.c : Likewise.
10065 * iconvdata/ibm943.c: Likewise.
10066 * iconvdata/iso_11548-1.c: Likewise.
10067 * iconvdata/iso-2022-cn.c : Likewise.
10068 * iconvdata/iso-2022-cn-ext.c : Likewise.
10069 * iconvdata/iso-2022-jp-3.c: Likewise.
10070 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10071 * iconvdata/iso-2022-kr.c : Likewise.
10072 * iconvdata/iso646.c (gconv_end): Likewise.
10073 * iconvdata/iso_6937-2.c : Likewise.
10074 * iconvdata/iso_6937.c : Likewise.
10075 * iconvdata/iso8859-1.c: Likewise.
10076 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10077 * iconvdata/shift_jisx0213.c : Likewise.
10078 * iconvdata/sjis.c : Likewise.
10079 * iconvdata/t.61.c : Likewise.
10080 * iconvdata/tcvn5712-1.c : Likewise.
10081 * iconvdata/tscii.c: Likewise.
10082 * iconvdata/uhc.c : Likewise.
10083 * iconvdata/unicode.c (gconv_end): Likewise.
10084 * iconvdata/utf-16.c (gconv_end): Likewise.
10085 * iconvdata/utf-32.c (gconv_end): Likewise.
10086 * iconvdata/utf-7.c (base64): Likewise.
10087 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10088 * iconv/gconv_close.c (__gconv_close): Likewise.
10089 * iconv/gconv_open.c (__gconv_open): Likewise.
10090 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10091 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10092 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10093 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10094 (ucs4le_internal_loop_single): Likewise.
10095 * iconv/iconv.c (iconv): Likewise.
10096 * iconv/iconv_close.c: Likewise.
10097 * iconv/loop.c (SINGLE): Likewise.
10098 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10099 * include/atomic.h: Likewise.
10100 * inet/inet6_option.c (option_alloc): Likewise.
10101 * intl/bindtextdom.c (set_binding_values): Likewise.
10102 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10103 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10104 * intl/localealias.c (read_alias_file): Likewise.
10105 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10106 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10107 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10108 * libio/fmemopen.c (fmemopen): Likewise.
10109 * libio/iofgets.c (_IO_fgets): Likewise.
10110 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10111 * libio/iofgetws.c (fgetws): Likewise.
10112 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10113 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10114 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10115 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10116 * locale/findlocale.c (_nl_find_locale): Likewise.
10117 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10118 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10120 * locale/setlocale.c (setlocale): Likewise.
10121 * login/programs/pt_chown.c (main): Likewise.
10122 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10123 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10124 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10125 (mmap, mmap64, mremap, munmap): Likewise.
10126 * math/e_exp2l.c: Likewise.
10127 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10128 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10129 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10130 * math/s_catan.c (__catan): Likewise.
10131 * math/s_catanf.c (__catanf): Likewise.
10132 * math/s_catanh.c (__catanh): Likewise.
10133 * math/s_catanhf.c (__catanhf): Likewise.
10134 * math/s_catanhl.c (__catanhl): Likewise.
10135 * math/s_catanl.c (__catanl): Likewise.
10136 * math/s_ccosh.c (__ccosh): Likewise.
10137 * math/s_ccoshf.c (__ccoshf): Likewise.
10138 * math/s_ccoshl.c (__ccoshl): Likewise.
10139 * math/s_cexp.c (__cexp): Likewise.
10140 * math/s_cexpf.c (__cexpf): Likewise.
10141 * math/s_cexpl.c (__cexpl): Likewise.
10142 * math/s_clog10.c (__clog10): Likewise.
10143 * math/s_clog10f.c (__clog10f): Likewise.
10144 * math/s_clog10l.c (__clog10l): Likewise.
10145 * math/s_clog.c (__clog): Likewise.
10146 * math/s_clogf.c (__clogf): Likewise.
10147 * math/s_clogl.c (__clogl): Likewise.
10148 * math/s_csin.c (__csin): Likewise.
10149 * math/s_csinf.c (__csinf): Likewise.
10150 * math/s_csinh.c (__csinh): Likewise.
10151 * math/s_csinhf.c (__csinhf): Likewise.
10152 * math/s_csinhl.c (__csinhl): Likewise.
10153 * math/s_csinl.c (__csinl): Likewise.
10154 * math/s_csqrt.c (__csqrt): Likewise.
10155 * math/s_csqrtf.c (__csqrtf): Likewise.
10156 * math/s_csqrtl.c (__csqrtl): Likewise.
10157 * math/s_ctan.c (__ctan): Likewise.
10158 * math/s_ctanf.c (__ctanf): Likewise.
10159 * math/s_ctanh.c (__ctanh): Likewise.
10160 * math/s_ctanhf.c (__ctanhf): Likewise.
10161 * math/s_ctanhl.c (__ctanhl): Likewise.
10162 * math/s_ctanl.c (__ctanl): Likewise.
10163 * math/w_pow.c: Likewise.
10164 * math/w_powf.c: Likewise.
10165 * math/w_powl.c: Likewise.
10166 * math/w_scalb.c (sysv_scalb): Likewise.
10167 * math/w_scalbf.c (sysv_scalbf): Likewise.
10168 * math/w_scalbl.c (sysv_scalbl): Likewise.
10169 * misc/error.c (error_tail): Likewise.
10170 * misc/pselect.c (__pselect): Likewise.
10171 * nis/nis_callback.c (__nis_create_callback): Likewise.
10172 * nis/nis_call.c (__nisfind_server): Likewise.
10173 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10174 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10175 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10176 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10177 * nis/nis_lookup.c (nis_lookup): Likewise.
10178 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10179 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10180 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10181 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10182 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10183 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10184 * nis/nss_compat/compat-initgroups.c (add_group)
10185 (internal_getgrent_r): Likewise.
10186 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10187 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10188 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10189 (internal_getspnam_r): Likewise.
10190 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10191 (_nss_nis_getaliasbyname_r): Likewise.
10192 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10193 (_nss_nis_getntohost_r): Likewise.
10194 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10195 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10196 (_nss_nis_getgrgid_r): Likewise.
10197 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10198 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10199 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10200 (_nss_nis_gethostbyname4_r): Likewise.
10201 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10202 (initgroups_netid): Likewise.
10203 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10204 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10205 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10206 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10207 (_nss_nis_getprotobynumber_r): Likewise.
10208 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10209 (_nss_nis_getsecretkey): Likewise.
10210 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10211 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10212 (_nss_nis_getpwuid_r): Likewise.
10213 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10214 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10215 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10216 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10217 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10218 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10219 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10221 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10222 (_nss_nisplus_getntohost_r): Likewise.
10223 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10224 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10225 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10226 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10228 * nis/nss_nisplus/nisplus-initgroups.c
10229 (_nss_nisplus_initgroups_dyn): Likewise.
10230 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10231 (_nss_nisplus_getnetbyaddr_r): Likewise.
10232 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10233 (_nss_nisplus_getprotobynumber_r): Likewise.
10234 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10235 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10236 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10238 * nis/nss_nisplus/nisplus-service.c
10239 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10240 (_nss_nisplus_getservbyport_r): Likewise.
10241 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10242 (_nss_nisplus_getspnam_r): Likewise.
10243 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10245 * nscd/aicache.c (addhstaiX): Likewise.
10246 * nscd/cache.c (cache_search, prune_cache): Likewise.
10247 * nscd/connections.c (register_traced_file, send_ro_fd)
10248 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10249 (main_loop_epoll): Likewise.
10250 * nscd/grpcache.c (addgrbyX): Likewise.
10251 * nscd/hstcache.c (addhstbyX): Likewise.
10252 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10253 * nscd/mem.c (gc, mempool_alloc): Likewise.
10254 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10255 (addinnetgrX): Likewise.
10256 * nscd/nscd-client.h (__nscd_acquire_maplock)
10257 (__nscd_drop_map_ref): Likewise.
10258 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10259 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10260 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10262 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10263 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10264 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10265 (__nscd_get_map_ref): Likewise.
10266 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10267 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10269 * nscd/pwdcache.c (addpwbyX): Likewise.
10270 * nscd/selinux.c (preserve_capabilities): Likewise.
10271 * nscd/servicescache.c (addservbyX): Likewise.
10272 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10273 * posix/fnmatch.c (fnmatch): Likewise.
10274 * posix/getopt.c (_getopt_internal_r): Likewise.
10275 * posix/glob.c (glob, glob_in_dir): Likewise.
10276 * posix/wordexp.c (exec_comm_child): Likewise.
10277 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10278 (getanswer_r, gaih_getanswer_slice): Likewise.
10279 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10280 * resolv/res_init.c: Likewise.
10281 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10282 * resolv/res_query.c (__libc_res_nquery): Likewise.
10283 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10285 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10286 * stdio-common/perror.c (perror): Likewise.
10287 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10288 * stdio-common/tmpnam.c (tmpnam): Likewise.
10289 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10290 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10291 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10293 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10294 * stdlib/putenv.c (putenv): Likewise.
10295 * stdlib/setenv.c (__add_to_environ): Likewise.
10296 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10297 * stdlib/strtol_l.c (INTERNAL): Likewise.
10298 * string/memmem.c (memmem): Likewise.
10299 * string/strerror.c (strerror): Likewise.
10300 * string/strnlen.c (__strnlen): Likewise.
10301 * string/test-memmem.c (simple_memmem): Likewise.
10302 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10303 * sunrpc/pm_getport.c (__get_socket): Likewise.
10304 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10305 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10306 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10307 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10309 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10310 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10311 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10312 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10313 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10314 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10316 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10318 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10319 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10320 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10321 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10322 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10324 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10325 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10326 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10327 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10328 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10329 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10331 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10333 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10335 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10336 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10337 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10338 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10339 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10340 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10341 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10342 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10343 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10344 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10345 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10347 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10348 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10349 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10350 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10352 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10354 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10356 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10358 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10360 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10362 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10363 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10364 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10365 * sysdeps/posix/sleep.c: Likewise.
10366 * sysdeps/posix/tempname.c: Likewise.
10367 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10368 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10370 * sysdeps/powerpc/powerpc32/dl-machine.h
10371 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10372 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10374 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10375 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10377 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10378 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10379 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10380 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10381 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10382 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10383 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10384 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10385 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10386 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10388 (elf_machine_lazy_rel): Likewise.
10389 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10391 (elf_machine_lazy_rel): Likewise.
10392 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10393 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10394 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10395 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10396 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10397 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10398 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10401 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10402 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10403 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10404 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10405 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10406 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10407 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10408 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10409 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10410 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10411 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10413 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10414 (__posix_fallocate64_l64): Likewise.
10415 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10416 (posix_fallocate): Likewise.
10417 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10419 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10420 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10421 (getifaddrs_internal): Likewise.
10422 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10423 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10424 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10425 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10426 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10427 (__posix_fallocate64_l64): Likewise.
10428 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10430 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10432 (__get_clockfreq): Likewise.
10433 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10434 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10435 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10436 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10437 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10438 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10439 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10440 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10442 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10443 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10444 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10445 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10446 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10447 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10448 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10450 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10451 (posix_fallocate): Likewise.
10452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10453 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10454 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10455 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10456 (elf_machine_rela, elf_machine_rela_relative)
10457 (elf_machine_lazy_rel): Likewise.
10458 * time/asctime.c (asctime_internal): Likewise.
10459 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10460 * time/tzset.c (__tzset_parse_tz): Likewise.
10461 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10462 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10463 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10464 * wcsmbs/wcsmbsload.h: Likewise.
10467 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10469 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10470 (arena_get2): Remove THREAD_STATS conditionals.
10471 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10472 (__malloc_stats, int): Likewise.
10474 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10476 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10477 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10479 * manual/setjmp.texi: Fix typos/grammar errors.
10481 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10482 Only return early when n is <= 0. Delete unused return statement.
10484 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10485 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10486 * debug/tst-longjmp_chk3.c: New file.
10488 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10489 (test_main): Replace code with set_fortify_handler call.
10490 * debug/test-strcpy_chk.c: Likewise.
10491 * debug/tst-chk1.c: Likewise.
10492 * debug/tst-longjmp_chk.c: Likewise.
10493 * test-skeleton.c: Include fcntl.h & paths.h
10494 (set_fortify_handler): Define.
10496 * debug/tst-longjmp_chk.c: Add header comment and include
10497 ../test-skeleton.c.
10498 (do_test): Mark static.
10499 (TEST_FUNCTION): Define.
10501 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10502 (IP_PMTUDISC_INTERFACE): Likewise.
10503 (IP_MULTICAST_IF): Likewise.
10504 (IP_MULTICAST_TTL): Likewise.
10505 (IP_MULTICAST_LOOP): Likewise.
10506 (IP_ADD_MEMBERSHIP): Likewise.
10507 (IP_DROP_MEMBERSHIP): Likewise.
10508 (IP_UNBLOCK_SOURCE): Likewise.
10509 (IP_BLOCK_SOURCE): Likewise.
10510 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10511 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10512 (IP_MSFILTER): Likewise.
10513 (MCAST_JOIN_GROUP): Likewise.
10514 (MCAST_BLOCK_SOURCE): Likewise.
10515 (MCAST_UNBLOCK_SOURCE): Likewise.
10516 (MCAST_LEAVE_GROUP): Likewise.
10517 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10518 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10519 (MCAST_MSFILTER): Likewise.
10520 (IP_MULTICAST_ALL): Likewise.
10521 (IP_UNICAST_IF): Likewise.
10523 * timezone/Makefile: Delete $(have-ksh) check.
10524 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10525 * timezone/tzselect.ksh: Add +x mode bits.
10527 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10528 (ANON_INODE_FS_MAGIC): Likewise.
10529 (BDEVFS_MAGIC): Likewise.
10530 (BINFMTFS_MAGIC): Likewise.
10531 (BTRFS_TEST_MAGIC): Likewise.
10532 (CRAMFS_MAGIC_WEND): Likewise.
10533 (DEBUGFS_MAGIC): Likewise.
10534 (ECRYPTFS_SUPER_MAGIC): Likewise.
10535 (EXT3_SUPER_MAGIC): Likewise.
10536 (EXT4_SUPER_MAGIC): Likewise.
10537 (FUTEXFS_SUPER_MAGIC): Likewise.
10538 (HOSTFS_SUPER_MAGIC): Likewise.
10539 (HUGETLBFS_MAGIC): Likewise.
10540 (MINIX3_SUPER_MAGIC): Likewise.
10541 (MTD_INODE_FS_MAGIC): Likewise.
10542 (NILFS_SUPER_MAGIC): Likewise.
10543 (OPENPROM_SUPER_MAGIC): Likewise.
10544 (PIPEFS_MAGIC): Likewise.
10545 (PSTOREFS_MAGIC): Likewise.
10546 (QNX6_SUPER_MAGIC): Likewise.
10547 (RAMFS_MAGIC): Likewise.
10548 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10549 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10550 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10551 (SECURITYFS_MAGIC): Likewise.
10552 (SELINUX_MAGIC): Likewise.
10553 (SMACK_MAGIC): Likewise.
10554 (SOCKFS_MAGIC): Likewise.
10555 (SQUASHFS_MAGIC): Likewise.
10556 (STACK_END_MAGIC): Likewise.
10557 (TMPFS_MAGIC): Likewise.
10558 (USBDEVICE_SUPER_MAGIC): Likewise.
10559 (V9FS_MAGIC): Likewise.
10560 (XENFS_SUPER_MAGIC): Likewise.
10561 (CRAMFS_MAGIC): Fix typo in comment.
10562 (EXT2_SUPER_MAGIC): Update comment.
10563 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10565 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10567 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10568 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10569 * sysdeps/unix/sysv/linux/arm: Move directory from
10570 ports/sysdeps/unix/sysv/linux/arm.
10571 * README: Update listing for arm-*-linux-gnueabi.
10573 * README: Remove mention of am33.
10575 2014-02-07 Roland McGrath <roland@hack.frob.com>
10577 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10578 than the comma operator, to avoid "rhs of comma has no effect"
10580 (__sigfillset, __sigandset, __sigorset): Likewise.
10581 * include/signal.h (__sigemptyset): Likewise.
10582 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10584 2014-02-07 Allan McRae <allan@archlinux.org>
10586 * version.h (RELEASE): Set to "development".
10587 (VERSION): Set to "2.19.90"
10588 * NEWS: Add 2.20 section.
10590 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10593 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10595 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10597 * manual/contrib.texi: Update entry for Carlos O'Donell,
10598 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10600 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10602 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10604 * sysdeps/unix/sysv/linux/kernel-features.h
10605 [__LINUX_KERNEL_VERSION >= 0x020621]
10606 (__ASSUME_PROC_PID_TASK_COMM): Define.
10608 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10611 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10612 conversion when destination buffer does not have enough space.
10613 * libio/tst-ftell-partial-wide.c: New test case.
10614 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10616 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10617 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10618 Leonard and Allan McRae.
10620 2014-02-04 David S. Miller <davem@davemloft.net>
10622 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10625 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10654 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10656 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10657 * shlib-versions: Likewise.
10659 2014-02-04 Roland McGrath <roland@hack.frob.com>
10660 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10662 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10663 (abilist-pattern): New variable, set to %-le.abilist.
10665 * Makerules (abilist-pattern): New variable.
10666 (vpath): Use $(abilist-pattern) in place of %.abilist.
10667 (check-abi-% pattern rule): Likewise.
10668 (check-abi, update-abi): Likewise.
10670 2014-02-04 Eric Wong <normalperson@yhbt.net>
10672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10674 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10676 * manual/startup.texi: Add next, previous, and top entries for
10677 the `Program Arguments' and `Environment Variables' nodes.
10679 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10681 * manual/macros.texi: Add comments before MTASC-safety macros.
10683 * manual/users.texi: Document MTASC-safety properties.
10685 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10686 (pthread_getspecific, pthread_setspecific): Format with
10687 @deftypefun, and add @safety note.
10688 * manual/signal.texi: Move comments that analyze the above
10689 functions to their home place.
10691 2014-02-03 Allan McRae <allan@archlinux.org>
10693 * po/sl.po: Update Slovenian translation from translation project.
10695 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10697 * manual/time.texi (timegm): Add missing blank after @c.
10698 Reported by Joseph Myers <joseph@codesourcery.com>.
10700 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10702 * manual/check-safety.sh: New.
10703 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10705 * manual/terminal.texi: Document MTASC-safety properties.
10707 * manual/filesys.texi: Document MTASC-safety properties.
10709 * manual/errno.texi: Document MTASC-safety properties.
10711 * manual/intro.texi: Document safety identifiers and
10714 * manual/string.texi (wcstok): Fix prototype.
10715 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10717 * manual/time.texi: Document MTASC-safety properties.
10719 * manual/string.texi: Document MTASC-safety properties.
10721 * manual/threads.texi: Document MTASC-safety properties.
10723 * manual/stdio.texi: Document MTASC-safety properties.
10725 * manual/syslog.texi: Document MTASC-safety properties.
10727 * manual/sysinfo.texi: Document MTASC-safety properties.
10729 * manual/startup.texi: Document MTASC-safety properties.
10731 * manual/socket.texi: Document MTASC-safety properties.
10733 * manual/signal.texi: Document MTASC-safety properties.
10735 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10737 * manual/setjmp.texi: Document MTASC-safety properties.
10739 * manual/search.texi: Document MTASC-safety properties.
10741 * manual/resource.texi: Document MTASC-safety properties.
10743 * manual/process.texi: Document MTASC-safety properties.
10745 * manual/platform.texi: Document MTASC-safety properties.
10747 * manual/pipe.texi: Document MTASC-safety properties.
10749 * manual/pattern.texi: Document MTASC-safety properties.
10751 * manual/message.texi: Document MTASC-safety properties.
10754 * manual/memory.texi: Document MTASC-safety properties.
10756 * manual/math.texi: Document MTASC-safety properties.
10758 * manual/locale.texi: Document MTASC-safety properties.
10760 * manual/llio.texi: Document MTASC-safety properties.
10762 * manual/libdl.texi: New.
10764 * manual/lang.texi: Document MTASC-safety properties.
10766 * manual/job.texi: Document MTASC-safety properties.
10768 * manual/getopt.texi: Document MTASC-safety properties.
10770 * manual/ctype.texi: Document MTASC-safety properties.
10772 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10775 * csu/libc-tls.c (static_map): Remove variable.
10776 (__libc_setup_tls): Use main executable's link map for TLS data.
10777 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10778 casing for LM_ID_BASE and GL(dl_nns).
10779 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10780 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10781 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10782 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10783 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10785 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10788 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10790 * manual/debug.texi: Document MTASC-safety properties.
10792 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10795 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10796 of __x86_64__ when disabling x87 inline functions.
10798 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10800 * manual/charset.texi: Document MTASC-safety properties.
10802 * manual/crypt.texi: Document MTASC-safety properties.
10804 * manual/conf.texi: Document MTASC-safety properties.
10806 * manual/arith.texi: Document MTASC-safety properties.
10808 * manual/argp.texi: Document MTASC-safety properties.
10810 * manual/macros.texi: Introduce macros to document multi
10811 thread, asynchronous signal and asynchronous cancellation
10813 * manual/intro.texi: Introduce the properties themselves.
10815 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10817 * sysdeps/sh/sh4/Makefile: New file.
10819 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10821 * math/gen-libm-test.pl ($srcdir): New variable.
10822 ($auto_input): Use it.
10824 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10827 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10828 access beyond array bounds when parsing netgroups file.
10830 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10831 the old buffer before realloc.
10833 2014-01-27 Allan McRae <allan@archlinux.org>
10835 * po/fr.po: Update French translation from translation project.
10837 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10839 * sysdeps/sh/libm-test-ulps: Regenerate.
10841 2014-01-24 David S. Miller <davem@davemloft.net>
10843 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10845 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10847 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10848 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10850 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10853 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10854 string pointers after reallocation.
10856 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10858 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10859 __SH4A__ instead of __SH_FPU_ANY__.
10861 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10863 * sysdeps/sh/fpu_control.h: New file.
10864 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10865 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10866 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10867 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10868 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10869 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10870 * sysdeps/sh/sys/ucontext.h: Remove.
10871 * sysdeps/sh/sys: Remove directory.
10873 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10875 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10876 s390/sys/ucontext.h.
10877 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10878 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10880 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10883 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10885 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10888 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10889 Adjust the vDSO correctly for internal calls.
10890 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10892 2014-01-20 Allan McRae <allan@archlinux.org>
10894 * po/ca.po: Update Catalan translation from translation project.
10896 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10898 * sysdeps/s390/sotruss-lib.c: New file.
10900 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10903 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10904 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10905 local calls issues by not having a PLT stub required for IFUNC calls.
10906 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10908 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10910 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10911 * math/test-fpucw-static.c: Likewise.
10913 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10916 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10918 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10920 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10921 implementation for powerpc.
10923 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10926 * sysdeps/posix/system.c (__libc_system): Do not enable
10927 asynchronous cancellation.
10929 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10932 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10933 handling only for numbers special also in the IEEE case.
10935 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10937 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10939 2014-01-11 Allan McRae <allan@archlinux.org>
10941 * po/bg.po: Update Bulgarian translation from translation project.
10943 * po/de.po: Update German translation from translation project.
10945 2014-01-10 Roland McGrath <roland@hack.frob.com>
10947 * sysdeps/generic/gcc-compat.h: New file.
10949 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10951 * benchtests/asin-inputs: Correct slow inputs.
10952 * benchtests/acos-inputs: Likewise.
10954 2014-01-10 Allan McRae <allan@archlinux.org>
10956 * po:sv.po: Update Swedish translation from translation project.
10958 * po/vi.po: Update Vietnamese translation from translation project.
10960 * po/eo.po: Update Esperanto translation from translation project.
10962 * po/cs.po: Update Czech translation from translation project.
10964 * po/nl.po: Update Dutch translation from translation project.
10966 * po/pl.po: Update Polish translation from translation project.
10968 * po/ru.po: Update Russian translation from translation project.
10970 * po/uk.po: Update Ukrainian translation from translation project.
10972 2014-01-08 Brooks Moses <bmoses@google.com>
10974 * elf/dl-load.c: Fix comment typo.
10976 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10978 * po/header.pot: Rename to...
10979 * po/pot.header: ... this.
10980 * po/Makefile: Use pot.header.
10982 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10983 Maxim Kuvyrkov <maxim@kugelworks.com>
10986 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10987 SRC and DEST against LEN.
10989 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10992 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10994 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10996 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11000 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11003 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11004 for large positive arguments.
11006 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11008 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11010 * math/auto-libm-test-in: Mark various tests with
11011 xfail-rounding:ldbl-128ibm.
11012 * math/auto-libm-test-out: Regenerated.
11015 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11016 Increase overflow threshold.
11018 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11021 * stdio-common/vfprintf.c: Check for integer overflow.
11023 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11025 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11026 the first argument and return value of __tls_get_addr_internal.
11028 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11030 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11031 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11033 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11035 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11036 * sysdeps/s390/rtld-global-offsets.sym: New file.
11037 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11039 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11040 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11041 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11043 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11044 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11050 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11051 halfs of GPRs for high_gprs contexts.
11052 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11053 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11055 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11057 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11059 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11060 for high GPRs (uc_high_gprs) and for future extensions
11062 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11063 for future extensions (__reserved).
11064 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11066 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11067 SC_HIGHGPRS offset definition.
11068 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11069 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11071 * Versions.def: Add GLIBC_2.19 for libpthread.
11072 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11073 siglongjmp for libpthread with GLIBC_2.19 symver.
11074 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11075 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11076 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11077 * sysdeps/s390/__longjmp.c: New file.
11078 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11079 * sysdeps/s390/longjmp.c: New file.
11080 * sysdeps/s390/setjmp.S: New file.
11081 * sysdeps/s390/sigjmp.S: New file.
11082 * sysdeps/s390/v1-longjmp.c: New file.
11083 * sysdeps/s390/v1-setjmp.h: New file.
11084 * sysdeps/s390/v1-sigjmp.c: New file.
11085 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11086 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11087 GLIBC_2.19 version.
11088 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11089 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11090 versioned symbols for ____longjmp_chk.
11091 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11101 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11102 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11103 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11104 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11105 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11106 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11107 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11108 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11109 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11110 * sysdeps/s390/rtld-__longjmp.c: New file.
11111 * sysdeps/s390/rtld-setjmp.S: New file.
11113 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11116 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11117 Return -__logl (x) for small positive arguments without evaluating
11120 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11122 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11124 (__ptrace_peeksiginfo_args): ... this.
11125 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11126 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11127 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11129 2014-01-06 Allan McRae <allan@archlinux.org>
11131 * inet/netinet/in.h: Fix typo in comment.
11133 2014-01-05 Andreas Jaeger <aj@suse.de>
11135 * sysdeps/i386/fpu/libm-test-ulps: Update.
11137 2014-01-05 Allan McRae <allan@archlinux.org>
11139 * po/libc.pot: Regenerated.
11141 * malloc/memusagestat.c: Fix gettext call formatting.
11143 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11145 * nscd/nscd.c: Improve usage() output.
11147 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11149 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11150 * sysdeps/unix/sysv/linux/configure: Regenerated.
11151 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11152 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11154 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11157 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11158 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11160 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11162 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11163 extra tokens at end of #undef directive.
11164 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11165 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11166 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11168 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11170 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11172 * math/auto-libm-test-in: Mark various tests with
11173 xfail-rounding:ldbl-128ibm.
11174 * math/auto-libm-test-out: Regenerated.
11176 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11179 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11180 numbers with subnormal high part when calculating exponent.
11183 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11189 (__ieee754_acoshl): Use __log1pl not __log1p.
11191 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11193 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11194 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11195 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11196 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11197 (reused_arena, arena_get2): Convert to GNU style.
11198 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11199 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11200 (memalign_check, __malloc_set_state): Likewise.
11201 * malloc/mallocbug.c (main): Likewise.
11202 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11203 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11204 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11205 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11206 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11207 (__posix_memalign, malloc_info): Likewise.
11208 * malloc/malloc.h: Likewise.
11209 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11210 (mallochook, memalignhook, reallochook, mabort): Likewise.
11211 * malloc/mcheck.h: Likewise.
11212 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11213 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11214 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11215 * malloc/morecore.c (__default_morecore): Likewise.
11216 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11217 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11218 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11219 (print_and_abort): Likewise.
11220 * malloc/obstack.h: Likewise.
11221 * malloc/set-freeres.c (__libc_freeres): Likewise.
11222 * malloc/tst-mallocstate.c (main): Likewise.
11223 * malloc/tst-mtrace.c (main): Likewise.
11224 * malloc/tst-realloc.c (do_test): Likewise.
11226 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11229 * nscd/netgroupcache.c (do_notfound): New function.
11230 (addgetnetgrentX): Use it.
11233 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11234 NSS_STATUS_NOTFOUND.
11236 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11238 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11241 2014-01-01 Allan McRae <allan@archlinux.org>
11243 * scripts/update-copyrights: Update configure input file suffix.
11245 * NEWS: Update copyright year.
11246 * catgets/gencat.c: Likewise.
11247 * csu/version.c: Likewise.
11248 * debug/catchsegv.sh: Likewise.
11249 * debug/pcprofiledump.c: Likewise.
11250 * debug/xtrace.sh: Likewise.
11251 * elf/ldconfig.c: Likewise.
11252 * elf/ldd.bash.in: Likewise.
11253 * elf/pldd.c: Likewise.
11254 * elf/sotruss.ksh: Likewise.
11255 * elf/sprof.c: Likewise.
11256 * iconv/iconv_prog.c: Likewise.
11257 * iconv/iconvconfig.c: Likewise.
11258 * locale/programs/locale.c: Likewise.
11259 * locale/programs/localedef.c: Likewise.
11260 * login/programs/pt_chown.c: Likewise.
11261 * malloc/memusage.sh: Likewise.
11262 * malloc/memusagestat.c: Likewise.
11263 * malloc/mtrace.pl: Likewise.
11264 * manual/libc.texinfo: Likewise.
11265 * nscd/nscd.c: Likewise.
11266 * nss/getent.c: Likewise.
11267 * nss/makedb.c: Likewise.
11268 * posix/getconf.c: Likewise.
11269 * scripts/test-installation.pl: Likewise.
11271 * All files with FSF copyright notices: Update copyright dates
11272 using scripts/update-copyrights.
11273 * intl/plural.c: Regenerated.
11274 * locale/programs/charmap-kw.h: Likewise.
11275 * locale/programs/locfile-kw.h: Likewise.
11277 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11279 * sysdeps/unix/sysv/linux/configure: Regenerated.
11280 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11281 the linux/fanotify.h header.
11282 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11283 HAVE_LINUX_FANOTIFY_H is defined.
11285 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11287 * benchtests/cos-inputs: New inputs.
11288 * benchtests/sin-inputs: Likewise.
11290 * benchtests/atan-inputs: New inputs. Fix name of multiple
11291 precision fallback inputs.
11293 * benchtests/atanh-inputs: New inputs.
11294 * benchtests/tanh-inputs: Likewise.
11296 * benchtests/acosh-inputs: New inputs.
11297 * benchtests/asinh-inputs: Likewise.
11299 * benchtests/cosh-inputs: New inputs.
11300 * benchtests/sinh-inputs: Likewise.
11302 * benchtests/acos-inputs: Add more inputs.
11303 * benchtests/asin-inputs: Likewise.
11305 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11308 * manual/arith.texi: Fix spelling.
11309 * manual/charset.texi: Likewise.
11310 * manual/errno.texi: Likewise.
11311 * manual/filesys.texi: Likewise.
11312 * manual/lang.texi: Likewise.
11313 * manual/llio.texi: Likewise.
11314 * manual/locale.texi: Likewise.
11315 * manual/message.texi: Likewise.
11316 * manual/resource.texi: Likewise.
11317 * manual/search.texi: Likewise.
11318 * manual/setjmp.texi: Likewise.
11319 * manual/stdio.texi: Likewise.
11320 * manual/string.texi: Likewise.
11321 * manual/sysinfo.texi: Likewise.
11322 * manual/time.texi: Likewise.
11324 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11326 * po/sl.po: New file.
11328 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11330 * .gitignore: Add core/.gdbinit/.gdb_history.
11332 2013-12-27 Allan McRae <allan@archlinux.org>
11335 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11336 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11338 2013-12-24 Brooks Moses <bmoses@google.com>
11340 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11341 all compilers that claim C++98 compliance, not just GCC.
11342 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11345 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11347 * NEWS: Restore accidentally deleted bug-fix entries.
11349 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11350 Ondřej Bílka <neleai@seznam.cz>
11353 * malloc/malloc.c (_int_free): Perform sanity check only if we
11356 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11359 * manual/stdio.texi (String Input Conversions): Clarify that character
11360 classes are not supported.
11362 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11366 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11369 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11370 Calculate results for small negative arguments directly rather
11371 than using reflection formula with special underflow handling.
11373 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11374 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11375 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11376 (fchflags): Likewise.
11377 (revoke): Likewise.
11378 (setlogin): Likewise.
11379 (sigaltstack): Likewise.
11381 (sigblock): Remove.
11382 (sigsetmask): Likewise.
11384 (waitpid): Likewise.
11385 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11386 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11388 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11389 * sysdeps/unix/bsd/Makefile: ... here.
11390 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11391 * sysdeps/unix/bsd/Versions: ... here.
11392 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11393 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11394 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11395 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11396 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11397 * sysdeps/unix/bsd/sigblock.c: ... here.
11398 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11399 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11400 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11401 * sysdeps/unix/bsd/sigvec.c: ... here.
11402 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11403 * sysdeps/unix/bsd/tcdrain.c: ... here.
11404 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11405 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11406 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11407 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11408 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11409 * sysdeps/unix/bsd/wait.c: ... here.
11410 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11411 * sysdeps/unix/bsd/wait3.c: ... here.
11412 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11413 * sysdeps/unix/bsd/waitpid.c: ... here.
11415 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11418 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11419 round-to-nearest for [!USE_AS_EXPM1L].
11420 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11421 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11422 more tests of exp and exp10. Expect some exp10 tests to miss
11423 exceptions or fail in directed rounding modes.
11424 * math/auto-libm-test-out: Regenerated.
11425 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11426 (exp10_test_tonearest): New function.
11427 (exp10_towardzero_test_data): New array.
11428 (exp10_test_towardzero): New function.
11429 (exp10_downward_test_data): New array.
11430 (exp10_test_downward): New function.
11431 (exp10_upward_test_data): New array.
11432 (exp10_test_upward): New function.
11433 (main): Call the new functions.
11434 * sysdeps/i386/fpu/libm-test-ulps: Update.
11435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11437 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11439 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11440 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11441 * math/auto-libm-test-out: Regenerated.
11442 * math/libm-test.inc (acosh_test_data): Add more tests.
11443 (atanh_test_data): Likewise.
11444 (ceil_test_data): Likewise.
11445 (copysign_test_data): Likewise.
11446 * sysdeps/i386/fpu/libm-test-ulps: Update.
11447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11449 * timezone/checktab.awk: Update from tzcode 2013i.
11450 * timezone/private.h: Likewise.
11451 * timezone/scheck.c: Likewise.
11452 * timezone/tzfile.h: Likewise.
11453 * timezone/tzselect.ksh: Likewise.
11454 * timezone/zdump.c: Likewise.
11455 * timezone/zic.c: Likewise.
11457 * math/auto-libm-test-in: Add tests of cpow.
11458 * math/auto-libm-test-out: Regenerated.
11459 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11460 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11462 (func_calc_desc): Add mpc_cc_c union field.
11463 (test_functions): Add cpow.
11464 (special_fill_2pi): New function.
11465 (special_real_inputs): Add 2pi.
11466 (calc_generic_results): Handle mpc_cc_c.
11467 * sysdeps/i386/fpu/libm-test-ulps: Update.
11468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11470 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11471 csqrt, ctan and ctanh.
11472 * math/auto-libm-test-out: Regenerated.
11473 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11474 (TEST_COND_x86): Likewise.
11475 (ccos_test_data): Use AUTO_TESTS_c_c.
11476 (ccosh_test_data): Likewise.
11477 (cexp_test_data): Likewise.
11478 (clog_test_data): Likewise.
11479 (csqrt_test_data): Likewise.
11480 (ctan_test_data): Likewise.
11481 (ctan_tonearest_test_data): Likewise.
11482 (ctan_towardzero_test_data): Likewise.
11483 (ctan_downward_test_data): Likewise.
11484 (ctan_upward_test_data): Likewise.
11485 (ctanh_test_data): Likewise.
11486 (ctanh_tonearest_test_data): Likewise.
11487 (ctanh_towardzero_test_data): Likewise.
11488 (ctanh_downward_test_data): Likewise.
11489 (ctanh_upward_test_data): Likewise.
11490 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11492 (func_calc_desc): Add mpc_c_c union field.
11493 (FUNC_mpc_c_c): New macro.
11494 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11495 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11497 (special_fill_min_subnorm_p120): New function.
11498 (special_real_inputs): Add min_subnorm_p120.
11499 (calc_generic_results): Handle mpc_c_c.
11500 * sysdeps/i386/fpu/libm-test-ulps: Update.
11501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11503 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11505 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11506 (do_sin_slow): New functions.
11507 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11508 (cslow2, csloww1, csloww2): Use the new functions.
11510 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11511 Use M to change sign of result instead of X. Assume X is
11513 (csloww1): Likewise.
11517 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11518 arguments A and DA.
11522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11524 (sloww1): Don't adjust sign of DX.
11525 (csloww1): Likewise.
11526 (sloww2): Use X directly and don't adjust sign of DX.
11527 (csloww2): Likewise.
11529 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11531 * math/auto-libm-test-in: Add tests of cabs and carg.
11532 * math/auto-libm-test-out: Regenerated.
11533 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11534 (carg_test_data): Likewise.
11535 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11537 (func_calc_desc): Add mpc_c_f union field.
11538 (test_functions): Add cabs and carg.
11539 (calc_generic_results): Handle mpc_c_f.
11541 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11542 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11543 as a macro and a compat symbol.
11544 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11545 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11546 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11547 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11548 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11549 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11551 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11553 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11555 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11557 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11559 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11561 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11562 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11565 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11569 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11571 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11572 trailing whitespace removed.
11573 * scripts/config.guess: Update to version 2013-11-29.
11574 * scripts/config.sub: Update to version 2013-10-01.
11576 * math/auto-libm-test-in: Add tests of sincos.
11577 * math/auto-libm-test-out: Regenerated.
11578 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11579 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11581 (func_calc_desc): Add mpfr_f_11 union field.
11582 (test_functions): Add sincos.
11583 (calc_generic_results): Handle mpfr_f_11.
11584 * sysdeps/i386/fpu/libm-test-ulps: Update.
11585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11587 2013-12-19 Andreas Schwab <schwab@suse.de>
11589 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11591 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11592 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11593 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11595 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11597 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11598 * sysdeps/i386/fpu/libm-test-ulps: Update.
11599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11602 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11603 round-to-nearest mode when using frndint.
11604 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11605 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11606 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11608 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11610 * math/auto-libm-test-out: Regenerated.
11611 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11612 (TEST_COND_x86): Likewise.
11613 (expm1_tonearest_test_data): New array.
11614 (expm1_test_tonearest): New function.
11615 (expm1_towardzero_test_data): New array.
11616 (expm1_test_towardzero): New function.
11617 (expm1_downward_test_data): New array.
11618 (expm1_test_downward): New function.
11619 (expm1_upward_test_data): New array.
11620 (expm1_test_upward): New function.
11621 (main): Run the new test functions.
11622 * sysdeps/i386/fpu/libm-test-ulps: Update.
11623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11625 * include/features.h: Update comment documenting feature test
11626 macros. Mention _DEFAULT_SOURCE in comment.
11627 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11628 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11629 _BSD_SOURCE and _SVID_SOURCE.
11630 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11631 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11632 !_SVID_SOURCE]: Likewise.
11633 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11634 (__USE_POSIX_IMPLICITLY): Define.
11635 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11636 (_POSIX_SOURCE): Undefine and redefine.
11637 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11638 (_POSIX_C_SOURCE): Likewise.
11639 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11640 (Feature Test Macros): Update documentation of default features.
11642 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11644 * benchtests/Makefile: Add bench-strtok.
11645 * benchtests/bench-strtok.c: New file: strtok benchtest.
11647 2013-12-19 Allan McRae <allan@archlinux.org>
11649 * manual/install.texi: Suppress menu for plain text output.
11650 * INSTALL: Regenerated.
11652 2013-12-18 Brooks Moses <bmoses@google.com>
11655 * misc/getauxval.c: Include errno.h.
11656 (__getauxval): Set errno to ENOENT if the requested type is not
11658 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11659 don't declare with __attribute_const__.
11660 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11661 * manual/startup.texi: Document that getauxval sets errno.
11663 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11665 * math/auto-libm-test-in: Add tests of jn and yn.
11666 * math/auto-libm-test-out: Regenerated.
11667 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11668 (yn_test_data): Likewise.
11669 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11671 (func_calc_desc): Add mpfr_if_f union field.
11672 (FUNC_mpfr_if_f): New macro.
11673 (test_functions): Add jn and yn.
11674 (calc_generic_results): Assert type of second input for
11675 mpfr_ff_f. Handle mpfr_if_f.
11676 (output_for_one_input_case): Disable all checking for arguments
11677 fitting floating-point types in case of an integer argument.
11678 * sysdeps/i386/fpu/libm-test-ulps: Update.
11679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11682 Don't expect fegetround reference in libm.so.
11684 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11686 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11687 $(config-cflags-nofma).
11689 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11691 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11692 * math/auto-libm-test-out: Regenerated.
11695 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11696 to determine exponent and adjust argument to have exponent of -1.
11697 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11699 * math/auto-libm-test-out: Regenerated.
11700 * sysdeps/i386/fpu/libm-test-ulps: Update.
11701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11703 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11705 * manual/probes.texi: Remove cases when per-thread arenas are
11708 2013-12-18 Andreas Schwab <schwab@suse.de>
11710 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11711 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11712 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11713 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11714 * sysdeps/i386/i686/multiarch/Makefile: Update.
11715 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11717 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11719 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11720 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11722 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11725 Support TZ transition times < 00:00:00.
11726 This is needed for version-3 tz-format files; it supports time
11727 stamps past 2037 for America/Godthab (the only entry in the tz
11728 database for which this change is relevant).
11729 * manual/time.texi (TZ Variable): Document transition times
11730 from -167:59:59 through -00:00:01.
11731 * time/tzset.c (tz_rule): Time of day is now signed.
11732 (__tzset_parse_tz): Parse negative time of day.
11734 Document TZ transition times >= 25:00:00.
11735 * manual/time.texi (TZ Variable): Document transition times from
11736 25:00:00 through 167:59:59. These are already supported, and this
11737 support will help with version-3 tz-format files.
11739 * manual/time.texi (TZ Variable): Modernize North America example
11740 to reflect current (i.e., 2007-and-later) daylight saving rules.
11742 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11744 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11746 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11747 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11748 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11749 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11750 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11751 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11752 * sysdeps/unix/bsd/clock.c: Likewise.
11753 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11754 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11755 * sysdeps/unix/bsd/init-posix.c: Likewise.
11756 * sysdeps/unix/bsd/poll.c: Likewise.
11757 * sysdeps/unix/bsd/ptsname.c: Likewise.
11758 * sysdeps/unix/bsd/seekdir.c: Likewise.
11759 * sysdeps/unix/bsd/setegid.c: Likewise.
11760 * sysdeps/unix/bsd/seteuid.c: Likewise.
11761 * sysdeps/unix/bsd/setgid.c: Likewise.
11762 * sysdeps/unix/bsd/setrgid.c: Likewise.
11763 * sysdeps/unix/bsd/setruid.c: Likewise.
11764 * sysdeps/unix/bsd/setsid.c: Likewise.
11765 * sysdeps/unix/bsd/setuid.c: Likewise.
11766 * sysdeps/unix/bsd/sigaction.c: Likewise.
11767 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11768 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11769 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11770 * sysdeps/unix/bsd/telldir.c: Likewise.
11771 * sysdeps/unix/bsd/times.c: Likewise.
11772 * sysdeps/unix/bsd/usleep.c: Likewise.
11774 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11775 ($(objpfx)libbsd-compat.a): Remove rule.
11777 * include/features.h (__FAVOR_BSD): Do not define.
11778 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11779 features conflicting with POSIX.
11780 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11781 (_BSD_SOURCE): Remove description of not being a subset of other
11782 feature test macros.
11783 * manual/job.texi (getpgrp): Do not document BSD version.
11784 (getpgid): Do not document by reference to BSD getpgrp.
11785 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11786 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11787 * signal/signal.h [__FAVOR_BSD]: Likewise.
11788 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11789 instead of making contents conditional on [__FAVOR_BSD].
11790 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11792 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11796 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11799 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11800 values below 2**-450, not 2**-500.
11801 * math/auto-libm-test-in: Don't allow spurious underflow from
11803 * math/auto-libm-test-out: Regenerated.
11807 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11808 values of ha and hb and sort them after adjusting subnormal
11810 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11812 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11813 values of ea and eb and sort them after adjusting subnormal
11815 * math/auto-libm-test-in: Do not expect some hypot tests of
11816 subnormals to fail. Add more hypot tests.
11817 * math/auto-libm-test-out: Regenerated.
11819 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11822 * sysdeps/sh/s_fma.c: New file.
11823 * sysdeps/sh/s_fmaf.c: New file.
11824 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11826 * sysdeps/sh/Implies: Add sh/soft-fp.
11828 2013-12-16 Roland McGrath <roland@hack.frob.com>
11830 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11831 level of indirection to members `objname', `errstring', `malloced'.
11832 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11833 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11834 it as the __longjmp argument (just pass 1 instead).
11835 (_dl_catch_error): Initialize C with argument pointers and address of
11836 volatile local ERRCODE rather than copying values out of C at return.
11838 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11840 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11841 * math/auto-libm-test-out: Regenerated.
11842 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11843 (hypot_test_data): Likewise.
11844 (pow_test_data): Likewise.
11845 (pow_tonearest_test_data): Likewise.
11846 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11848 (func_calc_desc): Add mpfr_ff_f union field.
11849 (FUNC_mpfr_ff_f): New macro.
11850 (test_functions): Add atan2, hypot and pow.
11851 (special_fill_min): New function.
11852 (special_fill_minus_min): Likewise.
11853 (special_fill_min_subnorm): Likewise.
11854 (special_fill_minus_min_subnorm): Likewise.
11855 (special_real_inputs): Add min, -min, min_subnorm and
11857 (calc_generic_results): Handle mpfr_ff_f.
11858 * sysdeps/i386/fpu/libm-test-ulps: Update.
11859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11861 2013-12-16 Will Newton <will.newton@linaro.org>
11863 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11864 (Aligned Memory Blocks): Add documentation for aligned_alloc
11865 and suggest it as an alternative to posix_memalign.
11866 (Hooks for Malloc): Document __memalign_hook is also called
11867 for aligned_alloc. (Summary of Malloc): Add summary for
11868 aligned alloc. Document __memalign_hook is also called
11871 2013-12-16 Will Newton <will.newton@linaro.org>
11873 * manual/memory.texi (Malloc Examples): Clarify default
11874 alignment documentation. Suggest posix_memalign rather
11875 than memalign or valloc.
11876 (Aligned Memory Blocks): Remove suggestion to use memalign
11877 or valloc. Remove obsolete comment about BSD.
11878 Document memalign errno values and mark the function obsolete.
11879 Document posix_memalign returned error codes. Mark valloc
11880 as obsolete. (Hooks for Malloc): __memalign_hook is also
11881 called for posix_memalign and valloc.
11882 (Summary of Malloc): Add posix_memalign to function summary.
11883 __memalign_hook is also called for posix_memalign and valloc.
11885 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11887 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11891 (sloww): Use mynumber union. Expand ternary operator into
11892 if-else statements.
11893 (cslow): use mynumber union.
11895 2013-12-16 Allan McRae <allan@archlinux.org>
11897 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11898 * configure: Regenerated.
11900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11903 * configure.ac: Added --enable-maintainer-mode. Check for
11904 autoconf when enabled.
11905 * configure: Regenerated.
11907 * nscd/nscd.service: New file.
11908 * nscd/nscd.tmpfiles: New file.
11910 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11913 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11914 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11915 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11916 (strstr): Add __strstr_sse2_unaligned ifunc.
11917 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11918 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11919 (strcasestr): Remove __strcasestr_sse42 ifunc.
11920 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11924 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11926 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11927 * sysdeps/sh/bits/fenv.h: ... here.
11928 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11930 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11932 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11935 hypotf multiarch implementations.
11936 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11937 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11938 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11939 multiarch hypot for PPC64.
11940 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11941 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11942 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11943 multiarch hypotf for PPC64.
11945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11946 modff multiarch implementations.
11947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11950 multiarch modf for PPC64.
11951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11954 multiarch modff for PPC64.
11956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11957 and logl multiarch implementations.
11958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11961 multiarch logb for PPC64.
11962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11965 multiarch logb for PPC64.
11966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11969 multiarch logb for PPC64.
11971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11972 isinff multiarch implementation.
11973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11977 multiarch isinf for PPC64.
11978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11981 multiarch isinff for PPC64.
11983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11984 finitef multiarch implementation.
11985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11989 multiarch finite for PPC64.
11990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11993 multiarch finitef for PPC64.
11995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11996 lrint multiarch implementation.
11997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12001 multiarch llrint for PPC64.
12002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12003 multiarch lrint for PPC64.
12005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12006 copysignf multiarch implementation.
12007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12012 multiarch copysign for PPC64.
12013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12014 multiarch copysignf for PPC64.
12016 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12017 multiarch implementation.
12018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12026 multiarch llround for PPC64.
12027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12028 multiarch trunc for PPC64.
12029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12030 multiarch truncf for PPC64.
12032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12033 multiarch implementation.
12034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12042 multiarch llround for PPC64.
12043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12044 multiarch round for PPC64.
12045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12046 multiarch roundf for PPC64.
12048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12049 multiarch implementation.
12050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12058 multiarch llround for PPC64.
12059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12060 multiarch floor for PPC64.
12061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12062 multiarch floorf for PPC64.
12064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12065 multiarch implementation.
12066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12074 multiarch llround for PPC64.
12075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12076 multiarch ceil for PPC64.
12077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12078 multiarch ceilf for PPC64.
12080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12081 multiarch implementation.
12082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12089 multiarch llround for PPC64.
12090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12091 multiarch lround for PPC64.
12093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12094 multiarch implementation.
12095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12102 multiarch isnan for PPC64.
12103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12104 multiarch isnanf for PPC64.
12106 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12107 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12108 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12109 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12110 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12113 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12114 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12115 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12119 multiarch implementations.
12120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12121 (__libc_ifunc_impl_list): Likewise.
12122 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12123 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12124 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12125 multiarch stpcpy for PPC64.
12127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12128 multiarch implementations.
12129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12130 (__libc_ifunc_impl_list): Likewise.
12131 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12132 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12133 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12134 multiarch strcpy for PPC64.
12136 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12137 redefine function name.
12138 (_wordcopy_fwd_dest_aligned): Likewise.
12139 (_wordcopy_bwd_aligned): Likewise.
12140 (_wordcopy_bwd_dest_aligned): Likewise.
12141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12142 multiarch implementations.
12143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12144 (__libc_ifunc_impl_list): Likewise.
12145 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12146 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12147 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12148 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12149 multiarch wcscpy for PPC64.
12151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12152 multiarch implementations.
12153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12154 (__libc_ifunc_impl_list): Likewise.
12155 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12156 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12157 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12158 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12159 multiarch wcscpy for PPC64.
12161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12162 multiarch implementations.
12163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12164 (__libc_ifunc_impl_list): Likewise.
12165 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12166 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12167 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12168 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12169 multiarch wcsrchr for PPC64.
12171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12172 multiarch implementations.
12173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12174 (__libc_ifunc_impl_list): Likewise.
12175 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12176 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12177 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12178 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12179 multiarch wcschr for PPC64.
12181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12182 multiarch implementations.
12183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12184 (__libc_ifunc_impl_list): Likewise.
12185 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12186 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12187 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12188 multiarch strchrnul for PPC64.
12190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12193 (__libc_ifunc_impl_list): Likewise.
12194 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12195 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12196 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12197 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12203 (__libc_ifunc_impl_list): Likewise.
12204 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12205 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12206 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12207 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12211 multiarch implementations.
12212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12213 (__libc_ifunc_impl_list): Likewise.
12214 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12215 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12216 strncasecmp for PPC64.
12217 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12218 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12219 multiarch strncasecmp_l for PPC64.
12221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12222 multiarch implementations.
12223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12224 (__libc_ifunc_impl_list): Likewise.
12225 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12226 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12227 multiarch strcasecmp for PPC64.
12228 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12230 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12231 multiarch strcasecmp_l for PPC64.
12233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12236 (__libc_ifunc_impl_list): Likewise.
12237 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12238 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12239 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12245 (__libc_ifunc_impl_list): Likewise.
12246 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12247 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12248 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12254 (__libc_ifunc_impl_list): Likewise.
12255 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12256 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12257 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12258 rawmemrchr for PPC64.
12260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12263 (__libc_ifunc_impl_list): Likewise.
12264 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12265 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12266 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12272 (__libc_ifunc_impl_list): Likewise.
12273 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12274 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12275 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12281 (__libc_ifunc_impl_list): Likewise.
12282 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12283 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12284 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12287 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12288 avoid cretion of __bzero symbol.
12289 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12291 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12293 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12296 multiarch implementations.
12297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12298 (__libc_ifunc_impl_list): Likewise.
12299 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12300 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12301 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12302 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12304 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12305 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12306 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12307 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12308 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12310 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12312 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12316 (__libc_ifunc_impl_list): Likewise.
12317 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12318 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12319 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12320 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12324 multiarch for POWER/PPC64.
12325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12326 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12327 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12328 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12329 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12330 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12331 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12332 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12333 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12336 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12337 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12338 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12339 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12340 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12341 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12342 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12343 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12344 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12345 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12346 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12347 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12348 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12349 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12350 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12359 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12361 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12363 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12365 * benchtests/Makefile (bench): Add exp2 and log2.
12366 (LDLIBS-bench-exp2): Add -lm.
12367 (LDLIBS-bench-log2): Likewise.
12368 * benchtests/exp2-inputs: New inputs file.
12369 * benchtests/log2-inputs: New inputs file.
12370 * benchtests/log-inputs: Add new inputs.
12371 * benchtests/tan-inputs: Likewise.
12373 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12375 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12377 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12378 (csloww2): ... from here.
12380 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12381 instead of structures.
12382 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12383 (POLYNOMIAL): Likewise.
12384 (TAYLOR_SLOW): Likewise.
12390 (sloww1); Likewise.
12391 (sloww2): Likewise.
12392 (bsloww1): Likewise.
12393 (bsloww2): Likewise.
12394 (cslow2): Likewise.
12395 (csloww): Likewise.
12396 (csloww1): Likewise.
12397 (csloww2): Likewise.
12399 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12401 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12402 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12403 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12404 * malloc/hooks.c (realloc_check): Likewise.
12406 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12407 * malloc/arena.c: Remove PER_THREAD conditional.
12408 [!PER_THREAD]: Remove code.
12409 (ptmalloc_unlock_all2): Likewise.
12410 (ptmalloc_init): Likewise.
12411 (_int_new_arena): Likewise.
12412 (arena_get2): Likewise.
12413 * malloc/hooks.c (__malloc_get_state): Likewise.
12414 (__malloc_set_state): Likewise.
12415 * malloc/malloc.c: Likewise.
12416 (struct malloc_state): Likewise.
12417 (struct malloc_par): Likewise.
12418 (__libc_realloc): Likewise.
12419 (__libc_mallopt): Likewise.
12421 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12423 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12425 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12427 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12428 macro to a function. Check for zero perturb_byte.
12429 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12431 * malloc/malloc.c: (force_reg): Remove.
12432 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12433 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12434 force_reg by atomic_forced_read.
12435 * malloc/arena.c (ptmalloc_init): Likewise.
12436 * malloc/hooks.c (top_check): Likewise.
12438 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12442 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12446 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12448 * math/auto-libm-test-in: Add tests of lgamma.
12449 * math/auto-libm-test-out: Regenerated.
12450 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12451 (M_LOG_2_SQRT_PIl): Likewise.
12452 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12453 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12455 (func_calc_desc): Add mpfr_f_f1 union field.
12456 (ARGS1): New macro.
12464 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12465 (test_functions): Add lgamma.
12466 (calc_generic_results): Handle mpfr_f_f1.
12467 * sysdeps/i386/fpu/libm-test-ulps: Update.
12468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12470 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12472 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12473 __mpn_add_n for PowerPC64/POWER7.
12474 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12475 __mpn_sub_n for PowerPC64/POWER7.
12477 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12478 __mpn_addmul_1 for PowerPC64.
12479 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12480 __mpn_submul_1 for PowerPC64.
12481 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12483 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12486 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12489 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12491 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12493 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12495 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12496 add multiarch folders.
12497 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12498 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12499 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12500 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12501 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12502 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12503 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12504 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12505 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12506 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12507 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12516 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12522 multiarch __ieee754_hypot for PowerPC32.
12523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12528 multiarch __ieee754_hypotf for PowerPC32.
12530 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12531 long_double_symbol only if __logbl is defined.
12532 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12533 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12535 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12537 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12538 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12539 path for implementation.
12540 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12541 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12543 logb, and logbl multiarch implementations for PowerPC32.
12544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12549 multiarch logb for PowerPC32.
12550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12555 multiarch logbf for PowerPC32.
12556 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12560 multiarch logbl implementation for PowerPC32.
12562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12563 and modff multiarch implementations.
12564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12569 multiarch modf for PowerPC32.
12570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12575 multiarch modff for PowerPC32.
12577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12578 and lrintf multiarch implementations.
12579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12584 multiarch lrint for PowerPC32.
12585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12586 file: multiarch lrintf for PowerPC32.
12588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12589 and lroundf multiarch implementations.
12590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12597 multiarch lround for PowerPC32.
12598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12599 file: multiarch lroundf for PowerPC32.
12601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12602 copysign and copysignf multiarch implementations.
12603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12608 file: multiarch copysign for PowerPC32.
12609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12610 file: multiarch copysignf for PowerPC32.
12612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12613 and truncf multiarch implementations.
12614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12619 multiarch trunc for PowerPC32.
12620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12625 multiarch truncf for PowerPC32.
12627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12628 and roundf multiarch implementations.
12629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12634 multiarch round for PowerPC32.
12635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12640 multiarch roundf for PowerPC32.
12642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12643 and floorf multiarch implementations.
12644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12649 multiarch floor for PowerPC32.
12650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12655 multiarch floorf for PowerPC32.
12657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12658 and ceilf multiarch implementations.
12659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12664 multiarch ceil for PowerPC32.
12665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12670 multiarch ceilf for PowerPC32.
12672 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12674 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12675 FINITEF is defined.
12676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12677 and finitef multiarch implementations.
12678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12683 multiarch finite for PowerPC32.
12684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12687 file: multiarch finitef for PowerPC32.
12689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12690 and isinff multiarch implementations.
12691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12696 multiarch isinf for PowerPC32.
12697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12700 multiarch isinff for PowerPC32.
12702 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12703 alias when __isnan is defined.
12704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12705 and isnanf multiarch implementations.
12706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12715 multiarch isnan for PowerPC32.
12716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12721 multiarch isnanf for PowerPC32.
12723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12724 and sqrtf multiarch implementations.
12725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12730 multiarch sqrt for PowerPC32.
12731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12736 multiarch sqrtf for PowerPC32.
12738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12739 and llroundf multiarch implementations.
12740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12747 file: multiarch llround for PowerPC32.
12748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12749 file: multiarch llroundf for PowerPC32.
12751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12752 multiarch PowerPC32 fpu implementations.
12753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12758 multiarch llrint for PowerPC32.
12759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12768 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12770 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12772 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12774 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12775 multiarch wordcopy for PPC32.
12776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12779 (__libc_ifunc_impl_list): Likewise.
12780 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12781 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12782 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12783 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12784 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12785 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12787 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12795 multiarch wcscpy for PPC32.
12796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12799 (__libc_ifunc_impl_list): Likewise.
12800 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12801 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12802 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12803 sysdeps/powerpc/power6/wcscpy.c.
12805 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12813 multiarch wcsrchr for PPC32.
12814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12817 (__libc_ifunc_impl_list): Likewise.
12818 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12819 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12820 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12821 sysdeps/powerpc/power6/wcsrchr.c.
12823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12827 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12829 multiarch wcschr for PPc32.
12830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12833 (__libc_ifunc_impl_list): Likewise.
12834 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12835 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12836 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12837 sysdeps/powerpc/power6/wcschr.c.
12839 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12840 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12842 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12843 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12844 file: multiarch strchr for PPC32.
12845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12848 (__libc_ifunc_impl_list): Likewise.
12850 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12852 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12854 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12856 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12857 multiarch strchrnul for PPC32.
12858 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12860 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12861 (__libc_ifunc_impl_list): Likewise.
12863 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12865 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12866 multiarch strncasecmp for PPC32.
12867 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12869 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12870 multiarch strncasecmp_l for PPC32.
12871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12872 strncasecmp multiarch objects.
12873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12874 (__libc_ifunc_impl_list): Likewise.
12876 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12878 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12879 multiarch strncasecmp for PPC32.
12880 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12882 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12883 multiarch strcasecmp_l for PPC32.
12884 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12886 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12887 (__libc_ifunc_impl_list): Likewise.
12889 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12891 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12893 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12894 multiarch strncmp for PPC32.
12895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12898 (__libc_ifunc_impl_list): Likewise.
12900 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12901 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12903 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12904 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12908 (__libc_ifunc_impl_list): Likewise.
12910 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12912 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12914 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12918 (__libc_ifunc_impl_list): Likewise.
12920 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12922 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12924 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12925 multiarch rawmemchr for PPC32.
12926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12929 (__libc_ifunc_impl_list): Likewise.
12931 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12933 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12935 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12936 file: memrchr multiarch for PPC32.
12937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12940 (__libc_ifunc_impl_list): Likewise.
12942 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12943 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12945 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12946 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12947 multiarch memchr for PPC32.
12948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12951 (__libc_ifunc_impl_list): Likewise.
12953 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12954 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12956 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12958 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12959 file: multiarch mempcpy for PPC32.
12960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12963 (__libc_ifunc_impl_list): Likewise.
12965 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12966 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12967 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12968 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12969 multiarch bzero for PPC32.
12970 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12972 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12974 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12975 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12976 file: multiarch memset for PPC32.
12977 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12979 memset multiarch objects.
12980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12981 (__libc_ifunc_impl_list): Likewise.
12983 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12985 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12988 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12992 (__libc_ifunc_impl_list): Likewise.
12994 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12995 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12996 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12998 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13000 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13003 multiarch memcpy for PPC32.
13004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13007 (__libc_ifunc_impl_list): Likewise.
13009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13010 support multiarch for POWER/PPC32.
13011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13013 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13015 Implies file to make multiarch folder appers before the fpu and
13016 default folder for power4 configuration.
13018 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13020 * scripts/bench.pl: Append volatile keyword to type.
13022 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13024 * sysdeps/sh/sotruss-lib.c: New file.
13025 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13027 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13031 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13034 * math/w_tgamma.c: Include <errno.h>.
13035 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13036 * math/w_tgammaf.c: Include <errno.h>.
13037 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13038 * math/w_tgammal.c: Include <errno.h>.
13039 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13040 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13041 underflow. Add more tgamma tests.
13042 * math/auto-libm-test-out: Regenerated.
13043 * sysdeps/i386/fpu/libm-test-ulps: Update.
13044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13046 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13047 sin, sinh, tan, tanh, tgamma, y0 and y1.
13048 * math/auto-libm-test-out: Regenerated.
13049 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13050 (TEST_COND_x86): Likewise.
13051 (M_E2l): Remove macro.
13053 (M_2_SQRT_PIl): Likewise.
13054 (M_SQRT_PIl): Likewise.
13055 (M_1_DIV_El): Likewise.
13056 (log_test_data): Use AUTO_TESTS_f_f.
13057 (log10_test_data): Likewise.
13058 (log1p_test_data): Likewise.
13059 (log2_test_data): Likewise.
13060 (sin_test_data): Likewise.
13061 (sin_tonearest_test_data): Likewise.
13062 (sin_towardzero_test_data): Likewise.
13063 (sin_downward_test_data): Likewise.
13064 (sin_upward_test_data): Likewise.
13065 (sinh_test_data): Likewise.
13066 (sinh_tonearest_test_data): Likewise.
13067 (sinh_towardzero_test_data): Likewise.
13068 (sinh_downward_test_data): Likewise.
13069 (sinh_upward_test_data): Likewise.
13070 (tan_test_data): Likewise.
13071 (tan_tonearest_test_data): Likewise.
13072 (tan_towardzero_test_data): Likewise.
13073 (tan_downward_test_data): Likewise.
13074 (tan_upward_test_data): Likewise.
13075 (tanh_test_data): Likewise.
13076 (tgamma_test_data): Likewise.
13077 (y0_test_data): Likewise.
13078 (y1_test_data): Likewise.
13079 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13080 (special_real_inputs): Add pi/4.
13081 * sysdeps/i386/fpu/libm-test-ulps: Update.
13082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13084 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13086 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13087 "longjmp_target" static probes.
13088 (__longjmp): Rename to __longjmp_symbol.
13089 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13090 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13091 on which longjmp to generate.
13092 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13093 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13095 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13096 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13097 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13098 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13099 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13100 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13102 __longjmp_symbol based on which __longjmp to generate.
13103 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13105 (setjmp): Rename to setjmp_symbol.
13106 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13107 (_setjmp): Rename to _setjmp_symbol.
13108 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13109 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13110 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13111 which setjmp to generate.
13112 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13113 "longjmp_target" static probes.
13115 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13117 * benchtests/README: Add note about output arguments.
13118 * benchtests/bench-sincos.c: Remove file.
13119 * benchtests/sincos-inputs: New file.
13120 * scripts/bench.pl: Identify output arguments and define
13121 static variables for them.
13123 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13126 * Makefile (INSTALL): Add install-plain.texi as the primary
13128 * manual/install-plain.texi: New file.
13129 * manual/install.texi: Include node directive only for
13130 non-plaintext output.
13132 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13134 * stdlib/longlong.h: Update from GCC.
13138 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13139 * math/w_j0f.c (y0f): Likewise.
13140 * math/w_j0l.c (__y0l): Likewise.
13141 * math/w_j1.c (y1): Likewise.
13142 * math/w_j1f.c (y1f): Likewise.
13143 * math/w_j1l.c (__y1l): Likewise
13144 * math/w_jn.c (yn): Likewise.
13145 * math/w_jnf.c (ynf): Likewise.
13146 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13147 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13148 value for Bessel function domain errors outside _SVID_ mode.
13149 Adjust sign of return value for yn (negative integer, 0).
13150 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13151 by zero in return for negative x and set sign appropriately for
13153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13154 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13155 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13156 expectations in error cases.
13157 (y1_test_data): Likewise.
13158 (yn_test_data): Likewise.
13159 * sysdeps/i386/fpu/libm-test-ulps: Update.
13160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13162 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13164 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13165 "64" to "64-v1". Add "64-v2".
13166 (abi-64-options): Rename to ...
13167 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13168 (abi-64-condition): Rename to ...
13169 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13170 (abi-64-ld-soname): Rename to ...
13171 (abi-64-v1-ld-soname): ... this.
13172 (abi-64-v2-options): Define.
13173 (abi-64-v2-condition): Likewise.
13174 (abi-64-v2-ld-soname): Likewise.
13175 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13176 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13181 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13182 Alan Modra <amodra@gmail.com>
13184 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13185 New versions for use with the ELFv2 ABI.
13186 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13187 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13189 (struct La_ppc64v2_retval): Likewise.
13190 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13191 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13192 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13193 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13194 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13195 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13196 Do not save or restore CR.
13197 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13198 (_dl_profile_resolve): Do no save or restore CR. Support extended
13199 return values for ELFv2 ABI. Fix location of FPR return registers.
13200 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13201 updated values for _CALL_ELF == 2.
13202 (La_regs, La_retval, int_retval): Likewise.
13204 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13206 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13207 (FRAME_MIN_SIZE_PARM): Likewise.
13208 (FRAME_BACKCHAIN): Likewise.
13209 (FRAME_CR_SAVE): Likewise.
13210 (FRAME_LR_SAVE): Likewise.
13211 (FRAME_TOC_SAVE): Likewise.
13212 (FRAME_PARM_SAVE): Likewise.
13213 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13214 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13215 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13216 (call_mcount_parm_offset): New macro.
13217 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13218 (PROF): Use symbolic stack frame offsets.
13219 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13221 Redefine in terms of FRAME_MIN_SIZE.
13222 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13223 (_dl_profile_resolve): Likewise. Update comment.
13224 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13225 symbols stack frame offsets.
13226 (__sigsetjmp): Likewise.
13227 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13228 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13229 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13230 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13233 (FRAME_BACKCHAIN): Remove.
13234 (FRAME_CR_SAVE): Likewise.
13235 (FRAME_LR_SAVE): Likewise.
13236 (FRAME_COMPILER_DW): Likewise.
13237 (FRAME_LINKER_DW): Likewise.
13238 (FRAME_TOC_SAVE): Likewise.
13239 (FRAME_PARM_SAVE): Likewise.
13240 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13241 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13242 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13244 (CHECK_SP): Use symbolic stack frame offsets.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13246 zone" instead of caller's parameter save area for temp storage.
13247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13248 Likewise. Also, use symbolic stack frame offsets.
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13250 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13251 our own stack frame instead of the caller's.
13252 (__socket): Use symbolic stack frame offsets.
13254 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13255 Alan Modra <amodra@gmail.com>
13257 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13259 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13260 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13261 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13263 (elf_machine_fixup_plt): Call it.
13264 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13266 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13267 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13268 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13269 r2 before calling target.
13271 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13272 Alan Modra <amodra@gmail.com>
13274 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13275 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13276 versions of macros to support ELFv2 ABI.
13277 (LOCALENTRY): New macro.
13278 (ENTRY, EALIGN): Use it.
13279 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13280 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13281 fall through into ENTRY entry point.
13282 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13283 Only define if _CALL_ELF != 2.
13285 (elf_machine_matches_host): Verify ABI version matches.
13286 (RTLD_START): Use LOCALENTRY.
13287 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13288 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13289 (PLT_ENTRY_WORDS): New macro.
13290 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13291 (elf_machine_runtime_setup): Support ELFv2 ABI.
13292 (elf_machine_fixup_plt): Likewise.
13293 (elf_machine_plt_conflict): Likewise.
13294 (resolve_ifunc): Likewise.
13295 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13296 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13299 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13301 (makecontext): Support ELFv2 ABI.
13302 * elf/elf.h (EF_PPC64_ABI): Define.
13304 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13306 * sysdeps/powerpc/powerpc64/sysdep.h
13307 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13308 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13309 (ENTRY) [ASSEMBLER]: ... but instead here ...
13310 (EALIGN) [ASSEMBLER]: ... and here.
13311 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13312 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13313 (ENTRY_2) [!ASSEMBLER]: Use it.
13314 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13315 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13316 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13317 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13318 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13320 Use PPC64_LOAD_FUNCPTR.
13322 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13324 2013-12-04 Alan Modra <amodra@gmail.com>
13326 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13327 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13328 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13329 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13331 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13332 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13333 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13334 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13335 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13336 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13338 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13341 (__makecontext): Fix incorrect CFI when backtracing out of
13342 context created via makecontext.
13343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13344 (__setcontext): Fix incorrect CFI during switch to new context.
13345 (__novec_setcontext): Likewise.
13347 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13350 * time/strptime_l.c (__strptime_internal): Allow modifiers
13352 * time/tst-strptime.c (day_tests): Add testcase.
13354 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13356 * scripts/bench.pl: Skip over blank lines.
13358 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13361 * manual/time.texi (Calendar Time): Clarify what timezone functions
13364 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13368 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13370 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13372 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13373 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13374 * debug/memset_chk.c (__memset_chk): Likewise.
13375 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13376 * debug/strncpy_chk.c: Likewise.
13378 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13382 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13383 (__ieee754_exp): For possibly underflowing results, check size of
13384 result and force underflow exception if required.
13385 * math/auto-libm-test-in: Add more tests of exp.
13386 * math/auto-libm-test-out: Regenerated.
13387 * sysdeps/i386/fpu/libm-test-ulps: Update.
13388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13391 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13392 * math/w_exp2f.c (__exp2f): Likewise.
13393 * math/w_exp2l.c (__exp2l): Likewise.
13394 * math/auto-libm-test-in: Do not allow missing errno on exp2
13396 * math/auto-libm-test-out: Regenerated.
13398 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13401 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13402 handle filename validation.
13403 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13406 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13409 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13410 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13411 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13413 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13414 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13415 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13417 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13418 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13419 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13420 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13421 Add more erfc tests.
13422 * math/auto-libm-test-out: Regenerated.
13423 * sysdeps/i386/fpu/libm-test-ulps: Update.
13424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13426 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13427 exp2, expm1, j0 and j1.
13428 * math/auto-libm-test-out: Regenerated.
13429 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13430 (erfc_test_data): Likewise.
13431 (exp_test_data): Likewise.
13432 (exp_tonearest_test_data): Likewise.
13433 (exp_towardzero_test_data): Likewise.
13434 (exp_downward_test_data): Likewise.
13435 (exp_upward_test_data): Likewise.
13436 (exp10_test_data): Likewise.
13437 (exp2_test_data): Likewise.
13438 (expm1_test_data): Likewise.
13439 (j0_test_data): Likewise.
13440 (j1_test_data): Likewise.
13441 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13442 (input_flag_type): Add flag_xfail_rounding.
13443 (input_flags): Add xfail-rounding.
13444 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13445 (output_for_one_input_case): Handle flag_xfail_rounding.
13446 * sysdeps/i386/fpu/libm-test-ulps: Update.
13447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13449 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13452 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13455 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13458 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13459 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13460 (STAP_PROBE0): New macro.
13461 (STAP_PROBE1): Likewise.
13462 (STAP_PROBE2): Likewise.
13463 (STAP_PROBE3): Likewise.
13464 (STAP_PROBE4): Likewise.
13466 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13468 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13470 2013-12-02 Steve Ellcey <sellcey@mips.com>
13472 * benchtests/Makefile (bench): Add sqrt.
13473 (LDLIBS-bench-sqrt): New.
13474 * benchtests/sqrt-input: New.
13476 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13478 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13479 (GAIH_EAI): Likewise.
13480 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13481 (gaih_inet): Likewise.
13482 (getaddrinfo): Don't use GAIH_EAI.
13484 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13485 (struct gaih): Remove definition.
13487 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13489 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13490 Use HERRNOP directly.
13492 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13496 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13498 * math/gen-auto-libm-tests.c (test_functions): Add more
13499 single-argument functions.
13500 (special_fill_pi_2): New function.
13501 (special_fill_minus_pi_2): Likewise.
13502 (special_fill_pi_6): Likewise.
13503 (special_fill_minus_pi_6): Likewise.
13504 (special_fill_pi_3): Likewise.
13505 (special_fill_2pi_3): Likewise.
13506 (special_fill_e): Likewise.
13507 (special_fill_1_e): Likewise.
13508 (special_fill_e_minus_1): Likewise.
13509 (special_real_inputs): Add more special inputs.
13510 (output_for_one_input_case): Do not require ERANGE on underflow to
13511 zero if round-to-nearest result does not underflow to zero, unless
13512 exact results required.
13513 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13514 atan, atanh, cbrt, cos and cosh.
13515 * math/auto-libm-test-out: Regenerated.
13516 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13517 (acos_tonearest_test_data): Likewise.
13518 (acos_towardzero_test_data): Likewise.
13519 (acos_downward_test_data): Likewise.
13520 (acos_upward_test_data): Likewise.
13521 (acosh_test_data): Likewise.
13522 (asin_test_data): Likewise.
13523 (asin_tonearest_test_data): Likewise.
13524 (asin_towardzero_test_data): Likewise.
13525 (asin_upward_test_data): Likewise.
13526 (asinh_test_data): Likewise.
13527 (atan_test_data): Likewise.
13528 (atanh_test_data): Likewise.
13529 (cbrt_test_data): Likewise.
13530 (cos_test_data): Likewise.
13531 (cos_tonearest_test_data): Likewise.
13532 (cos_towardzero_test_data): Likewise.
13533 (cos_downward_test_data): Likewise.
13534 (cos_upward_test_data): Likewise.
13535 (cosh_test_data): Likewise.
13536 (cosh_tonearest_test_data): Likewise.
13537 (cosh_towardzero_test_data): Likewise.
13538 (cosh_downward_test_data): Likewise.
13539 (cosh_upward_test_data): Likewise.
13540 * sysdeps/i386/fpu/libm-test-ulps: Update.
13541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13543 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13546 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13547 * math/w_exp10f.c (__exp10f): Likewise.
13548 * math/w_exp10l.c (__exp10l): Likewise.
13549 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13550 errno settings in existing tests.
13553 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13554 precision control set to double precision.
13555 * sysdeps/i386/fpu/w_sqrt.c: New file.
13556 * math/auto-libm-test-in: Add more tests.
13557 * math/auto-libm-test-out: Update.
13559 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13560 (sqrt_test_tonearest): New function.
13561 (sqrt_towardzero_test_data): New variable.
13562 (sqrt_test_towardzero): New function.
13563 (sqrt_downward_test_data): New variable.
13564 (sqrt_test_downward): New function.
13565 (sqrt_upward_test_data): New variable.
13566 (sqrt_test_upward): New function.
13567 (main): Call the new functions.
13569 * math/gen-auto-libm-tests.c: New file.
13570 * math/auto-libm-test-in: Likewise.
13571 * math/auto-libm-test-out: New generated file.
13572 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13574 (%beautify): Add generated representations of zero.
13575 (top level): Set $auto_input and call parse_auto_input.
13576 (beautify): Remove trailing "f" from hex float constants.
13577 (parse_args): Handle XFAIL_TEST.
13578 (convert_condition): New function.
13579 (or_value): Likewise.
13580 (or_cond_value): Likewise.
13581 (generate_testfile): Handle AUTO_TESTS_* lines.
13582 (parse_auto_input): New function.
13583 * math/libm-test.inc (XFAIL_TEST): New macro.
13584 (ERRNO_UNCHANGED): Update value.
13585 (ERRNO_EDOM): Likewise.
13586 (ERRNO_ERANGE): Likewise.
13587 (IGNORE_RESULT): Likewise.
13588 (TEST_COND_flt_32): New macro.
13589 (TEST_COND_dbl_64): Likewise.
13590 (TEST_COND_ldbl_96_intel): Likewise.
13591 (TEST_COND_ldbl_96_m68k): Likewise.
13592 (TEST_COND_ldbl_128): Likewise.
13593 (TEST_COND_ldbl_128ibm): Likewise.
13594 (TEST_COND_long32): Likewise.
13595 (TEST_COND_long64): Likewise.
13596 (TEST_COND_before_rounding): Likewise.
13597 (TEST_COND_after_rounding): Likewise.
13598 (enable_test): Handle XFAIL_TEST flag.
13599 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13600 with finite results.
13601 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13602 auto-libm-test-out.
13604 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13605 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13608 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13609 __tls_get_addr_internal instead of __tls_get_offset in order to
13610 avoid GOT pointer dependency. Make rtld export
13611 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13612 __tls_get_addr since we are a __tls_get_offset platform.
13613 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13614 GOT pointer being set up before.
13615 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13617 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13619 * manual/math.texi (Errors in Math Functions): Document accuracy
13623 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13624 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13627 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13629 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13632 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13635 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13636 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13640 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13641 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13642 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13643 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13644 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13646 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13648 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13650 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13651 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13652 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13653 atomic-feupdateenv and flt-rounds.
13654 * sysdeps/powerpc/nofpu/Versions (libc): Add
13655 __atomic_feholdexcept, __atomic_feclearexcept,
13656 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13657 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13658 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13659 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13660 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13665 * manual/arith.texi (FP Exceptions): Document that exceptions may
13666 not be raised when matherr is used.
13667 (Math Error Reporting): Document overflow in directed rounding
13668 modes. Document that errno may not be set when finite values are
13669 returned on overflow. Document intent to set errno on underflow
13670 only for underflow to zero.
13673 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13674 round-to-nearest then adjust result for other rounding modes.
13675 * include/fenv.h (fegetround): Use libm_hidden_proto.
13676 * math/fegetround.c (fegetround): Use libm_hidden_def.
13677 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13678 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13679 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13680 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13682 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13683 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13684 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13685 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13687 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13690 * nss/Versions (libnss_files): Add
13691 _nss_files_gethostbyname3_r.
13692 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13694 (HOST_DB_LOOKUP): Remove macro.
13695 (_nss_files_gethostbyname_r): Implement function without the
13696 HOST_DB_LOOKUP macro.
13697 (_nss_files_gethostbyname2_r): Likewise.
13699 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13701 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13703 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13705 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13706 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13709 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13711 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13712 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13713 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13714 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13715 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13716 __fe_nomask_env_priv and attribute_hidden.
13717 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13718 (libc_feupdateenv_test_ppc): Likewise.
13719 (libc_feresetround_ppc): Likewise.
13720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13721 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13722 compat_symbol macro.
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13724 (__fe_nomask_env): Likewise.
13725 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13727 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13729 * string/Makefile: Remove ifunc tests.
13730 * string/test-string.h: Define TEST_IFUNC.
13731 * string/test-bcopy-ifunc.c: Remove.
13732 * string/test-bzero-ifunc.c: Likewise.
13733 * string/test-memccpy-ifunc.c: Likewise.
13734 * string/test-memchr-ifunc.c: Likewise.
13735 * string/test-memcmp-ifunc.c: Likewise.
13736 * string/test-memcpy-ifunc.c: Likewise.
13737 * string/test-memmem-ifunc.c: Likewise.
13738 * string/test-memmove-ifunc.c: Likewise.
13739 * string/test-mempcpy-ifunc.c: Likewise.
13740 * string/test-memrchr-ifunc.c: Likewise.
13741 * string/test-memset-ifunc.c: Likewise.
13742 * string/test-rawmemchr-ifunc.c: Likewise.
13743 * string/test-stpcpy-ifunc.c: Likewise.
13744 * string/test-stpncpy-ifunc.c: Likewise.
13745 * string/test-strcasecmp-ifunc.c: Likewise.
13746 * string/test-strcasestr-ifunc.c: Likewise.
13747 * string/test-strcat-ifunc.c: Likewise.
13748 * string/test-strchr-ifunc.c: Likewise.
13749 * string/test-strchrnul-ifunc.c: Likewise.
13750 * string/test-strcmp-ifunc.c: Likewise.
13751 * string/test-strcpy-ifunc.c: Likewise.
13752 * string/test-strcspn-ifunc.c: Likewise.
13753 * string/test-strlen-ifunc.c: Likewise.
13754 * string/test-strncasecmp-ifunc.c: Likewise.
13755 * string/test-strncat-ifunc.c: Likewise.
13756 * string/test-strncmp-ifunc.c: Likewise.
13757 * string/test-strncpy-ifunc.c: Likewise.
13758 * string/test-strnlen-ifunc.c: Likewise.
13759 * string/test-strpbrk-ifunc.c: Likewise.
13760 * string/test-strrchr-ifunc.c: Likewise.
13761 * string/test-strspn-ifunc.c: Likewise.
13762 * string/test-strstr-ifunc.c: Likewise.
13764 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13766 * benchtests/Makefile: Remove ifunc tests.
13767 * benchtests/bench-string.h: Define TEST_IFUNC.
13768 * benchtests/bench-bcopy-ifunc.c: Remove.
13769 * benchtests/bench-bzero-ifunc.c: Likewise.
13770 * benchtests/bench-memccpy-ifunc.c: Likewise.
13771 * benchtests/bench-memchr-ifunc.c: Likewise.
13772 * benchtests/bench-memcmp-ifunc.c: Likewise.
13773 * benchtests/bench-memcpy-ifunc.c: Likewise.
13774 * benchtests/bench-memmem-ifunc.c: Likewise.
13775 * benchtests/bench-memmove-ifunc.c: Likewise.
13776 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13777 * benchtests/bench-memrchr-ifunc.c: Likewise.
13778 * benchtests/bench-memset-ifunc.c: Likewise.
13779 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13780 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13781 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13782 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13783 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13784 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13785 * benchtests/bench-strcat-ifunc.c: Likewise.
13786 * benchtests/bench-strchr-ifunc.c: Likewise.
13787 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13788 * benchtests/bench-strcmp-ifunc.c: Likewise.
13789 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13790 * benchtests/bench-strcpy-ifunc.c: Likewise.
13791 * benchtests/bench-strcspn-ifunc.c: Likewise.
13792 * benchtests/bench-strlen-ifunc.c: Likewise.
13793 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13794 * benchtests/bench-strncat-ifunc.c: Likewise.
13795 * benchtests/bench-strncmp-ifunc.c: Likewise.
13796 * benchtests/bench-strncpy-ifunc.c: Likewise.
13797 * benchtests/bench-strnlen-ifunc.c: Likewise.
13798 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13799 * benchtests/bench-strrchr-ifunc.c: Likewise.
13800 * benchtests/bench-strsep-ifunc.c: Likewise.
13801 * benchtests/bench-strspn-ifunc.c: Likewise.
13802 * benchtests/bench-strstr-ifunc.c: Likewise.
13804 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13806 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13808 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13810 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13811 * rt/aio.h: Likewise.
13812 * sysdeps/gnu/bits/utmp.h: Likewise.
13813 * sysdeps/gnu/bits/utmpx.h: Likewise.
13814 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13815 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13816 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13817 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13818 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13819 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13820 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13821 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13822 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13823 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13824 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13825 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13826 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13828 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13829 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13830 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13831 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13832 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13833 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13834 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13835 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13836 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13837 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13838 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13840 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13841 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13842 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13843 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13844 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13845 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13846 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13847 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13848 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13849 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13850 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13851 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13852 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13853 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13854 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13855 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13857 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13860 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13861 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13863 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13865 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13866 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13869 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13872 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13873 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13874 (__fesetround): Remove define.
13875 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13876 rounding and exceptions handling.
13877 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13878 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13879 (__fe_nomask_env): Likewise.
13880 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13881 __fegetround instead of fegetround.
13882 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13883 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13885 2013-11-21 Roland McGrath <roland@hack.frob.com>
13887 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13890 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13892 2013-11-21 Meador Inge <meadori@codesourcery.com>
13895 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13896 (encrypt_r): Likewise.
13897 * malloc/obstack.h (obstack_free): Likewise.
13898 * posix/unistd.h (encrypt): Likewise.
13900 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13902 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13903 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13904 DL_CALL_DT_FINI() that call the functions directly.
13905 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13906 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13907 * elf/dl-fini.c: Likewise.
13909 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13911 * malloc/hooks.c (memalign_check): Add alignment rounding.
13912 * malloc/malloc.c (_mid_memalign): New function.
13913 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13914 Implement by calling _mid_memalign.
13915 * manual/probes.texi (Memory Allocation Probes): Remove
13916 memory_valloc_retry and memory_pvalloc_retry.
13918 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13920 * locale/programs/locarchive.c (open_archive): Add const
13921 qualifier to ARCHIVEFNAME and copy default fname to
13925 * libio/tst-widetext.input: Rename Oriya to Odia.
13926 * locale/iso-639.def: Likewise.
13928 * manual/probes.texi (Mathematical Function Probes): Add
13929 documentation for sin, cos, asin and acos probes.
13930 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13931 (__sin32): Add slowasin probe.
13932 (__cos32): Add slowacos probe.
13933 (__mpsin): Add slowsin probe.
13934 (__mpcos): Add slowcos probe.
13936 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13939 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13940 thread-local __sim_exceptions_thread and global
13941 __sim_exceptions_global.
13942 (__sim_disabled_exceptions): Change to thread-local
13943 __sim_disabled_exceptions_thread and global
13944 __sim_disabled_exceptions_global.
13945 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13946 and global __sim_round_mode_global.
13947 (__simulate_exceptions): Use thread-local floating-point state and
13948 set global state from it as needed.
13949 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13950 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13951 __sim_round_mode_thread.
13952 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13953 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13954 and global __sim_exceptions_global.
13955 (__sim_disabled_exceptions): Change to thread-local
13956 __sim_disabled_exceptions_thread and global
13957 __sim_disabled_exceptions_global.
13958 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13959 and global __sim_round_mode_global.
13960 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13961 (SIM_SET_GLOBAL): Likewise.
13962 * sysdeps/powerpc/soft-fp/sfp-machine.h
13963 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13964 __sim_round_mode_thread.
13965 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13966 __sim_disabled_exceptions_thread.
13967 (__sim_exceptions): Change to __sim_exceptions_thread.
13968 (__sim_disabled_exceptions): Change to
13969 __sim_disabled_exceptions_thread.
13970 (__sim_round_mode): Change to __sim_round_mode_thread.
13971 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13972 thread-local floating-point state and set global state from it as
13974 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13975 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13976 (__sim_disabled_exceptions): Remove extern declaration.
13977 (feenableexcept): Use thread-local floating-point state and set
13978 global state from it as needed.
13979 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13980 extern declaration.
13981 (__sim_disabled_exceptions): Likewise.
13982 (__sim_round_mode): Likewise.
13983 (__fegetenv): Use thread-local floating-point state.
13984 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13985 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13986 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13987 floating-point state and set global state from it as needed.
13988 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13989 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13990 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13992 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13993 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13995 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13996 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13997 Use __sim_round_mode_thread.
13998 * math/test-fenv-tls.c: New file.
13999 * math/Makefile (tests): Add test-fenv-tls.
14000 ($(objpfx)test-fenv-tls): Depend on
14001 $(common-objpfx)nptl/libpthread.so.
14003 2013-11-19 Andreas Schwab <schwab@suse.de>
14005 * locale/programs/locale.c (show_info): Decode wordarray elements.
14006 * locale/categories.def (LC_MONETARY): Add element for
14007 _NL_MONETARY_CRNCYSTR.
14008 * locale/C-monetary.c (conversion_rate): New variable.
14009 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14012 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14014 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14015 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14017 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14019 * elf/Makefile (tst-auxv): New test.
14020 * elf/tst-auxv.c: New
14021 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14023 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14025 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14026 (hidden_proto): Caller changed.
14027 (hidden_tls_proto): New macro.
14028 (libc_hidden_tls_proto): Likewise.
14029 (rtld_hidden_tls_proto): Likewise.
14030 (libm_hidden_tls_proto): Likewise.
14031 (libresolv_hidden_tls_proto): Likewise.
14032 (librt_hidden_tls_proto): Likewise.
14033 (libdl_hidden_tls_proto): Likewise.
14034 (libnss_files_hidden_tls_proto): Likewise.
14035 (libnsl_hidden_tls_proto): Likewise.
14036 (libnss_nisplus_hidden_tls_proto): Likewise.
14037 (libutil_hidden_tls_proto): Likewise.
14039 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14042 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14043 (decompose_rpath): Defer expansion to fillin_rpath.
14044 (_dl_init_paths): Pass linkmap to fillin_rpath.
14046 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14048 * benchtests/Makefile: Add strsep.
14049 * benchtests/bench-strsep.c: New file: strsep benchtest.
14050 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14052 2013-11-18 Andreas Schwab <schwab@suse.de>
14054 * locale/programs/locale.c (show_info) [case byte]: Check for
14055 '\377' instead of '\177'.
14056 * locale/C-monetary.c (not_available): Always use "\377".
14057 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14058 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14059 detect unavailable sign_posn locale elements.
14060 * locale/localeconv.c (__localeconv): For grouping and
14061 mon_grouping handle "\177" and "\377" like no grouping.
14062 (INT_ELEM): New macro. Use it to set all numeric members.
14063 * locale/programs/ld-monetary.c (monetary_read)
14064 <tok_mon_grouping>: Normalize single -1 to the empty string.
14065 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14068 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14071 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14072 when we match (nil).
14073 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14075 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14077 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14078 (NO_TEST_INLINE): Update value.
14079 (ERRNO_UNCHANGED): Likewise.
14080 (ERRNO_EDOM): Likewise.
14081 (ERRNO_ERANGE): Likewise.
14082 (IGNORE_RESULT): Likewise.
14083 (check_float_internal): Check signs of NaN results if
14084 TEST_NAN_SIGN used.
14085 (check_complex): Pass TEST_NAN_SIGN flag through to second
14086 check_float_internal call.
14087 (copysign_test_data): Add tests with quiet NaNs as second
14088 argument. Use TEST_NAN_SIGN.
14089 (fabs_test_data): Add test of negative quiet NaN argument. Use
14091 (signbit_test_data): Add tests of quiet NaN argument.
14092 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14094 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14096 (parse_args): Handle function results specified as IGNORE.
14097 * math/libm-test.inc (IGNORE_RESULT): New macro.
14098 (check_float_internal): Do not check numerical result if flag
14100 (check_complex): Pass through IGNORE_RESULT to second
14101 check_float_internal call.
14102 (check_int): Do not check numerical result if flag IGNORE_RESULT
14104 (check_long): Likewise.
14105 (check_bool): Likewise.
14106 (check_longlong): Likewise.
14107 (lrint_test_data): Add tests of infinite and NaN arguments.
14108 (lrint_tonearest_test_data): Likewise.
14109 (lrint_towardzero_test_data): Likewise.
14110 (lrint_downward_test_data): Likewise.
14111 (lrint_upward_test_data): Likewise.
14112 (llrint_test_data): Likewise.
14113 (llrint_tonearest_test_data): Likewise.
14114 (llrint_towardzero_test_data): Likewise.
14115 (llrint_downward_test_data): Likewise.
14116 (llrint_upward_test_data): Likewise.
14117 (lround_test_data): Likewise.
14118 (llround_test_data): Likewise.
14120 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14121 (ERRNO_UNCHANGED): Update value.
14122 (ERRNO_EDOM): Likewise.
14123 (ERRNO_ERANGE): Likewise.
14124 (NO_TEST_INLINE_FLOAT): New macro.
14125 (NO_TEST_INLINE_DOUBLE): Likewise.
14126 (enable_test): New function.
14127 (RUN_TEST_f_f): Check enable_test before running test.
14128 (RUN_TEST_2_f): Likewise.
14129 (RUN_TEST_fff_f): Likewise.
14130 (RUN_TEST_c_f): Likewise.
14131 (RUN_TEST_f_f1): Likewise.
14132 (RUN_TEST_fF_f1): Likewise.
14133 (RUN_TEST_fI_f1): Likewise.
14134 (RUN_TEST_ffI_f1): Likewise.
14135 (RUN_TEST_c_c): Likewise.
14136 (RUN_TEST_cc_c): Likewise.
14137 (RUN_TEST_f_i): Likewise.
14138 (RUN_TEST_f_i_tg): Likewise.
14139 (RUN_TEST_ff_i_tg): Likewise.
14140 (RUN_TEST_f_b): Likewise.
14141 (RUN_TEST_f_b_tg): Likewise.
14142 (RUN_TEST_f_l): Likewise.
14143 (RUN_TEST_f_L): Likewise.
14144 (RUN_TEST_fFF_11): Likewise.
14145 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14147 (cosh_test_data): Likewise.
14148 (exp_test_data): Likewise.
14149 (expm1_test_data): Likewise.
14150 (hypot_test_data): Likewise.
14151 (pow_test_data): Likewise.
14152 (sinh_test_data): Likewise.
14153 (tanh_test_data): Likewise.
14154 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14157 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14158 tests with quiet NaN input and output.
14159 (acosh_test_data): Likewise.
14160 (asin_test_data): Likewise.
14161 (asinh_test_data): Likewise.
14162 (atan_test_data): Likewise.
14163 (atanh_test_data): Likewise.
14164 (atan2_test_data): Likewise.
14165 (cbrt_test_data): Likewise.
14166 (cos_test_data): Likewise.
14167 (cosh_test_data): Likewise.
14168 (erf_test_data): Likewise.
14169 (erfc_test_data): Likewise.
14170 (exp_test_data): Likewise.
14171 (exp10_test_data): Likewise.
14172 (exp2_test_data): Likewise.
14173 (expm1_test_data): Likewise.
14174 (hypot_test_data): Likewise.
14175 (j0_test_data): Likewise.
14176 (j1_test_data): Likewise.
14177 (jn_test_data): Likewise.
14178 (lgamma_test_data): Likewise.
14179 (log_test_data): Likewise.
14180 (log10_test_data): Likewise.
14181 (log1p_test_data): Likewise.
14182 (log2_test_data): Likewise.
14183 (pow_test_data): Likewise.
14184 (scalb_test_data): Likewise.
14185 (sin_test_data): Likewise.
14186 (sincos_test_data): Likewise.
14187 (sinh_test_data): Likewise.
14188 (tan_test_data): Likewise.
14189 (tanh_test_data): Likewise.
14190 (tgamma_test_data): Likewise.
14191 (y0_test_data): Likewise.
14192 (y1_test_data): Likewise.
14193 (yn_test_data): Likewise.
14196 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14197 argument being NaN and avoid computations with second argument in
14199 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14200 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14201 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14203 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14205 * locale/iso-639.def: Add Chitwani Tharu (the).
14207 2013-11-14 Andreas Schwab <schwab@suse.de>
14209 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14210 word instead of empty string.
14212 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14215 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14217 (__fe_nomask_env): Likewise.
14219 2013-11-13 Steve Ellcey <sellcey@mips.com>
14221 * benchtests/bench-timing.h: Include time.h.
14223 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14226 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14228 * sysdeps/unix/sysv/linux/configure: Regenerated.
14230 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14233 * stdlib/strtod_l.c (round_and_return): Do not consider
14234 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14235 exponent one less than half the least subnormal exponent.
14236 * stdlib/test-strtod-round-data: Add more tests.
14237 * stdlib/tst-strtod-round.c (tests): Regenerated.
14239 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14242 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14243 (__fe_mask_env): Likewise.
14244 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14245 libm_hidden_proto and add function prototype.
14246 (__fe_mask_env): Add function prototype.
14247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14248 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14250 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14252 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14254 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14256 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14257 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14259 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14261 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14262 of htab_find_slot().
14264 2013-11-11 David S. Miller <davem@davemloft.net>
14267 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14268 symbol in the non-vis3 case in static builds.
14269 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14270 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14271 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14272 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14274 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14277 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14280 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14282 * benchtests/Makefile: Add bench-strtod.
14283 * benchtests/bench-strtod.c: New file: strtod benchtest
14285 2013-11-11 Andreas Schwab <schwab@suse.de>
14288 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14289 terminating NUL in key length.
14291 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14293 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14294 Add artificial ODP entry for vDSO symbol for PPC64.
14295 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14296 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14298 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14301 * nss/getent.c (services_keys): Recognize services starting with digit.
14303 2013-11-06 David S. Miller <davem@davemloft.net>
14306 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14307 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14309 2013-11-06 Will Newton <will.newton@linaro.org>
14311 * manual/memory.texi (Malloc Examples): Remove register
14312 keyword from examples.
14314 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14316 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14318 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14321 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14322 depending on [__GCC_IEC_559 > 0].
14323 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14324 depending on [__GCC_IEC_559_COMPLEX > 0].
14326 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14328 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14331 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14333 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14335 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14338 * malloc/malloc (malloc_info): Do not handle first bin as
14341 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14343 * locale/iso-639.def: Add Central Nahuatl (nhn).
14345 2013-11-01 Bruno Haible <bruno@clisp.org>
14348 * manual/math.texi (BSD Random): Specify range upper bound as
14351 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14353 * locale/iso-639.def: Add Meadow Mari (mhr).
14355 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14357 [BZ #14752], [BZ #15763]
14358 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14360 * rt/tst_shm.c: Add test for escaping directory.
14362 2013-10-31 Andreas Schwab <schwab@suse.de>
14365 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14366 followed by 'x' as part of digit sequence.
14367 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14369 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14372 * configure.ac: allow GNU Make 4.0 and greater.
14373 * configure: Regenerated.
14375 2013-10-30 Will Newton <will.newton@linaro.org>
14378 * malloc/hooks.c (memalign_check): Limit alignment to the
14379 maximum representable power of two.
14380 * malloc/malloc.c (__libc_memalign): Likewise.
14381 * malloc/tst-memalign.c (do_test): Add test for very
14382 large alignment values.
14383 * malloc/tst-posix_memalign.c (do_test): Likewise.
14385 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14388 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14389 (munmap_chunk): Likewise.
14390 (mremap_chunk): Likewise.
14392 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14395 * stdlib/div.c (div): Remove obsolete code.
14396 * stdlib/ldiv.c (ldiv): Likewise.
14397 * stdlib/lldiv.c (lldiv): Likewise.
14399 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14402 * nss/nss_files/files-XXX.c (get_contents_ret): New
14404 (get_contents): New function.
14405 (internal_getent): Use it. Expand size of LINEBUFLEN.
14407 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14409 * configure.in: Moved to ...
14410 * configure.ac: ... here. Change reference to configure.in
14412 * sysdeps/arm/preconfigure.ac: ... here.
14413 configure.in to configure.ac.
14414 * sysdeps/gnu/configure.in: Moved to ...
14415 * sysdeps/gnu/configure.ac: ... here.
14416 * sysdeps/i386/configure.in: Moved to ...
14417 * sysdeps/i386/configure.ac: ... here.
14418 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14419 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14420 * sysdeps/mach/configure.in: Moved to ...
14421 * sysdeps/mach/configure.ac: ... here.
14422 * sysdeps/mach/hurd/configure.in: Moved to ...
14423 * sysdeps/mach/hurd/configure.ac: ... here.
14424 * sysdeps/powerpc/configure.in: Moved to ...
14425 * sysdeps/powerpc/configure.ac: ... here.
14426 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14427 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14428 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14429 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14430 * sysdeps/s390/s390-32/configure.in: Moved to ...
14431 * sysdeps/s390/s390-32/configure.ac: ... here.
14432 * sysdeps/s390/s390-64/configure.in: Moved to ...
14433 * sysdeps/s390/s390-64/configure.ac: ... here.
14434 * sysdeps/sh/configure.in: Moved to ...
14435 * sysdeps/sh/configure.ac: ... here.
14436 * sysdeps/sparc/configure.in: Moved to ...
14437 * sysdeps/sparc/configure.ac: ... here.
14438 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14439 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14440 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14441 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14442 * sysdeps/x86_64/configure.in: Moved to ...
14443 * sysdeps/x86_64/configure.ac: ... here.
14444 * sysdeps/x86_64/preconfigure.in: Moved to ...
14445 * sysdeps/x86_64/preconfigure.ac: ... here.
14446 * aclocal.m4: Change reference to configure.in to configure.ac.
14447 * config.h.in: Likewise.
14448 * manual/install.texi: Likewise.
14449 * manual/maint.texi: Likewise.
14450 * Makefile: Likewise.
14451 * malloc/Makefile: Likewise.
14452 * nscd/Makefile: Likewise.
14453 * Makeconfig: Change reference to configure.in and
14454 preconfigure.in to configure.ac and preconfigure.ac
14456 * INSTALL: Regenerated.
14457 * configure: Likewise.
14458 * sysdeps/gnu/configure: Likewise.
14459 * sysdeps/i386/configure: Likewise.
14460 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14461 * sysdeps/mach/configure: Likewise.
14462 * sysdeps/mach/hurd/configure: Likewise.
14463 * sysdeps/powerpc/configure: Likewise.
14464 * sysdeps/powerpc/powerpc32/configure: Likewise.
14465 * sysdeps/powerpc/powerpc64/configure: Likewise.
14466 * sysdeps/s390/s390-32/configure: Likewise.
14467 * sysdeps/s390/s390-64/configure: Likewise.
14468 * sysdeps/sh/configure: Likewise.
14469 * sysdeps/sparc/configure: Likewise.
14470 * sysdeps/unix/sysv/linux/configure: Likewise.
14471 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14472 * sysdeps/x86_64/configure: Likewise.
14473 * sysdeps/x86_64/preconfigure: Likewise.
14475 2013-10-29 Andreas Schwab <schwab@suse.de>
14477 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14479 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14481 * benchtests/pow-inputs: Add new inputs.
14483 * benchtests/exp-inputs: Add new inputs.
14485 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14486 conditional check for return value.
14487 (__cos32): Likewise.
14489 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14491 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14492 to provide a boost for large inputs with word alignment.
14493 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14494 implementation based on optimized PPC64 strcpy.
14495 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14496 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14497 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14498 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14500 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14503 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14505 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14508 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14509 * time/tst-strptime.c (day_tests): Add testcase.
14511 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14514 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14516 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14519 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14520 MAP_FAILED on error.
14522 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14525 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14526 heap for large requests.
14528 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14531 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14532 result if the result has no associated interface.
14533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14534 interface for all 127.X.Y.Z addresses.
14536 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14538 * locale/iso-639.def: Add Ligurian (lij)
14540 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14543 * sunrpc/rpc_main.c: Document rpcgen -5.
14545 2013-10-19 Michael Stahl <mstahl@redhat.com>
14547 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14549 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14552 * posix/glob.c: Match only directories when trailing slash is present.
14553 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14554 (main): Add testcase.
14556 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14559 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14561 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14563 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14564 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14565 AUTH_DES and cindex for FIPS 140-2.
14566 (DES Encryption): Add cindex FIPS 46-3.
14568 * locale/locarchive.h (struct locarhandle): Add fname.
14569 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14570 if an optional argument was specified to --list-archive,
14572 * locale/programs/locarchive.c (show_archive_content): Take new
14573 argument fname and pass it via ah.fname to open_archive.
14574 * locale/programs/localedef.h: Update decl.
14575 (open_archive): If AH->fname is non-null, open that file
14576 rather than the default file name, and don't ignore ENOENT.
14577 (create_archive): Set AH.fname to NULL.
14578 (delete_locales_from_archive): Likewise.
14579 (add_locales_to_archive): Likewise.
14580 * locale/programs/locfile.c (write_all_categories): Likewise.
14582 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14583 Aldy Hernandez <aldyh@redhat.com>
14585 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14586 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14587 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14588 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14589 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14590 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14591 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14592 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14593 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14594 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14595 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14596 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14597 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14598 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14599 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14601 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14603 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14605 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14607 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14608 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14610 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14611 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14612 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14613 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14615 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14616 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14617 * sysdeps/powerpc/preconfigure: Likewise.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14620 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14621 Replace contents of file by #include of <fenv_libc.h>.
14622 * sysdeps/powerpc/soft-fp/sfp-machine.h
14623 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14625 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14626 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14627 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14628 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14629 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14630 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14632 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14633 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14634 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14635 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14636 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14638 Allow copysignl PLT reference to be missing.
14640 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14641 Joseph Myers <joseph@codesourcery.com
14644 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14646 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14648 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14650 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14651 * elf/tst-tls1.c: Likewise.
14652 * elf/tst-tls10.h: Likewise.
14653 * elf/tst-tls14.c: Likewise.
14654 * elf/tst-tls2.c: Likewise.
14655 * elf/tst-tls3.c: Likewise.
14656 * elf/tst-tls4.c: Likewise.
14657 * elf/tst-tls5.c: Likewise.
14658 * elf/tst-tls6.c: Likewise.
14659 * elf/tst-tls7.c: Likewise.
14660 * elf/tst-tls8.c: Likewise.
14661 * elf/tst-tls9.c: Likewise.
14662 * elf/tst-tlsmod1.c: Likewise.
14663 * elf/tst-tlsmod13.c: Likewise.
14664 * elf/tst-tlsmod13a.c: Likewise.
14665 * elf/tst-tlsmod14a.c: Likewise.
14666 * elf/tst-tlsmod16a.c: Likewise.
14667 * elf/tst-tlsmod16b.c: Likewise.
14668 * elf/tst-tlsmod2.c: Likewise.
14669 * elf/tst-tlsmod3.c: Likewise.
14670 * elf/tst-tlsmod4.c: Likewise.
14671 * elf/tst-tlsmod5.c: Likewise.
14672 * elf/tst-tlsmod6.c: Likewise.
14674 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14677 * malloc/malloc.c: remove checks for statistics.
14679 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14682 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14683 * inet/tst-network.c: Add testcase.
14685 2013-10-17 Andreas Schwab <schwab@suse.de>
14688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14689 to determine canonical name.
14691 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14693 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14694 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14707 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14708 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14710 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14711 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14715 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14716 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14717 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14718 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14719 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14720 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14721 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14722 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14723 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14724 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14726 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14727 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14728 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14729 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14730 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14731 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14732 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14733 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14734 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14735 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14736 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14737 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14738 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14739 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14740 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14741 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14742 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14743 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14744 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14745 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14746 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14747 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14748 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14752 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14755 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14756 make result into a quiet NaN.
14758 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14760 * soft-fp/adddf3.c: Fix horizontal whitespace.
14761 * soft-fp/addsf3.c: Likewise.
14762 * soft-fp/addtf3.c: Likewise.
14763 * soft-fp/divdf3.c: Likewise.
14764 * soft-fp/divsf3.c: Likewise.
14765 * soft-fp/divtf3.c: Likewise.
14766 * soft-fp/double.h: Likewise.
14767 * soft-fp/eqdf2.c: Likewise.
14768 * soft-fp/eqsf2.c: Likewise.
14769 * soft-fp/eqtf2.c: Likewise.
14770 * soft-fp/extenddftf2.c: Likewise.
14771 * soft-fp/extended.h: Likewise.
14772 * soft-fp/extendsfdf2.c: Likewise.
14773 * soft-fp/extendsftf2.c: Likewise.
14774 * soft-fp/extendxftf2.c: Likewise.
14775 * soft-fp/fixdfdi.c: Likewise.
14776 * soft-fp/fixdfsi.c: Likewise.
14777 * soft-fp/fixdfti.c: Likewise.
14778 * soft-fp/fixsfdi.c: Likewise.
14779 * soft-fp/fixsfsi.c: Likewise.
14780 * soft-fp/fixsfti.c: Likewise.
14781 * soft-fp/fixtfdi.c: Likewise.
14782 * soft-fp/fixtfsi.c: Likewise.
14783 * soft-fp/fixtfti.c: Likewise.
14784 * soft-fp/fixunsdfdi.c: Likewise.
14785 * soft-fp/fixunsdfsi.c: Likewise.
14786 * soft-fp/fixunsdfti.c: Likewise.
14787 * soft-fp/fixunssfdi.c: Likewise.
14788 * soft-fp/fixunssfsi.c: Likewise.
14789 * soft-fp/fixunssfti.c: Likewise.
14790 * soft-fp/fixunstfdi.c: Likewise.
14791 * soft-fp/fixunstfsi.c: Likewise.
14792 * soft-fp/fixunstfti.c: Likewise.
14793 * soft-fp/floatdidf.c: Likewise.
14794 * soft-fp/floatdisf.c: Likewise.
14795 * soft-fp/floatditf.c: Likewise.
14796 * soft-fp/floatsidf.c: Likewise.
14797 * soft-fp/floatsisf.c: Likewise.
14798 * soft-fp/floatsitf.c: Likewise.
14799 * soft-fp/floattidf.c: Likewise.
14800 * soft-fp/floattisf.c: Likewise.
14801 * soft-fp/floattitf.c: Likewise.
14802 * soft-fp/floatundidf.c: Likewise.
14803 * soft-fp/floatundisf.c: Likewise.
14804 * soft-fp/floatunditf.c: Likewise.
14805 * soft-fp/floatunsidf.c: Likewise.
14806 * soft-fp/floatunsisf.c: Likewise.
14807 * soft-fp/floatunsitf.c: Likewise.
14808 * soft-fp/floatuntidf.c: Likewise.
14809 * soft-fp/floatuntisf.c: Likewise.
14810 * soft-fp/floatuntitf.c: Likewise.
14811 * soft-fp/fmadf4.c: Likewise.
14812 * soft-fp/fmasf4.c: Likewise.
14813 * soft-fp/fmatf4.c: Likewise.
14814 * soft-fp/gedf2.c: Likewise.
14815 * soft-fp/gesf2.c: Likewise.
14816 * soft-fp/getf2.c: Likewise.
14817 * soft-fp/ledf2.c: Likewise.
14818 * soft-fp/lesf2.c: Likewise.
14819 * soft-fp/letf2.c: Likewise.
14820 * soft-fp/muldf3.c: Likewise.
14821 * soft-fp/mulsf3.c: Likewise.
14822 * soft-fp/multf3.c: Likewise.
14823 * soft-fp/negdf2.c: Likewise.
14824 * soft-fp/negsf2.c: Likewise.
14825 * soft-fp/negtf2.c: Likewise.
14826 * soft-fp/op-1.h: Likewise.
14827 * soft-fp/op-2.h: Likewise.
14828 * soft-fp/op-4.h: Likewise.
14829 * soft-fp/op-8.h: Likewise.
14830 * soft-fp/op-common.h: Likewise.
14831 * soft-fp/quad.h: Likewise.
14832 * soft-fp/single.h: Likewise.
14833 * soft-fp/soft-fp.h: Likewise.
14834 * soft-fp/sqrtdf2.c: Likewise.
14835 * soft-fp/sqrtsf2.c: Likewise.
14836 * soft-fp/sqrttf2.c: Likewise.
14837 * soft-fp/subdf3.c: Likewise.
14838 * soft-fp/subsf3.c: Likewise.
14839 * soft-fp/subtf3.c: Likewise.
14840 * soft-fp/truncdfsf2.c: Likewise.
14841 * soft-fp/trunctfdf2.c: Likewise.
14842 * soft-fp/trunctfsf2.c: Likewise.
14843 * soft-fp/trunctfxf2.c: Likewise.
14844 * soft-fp/unorddf2.c: Likewise.
14845 * soft-fp/unordsf2.c: Likewise.
14846 * soft-fp/unordtf2.c: Likewise.
14848 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14850 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14851 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14853 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14855 * elf/dl-libc.c: Clear initfini list after freeing.
14857 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14859 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14860 * soft-fp/addsf3.c: Likewise.
14861 * soft-fp/addtf3.c: Likewise.
14862 * soft-fp/divdf3.c: Likewise.
14863 * soft-fp/divsf3.c: Likewise.
14864 * soft-fp/divtf3.c: Likewise.
14865 * soft-fp/double.h: Likewise.
14866 * soft-fp/eqdf2.c: Likewise.
14867 * soft-fp/eqsf2.c: Likewise.
14868 * soft-fp/eqtf2.c: Likewise.
14869 * soft-fp/extenddftf2.c: Likewise.
14870 * soft-fp/extended.h: Likewise.
14871 * soft-fp/extendsfdf2.c: Likewise.
14872 * soft-fp/extendsftf2.c: Likewise.
14873 * soft-fp/extendxftf2.c: Likewise.
14874 * soft-fp/fixdfdi.c: Likewise.
14875 * soft-fp/fixdfsi.c: Likewise.
14876 * soft-fp/fixdfti.c: Likewise.
14877 * soft-fp/fixsfdi.c: Likewise.
14878 * soft-fp/fixsfsi.c: Likewise.
14879 * soft-fp/fixsfti.c: Likewise.
14880 * soft-fp/fixtfdi.c: Likewise.
14881 * soft-fp/fixtfsi.c: Likewise.
14882 * soft-fp/fixtfti.c: Likewise.
14883 * soft-fp/fixunsdfdi.c: Likewise.
14884 * soft-fp/fixunsdfsi.c: Likewise.
14885 * soft-fp/fixunsdfti.c: Likewise.
14886 * soft-fp/fixunssfdi.c: Likewise.
14887 * soft-fp/fixunssfsi.c: Likewise.
14888 * soft-fp/fixunssfti.c: Likewise.
14889 * soft-fp/fixunstfdi.c: Likewise.
14890 * soft-fp/fixunstfsi.c: Likewise.
14891 * soft-fp/fixunstfti.c: Likewise.
14892 * soft-fp/floatdidf.c: Likewise.
14893 * soft-fp/floatdisf.c: Likewise.
14894 * soft-fp/floatditf.c: Likewise.
14895 * soft-fp/floatsidf.c: Likewise.
14896 * soft-fp/floatsisf.c: Likewise.
14897 * soft-fp/floatsitf.c: Likewise.
14898 * soft-fp/floattidf.c: Likewise.
14899 * soft-fp/floattisf.c: Likewise.
14900 * soft-fp/floattitf.c: Likewise.
14901 * soft-fp/floatundidf.c: Likewise.
14902 * soft-fp/floatundisf.c: Likewise.
14903 * soft-fp/floatunsidf.c: Likewise.
14904 * soft-fp/floatunsisf.c: Likewise.
14905 * soft-fp/floatuntidf.c: Likewise.
14906 * soft-fp/floatuntisf.c: Likewise.
14907 * soft-fp/floatuntitf.c: Likewise.
14908 * soft-fp/fmadf4.c: Likewise.
14909 * soft-fp/fmasf4.c: Likewise.
14910 * soft-fp/fmatf4.c: Likewise.
14911 * soft-fp/gedf2.c: Likewise.
14912 * soft-fp/gesf2.c: Likewise.
14913 * soft-fp/getf2.c: Likewise.
14914 * soft-fp/ledf2.c: Likewise.
14915 * soft-fp/lesf2.c: Likewise.
14916 * soft-fp/letf2.c: Likewise.
14917 * soft-fp/muldf3.c: Likewise.
14918 * soft-fp/mulsf3.c: Likewise.
14919 * soft-fp/multf3.c: Likewise.
14920 * soft-fp/negdf2.c: Likewise.
14921 * soft-fp/negsf2.c: Likewise.
14922 * soft-fp/negtf2.c: Likewise.
14923 * soft-fp/op-1.h: Likewise.
14924 * soft-fp/op-2.h: Likewise.
14925 * soft-fp/op-4.h: Likewise.
14926 * soft-fp/op-8.h: Likewise.
14927 * soft-fp/op-common.h: Likewise.
14928 * soft-fp/quad.h: Likewise.
14929 * soft-fp/single.h: Likewise.
14930 * soft-fp/soft-fp.h: Likewise.
14931 * soft-fp/sqrtdf2.c: Likewise.
14932 * soft-fp/sqrtsf2.c: Likewise.
14933 * soft-fp/sqrttf2.c: Likewise.
14934 * soft-fp/subdf3.c: Likewise.
14935 * soft-fp/subsf3.c: Likewise.
14936 * soft-fp/subtf3.c: Likewise.
14937 * soft-fp/truncdfsf2.c: Likewise.
14938 * soft-fp/trunctfdf2.c: Likewise.
14939 * soft-fp/trunctfsf2.c: Likewise.
14940 * soft-fp/trunctfxf2.c: Likewise.
14941 * soft-fp/unorddf2.c: Likewise.
14942 * soft-fp/unordsf2.c: Likewise.
14943 * soft-fp/unordtf2.c: Likewise.
14945 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14948 * misc/error.c (error_tail): Fix possible buffer overflow.
14950 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14953 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14956 2013-10-14 P. J. McDermott <pj@pehjota.net>
14959 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14960 testing pipefail option.
14962 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14964 * soft-fp/double.h: Indent preprocessor directives inside #if.
14965 * soft-fp/extended.h: Likewise.
14966 * soft-fp/op-2.h: Likewise.
14967 * soft-fp/op-4.h: Likewise.
14968 * soft-fp/op-common.h: Likewise.
14969 * soft-fp/quad.h: Likewise.
14970 * soft-fp/single.h: Likewise.
14971 * soft-fp/soft-fp.h: Likewise.
14973 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14975 * iconv/iconv_prog.c: Fix typos.
14976 * stdio-common/psiginfo-data.h: Likewise.
14978 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14981 * locale/setlocale.c: Fix typo.
14983 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14986 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14987 signaling NaN arguments.
14988 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14989 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14992 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14993 unordered operands.
14994 * soft-fp/gesf2.c (__gesf2): Likewise.
14995 * soft-fp/getf2.c (__getf2): Likewise.
14996 * soft-fp/ledf2.c (__ledf2): Likewise.
14997 * soft-fp/lesf2.c (__lesf2): Likewise.
14998 * soft-fp/letf2.c (__letf2): Likewise.
15000 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15001 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15002 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15003 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15004 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15005 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15006 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15007 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15008 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15009 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15010 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15011 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15012 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15013 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15014 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15015 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15016 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15017 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15018 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15019 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15020 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15021 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15022 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15023 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15024 * soft-fp/floattidf.c (__floattidf): Likewise.
15025 * soft-fp/floattisf.c (__floattisf): Likewise.
15026 * soft-fp/floattitf.c (__floattitf): Likewise.
15027 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15028 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15029 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15030 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15031 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15032 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15033 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15034 * soft-fp/gesf2.c (__gesf2): Likewise.
15035 * soft-fp/getf2.c (__getf2): Likewise.
15036 * soft-fp/ledf2.c (__ledf2): Likewise.
15037 * soft-fp/lesf2.c (__lesf2): Likewise.
15038 * soft-fp/letf2.c (__letf2): Likewise.
15040 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15041 Undefine and redefine.
15042 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15043 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15044 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15045 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15046 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15047 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15048 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15049 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15050 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15051 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15052 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15053 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15054 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15055 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15056 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15059 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15060 without decrementing exponent if mantissa >= that for the
15061 denominator, not >.
15062 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15063 denominator, not >. Decrement exponent in < case instead of
15064 incrementing in >= case.
15065 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15066 without decrementing exponent if mantissa >= that for the
15067 denominator, not >.
15069 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15070 computing saturated result for unsigned overflow.
15072 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15073 Jeff Law <law@redhat.com>
15075 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15076 (atan2Mp): Add systemtap probe marker.
15077 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15078 (__ieee754_log): Add systemtap probe marker.
15079 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15080 (atanMp): Add systemtap probe marker.
15081 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15082 (tanMp): Add systemtap probe marker.
15083 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15084 (__slowexp): Add systemtap probe marker.
15085 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15086 (__slowpow): Add systemtap probe marker.
15087 * manual/probes.texi: Document probes.
15089 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15092 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15094 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15096 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15097 written to buffer but not flushed.
15098 * libio/iofwrite_u.c: Likewise.
15099 * libio/iopadn.c: Return bytes returned even if EOF was
15101 * libio/iowpadn.c: Likewise.
15102 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15103 if _IO_padn does not write the whole buffer.
15104 [!COMPILE_WPRINTF] (PAD): Likewise.
15106 2013-10-10 David S. Miller <davem@davemloft.net>
15108 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15111 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15113 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15114 instead of FSF address.
15115 * soft-fp/fixdfti.c: Likewise.
15116 * soft-fp/fixsfti.c: Likewise.
15117 * soft-fp/fixtfti.c: Likewise.
15118 * soft-fp/fixunsdfti.c: Likewise.
15119 * soft-fp/fixunssfti.c: Likewise.
15120 * soft-fp/fixunstfti.c: Likewise.
15121 * soft-fp/floattidf.c: Likewise.
15122 * soft-fp/floattisf.c: Likewise.
15123 * soft-fp/floattitf.c: Likewise.
15124 * soft-fp/floatuntidf.c: Likewise.
15125 * soft-fp/floatuntisf.c: Likewise.
15126 * soft-fp/floatuntitf.c: Likewise.
15127 * soft-fp/trunctfxf2.c: Likewise.
15129 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15130 * soft-fp/fixdfti.c: Likewise.
15131 * soft-fp/fixsfti.c: Likewise.
15132 * soft-fp/fixtfti.c: Likewise.
15133 * soft-fp/fixunsdfti.c: Likewise.
15134 * soft-fp/fixunssfti.c: Likewise.
15135 * soft-fp/fixunstfti.c: Likewise.
15136 * soft-fp/floattidf.c: Likewise.
15137 * soft-fp/floattisf.c: Likewise.
15138 * soft-fp/floattitf.c: Likewise.
15139 * soft-fp/floatuntidf.c: Likewise.
15140 * soft-fp/floatuntisf.c: Likewise.
15141 * soft-fp/floatuntitf.c: Likewise.
15142 * soft-fp/trunctfxf2.c: Likewise.
15144 2013-10-10 David S. Miller <davem@davemloft.net>
15146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15148 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15150 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15151 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15152 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15153 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15154 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15155 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15156 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15159 for NaNs before doing comparisons on argument.
15160 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15163 2013-10-10 Will Newton <will.newton@linaro.org>
15165 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15166 passed to _int_memalign does not overflow.
15168 2013-10-10 Torvald Riegel <triegel@redhat.com>
15170 * scripts/bench.pl: Add include-sources directive.
15171 * benchtests/README: Update documentation.
15173 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15175 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15176 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15177 instead of FP_INIT_ROUNDMODE.
15178 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15179 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15182 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15183 copy class of input value.
15184 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15185 not handle exceptions.
15186 * soft-fp/negsf2.c (__negsf2): Likewise.
15187 * soft-fp/negtf2.c (__negtf2): Likewise.
15188 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15190 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15192 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15193 semicolon. From Linux kernel.
15195 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15197 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15199 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15202 * manual/socket.texi: Added statement about buffer
15203 for gethostbyname2_r.
15205 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15207 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15208 Use .p2align directive instead, throughout.
15209 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15210 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15211 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15212 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15213 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15214 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15215 * sysdeps/x86_64/strchr.S: Likewise.
15216 * sysdeps/x86_64/strrchr.S: Likewise.
15218 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15220 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15222 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15224 * sysdeps/generic/math_private.h (__mpsin1): Remove
15226 (__mpcos1): Likewise.
15227 (__mpsin): New argument __range_reduce.
15228 (__mpcos): Likewise.
15229 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15230 (slow): Use __mpsin and __mpcos.
15234 (sloww1): Likewise.
15235 (sloww2): Likewise.
15236 (bsloww): Likewise.
15237 (bsloww1): Likewise.
15238 (bsloww2): Likewise.
15239 (cslow2): Likewise.
15240 (csloww): Likewise.
15241 (csloww1): Likewise.
15242 (csloww2): Likewise.
15243 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15244 range_reduce. Merge in __mpsin1.
15245 (__mpcos): Likewise.
15246 (__mpsin1): Remove.
15247 (__mpcos1): Likewise.
15249 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15251 * locale/loadlocale.c (_nl_intern_locale_data): Use
15253 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15254 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15255 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15256 obstack data is appropriately aligned.
15257 (obstack_int32_grow_fast): Likewise.
15258 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15259 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15260 (add_locale_uint32_array): Likewise.
15262 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15264 * benchtests/Makefile: Remove ARGLIST and RET variables.
15265 ($(objpfx)bench-%.c): Pass only function name to the script.
15266 * benchtests/README: Update documentation.
15267 * benchtests/acos-inputs: Add new directives.
15268 * benchtests/acosh-inputs: Likewise.
15269 * benchtests/asin-inputs: Likewise.
15270 * benchtests/asinh-inputs: Likewise.
15271 * benchtests/atan-inputs: Likewise.
15272 * benchtests/atanh-inputs: Likewise.
15273 * benchtests/cos-inputs: Likewise.
15274 * benchtests/cosh-inputs: Likewise.
15275 * benchtests/exp-inputs: Likewise.
15276 * benchtests/log-inputs: Likewise.
15277 * benchtests/pow-inputs: Likewise.
15278 * benchtests/rint-inputs: Likewise.
15279 * benchtests/sin-inputs: Likewise.
15280 * benchtests/sinh-inputs: Likewise.
15281 * benchtests/tan-inputs: Likewise.
15282 * benchtests/tanh-inputs: Likewise.
15283 * scripts/bench.pl: Add support for new directives.
15285 2013-10-07 Alan Modra <amodra@gmail.com>
15287 * README: Fix careless merge.
15289 2013-10-05 Alan Modra <amodra@gmail.com>
15291 * NEWS: Mention powerpc64le support and bugs fixed.
15292 * README: Both big-endian and little-endian powerpc64 supported.
15294 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15296 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15297 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15298 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15299 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15301 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15303 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15306 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15308 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15309 Move -mhard-float appending from
15310 ports/sysdeps/powerpc/powerpc32/Makefile.
15311 [$(with-fp) = yes] (ASFLAGS): Likewise.
15312 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15313 * sysdeps/powerpc/nofpu: Move directory from
15314 ports/sysdeps/powerpc/nofpu.
15315 * sysdeps/powerpc/soft-fp: Move directory from
15316 ports/sysdeps/powerpc/soft-fp.
15317 * sysdeps/powerpc/powerpc32/405: Move directory from
15318 ports/sysdeps/powerpc/powerpc32/405.
15319 * sysdeps/powerpc/powerpc32/440: Move directory from
15320 ports/sysdeps/powerpc/powerpc32/440.
15321 * sysdeps/powerpc/powerpc32/464: Move directory from
15322 ports/sysdeps/powerpc/powerpc32/464.
15323 * sysdeps/powerpc/powerpc32/476: Move directory from
15324 ports/sysdeps/powerpc/powerpc32/476.
15325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15326 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15328 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15330 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15332 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15334 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15335 * README: Update for powerpc-*-linux-gnu software floating point
15338 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15339 case to powerpc/powerpc32*.
15340 * sysdeps/unix/sysv/linux/configure: Regenerated.
15342 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15343 (_FPU_MASK_OM): Define as 0x04.
15344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15352 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15355 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15358 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15359 and setcontext_e500.
15361 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15363 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15365 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15367 * manual/threads.texi (Default Thread Attributes): Fix typo.
15369 2013-10-04 Will Newton <will.newton@linaro.org>
15371 * malloc/Makefile: Add tst-memalign.
15372 * malloc/tst-memalign.c: New file.
15374 * malloc/tst-posix_memalign.c: Add comments.
15375 (do_test): Add comments and call free on all potentially
15376 allocated pointers. Add space after cast.
15378 * malloc/tst-pvalloc.c: Add comments.
15379 (do_test): Add comments and call free on all potentially
15380 allocated pointers. Remove duplicate check for NULL pointer.
15381 Add space after cast.
15383 * malloc/tst-valloc.c: Add comments.
15384 (do_test): Add comments and call free on all potentially
15385 allocated pointers. Remove duplicate check for NULL pointer.
15386 Add space after cast.
15388 2013-10-04 Alan Modra <amodra@gmail.com>
15390 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15391 Use stdint types in rather than __attribute__((mode())).
15392 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15394 2013-10-04 Alan Modra <amodra@gmail.com>
15396 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15397 Correct handling of unaligned relocs for little-endian.
15398 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15400 2013-10-04 Alan Modra <amodra@gmail.com>
15402 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15403 * configure: Regenerate.
15404 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15405 * shlib-versions: Likewise.
15407 2013-10-04 Alan Modra <amodra@gmail.com>
15409 * string/tester.c (test_memrchr): Increment reported test cycle.
15411 2013-10-04 Alan Modra <amodra@gmail.com>
15413 * string/test-memcpy.c (do_one_test): When reporting errors, print
15414 string address and don't overrun end of string.
15416 2013-10-04 Alan Modra <amodra@gmail.com>
15418 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15419 insrdi. Make better use of reg selection to speed exit slightly.
15420 Schedule entry path a little better. Remove useless "are we done"
15421 checks on entry to main loop. Handle wrapping around zero address.
15422 Correct main loop count. Handle single left-over word from main
15423 loop inline rather than by using loop_small. Remove extra word
15424 case in loop_small caused by wrong loop count. Add little-endian
15426 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15427 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15429 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15430 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15431 support. Avoid rlwimi.
15432 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15434 2013-10-04 Alan Modra <amodra@gmail.com>
15436 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15437 insrdi. Formatting.
15438 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15439 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15440 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15441 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15442 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15443 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15445 2013-10-04 Alan Modra <amodra@gmail.com>
15447 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15448 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15449 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15450 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15451 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15452 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15453 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15454 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15455 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15456 use of regs. Use power7 mtocrf. Tidy function tails.
15458 2013-10-04 Alan Modra <amodra@gmail.com>
15460 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15461 Formatting. Consistently use rXXX register defines or rN defines.
15462 Use early exit labels that avoid restoring unused non-volatile regs.
15463 Make cr field use more consistent with rWORDn compares. Rename
15464 regs used as shift registers for unaligned loop, using rN defines
15465 for short lifetime/multiple use regs.
15466 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15467 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15468 addi 1,1,64 to pop stack frame. Simplify return value code.
15469 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15471 2013-10-04 Alan Modra <amodra@gmail.com>
15473 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15474 support. Correct typos, formatting. Optimize tail. Use insrdi
15475 rather than rlwimi.
15476 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15477 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15478 little-endian support. Correct typos.
15479 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15480 rather than rlwimi.
15481 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15482 in loop and entry code to keep "and." results.
15483 (strchr): Add little-endian support. Comment. Move cntlzd
15485 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15487 2013-10-04 Alan Modra <amodra@gmail.com>
15489 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15490 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15491 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15492 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15494 2013-10-04 Alan Modra <amodra@gmail.com>
15496 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15497 (rTMP): Define as r11.
15498 (strcmp): Add little-endian support. Optimise tail.
15499 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15500 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15501 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15502 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15503 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15504 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15507 2013-10-04 Alan Modra <amodra@gmail.com>
15509 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15510 little-endian support. Remove unnecessary "are we done" tests.
15511 Handle "s" wrapping around zero and extremely large "size".
15512 Correct main loop count. Handle single left-over word from main
15513 loop inline rather than by using small_loop. Correct comments.
15514 Delete "zero" tail, use "end_max" instead.
15515 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15517 2013-10-04 Alan Modra <amodra@gmail.com>
15519 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15520 support. Don't branch over align.
15521 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15522 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15523 support. Rearrange tmp reg use to suit. Comment.
15524 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15526 2013-10-04 Alan Modra <amodra@gmail.com>
15528 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15530 2013-10-04 Alan Modra <amodra@gmail.com>
15532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15533 conditional form of branch and link when obtaining pc.
15534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15536 2013-10-04 Alan Modra <amodra@gmail.com>
15538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15543 2013-10-04 Alan Modra <amodra@gmail.com>
15545 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15546 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15547 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15548 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15549 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15550 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15551 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15552 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15553 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15554 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15556 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15557 Alistair Popple <alistair@ozlabs.au.ibm.com>
15558 Alan Modra <amodra@gmail.com>
15561 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15562 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15563 _dl_hwcap access for little-endian.
15564 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15565 destroy vmx regs when saving unaligned.
15566 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15567 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15568 destroy vmx regs when saving unaligned.
15570 2013-10-04 Alan Modra <amodra@gmail.com>
15572 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15573 Don't use a union to pack hi/low value.
15575 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15577 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15579 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15580 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15581 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15582 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15583 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15585 2013-10-04 Alan Modra <amodra@gmail.com>
15587 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15588 constants to usual value for .cst8 section, and remove redundant
15590 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15591 constant for 0x1p52. Load little-endian words of double from
15592 correct stack offsets.
15594 2013-10-04 Alan Modra <amodra@gmail.com>
15596 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15597 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15598 words of double from correct stack offsets.
15599 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15600 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15601 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15602 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15603 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15604 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15605 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15606 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15607 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15608 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15609 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15610 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15611 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15612 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15613 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15614 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15615 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15617 2013-10-04 Alan Modra <amodra@gmail.com>
15619 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15620 64-bit int/double union.
15621 (_FPU_SETCW): Likewise.
15622 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15623 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15625 2013-10-04 Alan Modra <amodra@gmail.com>
15627 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15628 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15630 2013-10-04 Alan Modra <amodra@gmail.com>
15632 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15633 use vector int constants.
15634 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15636 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15638 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15639 array with long long.
15640 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15641 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15642 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15643 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15644 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15645 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15646 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15647 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15648 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15649 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15650 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15651 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15652 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15654 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15656 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15657 (__signbit): Likewise. Correct for little-endian.
15658 (__signbitl): Call __signbit.
15659 (lrint): Correct for little-endian.
15660 (lrintf): Call lrint.
15662 2013-10-04 Alan Modra <amodra@gmail.com>
15664 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15665 union 32-bit int array member with 64-bit int array.
15666 (t515, tm256): Double rather than long double.
15667 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15669 2013-10-04 Alan Modra <amodra@gmail.com>
15671 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15673 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15674 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15675 version of math_ldbl.h.
15677 2013-10-04 Alan Modra <amodra@gmail.com>
15679 [BZ #15734], [BZ #15735]
15680 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15681 all uses of ieee875 long double macros and unions. Simplify test
15682 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15683 ldbl_extract_mantissa value for ix,iy exponents. Properly
15684 normalize after ldbl_extract_mantissa, and don't add hidden bit
15685 already handled. Don't treat low word of ieee854 mantissa like
15686 low word of IBM long double and mask off bit when testing for
15688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15689 all uses of ieee875 long double macros and unions. Simplify tests
15690 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15691 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15692 two1022, instead use their values. Recognise that tests for large
15693 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15694 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15695 Rewrite all uses of ieee875 long double macros and unions. Simplify
15696 test for 0.0L and nan. Correct negation.
15697 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15698 ieee875 long double macros and unions. Correct output for large
15699 magnitude x. Correct absolute value calculation.
15700 (__erfcl): Likewise.
15701 * math/libm-test.inc: Add tests for errors discovered in IBM long
15702 double versions of fmodl, remainderl, erfl and erfcl.
15704 2013-10-04 Alan Modra <amodra@gmail.com>
15706 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15707 all uses of ieee854 long double macros and unions. Simplify tests
15708 for long doubles that are fully specified by the high double.
15709 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15711 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15712 Remove dead code too.
15713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15714 (__ieee754_ynl): Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15717 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15718 Remove dead code too.
15719 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15720 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15721 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15722 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15724 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15726 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15727 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15729 Comment on variable precision.
15730 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15733 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15736 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15737 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15739 2013-10-04 Alan Modra <amodra@gmail.com>
15741 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15742 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15743 all uses of ieee854 long double macros and unions.
15744 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15745 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15746 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15747 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15748 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15749 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15751 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15752 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15753 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15754 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15755 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15756 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15757 Simplify sign and nan test too.
15758 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15759 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15760 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15761 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15763 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15764 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15766 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15767 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15768 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15769 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15770 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15773 2013-10-04 Alan Modra <amodra@gmail.com>
15775 * stdio-common/printf_size.c (__printf_size): Don't use
15776 union ieee854_long_double in fpnum union.
15777 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15778 signbit macro to retrieve sign from long double.
15779 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15780 retrieve sign from long double.
15781 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15782 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15783 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15784 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15785 * math/test-misc.c (main): Don't use union ieee854_long_double.
15787 2013-10-04 Alan Modra <amodra@gmail.com>
15790 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15791 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15792 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15793 calculation. Remove unnecessary test for denormal exponent.
15794 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15795 Correct handling of denormals. Avoid undefined shift behaviour.
15796 Correct normalisation of low mantissa when low double is denormal.
15797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15798 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15799 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15800 Correct normalisation of low mantissa. Test for overflow of high
15801 mantissa and normalise.
15802 (ldbl_nearbyint): Use more readable constant for two52.
15803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15804 (__mpn_construct_long_double): Fix test for overflow of high
15805 mantissa and correct normalisation. Avoid undefined shift.
15807 2013-10-04 Alan Modra <amodra@gmail.com>
15809 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15810 (union ibm_extended_long_double): Define as an array of ieee754_double.
15811 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15812 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15813 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15814 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15818 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15823 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15825 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15826 page size instead of calling getpagesize.
15828 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15829 (LOCFILE_ALIGN_MASK): Likewise.
15830 (LOCFILE_ALIGN_UP): Likewise.
15831 (LOCFILE_ALIGNED_P): Likewise.
15832 * locale/programs/ld-collate.c (collate_output): Use the new
15833 macros instead of __alignof__ (int32_t).
15834 * locale/weight.h (findidx): Likewise.
15836 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15839 * manual/string.texi: Fix strncat and wcsncat.
15841 2013-10-03 Brooks Moses <bmoses@google.com>
15844 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15845 * Makerules: ...here, and adjust associated comments.
15847 2013-10-02 Will Newton <will.newton@linaro.org>
15849 * malloc/Makefile: Add tst-pvalloc.
15850 * malloc/tst-pvalloc.c: New file.
15852 2013-10-02 Will Newton <will.newton@linaro.org>
15854 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15855 improve test coverage.
15857 2013-10-02 Will Newton <will.newton@linaro.org>
15859 * malloc/Makefile: Add tst-posix_memalign.
15860 * malloc/tst-posix_memalign.c: New file.
15862 2013-10-01 Eric Blake <eblake@redhat.com>
15864 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15865 Use __THROWNL rather than __THROW on static functions.
15867 2013-09-30 Petr Machata <pmachata@redhat.com>
15869 * elf/elf.h (R_AARCH64_ABS16): New macro.
15870 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15871 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15872 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15873 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15874 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15875 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15876 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15877 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15878 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15879 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15880 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15881 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15882 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15883 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15884 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15885 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15886 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15887 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15888 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15889 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15890 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15891 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15892 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15893 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15894 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15895 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15896 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15897 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15898 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15899 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15900 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15901 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15902 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15903 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15904 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15905 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15906 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15907 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15908 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15909 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15910 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15911 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15912 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15913 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15914 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15915 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15916 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15917 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15918 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15919 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15920 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15921 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15922 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15923 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15924 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15925 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15926 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15927 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15928 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15929 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15930 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15931 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15932 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15933 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15934 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15935 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15936 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15937 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15938 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15939 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15940 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15941 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15942 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15943 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15944 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15945 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15946 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15947 (R_AARCH64_TLSDESC_LDR): Likewise.
15948 (R_AARCH64_TLSDESC_ADD): Likewise.
15949 (R_AARCH64_TLSDESC_CALL): Likewise.
15951 2013-09-30 Andreas Schwab <schwab@suse.de>
15954 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15955 the nss database lookup.
15956 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15959 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15961 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15963 2013-09-28 P. J. McDermott <pj@pehjota.net>
15965 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15966 ${Bash-specific parameter/pattern/string} parameter expansion.
15967 * sysdeps/unix/make-syscalls.sh: Likewise.
15969 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15971 * sysdeps/sh/stackguard-macros.h: New file.
15973 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15976 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15977 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15978 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15979 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15980 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15982 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15984 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15985 Fix thread ID register.
15987 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15989 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15990 [POSIX || UNIX98]: Require rather than permitting all symbols from
15992 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15993 element of struct sched_param.
15994 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15995 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15996 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15997 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16000 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16002 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16003 argument calculation.
16005 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16007 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16009 [POSIX] (pthread_attr_t): Do not require type.
16010 [POSIX] (pthread_cond_t): Likewise.
16011 [POSIX] (pthread_condattr_t): Likewise.
16012 [POSIX] (pthread_key_t): Likewise.
16013 [POSIX] (pthread_mutex_t): Likewise.
16014 [POSIX] (pthread_mutexattr_t): Likewise.
16015 [POSIX] (pthread_once_t): Likewise.
16016 [POSIX] (pthread_t): Likewise.
16017 [POSIX-based standards] (pthread_atfork): Expect function.
16019 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16020 Richard Sandiford <richard@codesourcery.com>
16022 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16023 (swap_endianness_p): New extern variable.
16024 (set_big_endian): New inline function.
16025 (maybe_swap_uint32): Likewise.
16026 (maybe_swap_uint32_array): Likewise.
16027 (maybe_swap_uint32_obstack): Likewise.
16028 * locale/programs/locfile.c: Include <stdbool.h>.
16029 (swap_endianness_p): New variable.
16030 (add_locale_uint32): Call maybe_swap_uint32.
16031 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16032 (write_locale_data): Call maybe_swap_uint32_array.
16033 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16035 (obstack_int32_grow_fast): Likewise.
16036 (output_weightwc): Call maybe_swap_uint32_obstack.
16037 (collate_output): Likewise.
16038 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16039 (OPT_LITTLE_ENDIAN): Likewise.
16040 (options): Add --little-endian and --big-endian options.
16041 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16042 * locale/programs/locarchive.c: Include "locfile.h".
16046 (create_archive): Use the new macros to access fields of
16047 structures directly mapped from or written to locale archives.
16048 (oldlocrecentcmp): Likewise.
16049 (enlarge_archive): Likewise.
16050 (insert_name): Likewise.
16051 (add_alias): Likewise.
16052 (add_locale): Likewise.
16053 (delete_locales_from_archive): Likewise.
16054 (show_archive_content): Likewise.
16055 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16058 2013-09-24 Roland McGrath <roland@hack.frob.com>
16060 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16061 http://www.gnu.org/doc/freemanuals.texi.
16062 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16064 2013-09-24 Will Newton <will.newton@linaro.org>
16066 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16069 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16071 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16074 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16076 * manual/threads.texi (POSIX Threads): Fix a typo.
16078 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16081 * string/tst-strcoll-overflow.c: New test case.
16082 * string/Makefile (xtests): Add tst-strcoll-overflow.
16083 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16084 cache if string sizes may cause integer overflow.
16087 * string/strcoll_l.c (coll_seq): New members rule, idx,
16088 save_idx and back_us.
16089 (get_next_seq_nocache): New function.
16090 (do_compare_nocache): New function.
16091 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16094 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16097 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16098 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16099 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16102 * elf/Makefile (tests): Add tst-ptrguard1.
16103 (tests-static): Add tst-ptrguard1-static.
16104 (tst-ptrguard1-ARGS): Define.
16105 (tst-ptrguard1-static-ARGS): Define.
16106 * elf/tst-ptrguard1.c: New file.
16107 * elf/tst-ptrguard1-static.c: New file.
16108 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16109 * sysdeps/i386/stackguard-macros.h: Likewise.
16110 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16111 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16112 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16113 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16114 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16115 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16117 2013-09-23 Hector Marco <hecmargi@upv.es>
16118 Ismael Ripoll <iripoll@disca.upv.es>
16119 Carlos O'Donell <carlos@redhat.com>
16122 * sysdeps/generic/stackguard-macros.h: Define
16123 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16124 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16125 Define __pointer_chk_guard_local.
16126 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16127 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16129 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16132 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16134 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16136 * include/string.h (__ffs): Declare as hidden.
16137 * string/ffs.c (__ffs): Define as hidden.
16138 * sysdeps/i386/ffs.c (__ffs): Likewise.
16139 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16140 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16141 * sysdeps/s390/ffs.c (__ffs): Likewise.
16142 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16144 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16146 * NEWS: Mention malloc probes.
16148 * malloc/arena.c (new_heap): New memory_heap_new probe.
16149 (grow_heap): New memory_heap_more probe.
16150 (shrink_heap): New memory_heap_less probe.
16151 (heap_trim): New memory_heap_free probe.
16152 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16153 (systrim): New memory_sbrk_less probe.
16154 * manual/probes.texi: Document them.
16156 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16157 * manual/probes.texi: Document it.
16159 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16160 (__libc_realloc): Add memory_realloc_retry probe.
16161 (__libc_memalign): Add memory_memalign_retry probe.
16162 (__libc_valloc): Add memory_valloc_retry probe.
16163 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16164 (__libc_calloc): Add memory_calloc_retry probe.
16165 * manual/probes.texi: Document them.
16167 * malloc/arena.c (get_free_list): Add probe
16168 memory_arena_reuse_free_list.
16169 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16170 and memory_arena_reuse.
16171 (arena_get2) [!PER_THREAD]: Likewise.
16172 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16173 memory_arena_reuse_realloc.
16174 * manual/probes.texi: Document them.
16176 * malloc/malloc.c (__libc_free): Add
16177 memory_mallopt_free_dyn_thresholds probe.
16178 (__libc_mallopt): Add multiple memory_mallopt probes.
16179 * manual/probes.texi: Document them.
16181 * malloc/malloc.c: Include stap-probe.h.
16182 (__libc_mallopt): Add memory_mallopt probe.
16183 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16184 * manual/probes.texi: New.
16185 * manual/Makefile (chapters): Add probes.
16186 * manual/threads.texi: Set next node.
16188 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16190 [BZ #15963, #13985]
16191 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16192 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16193 Add `Chinese' to `nan' entry name.
16195 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16197 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16198 (POLYNOMIAL): Likewise.
16199 (TAYLOR_SINCOS): Likewise.
16200 (TAYLOR_SLOW): Likewise.
16201 (__sin): Use TAYLOR_SINCOS.
16203 (slow): Use TAYLOR_SLOW.
16205 (bsloww): Likewise.
16206 (csloww): Likewise.
16208 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16210 * stdlib/strtod_l.c: Fix buffer overrun.
16212 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16214 * benchtests/Makefile (bench): Add sincos.
16215 * benchtests/bench-sincos.c: New file.
16217 * math/libm-test.inc (cos_test_data): New test inputs.
16218 (sin_test_data): Likewise.
16220 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16226 (sloww1): Likewise.
16227 (sloww2): Likewise.
16228 (bsloww1): Likewise.
16229 (bsloww2): Likewise.
16230 (cslow2): Likewise.
16231 (csloww1): Likewise.
16232 (csloww2): Likewise.
16234 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16239 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16243 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16245 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16246 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16247 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16248 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16249 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16250 * elf/cache.c (print_entry): Handle the new cache flags.
16252 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16253 Aldy Hernandez <aldyh@redhat.com>
16255 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16256 Change condition to [_SOFT_FLOAT].
16257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16269 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16272 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16275 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16277 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16278 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16279 (__longjmp): Use LOAD_GP to load saved GPRs.
16280 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16281 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16282 (__sigsetjmp): Use SAVE_GP to save GPRs.
16284 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16285 Do not append -msoft-float.
16286 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16288 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16290 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16292 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16295 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16296 (_FPU_GETCW): Use initial "__" on variable and field names but not
16297 on macro parameter name.
16298 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16299 parentheses around reference to macro parameter.
16301 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16303 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16305 (ctype_startup): Use uint32_t in cast and sizeof for
16308 2013-09-11 Jia Liu <proljc@gmail.com>
16310 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16312 [__FreeBSD__]: Likewise.
16314 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16317 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16318 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16319 (strchr): Remove __strchr_sse42 ifunc selection.
16320 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16321 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16323 2013-09-11 Will Newton <will.newton@linaro.org>
16325 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16326 parameter to RES. Remove hardcoded 1000 value.
16327 * benchtests/bench-skeleton.c (main): Pass RES parameter
16328 to TIMING_INIT and multiply result by 1000.
16330 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16334 2013-09-11 Andreas Schwab <schwab@suse.de>
16336 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16338 (O_TMPFILE) [__USE_GNU]: Define.
16339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16342 2013-09-11 Will Newton <will.newton@linaro.org>
16345 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16348 2013-09-11 Will Newton <will.newton@linaro.org>
16351 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16354 2013-09-11 Will Newton <will.newton@linaro.org>
16357 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16360 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16362 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16363 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16364 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16365 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16366 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16368 2013-09-10 Allan McRae <allan@archlinux.org>
16371 * manual/arith.texi (Parsing of Floats): Clarify
16375 * manual/install.texi (Running make install): Mention
16377 * INSTALL: Regenerated.
16379 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16381 * csu/init-first.c (_init): Remove the !SHARED condition around
16382 FPU control word initialization.
16383 * elf/dl-support.c (_dl_fpu_control): New variable.
16384 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16385 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16386 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16387 * math/test-fpucw-static.c: New file.
16388 * math/test-fpucw-ieee.c: New file.
16389 * math/test-fpucw-ieee-static.c: New file.
16390 * math/Makefile (tests): Add `test-fpucw-ieee' and
16392 (tests-static): New variable.
16393 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16395 [($(build-shared),yes)]
16396 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16398 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16401 2013-09-09 Allan McRae <allan@archlinux.org>
16404 * manual/string.texi (Collation Functions): Fix typo in
16406 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16409 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16412 * libio/memstream.c (open_memstream): Fix memory leak.
16413 * libio/wmemstream.c (open_wmemstream): Likewise.
16416 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16418 2013-09-09 Will Newton <will.newton@linaro.org>
16420 * malloc/Makefile: Add tst-realloc to tests.
16421 * malloc/tst-realloc.c: New file.
16423 2013-09-09 Allan McRae <allan@archlinux.org>
16426 * COPYING: Update from GNU website to fix FSF address.
16427 * COPYING.LIB: Likewise.
16429 2013-09-06 David S. Miller <davem@davemloft.net>
16431 * po/zh_TW.po: Update Chinese (traditional) translation from
16432 translation project.
16434 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16435 Joseph Myers <joseph@codesourcery.com>
16437 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16439 (obstack_chunk_alloc): New macro.
16440 (obstack_chunk_free): Likewise.
16441 (record_offset): New function.
16442 (init_locale_data): Likewise.
16443 (align_locale_data): Likewise.
16444 (add_locale_empty): Likewise.
16445 (add_locale_raw_data): Likewise.
16446 (add_locale_raw_obstack): Likewise.
16447 (add_locale_string): Likewise.
16448 (add_locale_wstring): Likewise.
16449 (add_locale_uint32): Likewise.
16450 (add_locale_uint32_array): Likewise.
16451 (add_locale_char): Likewise.
16452 (start_locale_structure): Likewise.
16453 (end_locale_structure): Likewise.
16454 (start_locale_prelude): Likewise.
16455 (end_locale_prelude): Likewise.
16456 (write_locale_data): Take locale_file structure rather than an
16458 * locale/programs/locfile.h: Include "obstack.h".
16459 (struct locale_file): Change to store locale file contents instead
16461 (init_locale_data): New prototype.
16462 (align_locale_data): Likewise.
16463 (add_locale_empty): Likewise.
16464 (add_locale_raw_data): Likewise.
16465 (add_locale_raw_obstack): Likewise.
16466 (add_locale_string): Likewise.
16467 (add_locale_wstring): Likewise.
16468 (add_locale_uint32): Likewise.
16469 (add_locale_uint32_array): Likewise.
16470 (add_locale_char): Likewise.
16471 (start_locale_structure): Likewise.
16472 (end_locale_structure): Likewise.
16473 (start_locale_prelude): Likewise.
16474 (end_locale_prelude): Likewise.
16475 (write_locale_data): Update prototype.
16476 * locale/programs/3level.h (struct TABLE): Remove result field.
16477 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16478 Use new locale_file interface.
16479 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16480 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16481 * locale/programs/ld-address.c (address_output): Use new
16482 locale_file interface.
16483 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16485 (collate_finish): Don't call collseq_table_finalize.
16486 (collate_output): Use new locale_file interface.
16487 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16489 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16490 (TABLE): Move defines earlier in file.
16491 (ELEMENT): Likewise.
16492 (DEFAULT): Likewise.
16493 (wctrans_table_add): Move macro and inline function earlier in
16495 (struct wctype_table): Move type earlier in file.
16496 (add_locale_wctype_table): New static prototype.
16497 (struct locale_ctype_t): Use logical types instead of struct iovec
16498 pointers for members.
16499 (ctype_output): Use new locale_file interface.
16500 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16501 new locale_file interface.
16502 (allocate_arrays): Update for use of new locale_file interface.
16503 * locale/programs/ld-identification.c (identification_output): Use
16504 new locale_file interface.
16505 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16506 * locale/programs/ld-messages.c (messages_output): Likewise.
16507 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16508 * locale/programs/ld-name.c (name_output): Likewise.
16509 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16510 * locale/programs/ld-paper.c (paper_output): Likewise.
16511 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16512 * locale/programs/ld-time.c (time_output): Likewise.
16514 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16516 * benchtests/Makefile: Add memrchr benchmark.
16517 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16518 benchmark as memrchr.
16519 * benchtests/bench-memrchr-ifunc.c: New file.
16520 * benchtests/bench-memrchr.c: New file.
16522 2013-09-06 Will Newton <will.newton@linaro.org>
16524 * benchtests/Makefile (string-bench): Add memcpy.
16526 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16527 Cong Wang <amwang@redhat.com>
16530 * sysdeps/unix/sysv/linux/bits/in.h
16531 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16532 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16533 before __USE_KERNEL_IPV6_DEFS uses.
16534 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16536 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16537 sockaddr_in6, or ipv6_mreq.
16539 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16541 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16542 memory access for final bytes in some large inputs.
16543 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16545 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16547 * string/test-memrchr.c: New file.
16548 * string/test-memrchr-ifunc.c: New file.
16549 * string/Makefile: Add new memrchr testcase.
16551 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16553 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16554 fanotify_init returns EPERM.
16556 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16558 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16560 (top level): Treat second token from macro or constant entries for
16561 allowed headers as allowed.
16562 * include/complex.h: Condition internal declarations on
16564 * include/fenv.h: Condition include of <stdbool.h> and internal
16565 declarations on [!_ISOMAC].
16567 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16570 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16572 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16574 * configure.in (--enable-versioning): Remove configure option.
16575 (libc_cv_asm_symver_directive): Remove configure test.
16576 (libc_cv_ld_version_script_option): Likewise.
16577 (VERSIONING): Remove variable and AC_SUBST.
16578 (DO_VERSIONING): Remove AC_DEFINE.
16579 * configure: Regenerated.
16580 * config.h.in (DO_VERSIONING): Remove macro.
16581 * Makerules [$(versioning) = yes]: Change conditionals to
16582 [$(build-shared) = yes].
16583 * config.make.in (versioning): Remove variable.
16584 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16585 [$(build-shared) = yes].
16586 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16587 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16588 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16589 [$(build-shared) = yes].
16590 * extra-lib.mk [$(versioning) = yes]: Likewise.
16591 * hurd/Makefile [$(versioning) = yes]: Likewise.
16592 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16594 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16596 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16597 [SHARED && !NO_HIDDEN].
16598 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16600 [SHARED && DO_VERSIONING]: Likewise..
16601 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16602 [$(build-shared) = yes].
16603 * manual/install.texi (--disable-versioning): Remove
16605 * INSTALL: Regenerated.
16606 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16608 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16609 [$(build-shared) = yes].
16610 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16611 * sysdeps/i386/i686/multiarch/strstr-c.c
16612 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16613 [SHARED && !NO_HIDDEN].
16614 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16615 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16616 * sysdeps/powerpc/powerpc32/dl-machine.c
16617 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16618 * sysdeps/powerpc/powerpc32/sysdep.h
16619 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16620 to [SHARED && PIC && !NO_HIDDEN].
16621 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16622 conditional to [SHARED].
16624 2013-09-04 Will Newton <will.newton@linaro.org>
16626 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16627 * benchtests/bench-string.h: Include bench-timing.h instead
16628 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16629 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16630 call to HP_TIMING_DIFF_INIT.
16631 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16632 instead of hp-timing.h macros.
16633 * benchtests/bench-memchr.c: Likewise.
16634 * benchtests/bench-memcmp.c: Likewise.
16635 * benchtests/bench-memcpy.c: Likewise.
16636 * benchtests/bench-memmem.c: Likewise.
16637 * benchtests/bench-memmove.c: Likewise.
16638 * benchtests/bench-memset.c: Likewise.
16639 * benchtests/bench-rawmemchr.c: Likewise.
16640 * benchtests/bench-strcasecmp.c: Likewise.
16641 * benchtests/bench-strcasestr.c: Likewise.
16642 * benchtests/bench-strcat.c: Likewise.
16643 * benchtests/bench-strchr.c: Likewise.
16644 * benchtests/bench-strcmp.c: Likewise.
16645 * benchtests/bench-strcpy.c: Likewise.
16646 * benchtests/bench-strcpy_chk.c: Likewise.
16647 * benchtests/bench-strlen.c: Likewise.
16648 * benchtests/bench-strncasecmp.c: Likewise.
16649 * benchtests/bench-strncat.c: Likewise.
16650 * benchtests/bench-strncmp.c: Likewise.
16651 * benchtests/bench-strncpy.c: Likewise.
16652 * benchtests/bench-strnlen.c: Likewise.
16653 * benchtests/bench-strpbrk.c: Likewise.
16654 * benchtests/bench-strrchr.c: Likewise.
16655 * benchtests/bench-strspn.c: Likewise.
16656 * benchtests/bench-strstr.c: Likewise.
16658 2013-09-04 Will Newton <will.newton@linaro.org>
16660 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16662 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16665 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16666 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16667 * math/libm-test.inc (lgamma_test_data): Add more tests.
16668 * sysdeps/i386/fpu/libm-test-ulps: Update.
16669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16671 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16673 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16674 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16677 Add strcmp-sse2-unaligned
16678 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16680 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16682 * Versions.def (libc): Add GLIBC_2.19.
16684 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16686 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16687 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16689 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16692 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16693 intermediate calculations in recurrence.
16694 (__ieee754_ynf): Likewise.
16695 * math/libm-test.inc (jn_test_data): Do not allow spurious
16696 underflow exception. Add more tests.
16697 (yn_test_data): Add more tests.
16698 * sysdeps/i386/fpu/libm-test-ulps: Update.
16699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16701 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16703 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16705 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16707 * csu/init-first.c: Fix then/than typos.
16708 * locale/programs/ld-collate.c: Likewise.
16709 * locale/programs/linereader.h: Likewise.
16710 * manual/charset.texi: Likewise.
16711 * manual/filesys.texi: Likewise.
16712 * manual/stdio.texi: Likewise.
16713 * manual/string.texi: Likewise.
16714 * stdlib/fmtmsg.c: Likewise.
16715 * sysdeps/i386/stpncpy.S: Likewise.
16716 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16717 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16718 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16719 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16721 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16723 * elf/dl-open.c: Fix typos.
16724 * iconvdata/gbbig5.c: Likewise.
16725 * iconvdata/iso-2022-jp.c: Likewise.
16726 * iconv/gconv_int.h: Likewise.
16727 * iconv/loop.c: Likewise.
16728 * nis/rpcsvc/nis.h: Likewise.
16729 * resolv/ns_name.c: Likewise.
16730 * stdio-common/vfscanf.c: Likewise.
16731 * streams/stropts.h: Likewise.
16732 * sunrpc/rpc_thread.c: Likewise.
16733 * sysdeps/i386/strpbrk.S: Likewise.
16734 * sysdeps/ieee754/k_standard.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16737 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16738 * sysdeps/mach/hurd/profil.c: Likewise.
16739 * sysdeps/s390/dl-procinfo.h: Likewise.
16740 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16741 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16742 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16743 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16746 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16748 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16749 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16751 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16753 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16754 aix specific files.
16755 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16756 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16757 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16758 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16759 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16760 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16761 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16762 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16764 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16765 Roland McGrath <roland@hack.frob.com>
16767 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16768 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16770 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16772 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16773 __executable_start symbol instead of _start.
16775 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16777 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16778 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16780 * sysdeps/gnu/ldsodefs.h: ... this new file.
16782 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16783 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16784 instead of ELFOSABI_LINUX.
16786 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16787 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16788 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16789 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16791 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16792 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16795 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16796 (ibm_extended_long_double): Add ieee_nan member.
16797 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16798 (do_test): New function.
16800 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16802 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16803 functions, renamed from truncdfsf_test, trunctfsf_test,
16805 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16807 (do_test): Run all these.
16809 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16811 * argp/argp-help.c: Fix typos.
16812 * argp/argp-parse.c: Likewise.
16813 * debug/backtracesyms.c: Likewise.
16814 * elf/elf.h: Likewise.
16815 * malloc/malloc.c: Likewise.
16816 * nis/nis_print.c: Likewise.
16817 * resolv/res_comp.c: Likewise.
16818 * stdlib/stdlib.h: Likewise.
16819 * sunrpc/clnt_tcp.c: Likewise.
16820 * sunrpc/clnt_udp.c: Likewise.
16821 * sunrpc/clnt_unix.c: Likewise.
16822 * sysdeps/unix/bsd/ptsname.c: Likewise.
16823 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16824 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16831 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16833 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16835 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16838 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16841 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16842 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16843 ($(objpfx)bug-dl-leaf): New rule.
16844 ($(objpfx)bug-dl-leaf.so): Likewise.
16845 ($(objpfx)bug-dl-leaf.out): Likewise.
16846 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16847 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16848 * dlfcn/bug-dl-leaf.c: New test.
16849 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16850 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16851 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16852 (dlclose): Likewise.
16853 (dlmopen): Likewise.
16855 2013-08-27 Roland McGrath <roland@hack.frob.com>
16857 * include/netdb.h [!_ISOMAC]:
16858 Don't include <tls.h>.
16859 (h_errno, __libc_h_errno): Move declaration and macros out of
16862 * include/resolv.h [_RESOLV_H_]:
16863 Don't include <tls.h>.
16864 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16865 * resolv/res_libc.c: Don't include <tls.h>.
16866 (_res): Use __attribute__ ((nocommon)) in place of
16867 __attribute__ ((section (".bss"))).
16869 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16870 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16872 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16874 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16875 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16877 * resolv/res_mkquery.c: Include <sys/time.h>.
16879 * inet/ifreq.c: Moved to ...
16880 * sysdeps/unix/ifreq.c: ... here.
16881 * inet/ifreq.c: New file, true stub version.
16883 * socket/sa_len.c: New file.
16884 * socket/Makefile (aux): Add it.
16885 * sysdeps/unix/sysv/linux/Makefile
16886 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16887 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16888 and #include <socket/sa_len.c>.
16889 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16890 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16892 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16893 * bits/socket.h: ... here.
16895 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16896 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16897 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16899 2013-08-27 Andreas Schwab <schwab@suse.de>
16902 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16903 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16904 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16905 * string/test-strcasecmp.c (test_main): Run tests in several
16907 * string/test-strncasecmp.c (test_main): Likewise.
16909 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16910 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16911 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16913 (__strncasecmp_ssse3) [PIC]: Likewise.
16915 2013-08-26 Roland McGrath <roland@hack.frob.com>
16917 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16919 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16920 instead of explicitly declaring xdecrypt.
16921 * nis/nss_nis/nis-publickey.c: Likewise.
16923 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16926 * nscd/aicache.c: Include res_hconf.h.
16927 (addhstaiX): Initialize res_hconf.
16929 2013-08-26 Andreas Schwab <schwab@suse.de>
16931 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16932 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16934 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16936 * nscd/aicache.c (addhstaiX): Fix indentation.
16938 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16940 * configure.ac: Quote $build_pt_chown test.
16941 * configure: Regenerated.
16943 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16946 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16947 * math/s_cexpf.c (__cexpf): Likewise.
16948 * math/s_cexpl.c (__cexpl): Likewise.
16949 * math/libm-test.inc (cexp_test_data): Correct expected return
16950 value for NaN + i0. Add another test.
16952 2013-08-22 David S. Miller <davem@davemloft.net>
16954 * po/ca.po: Update Catalan translation from translation project.
16955 * po/uk.po: Add Ukrainian translations from translation project.
16957 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16960 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16961 is infinite, not alongside NaN test.
16962 * math/s_fdimf.c (__fdimf): Likewise.
16963 * math/s_fdiml.c (__fdiml): Likewise.
16964 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16965 errno is unchanged.
16967 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16969 * argp/argp-help.c: Fix typos.
16970 * crypt/speeds.c: Likewise.
16971 * csu/check_fds.c: Likewise.
16972 * elf/dl-load.c: Likewise.
16973 * elf/dl-open.c: Likewise.
16974 * elf/reldep3.c: Likewise.
16975 * elf/reldep.c: Likewise.
16976 * elf/sprof.c: Likewise.
16977 * iconv/iconv_charmap.c: Likewise.
16978 * iconv/skeleton.c: Likewise.
16979 * iconv/strtab.c: Likewise.
16980 * io/lockf64.c: Likewise.
16981 * libio/libioP.h: Likewise.
16982 * resolv/gai_notify.c: Likewise.
16983 * resolv/ns_name.c: Likewise.
16984 * resolv/ns_samedomain.c: Likewise.
16985 * resolv/res_send.c: Likewise.
16986 * stdlib/random.c: Likewise.
16987 * sunrpc/rpc/xdr.h: Likewise.
16988 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16989 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16990 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16991 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16992 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16995 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16996 * sysdeps/mach/hurd/check_fds.c: Likewise.
16997 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16998 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16999 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17000 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17001 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17002 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17003 * sysdeps/pthread/aio_notify.c: Likewise.
17004 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17005 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17006 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17007 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17008 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17010 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17012 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17013 version if bit_Slow_SSE4_2 is set.
17014 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17015 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17017 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17020 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17021 trampoline stack frame information.
17022 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17023 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17024 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17025 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17026 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17027 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17028 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17029 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17031 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17032 interrupting a syscall and set with option SA_SIGINFO.
17034 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17037 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17038 argument is infinite.
17039 * math/s_cprojf.c (__cprojf): Likewise.
17040 * math/s_cprojl.c (__cprojl): Likewise.
17041 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17042 * math/libm-test.inc (cproj_test_data): Add more tests.
17044 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17046 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17047 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17048 size. Use __ffs to determine corresponding shift.
17050 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17051 Roland McGrath <roland@hack.frob.com>
17053 * Makefile (INSTALL): Remove trailing blank lines from output of
17056 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17058 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17059 Align 32 bit compat elf_greg to 8 bytes.
17061 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17063 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17065 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17067 * string/strcoll_l.c (coll_seq): New structure.
17068 (get_next_seq_cached): New function.
17069 (get_next_seq): New function.
17070 (do_compare): New function.
17071 (STRCOLL): Use GNU style definition. Simplify implementation
17072 by using get_next_seq, get_next_seq_cached and do_compare.
17074 2013-08-16 Florian Weimer <fweimer@redhat.com>
17078 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17080 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17082 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17083 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17084 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17086 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17087 GETDENTS_64BIT_ALIGNED.
17088 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17089 * manual/filesys.texi (Reading/Closing Directory): Document
17090 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17092 * manual/conf.texi (Limits for Files): Add portability note to
17093 NAME_MAX, PATH_MAX.
17094 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17096 2013-08-13 Andreas Schwab <schwab@suse.de>
17099 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17101 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17102 LDBL_MAX_EXP >= 16384]: Add tests for it.
17104 2013-08-12 David S. Miller <davem@davemloft.net>
17106 * version.h (RELEASE): Set to "development".
17107 (VERSION): Set to "2.18.90".
17108 * NEWS: Add 2.19 section.
17110 2013-08-03 David S. Miller <davem@davemloft.net>
17112 * po/ko.po: Update Korean translation from translation project.
17114 2013-08-01 David S. Miller <davem@davemloft.net>
17116 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17117 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17120 2013-07-30 David S. Miller <davem@davemloft.net>
17122 * po/fr.po: Update French translation from translation project.
17124 2013-07-28 David S. Miller <davem@davemloft.net>
17126 * po/cs.po: Update Czech translation from translation project.
17128 * po/sv.po: Update Swedish translation from translation project.
17130 2013-07-27 David S. Miller <davem@davemloft.net>
17132 * po/eo.po: Update Esperanto translation from translation project.
17134 * po/vi.po: Update Vietnamese translation from translation project.
17136 * po/de.po: Update German translation from translation project.
17138 2013-07-26 David S. Miller <davem@davemloft.net>
17140 * po/bg.po: Update Bulgarian translation from translation project.
17142 * po/nl.po: Update Dutch translation from translation project.
17143 * po/pl.po: Update Polish translation from translation project.
17144 * po/ru.po: Update Russian translation from translation project.
17146 2013-07-24 David S. Miller <davem@davemloft.net>
17148 * po/libc.pot: Update.
17150 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17152 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17153 variable page size.
17154 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17155 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17156 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17158 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17160 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17162 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17163 Andreas Schwab <schwab@suse.de>
17164 Roland McGrath <roland@hack.frob.com>
17165 Joseph Myers <joseph@codesourcery.com>
17166 Carlos O'Donell <carlos@redhat.com>
17169 * config.h.in: Define HAVE_PT_CHOWN.
17170 * config.make.in (build-pt-chown): New variable.
17171 * configure.in (--enable-pt_chown): New configure option.
17172 * configure: Regenerate.
17173 * login/Makefile: Include Makeconfig. Build pt_chown only if
17174 build-pt-chown is enabled.
17175 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17176 pt_chown to fix pty ownership.
17177 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17179 * manual/install.texi (Configuring and compiling): Mention
17180 --enable-pt_chown. Add @findex for grantpt.
17181 * INSTALL: Regenerate.
17183 2013-07-20 David S. Miller <davem@davemloft.net>
17185 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17186 difference between 32-bit and 64-bit.
17188 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17191 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17192 Avoid system header dependency with -ffreestanding.
17193 ($(objpfx)bits/syscall%d): Likewise.
17195 2013-07-13 David S. Miller <davem@davemloft.net>
17197 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17198 underflows from atanl/atan2l due to bug 15319.
17199 (casinh_test_data): Likewise.
17201 2013-07-07 David S. Miller <davem@davemloft.net>
17203 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17205 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17207 * sysdeps/i386/fpu/libm-test-ulps: Update.
17208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17210 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17212 * configure.in (--enable-lock-elision): Fix message text.
17213 * INSTALL: Regenerate.
17214 * configure: Regenerate.
17216 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17220 2013-07-03 Andreas Jaeger <aj@suse.de>
17222 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17224 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17225 (ptrace_peeksiginfo_args): Add.
17226 (__ptrace_peeksiginfo_flags): Add.
17227 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17228 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17229 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17231 2013-07-03 Allan McRae <allan@archlinux.org>
17233 * sysdeps/i386/fpu/libm-test-ulps: Update.
17235 2013-07-02 David S. Miller <davem@davemloft.net>
17237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17239 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17243 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17245 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17248 2013-07-02 Andi Kleen <ak@linux.intel.com>
17250 * config.h.in (ENABLE_LOCK_ELISION): Add.
17251 * configure.in (--enable-lock-elision): Add option.
17252 * manual/install.texi: Document --enable lock elision.
17253 * configure: Regenerate
17254 * INSTALL: Regenerate.
17256 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17258 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17259 SSE4.2 strcasecmp for libc.a.
17260 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17262 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17265 * soft-fp/op-common.h (_FP_FMA): New macro.
17266 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17267 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17268 (_FP_MUL_MEAT_1_imm): ... here.
17269 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17270 (_FP_MUL_MEAT_1_wide): ... here.
17271 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17272 (_FP_MUL_MEAT_1_hard): ... here.
17273 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17274 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17275 (_FP_MUL_MEAT_2_wide): ... here.
17276 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17277 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17278 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17279 (_FP_MUL_MEAT_2_gmp): ... here.
17280 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17281 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17282 (_FP_MUL_MEAT_4_wide): ... here.
17283 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17284 (_FP_MUL_MEAT_4_gmp): ... here.
17285 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17286 (_FP_WFRACBITS_DW_S): Likewise.
17287 (_FP_WFRACXBITS_DW_S): Likewise.
17288 (_FP_HIGHBIT_DW_S): Likewise.
17289 (FP_FMA_S): Likewise.
17290 (_FP_FRAC_HIGH_DW_S): Likewise.
17291 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17292 (_FP_WFRACBITS_DW_D): Likewise.
17293 (_FP_WFRACXBITS_DW_D): Likewise.
17294 (_FP_HIGHBIT_DW_D): Likewise.
17295 (FP_FMA_D): Likewise.
17296 (_FP_FRAC_HIGH_DW_D): Likewise.
17297 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17298 (_FP_WFRACBITS_DW_E): Likewise.
17299 (_FP_WFRACXBITS_DW_E): Likewise.
17300 (_FP_HIGHBIT_DW_E): Likewise.
17301 (FP_FMA_E): Likewise.
17302 (_FP_FRAC_HIGH_DW_E): Likewise.
17303 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17304 (_FP_WFRACBITS_DW_Q): Likewise.
17305 (_FP_WFRACXBITS_DW_Q): Likewise.
17306 (_FP_HIGHBIT_DW_Q): Likewise.
17307 (FP_FMA_Q): Likewise.
17308 (_FP_FRAC_HIGH_DW_Q): Likewise.
17309 * soft-fp/fmasf4.c: New file.
17310 * soft-fp/fmadf4.c: Likewise.
17311 * soft-fp/fmatf4.c: Likewise.
17313 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17316 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17318 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17320 (index_Slow_SSE4_2): Likewise.
17321 (index_Prefer_PMINUB_for_stringop): Likewise.
17322 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17323 bit_Slow_SSE4_2 is set.
17324 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17327 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17329 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17330 rtld_global._dl_hwcap2.
17331 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17333 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17334 POWER8 feature descriptions defined in _dl_hwcap2.
17335 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17336 string handling for POWER8 feature bits.
17337 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17338 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17339 _dl_powerpc_cap_flags.
17340 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17341 * sysdeps/powerpc/rtld-global-offsets.sym
17342 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17343 _dl_hwcap2 in the rtld_global_ro structure.
17345 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17347 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17348 hardware capabilities in support of AT_HWCAP2.
17349 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17350 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17352 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17353 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17354 explicitly the unknown a_type display mechanism is used.
17355 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17356 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17358 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17359 to macro prototype for AT_HWCAP2 support.
17360 * sysdeps/i386/dl-procinfo.h: Likewise.
17361 * sysdeps/s390/dl-procinfo.h: Likewise.
17362 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17363 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17364 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17365 return -1 for unknown a_type display fallback.
17366 * sysdeps/sparc/dl-procinfo.h: Likewise.
17367 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17368 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17370 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17372 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17373 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17375 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17378 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17379 mprotect making __stack_prot writable.
17381 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17382 Joseph Myers <joseph@codesourcery.com>
17384 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17385 as being properly aligned.
17387 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17389 * dlfcn/modstatic5.c: New file.
17390 * dlfcn/tststatic5.c: New file.
17391 * dlfcn/Makefile (tests): Add tststatic5.
17392 (tests-static): Likewise.
17393 (modules-names): Add modstatic5.
17394 (tststatic5-ENV): New variable.
17395 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17398 * elf/dl-support.c (_dl_main_map): New variable.
17399 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17400 (_dl_nns, _dl_load_adds): Set to 1.
17401 (_dl_initial_searchlist): Refer to _dl_main_map.
17402 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17403 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17404 call to _dl_get_origin.
17405 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17407 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17408 * dlfcn/modstatic3.c: New file.
17409 * dlfcn/tststatic3.c: New file.
17410 * dlfcn/tststatic4.c: New file.
17411 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17412 (tests-static): Likewise.
17413 (modules-names): Add modstatic3.
17414 (tststatic3-ENV, tststatic4-ENV): New variables.
17415 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17416 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17418 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17420 * configure.in (CC): Require GCC version 4.4 or later.
17421 * configure: Regenerated.
17422 * manual/install.texi (Tools for Compilation): Update GCC version
17424 * INSTALL: Regenerated.
17426 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17429 * string/test-memcmp.c (check2): New.
17430 (main): Call check2.
17432 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17434 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17437 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17439 (dl_open_worker) [!SHARED]: ... here.
17441 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17443 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17445 2013-06-25 Richard Henderson <rth@redhat.com>
17447 * locale/programs/locarchive.c: Include <libc-internal.h>
17449 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17451 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17452 trailing whitespace removed.
17454 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17457 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17458 * locale/programs/locarchive.c: Include libc-mmap.h.
17459 (prepare_address_space): Take two new outputs (the mmap base and len).
17460 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17462 (create_archive): Declare new mmap base and len values for
17463 prepare_address_space, and store the result in ah.
17464 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17465 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17466 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17467 Declare new mmap base and len values for
17468 prepare_address_space, and store the result in new_ah.
17469 (open_archive): Declare new mmap base and len values for
17470 prepare_address_space, and store the result in ah.
17471 (close_archive): If ah->mmap_base is not NULL, use that and
17472 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17473 * sysdeps/generic/libc-mmap.h: New file.
17475 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17477 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17478 (ALIGN_UP): Likewise.
17479 (PTR_ALIGN_DOWN): Likewise.
17480 (PTR_ALIGN_UP): Likewise.
17482 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17484 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17485 entry mapped to PPC_PLATFORM_POWER8.
17486 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17488 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17489 (_dl_string_platform): Add case for exporting platform position for
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17492 search path to sysdeps/powerpc/powerpc32/power8 directory.
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17494 search path to sysdeps/powerpc/powerpc64/power8 directory.
17495 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17496 power7 directories.
17497 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17498 power7 directories.
17500 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17502 * INSTALL: Regenerate.
17504 * nscd/connections.c (nscd_init): Fix comment.
17506 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17508 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17511 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17512 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17514 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17516 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17518 (DL_DST_REQ_STATIC): Remove macro.
17520 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17523 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17524 with a shift of 0 bits.
17526 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17528 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17531 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17534 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17536 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17538 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17539 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17540 accepts -fno-tree-loop-distribute-patterns.
17541 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17542 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17544 * string/memset.c (memset): Likewise.
17545 * string/test-memmove.c (simple_memmove): Disable loop transformation
17547 * string/test-memset.c (simple_memset): Likewise.
17548 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17549 * benchtests/bench-memset.c (simple_memset): Likewise.
17550 * configure: Regenerated.
17552 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17554 * math/test-misc.c (main): Ignore fesetround failure when failures
17555 of subsequent rounding tests would be ignored.
17558 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17559 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17560 * math/fegetenv.c (__fegetenv): Return 0.
17561 * math/fegetexcept.c (fegetexcept): Return 0.
17562 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17564 * math/feholdexcpt.c (feholdexcept): Return 0.
17565 * math/fesetenv.c (__fesetenv): Return 0.
17566 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17567 argument FE_TONEAREST.
17568 * math/feupdateenv.c (__feupdateenv): Return 0.
17569 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17571 2013-06-18 Roland McGrath <roland@hack.frob.com>
17573 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17574 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17575 ($(objpfx)rtld-%.os rules): Use them.
17577 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17579 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17582 2013-06-17 Roland McGrath <roland@hack.frob.com>
17584 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17585 length of target pattern, then descending length of dependency pattern.
17586 * configure.in (AWK): Require gawk 3.1.2 or newer.
17587 * manual/install.texi (Tools for Compilation): Say that we do.
17588 * configure: Regenerated.
17590 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17591 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17592 * scripts/sysd-rules.awk: ... this new script.
17593 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17594 than a glob-style pattern.
17596 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17598 * math/test-misc.c (main): Do not treat incorrectly rounded
17599 conversions as failure unless ROUNDING_TESTS passes.
17601 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17604 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17605 restore exception state around main square root computation, then
17606 check for inexactness explicitly.
17608 * math/libm-test.inc (fma_test_data): Add another test.
17610 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17612 * manual/threads.texi (Non-POSIX Extensions): New document
17613 node. Document pthread_getattr_default_np and
17614 pthread_setattr_default_np.
17616 * Versions.def (libpthread): Add GLIBC_2.18.
17617 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17626 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17637 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17640 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17642 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17643 H.J. Lu <hjl.tools@gmail.com>
17646 * sysdeps/x86_64/rtld-memset.c: Remove file.
17647 * sysdeps/x86_64/rtld-memset.S: New file.
17649 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17651 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17652 (test_in_one_mode): Take arguments for whether the rounding mode
17653 is supported for each floating-point type.
17654 (do_test): Pass new arguments to test_in_one_mode using
17657 2013-06-13 Roland McGrath <roland@hack.frob.com>
17659 * posix/tst-waitid.c (do_test): Distinguish different instances of
17660 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17661 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17662 before entering the kernel for waitpid.
17664 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17666 * NEWS: Fix note on clock function precision. Text by Roland
17669 2013-06-13 Roland McGrath <roland@hack.frob.com>
17671 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17672 it into place only when and if the sanity check passes.
17674 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17676 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17677 output for whether conversion result is exact. Take argument
17678 indicating whether type is IBM long double.
17679 (round_for_all): Change need_exact field to ibm_ld.
17680 * stdlib/tst-strtod-round.c (struct exactness): New type.
17681 (struct test): Change bool ld_ok field to struct exactness exact.
17682 (TEST): Update all definitions for change to field.
17683 (tests): Regenerate array contents.
17684 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17685 field value. Check for IBM long double here.
17686 (do_test): Update calls to test_in_one_mode.
17688 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17691 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17692 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17694 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17697 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17698 generated by the compiler on loop optimizations.
17699 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17700 general definitions.
17702 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17704 * math/bug-nextafter.c: Include <math-tests.h>.
17705 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17707 * math/bug-nexttoward.c: Include <math-tests.h>.
17708 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17710 * math/test-misc.c: Include <math-tests.h>.
17711 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17714 2013-06-12 Andreas Jaeger <aj@suse.de>
17716 * po/ia.po: Update Interlingua translation from translation
17719 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17721 * include/fenv.h: Include stdbool.h.
17722 (struct rm_ctx): New structure.
17723 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17725 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17726 (SET_RESTORE_ROUNDF): Likewise.
17727 (SET_RESTORE_ROUNDL): Likewise.
17728 (SET_RESTORE_ROUND_NOEX): Likewise.
17729 (SET_RESTORE_ROUND_NOEXF): Likewise.
17730 (SET_RESTORE_ROUND_NOEXL): Likewise.
17731 (SET_RESTORE_ROUND_53BIT): Likewise.
17732 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17733 (libc_feresetround_noexf_ctx): Likewise.
17734 (libc_feresetround_noexl_ctx): Likewise.
17735 (libc_feholdsetround_53bit_ctx): Likewise.
17736 (libc_feresetround_53bit_ctx): Likewise.
17737 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17738 (libc_feholdexcept_setround_sse_ctx): New function.
17739 (libc_fesetenv_sse_ctx): Likewise.
17740 (libc_feupdateenv_sse_ctx): Likewise.
17741 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17742 (libc_feholdexcept_setround_387_ctx): Likewise.
17743 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17744 (libc_feholdsetround_387_prec_ctx): Likewise.
17745 (libc_feholdsetround_387_ctx): Likewise.
17746 (libc_feholdsetround_387_53bit_ctx): Likewise.
17747 (libc_feholdsetround_sse_ctx): Likewise.
17748 (libc_feresetround_sse_ctx): Likewise.
17749 (libc_feresetround_387_ctx): Likewise.
17750 (libc_feupdateenv_387_ctx): Likewise.
17751 (libc_feholdexcept_setroundf_ctx): Define macro.
17752 (libc_fesetenvf_ctx): Likewise.
17753 (libc_feupdateenvf_ctx): Likewise.
17754 (libc_feholdsetroundf_ctx): Likewise.
17755 (libc_feresetroundf_ctx): Likewise.
17756 (libc_feholdexcept_setround_ctx): Likewise.
17757 (libc_fesetenv_ctx): Likewise.
17758 (libc_feupdateenv_ctx): Likewise.
17759 (libc_feholdsetround_ctx): Likewise.
17760 (libc_feresetround_ctx): Likewise.
17761 (libc_feholdexcept_setroundl_ctx): Likewise.
17762 (libc_feupdateenvl_ctx): Likewise.
17763 (libc_feholdsetroundl_ctx): Likewise.
17764 (libc_feresetroundl_ctx): Likewise.
17765 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17766 (libc_feresetround_53bit_ctx): Likewise.
17768 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17770 * locale/iso-639.def: Convert to UTF-8.
17772 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17774 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17775 (EXCEPTION_TESTS_double): Likewise.
17776 (EXCEPTION_TESTS_long_double): Likewise.
17777 (EXCEPTION_TESTS): Likewise.
17778 * math/libm-test.inc (test_exceptions): Only test exceptions if
17779 EXCEPTION_TESTS (FLOAT).
17781 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17783 * benchtests/Makefile (string-bench): Add strcpy_chk and
17785 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17786 * benchtests/bench-stpcpy_chk.c: New file.
17787 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17788 * benchtests/bench-strcpy_chk.c: New file.
17789 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17791 (do_test): Likewise.
17793 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17795 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17796 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17797 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17798 with tabs where appropriate.
17799 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17801 [PPC_PLATFORM_PPC440]: Likewise.
17802 [PPC_PLATFORM_PPC464]: Likewise.
17803 [PPC_PLATFORM_PPC476]: Likewise.
17804 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17805 ppc464, and ppc476 platform strings merging from ports/
17808 2013-06-11 Andreas Schwab <schwab@suse.de>
17811 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17812 (from_ucs4_idx): Regenerate.
17813 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17814 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17815 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17816 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17817 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17818 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17819 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17820 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17821 from FROM_LOOP and TO_LOOP specific macros.
17822 (BODY): Handle combining characters.
17823 * iconvdata/BIG5HKSCS.irreversible: Update.
17824 * iconvdata/BIG5HKSCS.precomposed: New file.
17825 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17827 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17829 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17831 * include/sys/time.h: Fix indentation and add copyright header.
17833 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17834 (do_test): Likewise.
17835 * string/test-memchr.c (do_one_test): Likewise.
17836 (do_test): Likewise.
17837 * string/test-memcmp.c (do_one_test): Likewise.
17838 (do_test): Likewise.
17839 * string/test-memcpy.c (do_one_test): Likewise.
17840 (do_test): Likewise.
17841 * string/test-memmem.c (do_one_test): Likewise.
17842 (do_test): Likewise.
17843 (do_random_tests): Likewise.
17844 * string/test-memmove.c (do_one_test): Likewise.
17845 (do_test): Likewise.
17846 * string/test-memset.c (do_one_test): Likewise.
17847 (do_test): Likewise.
17848 * string/test-rawmemchr.c (do_one_test): Likewise.
17849 (do_test): Likewise.
17850 * string/test-strcasecmp.c (do_one_test): Likewise.
17851 (do_test): Likewise.
17852 * string/test-strcasestr.c (do_one_test): Likewise.
17853 (do_test): Likewise.
17854 * string/test-strcat.c (do_one_test): Likewise.
17855 (do_test): Likewise.
17856 * string/test-strchr.c (do_one_test): Likewise.
17857 (do_test): Likewise.
17858 * string/test-strcmp.c (do_one_test): Likewise.
17859 (do_test): Likewise.
17860 * string/test-strcpy.c (do_one_test): Likewise.
17861 (do_test): Likewise.
17862 * string/test-string.h: Likewise.
17863 (test_init): Likewise.
17864 * string/test-strlen.c (do_one_test): Likewise.
17865 (do_test): Likewise.
17866 * string/test-strncasecmp.c (do_one_test): Likewise.
17867 (do_test): Likewise.
17868 * string/test-strncat.c (do_one_test): Likewise.
17869 (do_test): Likewise.
17870 * string/test-strncmp.c (do_one_test): Likewise.
17871 (do_test_limit): Likewise.
17872 (do_test): Likewise.
17873 * string/test-strncpy.c (do_one_test): Likewise.
17874 (do_test): Likewise.
17875 * string/test-strnlen.c (do_one_test): Likewise.
17876 (do_test): Likewise.
17877 * string/test-strpbrk.c (do_one_test): Likewise.
17878 (do_test): Likewise.
17879 * string/test-strrchr.c (do_one_test): Likewise.
17880 (do_test): Likewise.
17881 * string/test-strspn.c (do_one_test): Likewise.
17882 (do_test): Likewise.
17883 * string/test-strstr.c (do_one_test): Likewise.
17884 (do_test): Likewise.
17886 * benchtests/Makefile (string-bench): Add string benchmarks.
17887 * benchtests/bench-bcopy-ifunc.c: New file.
17888 * benchtests/bench-bcopy.c: New file.
17889 * benchtests/bench-bzero-ifunc.c: New file.
17890 * benchtests/bench-bzero.c: New file.
17891 * benchtests/bench-memccpy-ifunc.c: New file.
17892 * benchtests/bench-memccpy.c: New file.
17893 * benchtests/bench-memchr-ifunc.c: New file.
17894 * benchtests/bench-memchr.c: New file.
17895 * benchtests/bench-memcmp-ifunc.c: New file.
17896 * benchtests/bench-memcmp.c: New file.
17897 * benchtests/bench-memmem-ifunc.c: New file.
17898 * benchtests/bench-memmem.c: New file.
17899 * benchtests/bench-memmove-ifunc.c: New file.
17900 * benchtests/bench-memmove.c: New file.
17901 * benchtests/bench-mempcpy-ifunc.c: New file.
17902 * benchtests/bench-mempcpy.c: New file.
17903 * benchtests/bench-memset-ifunc.c: New file.
17904 * benchtests/bench-memset.c: New file.
17905 * benchtests/bench-rawmemchr-ifunc.c: New file.
17906 * benchtests/bench-rawmemchr.c: New file.
17907 * benchtests/bench-stpcpy-ifunc.c: New file.
17908 * benchtests/bench-stpcpy.c: New file.
17909 * benchtests/bench-stpncpy-ifunc.c: New file.
17910 * benchtests/bench-stpncpy.c: New file.
17911 * benchtests/bench-strcasecmp-ifunc.c: New file.
17912 * benchtests/bench-strcasecmp.c: New file.
17913 * benchtests/bench-strcasestr-ifunc.c: New file.
17914 * benchtests/bench-strcasestr.c: New file.
17915 * benchtests/bench-strcat-ifunc.c: New file.
17916 * benchtests/bench-strcat.c: New file.
17917 * benchtests/bench-strchr-ifunc.c: New file.
17918 * benchtests/bench-strchr.c: New file.
17919 * benchtests/bench-strchrnul-ifunc.c: New file.
17920 * benchtests/bench-strchrnul.c: New file.
17921 * benchtests/bench-strcmp-ifunc.c: New file.
17922 * benchtests/bench-strcmp.c: New file.
17923 * benchtests/bench-strcpy-ifunc.c: New file.
17924 * benchtests/bench-strcpy.c: New file.
17925 * benchtests/bench-strcspn-ifunc.c: New file.
17926 * benchtests/bench-strcspn.c: New file.
17927 * benchtests/bench-strlen-ifunc.c: New file.
17928 * benchtests/bench-strlen.c: New file.
17929 * benchtests/bench-strncasecmp-ifunc.c: New file.
17930 * benchtests/bench-strncasecmp.c: New file.
17931 * benchtests/bench-strncat-ifunc.c: New file.
17932 * benchtests/bench-strncat.c: New file.
17933 * benchtests/bench-strncmp-ifunc.c: New file.
17934 * benchtests/bench-strncmp.c: New file.
17935 * benchtests/bench-strncpy-ifunc.c: New file.
17936 * benchtests/bench-strncpy.c: New file.
17937 * benchtests/bench-strnlen-ifunc.c: New file.
17938 * benchtests/bench-strnlen.c: New file.
17939 * benchtests/bench-strpbrk-ifunc.c: New file.
17940 * benchtests/bench-strpbrk.c: New file.
17941 * benchtests/bench-strrchr-ifunc.c: New file.
17942 * benchtests/bench-strrchr.c: New file.
17943 * benchtests/bench-strspn-ifunc.c: New file.
17944 * benchtests/bench-strspn.c: New file.
17945 * benchtests/bench-strstr-ifunc.c: New file.
17946 * benchtests/bench-strstr.c: New file.
17948 * benchtests/Makefile: Disable parallel execution of targets.
17949 (string-bench): Add memcpy.
17950 (benchset): New variable to store a list of benchmark sets.
17951 (bench-func): Renamed from bench.
17952 (bench-set): New target.
17953 (bench): Depend on bench-func and bench-set.
17954 * benchtests/README: Add section on benchmark sets.
17955 * benchtests/bench-memcpy-ifunc.c: New file.
17956 * benchtests/bench-memcpy.c: New file.
17957 * benchtests/bench-string.h: New file.
17959 2013-06-11 Andreas Schwab <schwab@suse.de>
17962 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17963 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17964 values in the triple.
17965 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17966 terminator in the group key.
17968 2013-06-11 Andreas Jaeger <aj@suse.de>
17970 * po/zh_TW.po: Update Chinese (traditional) translation from
17971 translation project.
17973 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17975 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17976 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17977 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17978 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17979 (clock_getcpuclockid): Likewise.
17980 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17981 Add weak_alias and libc_hidden_def.
17982 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17983 * rt/clock_gettime.c (clock_gettime): Rename to
17984 __clock_gettime. Add weak_alias and libc_hidden_def.
17985 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17986 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17987 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17988 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17989 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17991 * rt/clock_settime.c (clock_settime): Rename to
17992 __clock_settime. Add weak_alias and libc_hidden_def.
17993 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17995 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17997 * mach/err_boot.sub: Remove trailing whitespace.
17998 * mach/err_ipc.sub: Likewise.
17999 * mach/err_mach.sub: Likewise.
18001 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18002 (ROUNDING_TESTS_double): Likewise.
18003 (ROUNDING_TESTS_long_double): Likewise.
18004 (ROUNDING_TESTS): Likewise.
18005 * math/libm-test.inc: Include <math-tests.h>.
18006 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18007 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18008 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18009 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18011 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18013 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18016 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18018 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18019 otherwise empty TRANS lines.
18020 * sysdeps/gnu/errlist.c: Regenerated.
18022 * catgets/gencat.c (error_print): Use (void) in function
18024 * crypt/crypt_util.c (__init_des): Likewise.
18025 * crypt/speeds.c (Stop): Likewise.
18027 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18028 * inet/ruserpass.c (token): Likewise.
18029 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18030 * intl/localealias.c (extend_alias_table): Likewise.
18031 * intl/plural-exp.c (init_germanic_plural): Likewise.
18032 * libio/fcloseall.c (__fcloseall): Likewise.
18033 * libio/genops.c (_IO_flush_all): Likewise.
18034 (_IO_flush_all_linebuffered): Likewise.
18035 (_IO_cleanup): Likewise.
18036 (_IO_iter_begin): Likewise.
18037 (_IO_iter_end): Likewise.
18038 (_IO_list_lock): Likewise.
18039 (_IO_list_unlock): Likewise.
18040 (_IO_list_resetlock): Likewise.
18041 * libio/getchar.c (getchar): Likewise.
18042 * libio/getchar_u.c (getchar_unlocked): Likewise.
18043 * libio/getwchar.c (getwchar): Likewise.
18044 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18045 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18046 * login/getpt.c (__getpt): Likewise.
18047 * login/tst-utmp.c (main): Likewise.
18048 * malloc/hooks.c (__malloc_check_init): Likewise.
18049 * malloc/malloc.c (__malloc_stats): Likewise.
18050 * malloc/mtrace.c (tr_break): Likewise.
18051 (mtrace): Likewise.
18052 (muntrace): Likewise.
18053 * misc/fstab.c (endfsent): Likewise.
18054 * misc/getclktck.c (__getclktck): Likewise.
18055 * misc/getdtsz.c (__getdtablesize): Likewise.
18056 * misc/gethostid.c (gethostid): Likewise.
18057 * misc/getpagesize.c (__getpagesize): Likewise.
18058 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18059 (__get_nprocs): Likewise.
18060 (__get_phys_pages): Likewise.
18061 (__get_avphys_pages): Likewise.
18062 * misc/getttyent.c (getttyent): Likewise.
18063 (setttyent): Likewise.
18064 (endttyent): Likewise.
18065 * misc/getusershell.c (getusershell): Likewise.
18066 (endusershell): Likewise.
18067 (setusershell): Likewise.
18068 (initshells): Likewise.
18069 * misc/hsearch.c (__hdestroy): Likewise.
18070 * misc/sync.c (sync): Likewise.
18071 * misc/syslog.c (closelog_internal): Likewise.
18072 (closelog): Likewise.
18073 * misc/ttyslot.c (ttyslot): Likewise.
18074 * misc/vhangup.c (vhangup): Likewise.
18075 * posix/fork.c (__fork): Likewise.
18076 * posix/getegid.c (__getegid): Likewise.
18077 * posix/geteuid.c (__geteuid): Likewise.
18078 * posix/getgid.c (__getgid): Likewise.
18079 * posix/getpid.c (__getpid): Likewise.
18080 * posix/getppid.c (__getppid): Likewise.
18081 * posix/getuid.c (__getuid): Likewise.
18082 * posix/pause.c (pause): Likewise.
18083 * posix/setpgrp.c (setpgrp): Likewise.
18084 * posix/setsid.c (__setsid): Likewise.
18085 * posix/test-vfork.c (noop): Likewise.
18086 * resolv/gethnamaddr.c (_endhtent): Likewise.
18087 (_gethtent): Likewise.
18088 (ht_endhostent): Likewise.
18089 (gethostent): Likewise.
18090 (dns_service): Likewise.
18091 * stdlib/drand48.c (drand48): Likewise.
18092 * stdlib/lrand48.c (lrand48): Likewise.
18093 * stdlib/mrand48.c (mrand48): Likewise.
18094 * stdlib/rand.c (rand): Likewise.
18095 * stdlib/random.c (__random): Likewise.
18096 * stdlib/setenv.c (clearenv): Likewise.
18097 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18098 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18099 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18100 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18101 (__get_nprocs): Likewise.
18102 (__get_phys_pages): Likewise.
18103 (__get_avphys_pages): Likewise.
18104 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18105 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18106 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18107 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18108 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18109 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18110 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18111 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18112 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18113 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18114 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18115 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18116 * sysdeps/posix/clock.c (clock): Likewise.
18117 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18118 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18119 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18120 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18121 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18122 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18123 (__get_nprocs_conf): Likewise.
18124 (__get_phys_pages): Likewise.
18125 (__get_avphys_pages): Likewise.
18126 * time/clock.c (clock): Likewise.
18127 * time/tzset.c (__tzname_max): Likewise.
18129 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18131 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18132 (__bswap_32): Do not use "register".
18133 * crypt/crypt.c (_ufc_doit_r): Likewise.
18134 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18135 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18136 * gmon/gmon.c (__monstartup): Likewise.
18137 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18138 * hurd/hurdmalloc.c (more_memory): Likewise.
18139 (malloc): Likewise.
18141 (realloc): Likewise.
18142 (malloc_fork_prepare): Likewise.
18143 (malloc_fork_parent): Likewise.
18144 (malloc_fork_child): Likewise.
18145 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18146 (_svcauth_des): Likewise.
18147 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18148 * inet/inet_net.c (inet_network): Likewise.
18149 * inet/inet_netof.c (inet_netof): Likewise.
18150 * inet/rcmd.c (__validuser2_sa): Likewise.
18151 * io/fts.c (fts_open): Likewise.
18152 (fts_load): Likewise.
18153 (fts_close): Likewise.
18154 (fts_read): Likewise.
18155 (fts_children): Likewise.
18156 (fts_build): Likewise.
18157 (fts_stat): Likewise.
18158 (fts_sort): Likewise.
18159 (fts_alloc): Likewise.
18160 (fts_lfree): Likewise.
18161 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18162 (_IO_file_xsgetn): Likewise.
18163 (_IO_file_xsgetn_mmap): Likewise.
18164 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18165 (_IO_cookie_write): Likewise.
18166 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18167 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18168 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18169 * malloc/obstack.c (_obstack_begin): Likewise.
18170 (_obstack_begin_1): Likewise.
18171 (_obstack_newchunk): Likewise.
18172 (_obstack_allocated_p): Likewise.
18173 (obstack_free): Likewise.
18174 (_obstack_memory_used): Likewise.
18175 * misc/getttyent.c (getttynam): Likewise.
18176 (getttyent): Likewise.
18179 * misc/getusershell.c (initshells): Likewise.
18180 * misc/syslog.c (__vsyslog_chk): Likewise.
18181 * misc/ttyslot.c (ttyslot): Likewise.
18182 * nis/nis_hash.c (__nis_hash): Likewise.
18183 * posix/fnmatch_loop.c (FCT): Likewise.
18184 * posix/getconf.c (print_all): Likewise.
18186 * posix/getopt.c (exchange): Likewise.
18187 * posix/glob.c (globfree): Likewise.
18188 (prefix_array): Likewise.
18189 (__glob_pattern_type): Likewise.
18190 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18191 (NS_GET32): Likewise.
18192 (NS_PUT16): Likewise.
18193 (NS_PUT32): Likewise.
18194 * resolv/gethnamaddr.c (getanswer): Likewise.
18195 (gethostbyname2): Likewise.
18196 (gethostbyaddr): Likewise.
18197 (_gethtent): Likewise.
18198 (_gethtbyname2): Likewise.
18199 (_gethtbyaddr): Likewise.
18200 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18201 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18202 * resolv/res_init.c (__res_vinit): Likewise.
18203 (net_mask): Likewise.
18204 * resolv/res_mkquery.c (outchar): Likewise.
18206 * stdio-common/printf_fp.c (outchar): Likewise.
18208 * stdio-common/printf_fphex.c (outchar): Likewise.
18210 * stdio-common/printf_size.c (outchar): Likewise.
18212 * stdio-common/test_rdwr.c (main): Likewise.
18213 * stdio-common/tfformat.c (matches): Likewise.
18214 * stdio-common/vfprintf.c (outchar): Likewise.
18215 (printf_unknown): Likewise.
18216 (buffered_vfprintf): Likewise.
18217 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18218 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18219 (ReadFile): Likewise.
18220 * stdlib/qsort.c (SWAP): Likewise.
18221 (_quicksort): Likewise.
18222 * stdlib/setenv.c (__add_to_environ): Likewise.
18223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18224 * stdlib/strtol_l.c (__strtol_l): Likewise.
18225 * stdlib/tst-strtod.c (main): Likewise.
18226 * stdlib/tst-strtol.c (main): Likewise.
18227 * stdlib/tst-strtoll.c (main): Likewise.
18228 * string/bits/string2.h (__strcmp_cc): Likewise.
18229 (__strcmp_cg): Likewise.
18230 (__strcspn_c1): Likewise.
18231 (__strcspn_c2): Likewise.
18232 (__strcspn_c3): Likewise.
18233 (__strspn_c1): Likewise.
18234 (__strspn_c2): Likewise.
18235 (__strspn_c3): Likewise.
18236 (__strsep_1c): Likewise.
18237 (__strsep_2c): Likewise.
18238 (__strsep_3c): Likewise.
18239 * string/memccpy.c (__memccpy): Likewise.
18240 * string/stpcpy.c (__stpcpy): Likewise.
18241 * string/strcmp.c (strcmp): Likewise.
18242 * string/strrchr.c (strrchr): Likewise.
18243 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18245 * sysdeps/mach/hurd/getcwd.c
18246 (_hurd_canonicalize_directory_name_internal): Likewise.
18247 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18248 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18249 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18250 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18251 Likewise, in both definitions.
18252 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18254 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18255 64] (__bswap_64): Likewise.
18256 * time/test_time.c (main): Likewise.
18257 * time/tzfile.c (__tzfile_read): Likewise.
18258 (__tzfile_compute): Likewise.
18259 * time/tzset.c (__tzset_parse_tz): Likewise.
18260 (tzset_internal): Likewise.
18261 (compute_change): Likewise.
18262 * wcsmbs/wcscat.c (__wcscat): Likewise.
18263 * wcsmbs/wcschr.c (wcschr): Likewise.
18264 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18265 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18266 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18267 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18268 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18269 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18270 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18271 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18272 * wcsmbs/wmemset.c (wmemset): Likewise.
18274 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18276 * scripts/config.guess: Update to version 2013-05-16.
18277 * scripts/config.sub: Update to version 2013-04-24.
18278 * scripts/install-sh: Update to version 2011-11-20.07.
18279 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18280 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18282 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18284 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18285 * elf/sln.c: Likewise.
18286 * hurd/hurd/ioctl.h: Likewise.
18287 * hurd/hurdmalloc.c: Likewise.
18288 * hurd/xattr.c: Likewise.
18289 * include/shlib-compat.h: Likewise.
18290 * inet/ruserpass.c: Likewise.
18291 * libio/iofgets_u.c: Likewise.
18292 * libio/iofgetws_u.c: Likewise.
18293 * locale/programs/ld-identification.c: Likewise.
18294 * locale/programs/ld-time.c: Likewise.
18295 * mach/msg-destroy.c: Likewise.
18296 * nss/nss_files/files-netgrp.c: Likewise.
18297 * resolv/res_data.c: Likewise.
18298 * soft-fp/op-1.h: Likewise.
18299 * soft-fp/op-2.h: Likewise.
18300 * soft-fp/op-4.h: Likewise.
18301 * soft-fp/op-common.h: Likewise.
18302 * stdio-common/printf_fphex.c: Likewise.
18303 * stdlib/strtod_l.c: Likewise.
18304 * sunrpc/rpc/clnt.h: Likewise.
18305 * sysdeps/generic/framestate.c: Likewise.
18306 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18307 * sysdeps/i386/bsd-setjmp.S: Likewise.
18308 * sysdeps/i386/__longjmp.S: Likewise.
18309 * sysdeps/i386/setjmp.S: Likewise.
18310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18311 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18312 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18328 * sysdeps/ieee754/support.c: Likewise.
18329 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18330 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18331 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18332 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18333 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18334 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18335 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18336 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18337 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18338 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18339 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18340 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18341 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18342 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18343 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18344 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18345 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18348 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18350 * posix/transbug.c: Remove executable mode.
18352 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18354 * crypt/speeds.c: Remove trailing whitespace.
18355 * dlfcn/default.c: Likewise.
18356 * elf/ifuncdep2.c: Likewise.
18357 * elf/ifuncmain1.c: Likewise.
18358 * elf/ifuncmain1vis.c: Likewise.
18359 * elf/testobj.h: Likewise.
18360 * elf/tst-stackguard1.c: Likewise.
18361 * gmon/sys/gmon.h: Likewise.
18362 * hurd/hurdmsg.c: Likewise.
18363 * hurd/new-fd.c: Likewise.
18364 * hurd/ports-get.c: Likewise.
18365 * iconvdata/ibm1008_420.c: Likewise.
18366 * inet/tst-getni1.c: Likewise.
18367 * inet/tst-getni2.c: Likewise.
18368 * libio/ioungetc.c: Likewise.
18369 * libio/wfiledoalloc.c: Likewise.
18370 * manual/libm-err-tab.pl: Likewise.
18371 * math/w_dremf.c: Likewise.
18372 * misc/ftruncate.c: Likewise.
18373 * posix/bug-glob2.c: Likewise.
18374 * posix/tst-pcre.c: Likewise.
18375 * posix/wait4.c: Likewise.
18376 * resolv/README: Likewise.
18377 * resolv/res_debug.h: Likewise.
18378 * resolv/tst-inet_ntop.c: Likewise.
18379 * setjmp/bug269-setjmp.c: Likewise.
18380 * soft-fp/extended.h: Likewise.
18381 * soft-fp/op-1.h: Likewise.
18382 * soft-fp/op-2.h: Likewise.
18383 * soft-fp/op-4.h: Likewise.
18384 * soft-fp/op-8.h: Likewise.
18385 * soft-fp/testit.c: Likewise.
18386 * stdio-common/bug16.c: Likewise.
18387 * stdlib/random.c: Likewise.
18388 * sunrpc/rpcsvc/rquota.x: Likewise.
18389 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18390 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18392 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18393 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18394 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18395 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18396 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18397 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18398 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18399 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18400 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18401 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18402 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18403 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18404 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18405 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18406 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18407 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18408 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18409 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18410 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18411 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18412 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18413 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18414 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18415 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18416 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18417 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18418 * sysdeps/ieee754/s_lib_version.c: Likewise.
18419 * sysdeps/mach/hurd/check_fds.c: Likewise.
18420 * sysdeps/mach/hurd/getsockname.c: Likewise.
18421 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18422 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18423 * sysdeps/powerpc/bits/link.h: Likewise.
18424 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18425 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18426 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18427 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18428 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18429 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18430 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18431 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18432 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18433 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18434 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18435 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18436 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18437 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18438 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18439 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18440 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18441 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18442 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18443 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18444 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18445 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18446 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18447 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18448 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18449 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18450 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18451 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18452 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18453 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18454 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18455 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18456 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18457 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18458 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18459 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18460 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18461 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18462 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18463 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18464 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18465 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18466 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18467 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18468 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18469 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18470 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18471 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18472 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18473 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18474 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18475 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18476 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18477 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18478 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18479 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18480 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18481 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18482 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18483 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18484 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18485 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18486 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18487 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18488 * sysdeps/powerpc/sysdep.h: Likewise.
18489 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18490 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18491 * sysdeps/sh/dl-trampoline.S: Likewise.
18492 * sysdeps/sh/memset.S: Likewise.
18493 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18494 * sysdeps/sh/strlen.S: Likewise.
18495 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18496 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18497 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18498 * sysdeps/sparc/sparc32/rem.S: Likewise.
18499 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18500 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18501 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18502 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18503 * sysdeps/sparc/sparc32/urem.S: Likewise.
18504 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18505 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18506 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18507 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18508 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18509 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18510 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18511 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18512 * sysdeps/unix/bsd/times.c: Likewise.
18513 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18514 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18518 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18519 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18520 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18521 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18522 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18523 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18524 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18525 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18526 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18527 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18528 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18529 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18530 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18531 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18532 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18533 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18534 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18535 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18536 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18537 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18538 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18539 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18540 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18541 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18542 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18543 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18544 * sysdeps/x86_64/strcspn.S: Likewise.
18546 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18548 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18549 generated file. Regenerate properly from gen-translit.pl.
18550 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18551 locale/C-translit.h.
18553 2013-06-05 Andreas Schwab <schwab@suse.de>
18556 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18557 week as 6 instead of -1.
18558 * time/tst-strptime.c (day_tests): Add test case.
18560 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18562 * sysdeps/generic/math_private.h
18563 (libc_feholdexcept_setround_53bit): Replace with
18564 libc_feholdsetround_53bit.
18565 (libc_feupdateenv_53bit): Replace with
18566 libc_feresetround_53bit.
18567 (SET_RESTORE_ROUND_53BIT): Adjust.
18569 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18571 * string/test-strchrnul.c: Add copyright header.
18573 * posix/tst-getaddrinfo4.c: Increase test timeout.
18575 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18578 * math/libm-test.inc (MAX_EXP): Remove
18580 (ulp): Use MIN_EXP - MANT_DIG.
18581 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18583 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18585 * po/be.po: Revert last change.
18586 * po/zh_CN.po: Likewise.
18587 * po/header.pot: Likewise.
18589 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18591 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18592 link-libc-deps to empty as target-specific variable.
18593 * Makerules (link-libc-args): New variable.
18594 (libc-for-link): Likewise.
18595 (link-libc-deps): Likewise.
18596 (lib%.so): Depend on $(link-libc-deps). Link with
18598 (build-module): Link with $(link-libc-args).
18599 (build-module-asneeded): Likewise.
18600 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18602 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18603 target-specific variable.
18604 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18605 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18606 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18608 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18610 ($(objpfx)libpcprofile.so): Likewise.
18611 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18613 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18614 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18615 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18617 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18618 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18619 * login/Makefile ($(objpfx)libutil.so): Likewise.
18620 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18621 * math/Makefile ($(objpfx)libm.so): Likewise.
18622 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18623 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18624 variable instead of depending directly on libc.
18625 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18626 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18628 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18630 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18631 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18632 ($(objpfx)libanl.so): Likewise.
18633 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18635 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18637 * sysdeps/i386/fpu/Makefile: Remove file.
18638 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18639 ($(objpfx)libm.so): Remove dependency on ld.so.
18641 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18644 * nis/yp_xdr.c (XDRMAXNAME): Define.
18645 (XDRMAXRECORD): Define.
18646 (xdr_domainname): Use XDRMAXNAME.
18647 (xdr_mapname): Likewise.
18648 (xdr_peername): Likewise.
18649 (xdr_keydat): Use XDRMAXRECORD.
18650 (xdr_valdat): Likewise.
18652 2013-05-30 Jeff Law <law@redhat.com>
18655 * manual/errno.texi (ESTALE): Update to account for more than
18656 just NFS file systems.
18657 * sysdeps/gnu/errlist.c: Regenerated.
18659 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18662 * elf/Makefile (tests): Add tst-null-argv.
18663 (modules-names): Add tst-null-argv-lib.
18664 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18665 (tst-null-argv-ENV): Set environment for tst-null-argv.
18666 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18667 (RTLD_PROGNAME): New macro.
18668 * elf/tst-null-argv.c: New test case.
18669 * elf/tst-null-argv-lib.c: Library for test case.
18670 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18671 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18672 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18673 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18674 * elf/dl-init.c (call_init): Likewise.
18675 (_dl_init): Likewise.
18676 * elf/dl-load.c (print_search_path): Likewise.
18677 (_dl_map_object): Likewise.
18678 * elf/dl-lookup.c (do_lookup_x): Likewise.
18679 (add_dependency): Likewise.
18680 (_dl_lookup_symbol_x): Likewise.
18681 (_dl_debug_bindings): Likewise.
18682 * elf/dl-open.c (_dl_show_scope): Likewise.
18683 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18684 * elf/dl-version.c (match_symbol): Likewise.
18685 (_dl_check_map_versions): Likewise.
18686 * elf/rtld.c (dl_main): Likewise.
18687 (print_unresolved): Use RTLD_PROGNAME.
18688 (print_missing_version): Likewise.
18689 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18690 (elf_machine_rela): Likewise.
18691 * sysdeps/powerpc/powerpc32/dl-machine.c
18692 (__process_machine_rela): Likewise.
18693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18695 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18697 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18699 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18700 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18706 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18708 * po/be.po: Add descriptive title.
18709 * po/zh_CN.po: Likewise.
18710 * po/header.pot: Likewise.
18712 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18714 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18716 (enlarge_archive): Likewise.
18718 2013-05-28 Ben North <ben@redfrontdoor.org>
18720 * manual/arith.texi (frexp): It is the magnitude of the return
18721 value which lies in [0.5, 1), not the return value itself.
18723 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18727 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18729 * stdio-common/bug26.c (main): Correct fscanf template.
18731 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18732 declare _dl_skip_args.
18734 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18737 * manual/platform.texi: Add missing @end deftypefun.
18739 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18742 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18743 bit of mantissa of 2^16382.
18744 * math/libm-test.inc (hypot_test_data): Add more tests.
18746 * math/libm-test.inc: Add drem and pow10 to list of tested
18748 (pow10_test): New function.
18749 (drem_test): Likewise.
18750 (drem_test_tonearest): Likewise.
18751 (drem_test_towardzero): Likewise.
18752 (drem_test_downward): Likewise.
18753 (drem_test_upward): Likewise.
18754 (main): Call the new functions.
18756 * math/libm-test.inc (finite_test_data): Remove.
18757 (finite_test): Run tests from isfinite_test_data.
18758 (gamma_test_data): Remove.
18759 (gamma_test): Run tests from lgamma_test_data.
18760 * sysdeps/i386/fpu/libm-test-ulps: Update.
18761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18763 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18765 * manual/platform.texi: Add PowerPC PPR function set documentation.
18766 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18769 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18771 * math/libm-test.inc (MAX_EXP): Define.
18773 (ulp): New function.
18774 (check_float_internal): Use ULPDIFF.
18775 (cpow_test): Disable failing test.
18776 (check_ulp): Test ulp() implemetnation.
18777 (main): Call check_ulp before starting tests.
18779 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18781 * math/gen-libm-test.pl (generate_testfile): Do not handle
18782 START_DATA and END_DATA.
18783 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18785 (acos_tonearest_test_data): Likewise.
18786 (acos_towardzero_test_data): Likewise.
18787 (acos_downward_test_data): Likewise.
18788 (acos_upward_test_data): Likewise.
18789 (acosh_test_data): Likewise.
18790 (asin_test_data): Likewise.
18791 (asin_tonearest_test_data): Likewise.
18792 (asin_towardzero_test_data): Likewise.
18793 (asin_downward_test_data): Likewise.
18794 (asin_upward_test_data): Likewise.
18795 (asinh_test_data): Likewise.
18796 (atan_test_data): Likewise.
18797 (atanh_test_data): Likewise.
18798 (atan2_test_data): Likewise.
18799 (cabs_test_data): Likewise.
18800 (cacos_test_data): Likewise.
18801 (cacosh_test_data): Likewise.
18802 (carg_test_data): Likewise.
18803 (casin_test_data): Likewise.
18804 (casinh_test_data): Likewise.
18805 (catan_test_data): Likewise.
18806 (catanh_test_data): Likewise.
18807 (cbrt_test_data): Likewise.
18808 (ccos_test_data): Likewise.
18809 (ccosh_test_data): Likewise.
18810 (ceil_test_data): Likewise.
18811 (cexp_test_data): Likewise.
18812 (cimag_test_data): Likewise.
18813 (clog_test_data): Likewise.
18814 (clog10_test_data): Likewise.
18815 (conj_test_data): Likewise.
18816 (copysign_test_data): Likewise.
18817 (cos_test_data): Likewise.
18818 (cos_tonearest_test_data): Likewise.
18819 (cos_towardzero_test_data): Likewise.
18820 (cos_downward_test_data): Likewise.
18821 (cos_upward_test_data): Likewise.
18822 (cosh_test_data): Likewise.
18823 (cosh_tonearest_test_data): Likewise.
18824 (cosh_towardzero_test_data): Likewise.
18825 (cosh_downward_test_data): Likewise.
18826 (cosh_upward_test_data): Likewise.
18827 (cpow_test_data): Likewise.
18828 (cproj_test_data): Likewise.
18829 (creal_test_data): Likewise.
18830 (csin_test_data): Likewise.
18831 (csinh_test_data): Likewise.
18832 (csqrt_test_data): Likewise.
18833 (ctan_test_data): Likewise.
18834 (ctan_tonearest_test_data): Likewise.
18835 (ctan_towardzero_test_data): Likewise.
18836 (ctan_downward_test_data): Likewise.
18837 (ctan_upward_test_data): Likewise.
18838 (ctanh_test_data): Likewise.
18839 (ctanh_tonearest_test_data): Likewise.
18840 (ctanh_towardzero_test_data): Likewise.
18841 (ctanh_downward_test_data): Likewise.
18842 (ctanh_upward_test_data): Likewise.
18843 (erf_test_data): Likewise.
18844 (erfc_test_data): Likewise.
18845 (exp_test_data): Likewise.
18846 (exp_tonearest_test_data): Likewise.
18847 (exp_towardzero_test_data): Likewise.
18848 (exp_downward_test_data): Likewise.
18849 (exp_upward_test_data): Likewise.
18850 (exp10_test_data): Likewise.
18851 (exp2_test_data): Likewise.
18852 (expm1_test_data): Likewise.
18853 (fabs_test_data): Likewise.
18854 (fdim_test_data): Likewise.
18855 (finite_test_data): Likewise.
18856 (floor_test_data): Likewise.
18857 (fma_test_data): Likewise.
18858 (fma_towardzero_test_data): Likewise.
18859 (fma_downward_test_data): Likewise.
18860 (fma_upward_test_data): Likewise.
18861 (fmax_test_data): Likewise.
18862 (fmin_test_data): Likewise.
18863 (fmod_test_data): Likewise.
18864 (fpclassify_test_data): Likewise.
18865 (frexp_test_data): Likewise.
18866 (gamma_test_data): Likewise.
18867 (hypot_test_data): Likewise.
18868 (ilogb_test_data): Likewise.
18869 (isfinite_test_data): Likewise.
18870 (isgreater_test_data): Likewise.
18871 (isgreaterequal_test_data): Likewise.
18872 (isinf_test_data): Likewise.
18873 (isless_test_data): Likewise.
18874 (islessequal_test_data): Likewise.
18875 (islessgreater_test_data): Likewise.
18876 (isnan_test_data): Likewise.
18877 (isnormal_test_data): Likewise.
18878 (issignaling_test_data): Likewise.
18879 (isunordered_test_data): Likewise.
18880 (j0_test_data): Likewise.
18881 (j1_test_data): Likewise.
18882 (jn_test_data): Likewise.
18883 (ldexp_test_data): Likewise.
18884 (lgamma_test_data): Likewise.
18885 (lrint_test_data): Likewise.
18886 (lrint_tonearest_test_data): Likewise.
18887 (lrint_towardzero_test_data): Likewise.
18888 (lrint_downward_test_data): Likewise.
18889 (lrint_upward_test_data): Likewise.
18890 (llrint_test_data): Likewise.
18891 (llrint_tonearest_test_data): Likewise.
18892 (llrint_towardzero_test_data): Likewise.
18893 (llrint_downward_test_data): Likewise.
18894 (llrint_upward_test_data): Likewise.
18895 (log_test_data): Likewise.
18896 (log10_test_data): Likewise.
18897 (log1p_test_data): Likewise.
18898 (log2_test_data): Likewise.
18899 (logb_test_data): Likewise.
18900 (logb_downward_test_data): Likewise.
18901 (lround_test_data): Likewise.
18902 (llround_test_data): Likewise.
18903 (modf_test_data): Likewise.
18904 (nearbyint_test_data): Likewise.
18905 (nextafter_test_data): Likewise.
18906 (nexttoward_test_data): Likewise.
18907 (pow_test_data): Likewise.
18908 (pow_tonearest_test_data): Likewise.
18909 (pow_towardzero_test_data): Likewise.
18910 (pow_downward_test_data): Likewise.
18911 (pow_upward_test_data): Likewise.
18912 (remainder_test_data): Likewise.
18913 (remainder_tonearest_test_data): Likewise.
18914 (remainder_towardzero_test_data): Likewise.
18915 (remainder_downward_test_data): Likewise.
18916 (remainder_upward_test_data): Likewise.
18917 (remquo_test_data): Likewise.
18918 (rint_test_data): Likewise.
18919 (rint_tonearest_test_data): Likewise.
18920 (rint_towardzero_test_data): Likewise.
18921 (rint_downward_test_data): Likewise.
18922 (rint_upward_test_data): Likewise.
18923 (round_test_data): Likewise.
18924 (scalb_test_data): Likewise.
18925 (scalbn_test_data): Likewise.
18926 (scalbln_test_data): Likewise.
18927 (signbit_test_data): Likewise.
18928 (sin_test_data): Likewise.
18929 (sin_tonearest_test_data): Likewise.
18930 (sin_towardzero_test_data): Likewise.
18931 (sin_downward_test_data): Likewise.
18932 (sin_upward_test_data): Likewise.
18933 (sincos_test_data): Likewise.
18934 (sinh_test_data): Likewise.
18935 (sinh_tonearest_test_data): Likewise.
18936 (sinh_towardzero_test_data): Likewise.
18937 (sinh_downward_test_data): Likewise.
18938 (sinh_upward_test_data): Likewise.
18939 (sqrt_test_data): Likewise.
18940 (tan_test_data): Likewise.
18941 (tan_tonearest_test_data): Likewise.
18942 (tan_towardzero_test_data): Likewise.
18943 (tan_downward_test_data): Likewise.
18944 (tan_upward_test_data): Likewise.
18945 (tanh_test_data): Likewise.
18946 (tgamma_test_data): Likewise.
18947 (trunc_test_data): Likewise.
18948 (y0_test_data): Likewise.
18949 (y1_test_data): Likewise.
18950 (yn_test_data): Likewise.
18951 (significand_test_data): Likewise.
18953 * math/gen-libm-test.pl (@functions): Remove variable.
18954 (generate_testfile): Don't handle START and END lines.
18955 * math/libm-test.inc (START): New macro.
18957 (END_COMPLEX): Likewise.
18958 (acos_test): Use END macro without arguments.
18959 (acos_test_tonearest): Likewise.
18960 (acos_test_towardzero): Likewise.
18961 (acos_test_downward): Likewise.
18962 (acos_test_upward): Likewise.
18963 (acosh_test): Likewise.
18964 (asin_test): Likewise.
18965 (asin_test_tonearest): Likewise.
18966 (asin_test_towardzero): Likewise.
18967 (asin_test_downward): Likewise.
18968 (asin_test_upward): Likewise.
18969 (asinh_test): Likewise.
18970 (atan_test): Likewise.
18971 (atanh_test): Likewise.
18972 (atan2_test): Likewise.
18973 (cabs_test): Likewise.
18974 (cacos_test): Use END_COMPLEX macro without arguments.
18975 (cacosh_test): Likewise.
18976 (carg_test): Use END macro without arguments.
18977 (casin_test): Use END_COMPLEX macro without arguments.
18978 (casinh_test): Likewise.
18979 (catan_test): Likewise.
18980 (catanh_test): Likewise.
18981 (cbrt_test): Use END macro without arguments.
18982 (ccos_test): Use END_COMPLEX macro without arguments.
18983 (ccosh_test): Likewise.
18984 (ceil_test): Use END macro without arguments.
18985 (cexp_test): Use END_COMPLEX macro without arguments.
18986 (cimag_test): Use END macro without arguments.
18987 (clog_test): Use END_COMPLEX macro without arguments.
18988 (clog10_test): Likewise.
18989 (conj_test): Likewise.
18990 (copysign_test): Use END macro without arguments.
18991 (cos_test): Likewise.
18992 (cos_test_tonearest): Likewise.
18993 (cos_test_towardzero): Likewise.
18994 (cos_test_downward): Likewise.
18995 (cos_test_upward): Likewise.
18996 (cosh_test): Likewise.
18997 (cosh_test_tonearest): Likewise.
18998 (cosh_test_towardzero): Likewise.
18999 (cosh_test_downward): Likewise.
19000 (cosh_test_upward): Likewise.
19001 (cpow_test): Use END_COMPLEX macro without arguments.
19002 (cproj_test): Likewise.
19003 (creal_test): Use END macro without arguments.
19004 (csin_test): Use END_COMPLEX macro without arguments.
19005 (csinh_test): Likewise.
19006 (csqrt_test): Likewise.
19007 (ctan_test): Likewise.
19008 (ctan_test_tonearest): Likewise.
19009 (ctan_test_towardzero): Likewise.
19010 (ctan_test_downward): Likewise.
19011 (ctan_test_upward): Likewise.
19012 (ctanh_test): Likewise.
19013 (ctanh_test_tonearest): Likewise.
19014 (ctanh_test_towardzero): Likewise.
19015 (ctanh_test_downward): Likewise.
19016 (ctanh_test_upward): Likewise.
19017 (erf_test): Use END macro without arguments.
19018 (erfc_test): Likewise.
19019 (exp_test): Likewise.
19020 (exp_test_tonearest): Likewise.
19021 (exp_test_towardzero): Likewise.
19022 (exp_test_downward): Likewise.
19023 (exp_test_upward): Likewise.
19024 (exp10_test): Likewise.
19025 (exp2_test): Likewise.
19026 (expm1_test): Likewise.
19027 (fabs_test): Likewise.
19028 (fdim_test): Likewise.
19029 (finite_test): Likewise.
19030 (floor_test): Likewise.
19031 (fma_test): Likewise.
19032 (fma_test_towardzero): Likewise.
19033 (fma_test_downward): Likewise.
19034 (fma_test_upward): Likewise.
19035 (fmax_test): Likewise.
19036 (fmin_test): Likewise.
19037 (fmod_test): Likewise.
19038 (fpclassify_test): Likewise.
19039 (frexp_test): Likewise.
19040 (gamma_test): Likewise.
19041 (hypot_test): Likewise.
19042 (ilogb_test): Likewise.
19043 (isfinite_test): Likewise.
19044 (isgreater_test): Likewise.
19045 (isgreaterequal_test): Likewise.
19046 (isinf_test): Likewise.
19047 (isless_test): Likewise.
19048 (islessequal_test): Likewise.
19049 (islessgreater_test): Likewise.
19050 (isnan_test): Likewise.
19051 (isnormal_test): Likewise.
19052 (issignaling_test): Likewise.
19053 (isunordered_test): Likewise.
19054 (j0_test): Likewise.
19055 (j1_test): Likewise.
19056 (jn_test): Likewise.
19057 (ldexp_test): Likewise.
19058 (lgamma_test): Likewise.
19059 (lrint_test): Likewise.
19060 (lrint_test_tonearest): Likewise.
19061 (lrint_test_towardzero): Likewise.
19062 (lrint_test_downward): Likewise.
19063 (lrint_test_upward): Likewise.
19064 (llrint_test): Likewise.
19065 (llrint_test_tonearest): Likewise.
19066 (llrint_test_towardzero): Likewise.
19067 (llrint_test_downward): Likewise.
19068 (llrint_test_upward): Likewise.
19069 (log_test): Likewise.
19070 (log10_test): Likewise.
19071 (log1p_test): Likewise.
19072 (log2_test): Likewise.
19073 (logb_test): Likewise.
19074 (logb_test_downward): Likewise.
19075 (lround_test): Likewise.
19076 (llround_test): Likewise.
19077 (modf_test): Likewise.
19078 (nearbyint_test): Likewise.
19079 (nextafter_test): Likewise.
19080 (nexttoward_test): Likewise.
19081 (pow_test): Likewise.
19082 (pow_test_tonearest): Likewise.
19083 (pow_test_towardzero): Likewise.
19084 (pow_test_downward): Likewise.
19085 (pow_test_upward): Likewise.
19086 (remainder_test): Likewise.
19087 (remainder_test_tonearest): Likewise.
19088 (remainder_test_towardzero): Likewise.
19089 (remainder_test_downward): Likewise.
19090 (remainder_test_upward): Likewise.
19091 (remquo_test): Likewise.
19092 (rint_test): Likewise.
19093 (rint_test_tonearest): Likewise.
19094 (rint_test_towardzero): Likewise.
19095 (rint_test_downward): Likewise.
19096 (rint_test_upward): Likewise.
19097 (round_test): Likewise.
19098 (scalb_test): Likewise.
19099 (scalbn_test): Likewise.
19100 (scalbln_test): Likewise.
19101 (signbit_test): Likewise.
19102 (sin_test): Likewise.
19103 (sin_test_tonearest): Likewise.
19104 (sin_test_towardzero): Likewise.
19105 (sin_test_downward): Likewise.
19106 (sin_test_upward): Likewise.
19107 (sincos_test): Likewise.
19108 (sinh_test): Likewise.
19109 (sinh_test_tonearest): Likewise.
19110 (sinh_test_towardzero): Likewise.
19111 (sinh_test_downward): Likewise.
19112 (sinh_test_upward): Likewise.
19113 (sqrt_test): Likewise.
19114 (tan_test): Likewise.
19115 (tan_test_tonearest): Likewise.
19116 (tan_test_towardzero): Likewise.
19117 (tan_test_downward): Likewise.
19118 (tan_test_upward): Likewise.
19119 (tanh_test): Likewise.
19120 (tgamma_test): Likewise.
19121 (trunc_test): Likewise.
19122 (y0_test): Likewise.
19123 (y1_test): Likewise.
19124 (yn_test): Likewise.
19125 (significand_test): Likewise.
19127 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19130 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19132 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19135 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19136 __ppc_mdoio and __ppc_mdoom.
19137 * manual/platform.texi: Document new functions __ppc_yield,
19138 __ppc_mdoio and __ppc_mdoom.
19140 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19142 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19143 (main): Mention "tls" pseudo-hwcap is legacy.
19144 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19146 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19148 * math/gen-libm-test.pl (parse_args): Output only string of
19149 arguments as text for test name, not full call or descriptions of
19150 tests for extra outputs.
19151 (generate_testfile): Do not pass function name to parse_args.
19152 Generate this_func variable from START.
19153 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19155 (struct test_ff_f_data): Likewise.
19156 (test_ff_f_data_nexttoward): Likewise.
19157 (struct test_fi_f_data): Likewise.
19158 (struct test_fl_f_data): Likewise.
19159 (struct test_if_f_data): Likewise.
19160 (struct test_fff_f_data): Likewise.
19161 (struct test_c_f_data): Likewise.
19162 (struct test_f_f1_data): Likewise. Remove field extra_name.
19163 (struct test_fF_f1_data): Likewise.
19164 (struct test_ffI_f1_data): Likewise.
19165 (struct test_c_c_data): Rename test_name field to arg_str.
19166 (struct test_cc_c_data): Likewise.
19167 (struct test_f_i_data): Likewise.
19168 (struct test_ff_i_data): Likewise.
19169 (struct test_f_l_data): Likewise.
19170 (struct test_f_L_data): Likewise.
19171 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19173 (COMMON_TEST_SETUP): New macro.
19174 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19175 (COMMON_TEST_CLEANUP): Likewise.
19176 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19177 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19179 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19180 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19182 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19183 (RUN_TEST_fff_f): Take argument string. Call new setup and
19185 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19186 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19188 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19189 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19191 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19192 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19194 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19195 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19197 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19198 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19200 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19201 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19203 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19204 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19206 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19207 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19209 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19210 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19212 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19213 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19215 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19216 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19218 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19219 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19221 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19222 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19224 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19225 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19227 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19228 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19230 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19232 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19234 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19235 to _sifields.sigfault.
19236 (si_addr_lsb): Define new macro.
19237 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19239 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19241 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19244 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19246 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19248 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19249 loading the domain.
19251 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19253 * math/gen-libm-test.pl (parse_args): Do not include expected
19254 result in test name.
19255 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19256 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19257 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19258 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19259 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19262 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19264 * benchtests/Makefile: Sort function entries.
19266 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19267 tanh, asinh, acosh, atanh.
19268 * benchtests/acos-inputs: New file.
19269 * benchtests/acosh-inputs: New file.
19270 * benchtests/asin-inputs: New file.
19271 * benchtests/asinh-inputs: New file.
19272 * benchtests/atanh-inputs: New file.
19273 * benchtests/cosh-inputs: New file.
19274 * benchtests/log-inputs: New file.
19275 * benchtests/sinh-inputs: New file.
19276 * benchtests/tanh-inputs: New file.
19278 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19281 * posix/tst-getaddrinfo4.c: New test.
19282 * posix/Makefile (tests): Add it.
19284 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19287 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19288 when no services were used.
19289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19290 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19292 2013-05-21 Andreas Schwab <schwab@suse.de>
19295 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19296 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19298 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19299 redundant variable declarations and reallocation of buffer when
19300 parsing as IPv6 address. Always set NSS status when called from
19301 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19302 buffer too small. Correct computation of needed size.
19303 * nss/Makefile (tests): Add test-digits-dots.
19304 * nss/test-digits-dots.c: New test.
19306 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19308 * benchtests/Makefile: Remove instructions for adding
19310 * benchtests/README: New file to explain how to execute and
19311 enhance the benchmark tests.
19313 2013-05-21 Andreas Schwab <schwab@suse.de>
19316 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19317 * setjmp/tst-sigsetjmp.c: New test.
19319 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19321 * sysdeps/x86_64/memset.S (memset): New implementation.
19322 (__bzero): Likewise.
19323 (__memset_tail): New function.
19325 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19327 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19328 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19329 __memcpy_sse2_unaligned ifunc selection.
19330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19331 Add memcpy-sse2-unaligned.S.
19332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19333 Add: __memcpy_sse2_unaligned.
19335 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19338 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19339 math_force_eval before restoring floating-point envrionment.
19340 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19341 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19343 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19345 (__nearbyintl): Use math_force_eval before restoring
19346 floating-point environment.
19347 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19349 * math/gen-libm-test.pl (special_functions): Remove.
19350 (parse_args): Don't handle TEST_extra. Handle functions with no
19352 * math/libm-test.inc (struct test_sincos_data): Replace with
19353 struct test_fFF_11_data.
19354 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19355 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19356 (sincos_test_data): Change element type to struct
19357 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19358 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19359 RUN_TEST_LOOP_sincos.
19360 * math/README.libm-test: Don't mention special handling of
19361 individual functions.
19362 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19364 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19365 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19366 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19369 * math/gen-libm-test.pl (get_variable): Remove function.
19370 (parse_args): Don't show pointer parameters to call in test
19371 names. Use "extra output N" in test names for extra outputs
19372 rather than naming variables.
19374 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19377 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19378 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19379 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19381 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19383 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19386 * math/gen-libm-test.pl (@tests): Remove variable.
19387 ($count): Likewise.
19388 (new_test): Remove function.
19389 (show_exceptions): New function.
19390 (special_functions): Use show_exceptions instead of new_test.
19391 (parse_args): Likewise.
19392 (generate_testfile): Pass only function name in generated call to
19393 print_max_error or print_complex_max_error.
19394 (get_ulps): Do not handle complex tests specially.
19395 (output_test): Rename to ...
19396 (get_all_ulps_for_test): ... this. Return a string rather than
19397 printing to a file. Require ulps to be present.
19398 (output_ulps): Generate arrays rather than #defines.
19399 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19400 (struct ulp_data): New type.
19401 (BUILD_COMPLEX_ULP): Remove macro.
19402 (compare_ulp_data): New function.
19403 (find_ulps): Likewise.
19404 (find_test_ulps): Likewise.
19405 (find_function_ulps): Likewise.
19406 (find_complex_function_ulps): Likewise.
19407 (print_max_error): Determine allowed ulps using
19408 find_function_ulps.
19409 (print_complex_max_error): Determine allowed ulps using
19410 find_complex_function_ulps.
19411 (check_float_internal): Determine max ulps using find_test_ulps.
19412 (check_float): Do not take max_ulp parameter. Update call to
19413 check_float_internal.
19414 (check_complex): Likewise.
19415 (check_int): Do not take max_ulp parameter.
19416 (check_long): Likewise.
19417 (check_bool): Likewise.
19418 (check_longlong): Likewise.
19419 (struct test_f_f_data): Remove max_ulp field.
19420 (struct test_ff_f_data): Likewise.
19421 (struct test_ff_f_data_nexttoward): Likewise.
19422 (struct test_fi_f_data): Likewise.
19423 (struct test_fl_f_data): Likewise.
19424 (struct test_if_f_data): Likewise.
19425 (struct test_fff_f_data): Likewise.
19426 (struct test_c_f_data): Likewise.
19427 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19428 (struct test_fF_f1_data): Likewise.
19429 (struct test_ffI_f1_data): Likewise.
19430 (struct test_c_c_data): Remove max_ulp field.
19431 (struct test_cc_c_data): Likewise.
19432 (struct test_f_i_data): Likewise.
19433 (struct test_ff_i_data): Likewise.
19434 (struct test_f_l_data): Likewise.
19435 (struct test_f_L_data): Likewise.
19436 (struct test_sincos_data): Likewise.
19437 (RUN_TEST_f_f): Do not handle ulps.
19438 (RUN_TEST_LOOP_f_f): Likewise.
19439 (RUN_TEST_2_f): Likewise.
19440 (RUN_TEST_LOOP_2_f): Likewise.
19441 (RUN_TEST_fff_f): Likewise.
19442 (RUN_TEST_LOOP_fff_f): Likewise.
19443 (RUN_TEST_c_f): Likewise.
19444 (RUN_TEST_LOOP_c_f): Likewise.
19445 (RUN_TEST_f_f1): Likewise.
19446 (RUN_TEST_LOOP_f_f1): Likewise.
19447 (RUN_TEST_fF_f1): Likewise.
19448 (RUN_TEST_LOOP_fF_f1): Likewise.
19449 (RUN_TEST_fI_f1): Likewise.
19450 (RUN_TEST_LOOP_fI_f1): Likewise.
19451 (RUN_TEST_ffI_f1): Likewise.
19452 (RUN_TEST_LOOP_ffI_f1): Likewise.
19453 (RUN_TEST_c_c): Likewise.
19454 (RUN_TEST_LOOP_c_c): Likewise.
19455 (RUN_TEST_cc_c): Likewise.
19456 (RUN_TEST_LOOP_cc_c): Likewise.
19457 (RUN_TEST_f_i): Likewise.
19458 (RUN_TEST_LOOP_f_i): Likewise.
19459 (RUN_TEST_f_i_tg): Likewise.
19460 (RUN_TEST_LOOP_f_i_tg): Likewise.
19461 (RUN_TEST_ff_i_tg): Likewise.
19462 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19463 (RUN_TEST_f_b): Likewise.
19464 (RUN_TEST_LOOP_f_b): Likewise.
19465 (RUN_TEST_f_b_tg): Likewise.
19466 (RUN_TEST_LOOP_f_b_tg): Likewise.
19467 (RUN_TEST_f_l): Likewise.
19468 (RUN_TEST_LOOP_f_l): Likewise.
19469 (RUN_TEST_f_L): Likewise.
19470 (RUN_TEST_LOOP_f_L): Likewise.
19471 (RUN_TEST_sincos): Likewise.
19472 (RUN_TEST_LOOP_sincos): Likewise.
19474 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19478 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19479 main case of finite arguments, set rounding mode to FE_TONEAREST
19480 and discard exceptions.
19481 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19483 (remainder_tonearest_test_data): New variable.
19484 (remainder_test_tonearest): New function.
19485 (remainder_towardzero_test_data): New variable.
19486 (remainder_test_towardzero): New function.
19487 (remainder_downward_test_data): New variable.
19488 (remainder_test_downward): New function.
19489 (remainder_upward_test_data): New variable.
19490 (remainder_test_upward): New function.
19491 (main): Call the new test functions.
19493 * math/libm-test.inc (struct test_f_f1_data): Remove field
19495 (struct test_fF_f1_data): Likewise.
19496 (struct test_ffI_f1_data): Likewise.
19497 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19498 based on value of EXTRA_EXPECTED.
19499 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19500 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19501 EXTRA_VAR based on value of EXTRA_EXPECTED.
19502 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19503 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19504 EXTRA_VAR based on value of EXTRA_EXPECTED.
19505 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19506 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19507 EXTRA_VAR based on value of EXTRA_EXPECTED.
19508 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19509 * math/gen-libm-test.pl (parse_args): Don't output initializers
19510 for extra output values.
19512 * math/libm-test.inc (check_int): Expect result to be exactly
19513 equal to expected value and do not handle ulps.
19514 (check_long): Likewise.
19515 (check_longlong): Likewise.
19517 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19519 (cimag_test_data): Likewise.
19520 (conj_test_data): Likewise.
19521 (copysign_test_data): Likewise.
19522 (cproj_test_data): Likewise.
19523 (creal_test_data): Likewise.
19524 (fabs_test_data): Likewise.
19525 (fdim_test_data): Likewise.
19526 (finite_test_data): Likewise.
19527 (floor_test_data): Likewise.
19528 (fmax_test_data): Likewise.
19529 (fmin_test_data): Likewise.
19530 (fmod_test_data): Likewise.
19531 (fpclassify_test_data): Likewise.
19532 (frexp_test_data): Likewise.
19533 (ilogb_test_data): Likewise.
19534 (isfinite_test_data): Likewise.
19535 (isgreater_test_data): Likewise.
19536 (isgreaterequal_test_data): Likewise.
19537 (isinf_test_data): Likewise.
19538 (isless_test_data): Likewise.
19539 (islessequal_test_data): Likewise.
19540 (islessgreater_test_data): Likewise.
19541 (isnan_test_data): Likewise.
19542 (isnormal_test_data): Likewise.
19543 (issignaling_test_data): Likewise.
19544 (isunordered_test_data): Likewise.
19545 (ldexp_test_data): Likewise.
19546 (lrint_test_data): Likewise.
19547 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19548 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19549 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19550 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19551 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19552 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19554 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19555 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19556 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19557 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19559 (lrint_downward_test_data): Test for "inexact" exceptions.
19560 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19561 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19562 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19564 (lrint_upward_test_data): Test for "inexact" exceptions.
19565 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19567 (llrint_test_data): Test for "inexact" exceptions.
19568 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19569 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19570 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19571 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19572 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19573 (llrint_downward_test_data): Test for "inexact" exceptions.
19574 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19575 (llrint_upward_test_data): Test for "inexact" exceptions.
19576 (logb_test_data): Likewise.
19577 (logb_downward_test_data): Likewise.
19578 (nextafter_test_data): Likewise.
19579 (nexttoward_test_data): Likewise.
19580 (remainder_test_data): Likewise.
19581 (remquo_test_data): Likewise.
19582 (scalbn_test_data): Likewise.
19583 (scalbln_test_data): Likewise.
19584 (signbit_test_data): Likewise.
19585 (sqrt_test_data): Likewise.
19586 (significand_test_data): Likewise.
19588 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19591 * benchtests/bench-modf.c (struct args): Mark arg0 as
19593 * scripts/bench.pl: Mark members of struct args as volatile.
19595 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19598 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19599 negative infinity on POWER6 or lower.
19600 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19602 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19605 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19606 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19607 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19608 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19609 (_FP_SETQNAN): New macro.
19610 (_FP_SETQNAN_SEMIRAW): Likewise.
19611 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19612 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19613 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19614 (FP_EXTEND): Use _FP_FRAC_SNANP.
19615 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19616 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19618 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19620 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19623 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19625 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19626 with DIVIDE_BY_ZERO_EXCEPTION.
19627 (gamma_test_data): Likewise.
19628 (lgamma_test_data): Likewise.
19629 (log_test_data): Likewise.
19630 (log10_test_data): Likewise.
19631 (log2_test_data): Likewise.
19632 (tgamma_test_data): Likewise.
19634 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19635 (acos_test_tonearest): Likewise.
19636 (acos_test_towardzero): Likewise.
19637 (acos_test_downward): Likewise.
19638 (acos_test_upward): Likewise.
19639 (acosh_test): Likewise.
19640 (asin_test): Likewise.
19641 (asin_test_tonearest): Likewise.
19642 (asin_test_towardzero): Likewise.
19643 (asin_test_downward): Likewise.
19644 (asin_test_upward): Likewise.
19645 (asinh_test): Likewise.
19646 (atan_test): Likewise.
19647 (atanh_test): Likewise.
19648 (atan2_test): Likewise.
19649 (cabs_test): Likewise.
19650 (cacos_test): Likewise.
19651 (cacosh_test): Likewise.
19652 (casin_test): Likewise.
19653 (casinh_test): Likewise.
19654 (catan_test): Likewise.
19655 (catanh_test): Likewise.
19656 (cbrt_test): Likewise.
19657 (ccos_test): Likewise.
19658 (ccosh_test): Likewise.
19659 (cexp_test): Likewise.
19660 (clog_test): Likewise.
19661 (clog10_test): Likewise.
19662 (cos_test): Likewise.
19663 (cos_test_tonearest): Likewise.
19664 (cos_test_towardzero): Likewise.
19665 (cos_test_downward): Likewise.
19666 (cos_test_upward): Likewise.
19667 (cosh_test): Likewise.
19668 (cosh_test_tonearest): Likewise.
19669 (cosh_test_towardzero): Likewise.
19670 (cosh_test_downward): Likewise.
19671 (cosh_test_upward): Likewise.
19672 (cpow_test): Likewise.
19673 (csin_test): Likewise.
19674 (csinh_test): Likewise.
19675 (csqrt_test): Likewise.
19676 (ctan_test): Likewise.
19677 (ctan_test_tonearest): Likewise.
19678 (ctan_test_towardzero): Likewise.
19679 (ctan_test_downward): Likewise.
19680 (ctan_test_upward): Likewise.
19681 (ctanh_test): Likewise.
19682 (ctanh_test_tonearest): Likewise.
19683 (ctanh_test_towardzero): Likewise.
19684 (ctanh_test_downward): Likewise.
19685 (ctanh_test_upward): Likewise.
19686 (erf_test): Likewise.
19687 (erfc_test): Likewise.
19688 (exp_test): Likewise.
19689 (exp_test_tonearest): Likewise.
19690 (exp_test_towardzero): Likewise.
19691 (exp_test_downward): Likewise.
19692 (exp_test_upward): Likewise.
19693 (exp10_test): Likewise.
19694 (exp2_test): Likewise.
19695 (expm1_test): Likewise.
19696 (fmod_test): Likewise.
19697 (gamma_test): Likewise.
19698 (hypot_test): Likewise.
19699 (j0_test): Likewise.
19700 (j1_test): Likewise.
19701 (jn_test): Likewise.
19702 (lgamma_test): Likewise.
19703 (log_test): Likewise.
19704 (log10_test): Likewise.
19705 (log1p_test): Likewise.
19706 (log2_test): Likewise.
19707 (logb_test_downward): Likewise.
19708 (pow_test): Likewise.
19709 (pow_test_tonearest): Likewise.
19710 (pow_test_towardzero): Likewise.
19711 (pow_test_downward): Likewise.
19712 (pow_test_upward): Likewise.
19713 (remainder_test): Likewise.
19714 (remquo_test): Likewise.
19715 (sin_test): Likewise.
19716 (sin_test_tonearest): Likewise.
19717 (sin_test_towardzero): Likewise.
19718 (sin_test_downward): Likewise.
19719 (sin_test_upward): Likewise.
19720 (sincos_test): Likewise.
19721 (sinh_test): Likewise.
19722 (sinh_test_tonearest): Likewise.
19723 (sinh_test_towardzero): Likewise.
19724 (sinh_test_downward): Likewise.
19725 (sinh_test_upward): Likewise.
19726 (sqrt_test): Likewise.
19727 (tan_test): Likewise.
19728 (tan_test_tonearest): Likewise.
19729 (tan_test_towardzero): Likewise.
19730 (tan_test_downward): Likewise.
19731 (tan_test_upward): Likewise.
19732 (tanh_test): Likewise.
19733 (tgamma_test): Likewise.
19734 (y0_test): Likewise.
19735 (y1_test): Likewise.
19736 (yn_test): Likewise.
19738 * math/gen-libm-test.pl (adjust_arg): Remove function.
19739 (special_function): Remove argument $in_func. Only handle
19740 generating output for tables of tests, not inside functions.
19741 (parse_args): Likewise.
19742 (generate_testfile): Remove variable $in_func. Update call to
19744 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19745 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19746 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19747 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19748 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19749 (MAX_VALUE_INIT): Rename macro to max_value.
19750 (MIN_VALUE_INIT): Rename macro to min_value.
19751 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19752 (plus_zero): Remove variable.
19753 (minus_zero): Likewise.
19754 (plus_infty): Likewise.
19755 (minus_infty): Likewise.
19756 (qnan_value): Likewise.
19757 (max_value): Likewise.
19758 (min_value): Likewise.
19759 (min_subnorm_value): Likewise.
19761 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19763 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19764 uint64_t or uint32_t usage.
19765 * crypt/sha256-block.c: Likewise.
19766 * crypt/sha256-crypt.c: Likewise.
19767 * crypt/sha256.c: Likewise.
19768 * crypt/sha512-block.c: Likewise.
19769 * crypt/sha512-crypt.c: Likewise.
19770 * crypt/sha512.c: Likewise.
19771 * debug/backtrace-tst.c: Likewise.
19772 * debug/pcprofiledump.c: Likewise.
19773 * elf/cache.c: Likewise.
19774 * elf/dl-cache.c: Likewise.
19775 * elf/dl-misc.c: Likewise.
19776 * elf/dl-profile.c: Likewise.
19777 * elf/dl-support.c: Likewise.
19778 * elf/ldconfig.c: Likewise.
19779 * elf/sprof.c: Likewise.
19780 * iconv/dummy-repertoire.c: Likewise.
19781 * iconv/iconv_charmap.c: Likewise.
19782 * iconv/skeleton.c: Likewise.
19783 * iconvdata/8bit-generic.c: Likewise.
19784 * iconvdata/cp737.h: Likewise.
19785 * iconvdata/cp775.h: Likewise.
19786 * iconvdata/ibm1008.h: Likewise.
19787 * iconvdata/ibm1025.h: Likewise.
19788 * iconvdata/ibm1046.h: Likewise.
19789 * iconvdata/ibm1097.h: Likewise.
19790 * iconvdata/ibm1112.h: Likewise.
19791 * iconvdata/ibm1122.h: Likewise.
19792 * iconvdata/ibm1123.h: Likewise.
19793 * iconvdata/ibm1124.h: Likewise.
19794 * iconvdata/ibm1129.h: Likewise.
19795 * iconvdata/ibm1130.h: Likewise.
19796 * iconvdata/ibm1132.h: Likewise.
19797 * iconvdata/ibm1133.h: Likewise.
19798 * iconvdata/ibm1137.h: Likewise.
19799 * iconvdata/ibm1140.h: Likewise.
19800 * iconvdata/ibm1141.h: Likewise.
19801 * iconvdata/ibm1142.h: Likewise.
19802 * iconvdata/ibm1143.h: Likewise.
19803 * iconvdata/ibm1144.h: Likewise.
19804 * iconvdata/ibm1145.h: Likewise.
19805 * iconvdata/ibm1146.h: Likewise.
19806 * iconvdata/ibm1147.h: Likewise.
19807 * iconvdata/ibm1148.h: Likewise.
19808 * iconvdata/ibm1149.h: Likewise.
19809 * iconvdata/ibm1153.h: Likewise.
19810 * iconvdata/ibm1154.h: Likewise.
19811 * iconvdata/ibm1155.h: Likewise.
19812 * iconvdata/ibm1156.h: Likewise.
19813 * iconvdata/ibm1157.h: Likewise.
19814 * iconvdata/ibm1158.h: Likewise.
19815 * iconvdata/ibm1160.h: Likewise.
19816 * iconvdata/ibm1161.h: Likewise.
19817 * iconvdata/ibm1162.h: Likewise.
19818 * iconvdata/ibm1163.h: Likewise.
19819 * iconvdata/ibm1164.h: Likewise.
19820 * iconvdata/ibm1166.h: Likewise.
19821 * iconvdata/ibm1167.h: Likewise.
19822 * iconvdata/ibm12712.h: Likewise.
19823 * iconvdata/ibm1390.h: Likewise.
19824 * iconvdata/ibm1399.h: Likewise.
19825 * iconvdata/ibm16804.h: Likewise.
19826 * iconvdata/ibm4517.h: Likewise.
19827 * iconvdata/ibm4899.h: Likewise.
19828 * iconvdata/ibm4909.h: Likewise.
19829 * iconvdata/ibm4971.h: Likewise.
19830 * iconvdata/ibm5347.h: Likewise.
19831 * iconvdata/ibm803.h: Likewise.
19832 * iconvdata/ibm856.h: Likewise.
19833 * iconvdata/ibm901.h: Likewise.
19834 * iconvdata/ibm902.h: Likewise.
19835 * iconvdata/ibm9030.h: Likewise.
19836 * iconvdata/ibm9066.h: Likewise.
19837 * iconvdata/ibm921.h: Likewise.
19838 * iconvdata/ibm922.h: Likewise.
19839 * iconvdata/ibm9448.h: Likewise.
19840 * iconvdata/isiri-3342.h: Likewise.
19841 * iconvdata/jis0201.h: Likewise.
19842 * include/link.h: Likewise.
19843 * include/netdb.h: Likewise.
19844 * inet/check_native.c: Likewise.
19845 * inet/check_pf.c: Likewise.
19846 * inet/getipv4sourcefilter.c: Likewise.
19847 * inet/getnameinfo.c: Likewise.
19848 * inet/getsourcefilter.c: Likewise.
19849 * inet/htonl.c: Likewise.
19850 * inet/setipv4sourcefilter.c: Likewise.
19851 * inet/setsourcefilter.c: Likewise.
19852 * inet/test-inet6_opt.c: Likewise.
19853 * inet/tst-network.c: Likewise.
19854 * locale/C-collate.c: Likewise.
19855 * locale/C-ctype.c: Likewise.
19856 * locale/C-time.c: Likewise.
19857 * locale/C-translit.h: Likewise.
19858 * locale/loadarchive.c: Likewise.
19859 * locale/programs/3level.h: Likewise.
19860 * locale/programs/charmap.c: Likewise.
19861 * locale/programs/charmap.h: Likewise.
19862 * locale/programs/ld-address.c: Likewise.
19863 * locale/programs/ld-collate.c: Likewise.
19864 * locale/programs/ld-ctype.c: Likewise.
19865 * locale/programs/ld-identification.c: Likewise.
19866 * locale/programs/ld-measurement.c: Likewise.
19867 * locale/programs/ld-messages.c: Likewise.
19868 * locale/programs/ld-monetary.c: Likewise.
19869 * locale/programs/ld-name.c: Likewise.
19870 * locale/programs/ld-numeric.c: Likewise.
19871 * locale/programs/ld-paper.c: Likewise.
19872 * locale/programs/ld-telephone.c: Likewise.
19873 * locale/programs/ld-time.c: Likewise.
19874 * locale/programs/linereader.c: Likewise.
19875 * locale/programs/locale.c: Likewise.
19876 * locale/programs/locarchive.c: Likewise.
19877 * locale/programs/locfile.h: Likewise.
19878 * locale/programs/repertoire.c: Likewise.
19879 * locale/programs/simple-hash.c: Likewise.
19880 * locale/programs/simple-hash.h: Likewise.
19881 * malloc/memusage.c: Likewise.
19882 * malloc/memusagestat.c: Likewise.
19883 * nis/nis_defaults.c: Likewise.
19884 * nis/nis_hash.c: Likewise.
19885 * nis/nis_print.c: Likewise.
19886 * nis/nis_xdr.c: Likewise.
19887 * nscd/connections.c: Likewise.
19888 * nscd/hstcache.c: Likewise.
19889 * nscd/nscd_gethst_r.c: Likewise.
19890 * nscd/nscd_getserv_r.c: Likewise.
19891 * nscd/nscd_helper.c: Likewise.
19892 * nscd/servicescache.c: Likewise.
19893 * nss/makedb.c: Likewise.
19894 * nss/nss_db/db-XXX.c: Likewise.
19895 * nss/nss_db/db-initgroups.c: Likewise.
19896 * nss/nss_db/db-netgrp.c: Likewise.
19897 * nss/nss_files/files-network.c: Likewise.
19898 * nss/nss_files/files-parse.c: Likewise.
19899 * posix/bug-regex5.c: Likewise.
19900 * posix/fnmatch_loop.c: Likewise.
19901 * posix/regcomp.c: Likewise.
19902 * posix/regexec.c: Likewise.
19903 * posix/tst-rfc3484-2.c: Likewise.
19904 * posix/tst-rfc3484-3.c: Likewise.
19905 * posix/tst-rfc3484.c: Likewise.
19906 * resolv/nss_dns/dns-canon.c: Likewise.
19907 * resolv/nss_dns/dns-network.c: Likewise.
19908 * resolv/res_init.c: Likewise.
19909 * resolv/res_mkquery.c: Likewise.
19910 * resolv/tst-aton.c: Likewise.
19911 * stdlib/cxa_atexit.c: Likewise.
19912 * stdlib/cxa_finalize.c: Likewise.
19913 * stdlib/gen-fpioconst.c: Likewise.
19914 * stdlib/strtol_l.c: Likewise.
19915 * string/tst-endian.c: Likewise.
19916 * sunrpc/auth_des.c: Likewise.
19917 * sunrpc/clnt_udp.c: Likewise.
19918 * sunrpc/rtime.c: Likewise.
19919 * sunrpc/svcauth_des.c: Likewise.
19920 * sunrpc/xdr.c: Likewise.
19921 * sunrpc/xdr_intXX_t.c: Likewise.
19922 * sunrpc/xdr_rec.c: Likewise.
19923 * sysdeps/generic/ldconfig.h: Likewise.
19924 * sysdeps/generic/ldsodefs.h: Likewise.
19925 * sysdeps/generic/memusage.h: Likewise.
19926 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19927 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19928 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19929 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19930 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19932 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19933 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19934 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19936 * sysdeps/posix/getaddrinfo.c: Likewise.
19937 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19938 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19939 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19940 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19941 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19942 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19943 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19944 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19945 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19946 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19947 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19948 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19949 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19950 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19951 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19952 * sysdeps/x86_64/dl-tls.h: Likewise.
19953 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19954 * time/alt_digit.c: Likewise.
19955 * time/era.c: Likewise.
19956 * wcsmbs/tst-c16c32-1.c: Likewise.
19958 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19960 * math/libm-test.inc (struct test_sincos_data): New type.
19961 (RUN_TEST_LOOP_sincos): New macro.
19962 (sincos_test_data): New variable.
19963 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19965 2013-05-16 Richard Henderson <rth@redhat.com>
19967 * math/atest-exp2.c (LIMB64): New macro.
19968 (CONSTSZ): New macro.
19969 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19971 (print_mpn_fp): ... to function scope.
19972 (read_mpn_hex): Remove.
19973 (get_log2): Remove.
19974 (exp2_mpn): Use mp_log2.
19975 (main): Use mp_exp1.
19977 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19979 * math/libm-test.inc: Remove comment about not testing "inexact"
19981 (INEXACT_EXCEPTION): New macro.
19982 (NO_INEXACT_EXCEPTION): Likewise.
19983 (INVALID_EXCEPTION_OK): Update value.
19984 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19985 (OVERFLOW_EXCEPTION_OK): Likewise.
19986 (UNDERFLOW_EXCEPTION_OK): Likewise.
19987 (IGNORE_ZERO_INF_SIGN): Likewise.
19988 (ERRNO_UNCHANGED): Likewise.
19989 (ERRNO_EDOM): Likewise.
19990 (ERRNO_ERANGE): Likewise.
19991 (test_exceptions): Handle testing "inexact" exceptions.
19992 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19993 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19994 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19995 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19997 (rint_towardzero_test_data): Likewise.
19998 (rint_downward_test_data): Likewise.
19999 (rint_upward_test_data): Likewise.
20001 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20002 with OVERFLOW_EXCEPTION.
20003 (exp10_test_data): Likewise.
20004 (exp2_test_data): Likewise.
20005 (expm1_test_data): Likewise.
20006 (lgamma_test_data): Likewise.
20007 (pow_test_data): Likewise.
20008 (tgamma_test_data): Likewise.
20009 (yn_test_data): Remove duplicate test of overflow.
20011 * math/libm-test.inc (struct test_cc_c_data): New type.
20012 (RUN_TEST_LOOP_cc_c): New macro.
20013 (cpow_test_data): New variable.
20014 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20016 * math/libm-test.inc (struct test_f_L_data): New type.
20017 (RUN_TEST_LOOP_f_L): New macro.
20018 (llrint_test_data): New variable.
20019 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20020 (llrint_tonearest_test_data): New variable.
20021 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20022 (llrint_towardzero_test_data): New variable.
20023 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20024 (llrint_downward_test_data): New variable.
20025 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20026 (llrint_upward_test_data): New variable.
20027 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20028 (llround_test_data): New variable.
20029 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20031 2013-05-13 Peter Collingbourne <pcc@google.com>
20033 * math/atest-exp2.c (get_log2): Remove const attribute.
20035 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20037 * math/libm-test.inc (struct test_f_l_data): New type.
20038 (RUN_TEST_LOOP_f_l): New macro.
20039 (lrint_test_data): New variable.
20040 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20041 (lrint_tonearest_test_data): New variable.
20042 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20043 (lrint_towardzero_test_data): New variable.
20044 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20045 (lrint_downward_test_data): New variable.
20046 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20047 (lrint_upward_test_data): New variable.
20048 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20049 (lround_test_data): New variable.
20050 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20052 2013-05-15 Peter Collingbourne <pcc@google.com>
20054 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20055 (EXTRACT_WORDS64) Use where appropriate.
20056 (INSERT_WORDS64) Likewise.
20058 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20059 constraints with x constraints.
20060 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20062 * malloc/obstack.c (_obstack_compat): Add initializer.
20064 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20066 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20067 si_trapno and add si_addr_lsb to _sifields.sigfault.
20068 (si_trapno): Remove macro.
20069 (si_addr_lsb): Define new macro.
20070 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20072 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20074 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20075 instead of TEST_f_l.
20076 (llrint_test_tonearest): Likewise.
20077 (llrint_test_towardzero): Likewise.
20078 (llrint_test_downward): Likewise.
20079 (llrint_test_upward): Likewise.
20080 (llround_test): Likewise.
20082 * math/libm-test.inc (struct test_f_i_data): Add comment.
20083 (RUN_TEST_LOOP_f_b): New macro.
20084 (RUN_TEST_LOOP_f_b_tg): Likewise.
20085 (finite_test_data): New variable.
20086 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20087 (isfinite_test_data): New variable.
20088 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20089 (isinf_test_data): New variable.
20090 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20091 (isnan_test_data): New variable.
20092 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20093 (isnormal_test_data): New variable.
20094 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20095 (issignaling_test_data): New variable.
20096 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20097 (signbit_test_data): New variable.
20098 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20100 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20101 with INVALID_EXCEPTION.
20102 (acosh_test_data): Likewise.
20103 (asin_test_data): Likewise.
20104 (atanh_test_data): Likewise.
20105 (fmod_test_data): Likewise.
20106 (log_test_data): Likewise.
20107 (log10_test_data): Likewise.
20108 (log2_test_data): Likewise.
20109 (pow_test_data): Likewise.
20110 (sqrt_test_data): Likewise.
20111 (y0_test_data): Likewise.
20112 (y1_test_data): Likewise.
20113 (yn_test_data): Likewise.
20115 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20118 * math/libm-test.inc (struct test_ff_i_data): New type.
20119 (RUN_TEST_LOOP_ff_i_tg): New macro.
20120 (isgreater_test_data): New variable.
20121 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20122 (isgreaterequal_test_data): New variable.
20123 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20124 (isless_test_data): New variable.
20125 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20126 (islessequal_test_data): New variable.
20127 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20128 (islessgreater_test_data): New variable.
20129 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20130 (isunordered_test_data): New variable.
20131 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20133 2013-05-14 David S. Miller <davem@davemloft.net>
20135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20137 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20139 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20141 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20143 (struct test_f_i_data): Change type of max_ulp to int.
20145 * math/libm-test.inc (test_ffI_f1_data): New type.
20146 (RUN_TEST_LOOP_ffI_f1): New macro.
20147 (remquo_test_data): New variable.
20148 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20150 * setjmp/tst-setjmp-fp.c: New file.
20151 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20152 (link-libm): New variable.
20153 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20155 * math/libm-test.inc (struct test_f_i_data): New type.
20156 (RUN_TEST_LOOP_f_i): New macro.
20157 (RUN_TEST_LOOP_f_i_tg): Likewise.
20158 (fpclassify_test_data): New variable.
20159 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20160 (ilogb_test_data): New variable.
20161 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20163 * math/libm-test.inc (scalbln_test): Correct function name in END
20166 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20167 (RUN_TEST_LOOP_fI_f1): New macro.
20168 (frexp_test_data): New variable.
20169 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20171 * math/libm-test.inc (struct test_fF_f1_data): New type.
20172 (RUN_TEST_LOOP_fF_f1): New macro.
20173 (modf_test_data): New variable.
20174 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20176 * math/libm-test.inc (struct test_f_f1_data): New type.
20177 (RUN_TEST_LOOP_f_f1): New macro.
20178 (gamma_test_data): New variable.
20179 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20180 (lgamma_test_data): New variable.
20181 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20183 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20185 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20186 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20187 (main): Comment "tls" pseudo-hwcap.
20189 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20191 * math/libm-test.inc (struct test_fl_f_data): New type.
20192 (RUN_TEST_LOOP_fl_f): New variable.
20193 (scalbln_test_data): New variable.
20194 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20196 * math/libm-test.inc (struct test_fi_f_data): New type.
20197 (RUN_TEST_LOOP_fi_f): New macro.
20198 (ldexp_test_data): New variable.
20199 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20200 (scalbn_test_data): New variable.
20201 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20203 * math/libm-test.inc (struct test_c_f_data): New type.
20204 (RUN_TEST_LOOP_c_f): New macro.
20205 (cabs_test_data): New variable.
20206 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20207 (carg_test_data): New variable.
20208 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20209 (cimag_test_data): New variable.
20210 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20211 (creal_test_data): New variable.
20212 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20214 * math/libm-test.inc (struct test_if_f_data): New type.
20215 (RUN_TEST_LOOP_if_f): New macro.
20216 (jn_test_data): New variable.
20217 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20218 (yn_test_data): New variable.
20219 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20221 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20223 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20225 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20226 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20228 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20230 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20231 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20232 (bench-deps): Add bench-timing.h.
20233 * benchtests-bench-skeleton.c: Include bench-timing.h.
20234 (main): Use TIMING_* macros instead of clock_gettime.
20235 * benchtests/bench-timing.h: New file.
20238 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20239 Renamed from _LIB_VERSION.
20240 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20242 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20244 * math/libm-test.inc (struct test_fff_f_data): New type.
20245 (RUN_TEST_LOOP_fff_f): New macro.
20246 (fma_test_data): New variable.
20247 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20248 (fma_towardzero_test_data): New variable.
20249 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20250 (fma_downward_test_data): New variable.
20251 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20252 (fma_upward_test_data): New variable.
20253 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20255 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20256 (struct test_c_c_data): New type.
20257 (RUN_TEST_LOOP_c_c): New macro.
20258 (cacos_test_data): New variable.
20259 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20260 (cacosh_test_data): New variable.
20261 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20262 (casin_test_data): New variable.
20263 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20264 (casinh_test_data): New variable.
20265 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20266 (catan_test_data): New variable.
20267 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20268 (catanh_test_data): New variable.
20269 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20270 (ccos_test_data): New variable.
20271 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20272 (ccosh_test_data): New variable.
20273 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20274 (cexp_test_data): New variable.
20275 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20276 (clog_test_data): New variable.
20277 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20278 (clog10_test_data): New variable.
20279 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20280 (conj_test_data): New variable.
20281 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20282 (cproj_test_data): New variable.
20283 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20284 (csin_test_data): New variable.
20285 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20286 (csinh_test_data): New variable.
20287 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20288 (csqrt_test_data): New variable.
20289 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20290 (ctan_test_data): New variable.
20291 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20292 (ctan_tonearest_test_data): New variable.
20293 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20294 (ctan_towardzero_test_data): New variable.
20295 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20296 (ctan_downward_test_data): New variable.
20297 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20298 (ctan_upward_test_data): New variable.
20299 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20300 (ctanh_test_data): New variable.
20301 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20302 (ctanh_tonearest_test_data): New variable.
20303 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20304 (ctanh_towardzero_test_data): New variable.
20305 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20306 (ctanh_downward_test_data): New variable.
20307 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20308 (ctanh_upward_test_data): New variable.
20309 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20310 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20313 * math/libm-test.inc (struct test_ff_f_data): New type.
20314 (struct test_ff_f_data_nexttoward): Likewise.
20315 (RUN_TEST_LOOP_2_f): New macro.
20316 (RUN_TEST_LOOP_ff_f): Likewise.
20317 (atan2_test_data): New variable.
20318 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20319 (copysign_test_data): New variable.
20320 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20321 (fdim_test_data): New variable.
20322 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20323 (fmax_test_data): New variable.
20324 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20325 (fmin_test_data): New variable.
20326 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20327 (fmod_test_data): New variable.
20328 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20329 (hypot_test_data): New variable.
20330 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20331 (nextafter_test_data): New variable.
20332 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20333 (nexttoward_test_data): New variable.
20334 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20335 (pow_test_data): New variable.
20336 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20337 (pow_tonearest_test_data): New variable.
20338 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20339 (pow_towardzero_test_data): New variable.
20340 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20341 (pow_downward_test_data): New variable.
20342 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20343 (pow_upward_test_data): New variable.
20344 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20345 (remainder_test_data): New variable.
20346 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20347 (scalb_test_data): New variable.
20348 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20349 * sysdeps/i386/fpu/libm-test-ulps: Update.
20351 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20353 * math/libm-test.inc (fma_test): Use max_value instead of local
20355 (nextafter_test): Likewise.
20357 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20358 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20359 (acos_downward_test_data): New variable.
20360 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20361 (acos_upward_test_data): New variable.
20362 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20363 (acosh_test_data): New variable.
20364 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20365 (asin_test_data): New variable.
20366 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20367 (asin_tonearest_test_data): New variable.
20368 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20369 (asin_towardzero_test_data): New variable.
20370 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20371 (asin_downward_test_data): New variable.
20372 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20373 (asin_upward_test_data): New variable.
20374 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20375 (asinh_test_data): New variable.
20376 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20377 (atan_test_data): New variable.
20378 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20379 (atanh_test_data): New variable.
20380 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20381 (cbrt_test_data): New variable.
20382 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20383 (ceil_test_data): New variable.
20384 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20385 (cos_test_data): New variable.
20386 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20387 (cos_tonearest_test_data): New variable.
20388 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20389 (cos_towardzero_test_data): New variable.
20390 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20391 (cos_downward_test_data): New variable.
20392 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20393 (cos_upward_test_data): New variable.
20394 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20395 (cosh_test_data): New variable.
20396 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20397 (cosh_tonearest_test_data): New variable.
20398 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20399 (cosh_towardzero_test_data): New variable.
20400 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20401 (cosh_downward_test_data): New variable.
20402 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20403 (cosh_upward_test_data): New variable.
20404 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20405 (erf_test_data): New variable.
20406 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20407 (erfc_test_data): New variable.
20408 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20409 (exp_test_data): New variable.
20410 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20411 (exp_tonearest_test_data): New variable.
20412 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20413 (exp_towardzero_test_data): New variable.
20414 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20415 (exp_downward_test_data): New variable.
20416 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20417 (exp_upward_test_data): New variable.
20418 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20419 (exp10_test_data): New variable.
20420 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20421 (exp2_test_data): New variable.
20422 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20423 (expm1_test_data): New variable.
20424 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20425 (fabs_test_data): New variable.
20426 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20427 (floor_test_data): New variable.
20428 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20429 (j0_test_data): New variable.
20430 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20431 (j1_test_data): New variable.
20432 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20433 (log_test_data): New variable.
20434 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20435 (log10_test_data): New variable.
20436 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20437 (log1p_test_data): New variable.
20438 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20439 (log2_test_data): New variable.
20440 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20441 (logb_test_data): New variable.
20442 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20443 (logb_downward_test_data): New variable.
20444 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20445 (nearbyint_test_data): New variable.
20446 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20447 (rint_test_data): New variable.
20448 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20449 (rint_tonearest_test_data): New variable.
20450 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20451 (rint_towardzero_test_data): New variable.
20452 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20453 (rint_downward_test_data): New variable.
20454 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20455 (rint_upward_test_data): New variable.
20456 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20457 (round_test_data): New variable.
20458 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20459 (sin_test_data): New variable.
20460 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20461 (sin_tonearest_test_data): New variable.
20462 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20463 (sin_towardzero_test_data): New variable.
20464 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20465 (sin_downward_test_data): New variable.
20466 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20467 (sin_upward_test_data): New variable.
20468 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20469 (sinh_test_data): New variable.
20470 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20471 (sinh_tonearest_test_data): New variable.
20472 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20473 (sinh_towardzero_test_data): New variable.
20474 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20475 (sinh_downward_test_data): New variable.
20476 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20477 (sinh_upward_test_data): New variable.
20478 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20479 (sqrt_test_data): New variable.
20480 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20481 (tan_test_data): New variable.
20482 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20483 (tan_tonearest_test_data): New variable.
20484 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20485 (tan_towardzero_test_data): New variable.
20486 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20487 (tan_downward_test_data): New variable.
20488 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20489 (tan_upward_test_data): New variable.
20490 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20491 (tanh_test_data): New variable.
20492 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20493 (tgamma_test_data): New variable.
20494 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20495 (trunc_test_data): New variable.
20496 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20497 (y0_test_data): New variable.
20498 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20499 (y1_test_data): New variable.
20500 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20501 (significand_test_data): New variable.
20502 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20504 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20507 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20509 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20511 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20513 2013-05-10 Andreas Jaeger <aj@suse.de>
20516 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20517 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20519 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20521 * math/gen-libm-test.pl (adjust_arg): New function.
20522 (special_functions): Handle generating output in both functions
20524 (parse_args): Likewise.
20525 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20526 $in_func argument to parse_args.
20527 * math/libm-test.inc (struct test_f_f_data): New type.
20528 (IF_ROUND_INIT_): New macro.
20529 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20530 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20531 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20532 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20533 (ROUND_RESTORE_): Likewise.
20534 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20535 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20536 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20537 (ROUND_RESTORE_FE_UPWARD): Likewise.
20538 (RUN_TEST_LOOP_f_f): New macro.
20539 (acos_test_data): New variable.
20540 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20541 (acos_tonearest_test_data): New variable.
20542 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20544 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20546 * benchtests/bench-skeleton.c (startup): Fix coding style.
20548 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20551 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20552 negative infinity argument.
20553 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20554 negative infinity argument.
20555 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20556 negative infinity argument.
20557 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20560 2013-05-10 Florian Weimer <fweimer@redhat.com>
20562 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20563 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20564 * iconv/iconv_prog.c (main): Likewise.
20565 * locale/programs/charmap-dir.c (charmap_readdir)
20566 (fopen_uncompressed): Likewise.
20567 * locale/programs/locfile.c (siblings_uncached)
20568 (write_locale_data): Use lstat64 instead of lstat.
20569 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20572 2013-05-10 Andreas Jaeger <aj@suse.de>
20575 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20577 Include <locale.h>.
20579 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20581 * elf/dl-close.c (_dl_close_worker): Add comments.
20583 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20586 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20588 (__ieee754_rem_pio2l): Update comments.
20591 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20593 (__ieee754_rem_pio2l): Update comments.
20595 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20596 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20598 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20601 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20602 (M_PI_34_LOG10El): Likewise.
20603 (M_PI2_LOG10El): Likewise.
20604 (M_PI4_LOG10El): Likewise.
20605 (M_PI_LOG10El): Likewise.
20607 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20611 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20613 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20614 (MINUS_ZERO_INIT): Likewise.
20615 (PLUS_INFTY_INIT): Likewise.
20616 (MINUS_INFTY_INIT): Likewise.
20617 (QNAN_VALUE_INIT): Likewise.
20618 (MAX_VALUE_INIT): Likewise.
20619 (MIN_VALUE_INIT): Likewise.
20620 (MIN_SUBNORM_VALUE_INIT): Likewise.
20621 (plus_zero): Initialize with PLUS_ZERO_INIT.
20622 (minus_zero): Initialize with MINUS_ZERO_INIT.
20623 (plus_infty): Initialize with PLUS_INFTY_INIT.
20624 (minus_infty): Initialize with MINUS_INFTY_INIT.
20625 (qnan_value): Initialize with QNAN_VALUE_INIT.
20626 (max_value): Initialize with MAX_VALUE_INIT.
20627 (min_value): Initialize with MIN_VALUE_INIT.
20628 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20630 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20631 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20632 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20633 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20635 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20636 (RUN_TEST_2_f): Likewise.
20637 (RUN_TEST_ff_f): Likewise.
20638 (RUN_TEST_fi_f): Likewise.
20639 (RUN_TEST_fl_f): Likewise.
20640 (RUN_TEST_fff_f): Likewise.
20641 (RUN_TEST_c_f): Likewise.
20642 (RUN_TEST_f_f1): Likewise.
20643 (RUN_TEST_fF_f1): Likewise.
20644 (RUN_TEST_fI_f1): Likewise.
20645 (RUN_TEST_ffI_f1): Likewise.
20646 (RUN_TEST_c_c): Likewise.
20647 (RUN_TEST_cc_c): Likewise.
20648 (RUN_TEST_f_i): Likewise.
20649 (RUN_TEST_f_i_tg): Likewise.
20650 (RUN_TEST_ff_i_tg): Likewise.
20651 (RUN_TEST_f_b): Likewise.
20652 (RUN_TEST_f_b_tg): Likewise.
20653 (RUN_TEST_f_l): Likewise.
20654 (RUN_TEST_f_L): Likewise.
20655 (RUN_TEST_sincos): Likewise.
20656 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20657 whether to show exceptions. Do not include ");\n" in return
20659 (special_functions): Output call to RUN_TEST_sincos instead of
20660 check_float calls. Update calls to new_test.
20661 (parse_args): Output call to single RUN_TEST_* macro instead of
20662 check_* calls and other assignments. Update calls to new_test.
20668 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20669 input to result for tgamma overflow.
20670 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20671 (gamma_coeff): New variable.
20672 (NCOEFF): New macro.
20673 (gamma_positive): New function.
20674 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20675 underflow here. Use gamma_positive instead of exp (lgamma) for
20677 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20678 (gamma_coeff): New variable.
20679 (NCOEFF): New macro.
20680 (gammaf_positive): New function.
20681 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20682 underflow here. Use gamma_positive instead of exp (lgamma) for
20684 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20685 (gamma_coeff): New variable.
20686 (NCOEFF): New macro.
20687 (gammal_positive): New function.
20688 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20689 underflow here. Use gamma_positive instead of exp (lgamma) for
20691 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20692 (gamma_coeff): New variable.
20693 (NCOEFF): New macro.
20694 (gammal_positive): New function.
20695 (__ieee754_gammal_r): Handle positive infinity, overflow and
20696 underflow here. Handle NaN the same as positive infinity. Remove
20697 check x < 0xffffffff for negative integers. Use gamma_positive
20698 instead of exp (lgamma) for other arguments.
20699 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20700 (gamma_coeff): New variable.
20701 (NCOEFF): New macro.
20702 (gammal_positive): New function.
20703 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20704 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20705 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20706 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20707 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20708 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20709 * sysdeps/generic/math_private.h (__gamma_productf): New
20711 (__gamma_product): Likewise.
20712 (__gamma_productl): Likewise.
20713 * math/Makefile (libm-calls): Add gamma_product.
20714 * math/libm-test.inc (tgamma_test): Add more tests.
20715 * sysdeps/i386/fpu/libm-test-ulps: Update.
20716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20718 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20720 * benchtests/bench-skeleton.c (main): Preheat CPU.
20722 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20724 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20726 2013-05-07 Roland McGrath <roland@hack.frob.com>
20728 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20729 and _dl_skip_args_internal.
20731 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20733 * manual/message.texi (Message Translation): Talk about users.
20734 Message to key mapping impacts design.
20736 2013-05-06 Roland McGrath <roland@hack.frob.com>
20738 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20740 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20742 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20743 * sysdeps/wordsize-64/glob64.c: ... here.
20745 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20746 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20749 * debug/getlogin_r_chk.c: Moved to ...
20750 * login/getlogin_r_chk.c: ... here.
20751 * debug/Makefile (routines): Move getlogin_r_chk to ...
20752 * login/Makefile (routines): ... here.
20753 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20754 * login/Versions (libc: GLIBC_2.4): ... here.
20756 * io/poll.c (__poll): Renamed from poll.
20757 Add libc_hidden_def.
20758 (poll): Define as weak alias.
20760 * debug/ptsname_r_chk.c: Moved to ...
20761 * login/ptsname_r_chk.c: ... here.
20762 * debug/Makefile (routines): Move ptsname_r_chk to ...
20763 * login/Makefile (routines): ... here.
20764 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20765 * login/Versions (libc: GLIBC_2.4): ... here.
20767 * posix/getlogin.c: Moved to ...
20768 * login/getlogin.c: ... here.
20769 * posix/getlogin_r.c: Moved to ...
20770 * login/getlogin_r.c: ... here.
20771 * posix/getlogin_r.c: Moved to ...
20772 * login/getlogin_r.c: ... here.
20773 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20774 * login/Makefile (routines): ... here.
20775 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20776 * login/Versions (libc: GLIBC_2.0): ... here.
20778 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20779 (setrlimit): Define as weak alias.
20781 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20782 Call __ names for open, ftruncate, and close.
20783 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20784 (truncate): Define as weak alias.
20786 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20788 * math/gen-libm-test.pl (parse_args): Initialize x before each
20789 test of frexp, modf and remquo.
20791 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20792 test signgam value.
20794 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20798 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20800 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20802 2013-05-06 Roland McGrath <roland@hack.frob.com>
20804 * elf/dl-writev.h: New file.
20805 * elf/dl-misc.c: Include it.
20806 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20807 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20809 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20811 * math/libm-test.inc (noXFails): Remove variable.
20812 (noXPasses): Likewise.
20813 (BUILD_COMPLEX_INT): Remove macro.
20814 (print_screen): Remove xfail argument.
20815 (print_screen_max_error): Likewise.
20816 (update_stats): Likewise.
20817 (print_max_error): Likewise. Update calls to other affected
20819 (print_complex_max_error): Likewise.
20820 (test_single_exception): Update calls to print_screen.
20821 (test_single_errno): Likewise.
20822 (check_float_internal): Remove xfail argument. Update calls to
20823 other affected functions.
20824 (check_float): Likewise.
20825 (check_complex): Likewise.
20826 (check_int): Likewise.
20827 (check_long): Likewise.
20828 (check_bool): Likewise.
20829 (check_longlong): Likewise.
20830 (main): Don't print noXFails and noXPasses.
20831 * math/gen-libm-test.pl (top level): Don't mention expected
20832 failure handling in comment.
20833 (new_test): Don't handle expected failures.
20834 (parse_args): Don't mention expected failure handling in comment.
20835 (generate_testfile): Don't handle expected failures.
20836 (parse_ulps): Likewise.
20837 (print_ulps_file): Likewise.
20838 (get_failure): Remove function.
20839 (output_test): Don't handle expected failures.
20840 * make/README.libm-test: Don't mention expected failure handling.
20842 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20843 (minus_zero): Likewise.
20844 (plus_infty): Likewise.
20845 (minus_infty): Likewise.
20846 (qnan_value): Likewise.
20847 (max_value): Likewise.
20848 (min_value): Likewise.
20849 (min_subnorm_value): Likewise.
20850 (initialize): Do not initialize those variables dynamically.
20852 2013-05-03 Roland McGrath <roland@hack.frob.com>
20854 * io/open.c (__open_2): Moved to ...
20855 * io/open_2.c: ... this new file.
20856 * io/open64.c (__open64_2): Moved to ...
20857 * io/open64_2.c: ... this new file.
20858 * io/openat.c (__openat_2): Moved to ...
20859 * io/openat_2.c: ... this new file.
20860 * io/openat64.c (__openat64_2): Moved to ...
20861 * io/openat64_2.c: ... this new file.
20862 * io/Makefile (routines): Add them.
20863 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20864 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20865 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20866 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20867 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20868 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20869 (__openat64): Add hidden_ver.
20870 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20871 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20873 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20874 Separately conditionalize setting of GLRO(dl_sysinfo) so
20875 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20876 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20878 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20880 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20881 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20883 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20884 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20885 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20886 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20887 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20889 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20891 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20892 test signgam value.
20894 * math/libm-test.inc (hypot_test): Do not use
20895 IGNORE_ZERO_INF_SIGN.
20897 2013-05-03 Andreas Jaeger <aj@suse.de>
20899 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20901 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20902 (PF_MAX): Adjust for VSOCK change.
20904 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20908 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20911 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20912 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20913 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20915 2013-05-02 David S. Miller <davem@davemloft.net>
20917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20919 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20921 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20923 2013-05-01 Roland McGrath <roland@hack.frob.com>
20925 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20927 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20930 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20931 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20932 Use __attribute__ ((__gnu_inline__)).
20933 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20934 Don't use __attribute__ ((__gnu_inline__)).
20936 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20939 * math/s_catan.c (__catan): Handle small real or imaginary part of
20940 input specially to avoid spurious underflow.
20941 * math/s_catanf.c (__catanf): Likewise.
20942 * math/s_catanh.c (__catanh): Likewise.
20943 * math/s_catanhf.c (__catanhf): Likewise.
20944 * math/s_catanhl.c (__catanhl): Likewise.
20945 * math/s_catanl.c (__catanl): Likewise.
20946 * math/libm-test.inc (catan_test): Add more tests.
20947 (catanh_test): Likewise.
20948 * sysdeps/i386/fpu/libm-test-ulps: Update.
20949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20951 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20955 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20958 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20959 accurately for denominator in atan2.
20960 * math/s_catanf.c (__catanf): Likewise.
20961 * math/s_catanh.c (__catanh): Likewise.
20962 * math/s_catanhf.c (__catanhf): Likewise.
20963 * math/s_catanhl.c (__catanhl): Likewise.
20964 * math/s_catanl.c (__catanl): Likewise.
20965 * math/libm-test.inc (catan_test): Add more tests.
20966 (catanh_test): Likewise.
20967 * sysdeps/i386/fpu/libm-test-ulps: Update.
20968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20970 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20972 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20974 * benchtests/Makefile (bench): Remove slow benchmarks.
20975 * benchtests/atan-inputs: Add slow benchmark inputs.
20976 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20977 (BENCH_FUNC): Accept variant offset.
20979 * benchtests/bench-skeleton.c (main): Run benchmark for each
20981 * benchtests/cos-inputs: Add slow benchmark inputs.
20982 * benchtests/exp-inputs: Likewise.
20983 * benchtests/pow-inputs: Likewise.
20984 * benchtests/sin-inputs: Likewise.
20985 * benchtests/slowatan-inputs: Remove.
20986 * benchtests/slowatan.c: Remove.
20987 * benchtests/slowcos-inputs: Remove.
20988 * benchtests/slowcos.c: Remove.
20989 * benchtests/slowexp-inputs: Remove.
20990 * benchtests/slowexp.c: Remove.
20991 * benchtests/slowpow-inputs: Remove.
20992 * benchtests/slowpow.c: Remove.
20993 * benchtests/slowsin-inputs: Remove.
20994 * benchtests/slowsin.c: Remove.
20995 * benchtests/slowtan-inputs: Remove.
20996 * benchtests/slowtan.c: Remove.
20997 * benchtests/tan-inputs: Add slow benchmark inputs.
20998 * scripts/bench.pl: Parse comments and directives.
21000 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21002 ($(objpfx)bench-%.c): Remove *-ITER.
21003 * benchtests/bench-modf.c: Remove definition of ITER.
21004 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21005 (main): Loop for DURATION seconds instead of fixed number of
21007 * scripts/bench.pl: Don't expect iterations in parameters.
21009 2013-04-29 Roland McGrath <roland@hack.frob.com>
21011 * io/fchdir.c (__fchdir): Renamed from fchdir.
21012 (fchdir): Define as weak alias.
21014 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21016 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21017 (ERRNO_EDOM): Likewise.
21018 (ERRNO_ERANGE): Likewise.
21019 (noErrnoTests): New variable.
21020 (init_max_error): Set errno to 0.
21021 (test_single_errno): New function.
21022 (test_errno): Likewise.
21023 (check_float_internal): Call test_errno. Set errno to 0.
21024 (check_complex): Refer to errno tests in comment.
21025 (check_int): Call test_errno. Set errno to 0.
21026 (check_long): Likewise.
21027 (check_bool): Likewise.
21028 (check_longlong): Likewise.
21029 (cos_test): Use ERRNO_* flags for errno tests instead of
21031 (expm1_test): Likewise.
21032 (fmod_test): Likewise.
21033 (ilogb_test): Likewise.
21034 (lgamma_test): Likewise.
21035 (pow_test): Likewise.
21036 (remainder_test): Likewise.
21037 (sin_test): Likewise.
21038 (tan_test): Likewise.
21039 (yn_test): Likewise.
21040 (initialize): Set errno to 0.
21041 (main): Print number of errno tests.
21042 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21044 2013-04-29 Andreas Jaeger <aj@suse.de>
21047 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21051 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21052 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21056 * stdlib/random.c (__initstate): Return NULL if
21060 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21061 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21064 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21068 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21070 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21071 of individual tests.
21072 (casin_test): Likewise.
21073 (casinh_test): Likewise.
21075 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21078 * math/s_catan.c (__catan): Handle arguments with large real or
21079 imaginary part separately without squaring.
21080 * math/s_catanf.c (__catanf): Likewise.
21081 * math/s_catanh.c (__catanh): Likewise.
21082 * math/s_catanhf.c (__catanhf): Likewise.
21083 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21085 (__catanhl): Handle arguments with large real or imaginary part
21086 separately without squaring.
21087 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21089 (__catanl): Handle arguments with large real or imaginary part
21090 separately without squaring.
21091 * math/libm-test.inc (catan_test): Add more tests.
21092 (catanh_test): Likewise.
21093 * sysdeps/i386/fpu/libm-test-ulps: Update.
21094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21096 2013-04-27 Andreas Jaeger <aj@suse.de>
21099 * stdlib/stdlib.h: Update guards for qecvt.
21100 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21103 2013-04-27 Allan McRae <allan@archlinux.org>
21105 * sysdeps/i386/fpu/libm-test-ulps: Update.
21107 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21110 * math/s_catan.c: Include <float.h>.
21111 (__catan): Ensure underflow exception occurs for underflowed
21113 * math/s_catanf.c: Include <float.h>.
21114 (__catanf): Ensure underflow exception occurs for underflowed
21116 * math/s_catanh.c: Include <float.h>.
21117 (__catanh): Ensure underflow exception occurs for underflowed
21119 * math/s_catanhf.c: Include <float.h>.
21120 (__catanhf): Ensure underflow exception occurs for underflowed
21122 * math/s_catanhl.c: Include <float.h>.
21123 (__catanhl): Ensure underflow exception occurs for underflowed
21125 * math/s_catanl.c: Include <float.h>.
21126 (__catanl): Ensure underflow exception occurs for underflowed
21128 * math/libm-test.inc (catan_test): Add more tests.
21129 (catanh_test): Likewise.
21132 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21133 underflowed result.
21134 * math/s_ccoshf.c (__ccoshf): Likewise.
21135 * math/s_ccoshl.c (__ccoshl): Likewise.
21136 * math/s_csin.c (__csin): Likewise.
21137 * math/s_csinf.c (__csinf): Likewise.
21138 * math/s_csinh.c (__csinh): Likewise.
21139 * math/s_csinhf.c (__csinhf): Likewise.
21140 * math/s_csinhl.c (__csinhl): Likewise.
21141 * math/s_csinl.c (__csinl): Likewise.
21142 * math/libm-test.inc (ccos_test): Add more tests.
21143 (ccosh_test): Likewise.
21144 (csin_test): Likewise.
21145 (csinh_test): Likewise.
21147 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21149 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21150 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21151 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21152 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21153 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21154 powerpc/power5+/fpu folders.
21155 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21158 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21162 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21164 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21165 additions to variable.
21166 [$(config-machine) = x86_64] (modules-names): Likewise.
21167 ($(objpfx)tst-audit3): Remove dependency.
21168 ($(objpfx)tst-audit3.out): Likewise.
21169 ($(objpfx)tst-audit4): Likewise.
21170 ($(objpfx)tst-audit4.out): Likewise.
21171 ($(objpfx)tst-audit5): Likewise.
21172 ($(objpfx)tst-audit5.out): Likewise.
21173 ($(objpfx)tst-audit6): Likewise.
21174 ($(objpfx)tst-audit6.out): Likewise.
21175 ($(objpfx)tst-audit7): Likewise.
21176 ($(objpfx)tst-audit7.out): Likewise.
21177 (tst-audit3-ENV): Remove variable.
21178 (tst-audit4-ENV): Likewise.
21179 (tst-audit5-ENV): Likewise.
21180 (tst-audit6-ENV): Likewise.
21181 (tst-audit7-ENV): Likewise.
21182 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21183 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21184 addition to variable.
21185 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21186 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21187 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21188 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21189 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21190 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21191 tst-audit3, tst-audit4 and tst-audit5.
21192 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21193 tst-audit6 and tst-audit7.
21194 [$(subdir) = elf] (modules-names): Add audit modules for those
21196 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21197 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21198 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21199 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21200 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21201 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21202 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21203 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21204 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21205 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21206 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21207 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21208 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21209 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21210 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21211 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21213 [$(subdir) = elf && $(config-cflags-avx) = yes]
21214 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21215 [$(subdir) = elf && $(config-cflags-avx) = yes]
21216 (CFLAGS-tst-auditmod4a.c): Likewise.
21217 [$(subdir) = elf && $(config-cflags-avx) = yes]
21218 (CFLAGS-tst-auditmod4b.c): Likewise.
21219 [$(subdir) = elf && $(config-cflags-avx) = yes]
21220 (CFLAGS-tst-auditmod6b.c): Likewise.
21221 [$(subdir) = elf && $(config-cflags-avx) = yes]
21222 (CFLAGS-tst-auditmod6c.c): Likewise.
21223 [$(subdir) = elf && $(config-cflags-avx) = yes]
21224 (CFLAGS-tst-auditmod7b.c): Likewise.
21225 * elf/tst-audit3.c: Move to ...
21226 * sysdeps/x86_64/tst-audit3.c: ... here.
21227 * elf/tst-audit4.c: Move to ...
21228 * sysdeps/x86_64/tst-audit4.c: ... here.
21229 * elf/tst-audit5.c: Move to ...
21230 * sysdeps/x86_64/tst-audit5.c: ... here.
21231 * elf/tst-audit6.c: Move to ...
21232 * sysdeps/x86_64/tst-audit6.c: ... here.
21233 * elf/tst-audit7.c: Move to ...
21234 * sysdeps/x86_64/tst-audit7.c: ... here.
21235 * elf/tst-auditmod3a.c: Move to ...
21236 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21237 * elf/tst-auditmod3b.c: Move to ...
21238 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21239 * elf/tst-auditmod4a.c: Move to ...
21240 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21241 * elf/tst-auditmod4b.c: Move to ...
21242 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21243 * elf/tst-auditmod5a.c: Move to ...
21244 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21245 * elf/tst-auditmod5b.c: Move to ...
21246 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21247 * elf/tst-auditmod6a.c: Move to ...
21248 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21249 * elf/tst-auditmod6b.c: Move to ...
21250 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21251 * elf/tst-auditmod6c.c: Move to ...
21252 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21253 * elf/tst-auditmod7a.c: Move to ...
21254 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21255 * elf/tst-auditmod7b.c: Move to ...
21256 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21258 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21261 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21262 define unconditionally.
21263 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21264 define unconditionally.
21265 (INT8_C, INT16_C, etc.): Likewise.
21267 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21269 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21270 __ehdr_start with hidden visibility.
21272 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21274 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21276 * math/libm-test.inc (cos_test): Use accurate hex constants.
21277 (sincost_test): Likewise.
21279 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21281 * math/libm-test.inc (catan_test): Add more tests.
21282 (catanh_test): Likewise.
21284 * math/s_catanf.c (__catanf): Use suffixed floating-point
21286 * math/s_catanhf.c (__catanhf): Likewise.
21287 * math/s_catanhl.c (__catanhl): Likewise.
21288 * math/s_catanl.c (__catanl): Likewise.
21291 * math/s_catan.c (__catan): Calculate imaginary part of result
21292 with log1p not log unless computing log of number close to 0.
21293 * math/s_catanf.c (__catanf): Likewise.
21294 * math/s_catanl.c (__catanl): Likewise.
21295 * math/s_catanh.c (__catanh): Calculate real part of result with
21296 log1p not log unless computing log of number close to 0.
21297 * math/s_catanhf.c (__catanhf): Likewise.
21298 * math/s_catanhl.c (__catanhl): Likewise.
21299 * math/libm-test.inc (catan_test): Add more tests.
21300 (catanh_test): Likewise.
21301 * sysdeps/i386/fpu/libm-test-ulps: Update.
21302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21304 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21306 * benchtests/Makefile: Mention files in which fast and slow
21307 paths of math functions are implemented.
21309 2013-04-23 Roland McGrath <roland@hack.frob.com>
21311 * sysdeps/posix/timespec_get.c: New file.
21313 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21315 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21317 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21319 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21320 powerpc/power5/fpu folders.
21321 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21322 * benchtests/Makefile: Add modf testcase.
21323 * benchtests/bench-modf.c: New file: Benchmark test for mo
21325 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21328 * time/Makefile (tests): Add tst-strptime-whitespace.
21329 * time/strptime_l.c (get_number): Use ISSPACE.
21330 (__strptime_internal): Likewise.
21331 * time/tst-strptime-whitespace.c: New test case.
21333 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21335 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21337 (_nss_files_init): Set it here.
21339 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21341 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21342 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21345 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21347 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21349 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21354 2013-04-21 David S. Miller <davem@davemloft.net>
21356 * po/ru.po: Update Russion translation from translation project.
21358 2013-04-17 Adam Conrad <adconrad@0c3.net>
21360 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21363 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21365 * configure.in: Remove i386 configure warning. Remove i386 case.
21366 * configure: Regenerate.
21367 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21368 Add example to error message.
21369 * sysdeps/i386/configure: Regenerate.
21371 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21373 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21375 * benchtests/cos-inputs: New file.
21376 * benchtests/slowcos-inputs: New file.
21377 * benchtests/slowcos.c: New file.
21378 * benchtests/slowtan-inputs: New file.
21379 * benchtests/slowtan.c: New file.
21380 * benchtests/tan-inputs: New file.
21382 2013-04-16 Roland McGrath <roland@hack.frob.com>
21384 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21387 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21389 * benchtests/Makefile: Include cppflags-iterator.mk to add
21390 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21392 * Makefile.in (bench-clean): New target.
21393 * benchtests/Makefile (bench-clean): Likewise.
21395 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21397 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21399 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21401 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21403 2013-04-15 Andreas Schwab <schwab@suse.de>
21405 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21407 * nscd/pwdcache.c (cache_addpw): Likewise.
21408 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21411 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21413 * benchtests/Makefile (bench): Write all output to
21414 bench-out.tmp together.
21416 2013-04-15 Andreas Schwab <schwab@suse.de>
21418 * nscd/nscd.c (main): Don't fork again after closing files.
21420 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21422 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21424 * benchtests/Rules (bench-deps): Collect dependencies into a
21425 single variable. Add Makefile to dependencies.
21426 ($(objpfx)bench-%.c): Depend on bench-deps.
21428 2013-04-12 Roland McGrath <roland@hack.frob.com>
21429 Xavier Roche <roche+kml2@exalead.com>
21432 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21433 just that it's a file descriptor.
21434 * manual/llio.texi (Synchronizing AIO Operations): Update description
21435 for EBADF error from aio_fsync.
21437 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21439 * Rules (bench): Move target definition...
21440 * benchtests/Makefile: ... here.
21442 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21444 * math/libm-test.inc (cos_test): Fix PI/2 test.
21445 (sincos_test): Likewise.
21446 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21447 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21449 2013-04-11 Andreas Schwab <schwab@suse.de>
21452 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21453 accept exponent character only when digits were seen.
21454 * stdio-common/Makefile (tests): Add bug26.
21455 * stdio-common/bug26.c: New file.
21458 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21461 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21463 * Makeconfig (rtld-prefix): Define built linker prefix.
21464 * Rules (run-bench): Use it.
21465 * math/Makefile (run-regen-ulps): Likewise.
21467 * Rules (bench): Remove eval.
21469 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21470 Roland McGrath <roland@hack.frob.com>
21471 Ondrej Bilka <neleai@seznam.cz>
21474 * time/getdate.c: Include ctype.h and alloca.h.
21475 (__getdate_r): Trim leading and trailing spaces of input.
21476 * time/tst-getdate.c (tests): Add tests with leading and
21479 2013-04-08 Roland McGrath <roland@hack.frob.com>
21482 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21483 when computing value.
21485 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21487 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21488 Use testrun.sh to run libm tests.
21491 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21493 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21496 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21498 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21500 * Makefile.in (regen-ulps): New target.
21501 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21502 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21503 [ifneq (no,$(PERL)] (regen-ulps): New target.
21504 [ifeq (no,$(PERL)] (regen-ulps): New target.
21505 * math/libm-test.inc (ulps_file_name): Define.
21506 (output_dir): New variable.
21507 (options): Add "output-dir" option.
21508 (parse_opt): Handle 'o' case.
21509 (main): If output_dir is non-NULL use it as a prefix
21511 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21513 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21515 [BZ #10060, #10062]
21516 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21517 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21518 fail configure if __sync_val_compare_and_swap is not inlined.
21519 * sysdeps/i386/configure: Regenerate.
21520 * configure.in: Build for i686 when configured for i386.
21521 * configure: Regenerate.
21522 * README: Remove i386 reference.
21524 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21526 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21527 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21529 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21531 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21532 (lmsnanval): New variables.
21533 (F): Add conversion tests.
21534 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21535 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21537 * stdio-common/tstdiomisc.c (F): Properly collect individual
21540 [BZ #14686, #15336]
21541 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21542 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21543 Instead, use input NaN values or generate a qNaN by arithmetic
21544 operation. Also fix bugs to comply with the standard.
21545 * math/libm-test.inc (remainder_test): Add more tests.
21547 [BZ #15335, #15342]
21548 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21549 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21550 input NaN values or generate a qNaN by arithmetic operation.
21552 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21555 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21558 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21561 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21562 underflowed result.
21563 * math/s_cexpf.c (__cexpf): Likewise.
21564 * math/s_cexpl.c (__cexpl): Likewise.
21565 * math/libm-test.inc (cexp_test): Add more tests.
21567 2013-04-03 Andreas Schwab <schwab@suse.de>
21570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21571 order arrays from heap if bigger than alloca cutoff.
21573 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21575 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21576 (SNAN_TESTS_double): Refer to GCC PR56831.
21577 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21580 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21582 * Rules (bench): Move bench.out after the run is complete.
21584 * Rules (bench): Echo currently running benchmark.
21586 * benchtests/Makefile (bench): Add atan and slowatan.
21587 * benchtests/atan-inputs: New file.
21588 * benchtests/slowatan-inputs: New file.
21589 * benchtests/slowatan.c: New file.
21591 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21592 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21596 * sysdeps/unix/sysv/linux/kernel-features.h
21597 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21598 __ASSUME_XFS_RESTRICTED_CHOWN.
21599 * sysdeps/unix/sysv/linux/pathconf.c
21600 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21601 Save and restore errno.
21603 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21606 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21607 arguments using __kernel_casinh.
21608 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21609 arguments using __kernel_casinhf.
21610 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21611 arguments using __kernel_casinhl.
21612 * math/libm-test.inc (cacosh_test): Add more tests.
21613 * sysdeps/i386/fpu/libm-test-ulps: Update.
21614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21616 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21618 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21621 * bench/Makefile (bench): Add sin and slowsin.
21622 * benchtests/sin-inputs: New file.
21623 * benchtests/slowsin-inputs: New file.
21624 * benchtests/slowsin.c: New file.
21626 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21627 (bench): Add slowexp and slowpow.
21628 (exp-ITER): Increase iterations.
21629 (pow-ITER): Likewise.
21630 * benchtests/exp-inputs: Change input.
21631 * benchtests/pow-inputs: Likewise.
21632 * benchtests/slowexp-inputs: New file.
21633 * benchtests/slowexp.c: New file.
21634 * benchtests/slowpow-inputs: New file.
21635 * benchtests/slowpow.c: New file.
21637 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21639 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21641 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21642 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21643 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21644 * benchtests/Makefile: Add rint benchtest.
21645 * benchtests/rint-inputs: Input for rint benchtest.
21647 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21649 * Versions.def (libm): Add GLIBC_2.18.
21650 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21651 hidden libm prototypes.
21652 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21653 * math/Makefile (libm-calls): Add s_issignaling.
21654 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21655 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21656 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21658 * math/math.h [__USE_GNU] (issignaling): New macro.
21659 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21660 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21661 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21662 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21663 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21664 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21665 * manual/arith.texi (issignaling): New section.
21666 * manual/libm-err-tab.pl (@all_functions): Update comment.
21667 * math/gen-libm-test.pl (parse_args): Apply special handling for
21669 * math/libm-test.inc (print_float, issignaling_test): New
21671 (check_float_internal): Add issignaling checks.
21672 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21673 default definition.
21674 * sysdeps/powerpc/math-tests.h: New file.
21675 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21677 * math/test-snan.c (TEST_FUNC): Likewise.
21679 2013-03-30 David S. Miller <davem@davemloft.net>
21681 * po/de.po: Update from translation team.
21683 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21686 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21687 imaginary part less than 1.0 and real part less than 0.5
21689 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21690 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21691 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21692 (cacos_test): Add more tests.
21693 (casin_test): Likewise.
21694 (casinh_test): Likewise.
21695 * sysdeps/i386/fpu/libm-test-ulps: Update.
21696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21698 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21700 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21701 ONE with its value.
21703 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21704 (__pow_mp): Replace ONE and MONE with their values.
21705 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21707 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21708 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21709 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21710 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21712 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21714 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21715 (__pow_mp): Replace ZERO and MZERO with their values.
21716 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21717 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21718 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21719 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21720 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21721 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21724 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21726 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21728 2013-03-28 Roland McGrath <roland@hack.frob.com>
21730 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21731 Declare with __attribute__ ((weak)).
21732 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21733 Call __call_tls_dtors only if it's not NULL.
21735 2013-03-28 Roland McGrath <roland@hack.frob.com>
21737 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21738 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21739 magic __ehdr_start linker symbol if it's defined.
21740 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21741 them up here if it was already done.
21743 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21744 (_dl_aux_init): Use const in cast when setting it.
21745 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21746 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21747 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21749 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21751 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21752 * csu/libc-tls.c: Nor here.
21753 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21755 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21756 (__libc_message): Never call vsyslog.
21758 2013-03-28 Alan Modra <amodra@gmail.com>
21760 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21762 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21765 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21772 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21775 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21776 Don't add gid passed as argument.
21778 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21780 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21783 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21784 imaginary part between 1.0 and 1.5 and real part less than 0.5
21786 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21787 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21788 * math/libm-test.inc (cacos_test): Add more tests.
21789 (casin_test): Likewise.
21790 (casinh_test): Likewise.
21791 * sysdeps/i386/fpu/libm-test-ulps: Update.
21792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21794 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21796 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21799 (denorm): Likewise.
21800 (__dbl_mp): Likewise.
21801 (add_magnitudes): Likewise.
21802 (sub_magnitudes): Likewise.
21810 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21812 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21813 (__dubcos): Likewise.
21814 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21815 (__ieee754_acos): Likewise.
21816 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21817 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21818 (__exp1): Likewise.
21819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21822 (my_log2): Likewise.
21823 (checkint): Likewise.
21824 * sysdeps/ieee754/dbl-64/e_remainder.c
21825 (__ieee754_remainder): Likewise.
21826 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21827 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21828 (bsloww): Likewise.
21829 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21831 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21832 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21833 MANTISSA_STORE_T to store computations on mantissa. Use
21834 macros for rounding and division.
21835 (denorm): Likewise.
21836 (__dbl_mp): Likewise.
21837 (add_magnitudes): Likewise.
21838 (sub_magnitudes): Likewise.
21841 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21842 powers of two in terms of TWOPOW macro.
21843 (mp_no): Make type of mantissa as MANTISSA_T.
21844 [!RADIXI]: Define RADIXI.
21845 [!TWO52]: Define TWO52.
21846 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21848 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21850 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21851 llroundl symbol when building for PPC32.
21853 2013-03-24 Mark H Weaver <mhw@netris.org>
21855 * manual/arith.texi (Normalization Functions): Fix prototypes for
21856 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21858 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21862 high value to check if expl overflow.
21863 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21864 to check for underflow and overflow.
21865 * math/libm-test.inc: Add exp test.
21867 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21870 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21873 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21875 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21878 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21880 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21881 wrap blocks consisting of several statements.
21883 * sysdeps/generic/math-tests.h: New file.
21884 * sysdeps/i386/fpu/math-tests.h: Likewise.
21885 * math/test-snan.c: Include it.
21886 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21888 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21891 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21892 (__ieee754_j0l): Do not improve calculations using cos of twice
21893 input for inputs above LDBL_MAX / 2.0L.
21894 (__ieee754_y0l): Likewise.
21895 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21896 (__ieee754_j1l): Do not improve calculations using cos of twice
21897 input for inputs above LDBL_MAX / 2.0L.
21898 (__ieee754_y1l): Likewise.
21899 * math/libm-test.inc (j0_test): Add another test.
21900 (j1_test): Likewise.
21901 (y0_test): Likewise.
21902 (y1_test): Likewise.
21903 * sysdeps/i386/fpu/libm-test-ulps: Update.
21905 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21907 * Rules ($(objpfx)bench-%.c): Include code from a C source
21910 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21913 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21914 imaginary part 1.0 and real part less than 0.5 specially.
21915 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21916 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21917 * math/libm-test.inc (cacos_test): Add more tests.
21918 (casin_test): Likewise.
21919 (casinh_test): Likewise.
21920 * sysdeps/i386/fpu/libm-test-ulps: Update.
21921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21923 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21925 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21926 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21928 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21930 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21931 * config.make.in (config-cflags-sse4): Remove variable.
21932 (config-cflags-avx): Likewise.
21933 (config-cflags-sse2avx): Likewise.
21934 (config-cflags-novzeroupper): Likewise.
21935 (config-asflags-i686): Likewise.
21936 (have-mfma4): Likewise.
21937 (have-as-vis3): Likewise.
21939 * configure.in (MIG): Do not AC_SUBST.
21940 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21941 (libc_cv_cc_sse4): Do not AC_SUBST.
21942 (libc_cv_cc_avx): Likewise.
21943 (libc_cv_cc_sse2avx): Likewise.
21944 (libc_cv_cc_novzeroupper): Likewise.
21945 (libc_cv_cc_fma4): Likewise.
21946 (libc_cv_as_i686): Likewise.
21947 (libc_cv_sparc_as_vis3): Likewise.
21948 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21950 (config-asflags-i686): Likewise.
21951 (config-cflags-avx): Likewise.
21952 (config-cflags-sse2avx): Likewise.
21953 (have-mfma4): Likewise.
21954 (config-cflags-novzeroupper): Likewise.
21955 * sysdeps/mach/configure.in (MIG): Likewise.
21956 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21957 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21959 (config-cflags-avx): Likewise.
21960 (config-cflags-sse2avx): Likewise.
21961 (have-mfma4): Likewise.
21962 (config-cflags-novzeroupper): Likewise.
21963 * configure: Regenerated.
21964 * sysdeps/i386/configure: Likewise.
21965 * sysdeps/mach/configure: Likewise.
21966 * sysdeps/sparc/configure: Likewise.
21967 * sysdeps/x86_64/configure: Likewise.
21969 2013-03-20 Roland McGrath <roland@hack.frob.com>
21972 * locale/programs/localedef.c (options): Put N_ translation marker
21973 on argument names, not just descriptions.
21975 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21977 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21979 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21982 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21984 2013-03-19 Roland McGrath <roland@hack.frob.com>
21986 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21987 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21988 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21989 [!BEFORE_ABORT] (before_abort): New function.
21990 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21991 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21992 (writev_for_fatal): New function.
21993 (WRITEV_FOR_FATAL): New macro; call that.
21994 (backtrace_and_maps): New function.
21995 (BEFORE_ABORT): New macro; call that.
21996 (struct str_list): Type removed.
21997 (__libc_message, __libc_fatal): Functions removed.
21998 Include <sysdeps/posix/libc_fatal.c> instead.
22000 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22002 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22004 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22007 2013-03-19 Andreas Schwab <schwab@suse.de>
22009 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22010 * sysdeps/gnu/configure: Regenerate.
22012 * configure.in: Substitute libc_cv_rtlddir.
22013 * configure: Regenerate.
22014 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22015 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22016 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22017 * elf/Makefile (install-others, CFLAGS-interp.c)
22018 (ldso_install, common-ldd-rewrite): Likewise.
22019 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22020 $(inst_slibdir)/$(rtld-installed-name).
22021 * scripts/rellns-sh: Add -p option.
22022 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22025 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22027 * manual/nptl.texi: Renamed to ...
22028 * manual/threads.texi: ... this.
22029 * manual/Makefile (chapters): Update.
22031 2013-03-18 Roland McGrath <roland@hack.frob.com>
22034 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22035 on argument names, not just descriptions.
22036 * malloc/memusagestat.c (options): Likewise.
22037 * nss/getent.c (options): Likewise.
22039 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22042 * iconv/iconv_prog.c (options): Put N_ translation marker
22043 on argument names, not just descriptions.
22044 * iconv/iconvconfig.c (options): Likewise.
22046 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22048 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22049 implementation which is faster on all x86_64 architectures.
22050 Tested on AMD, Intel Nehalem, SNB, IVB.
22051 * sysdeps/x86_64/strnlen.S: Likewise.
22053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22054 Remove all multiarch strlen and strnlen versions.
22055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22056 Remove strlen and strnlen related parts.
22058 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22059 Inline strlen part.
22060 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22062 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22063 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22064 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22065 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22066 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22067 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22069 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22071 * manual/memory.texi (Malloc Tunable Parameters):
22072 Sort parameters alphabetically. Add comments for missing entries.
22074 2013-03-17 David S. Miller <davem@davemloft.net>
22076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22078 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22081 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22082 for arguments at most half maximum finite value.
22083 * math/libm-test.inc (j0_test): Add more tests.
22084 (j1_test): Likewise.
22085 (y0_test): Likewise.
22086 (y1_test): Likewise.
22087 * sysdeps/i386/fpu/libm-test-ulps: Update.
22088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22091 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22092 1 / x and functions P and Q for arguments above 0x1p256L.
22093 (__ieee754_y0l): Likewise.
22094 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22095 (__ieee754_y1l): Likewise.
22096 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22097 (j1_test): Likewise.
22098 (y0_test): Likewise.
22099 (y1_test): Likewise.
22101 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22103 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22106 2013-03-15 Roland McGrath <roland@hack.frob.com>
22108 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22109 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22110 zero since it's initialized to EXEC_PAGESIZE.
22112 * sysdeps/unix/sysv/linux/ldsodefs.h
22113 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22114 * sysdeps/generic/ldsodefs.h: ... here.
22116 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22118 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22120 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22122 * math/test-snan.c: Renamed from
22123 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22124 * math/Makefile (tests): Add test-snan.
22125 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22128 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22129 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22131 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22132 __builtin_nan family of functions.
22133 * math/libm-test.inc (initialize): Initialize qnan_value with
22134 __builtin_nan family of functions.
22135 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22137 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22139 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22140 storage class. Initialize qNaN_var and sNaN_var with
22141 __builtin_nan and __builtin_nans families of functions,
22144 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22145 (sqrt_test): Remove duplicate test with qNaN input.
22146 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22147 (round_test, signbit_test, significand_test): Note missing +/-Inf
22148 as well as qNaN tests.
22150 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22151 qNaN_var. Fix a few strings, too.
22152 * math/libm-test.inc (nan_value): Rename to qnan_value.
22153 * math/gen-libm-test.pl (%beautify): Adjust to that.
22154 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22155 * math/test-misc.c (main): Likewise.
22156 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22157 to __qnan_bytes, and __qnan_union, respectively.
22158 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22160 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22161 and lqnanval, respectively.
22162 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22163 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22164 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22165 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22167 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22168 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22171 * math/test-misc.c (main): Fix copy'n'pastos.
22172 * misc/tst-efgcvt.c (special): Likewise.
22174 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22175 Remove declarations.
22177 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22179 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22180 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22181 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22182 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22184 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22186 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22187 macro to return vdso values correctly in IFUNC implementations.
22188 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22189 Optimization by using IFUNC.
22191 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22192 Richard Henderson <rth@redhat.com>
22193 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22195 * Makefile.in (bench): New target.
22196 * NEWS: Mention the benchmark framework.
22197 * Rules (bench): Likewise.
22198 (binaries-bench): Generate binaries for functions to
22200 * benchtests/Makefile: New makefile for benchmark tests.
22201 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22203 * benchtests/exp-inputs: New input file for EXP function.
22204 * benchtests/pow-inputs: New input file for POW function.
22205 * scripts/bench.pl: New script to generate source files for
22206 benchmark programs.
22208 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22210 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22211 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22212 computations on mantissa. Use macros for rounding and
22214 (denorm): Likewise.
22215 (__dbl_mp): Likewise.
22216 (add_magnitudes): Likewise.
22217 (sub_magnitudes): Likewise.
22220 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22221 powers of two in terms of TWOPOW macro.
22222 (mp_no): Make type of mantissa as MANTISSA_T.
22223 [!RADIXI]: Define RADIXI.
22224 [!TWO52]: Define TWO52.
22225 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22227 * manual/nptl.texi (cindex): Modify threads to pthreads.
22229 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22231 * sysdeps/x86_64/preconfigure: Regenerated.
22233 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22236 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22238 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22239 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22241 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22242 * math/libm-test.inc (j0_test): Do not allow one spurious
22243 underflow exception.
22244 (y1_test): Likewise.
22246 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22248 * manual/Makefile (chapters): Add nptl.
22249 * manual/debug.texi (Debugging Support): Add link to Threads
22251 * manual/nptl.texi: New file.
22253 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22255 2013-03-14 Petr Baudis <pasky@ucw.cz>
22257 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22258 for non-NULL pointer before the memory validity test. Pointed
22259 out by Holger Brunck <holger.brunck@keymile.com>.
22261 2013-03-13 Andreas Schwab <schwab@suse.de>
22263 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22266 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22268 * timezone/zic.c: Update from tzcode 2013b.
22270 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22272 * manual/install.texi (Configuring and compiling):
22273 Mention i686 and i586.
22274 * INSTALL: Regenerate.
22276 2013-03-12 Roland McGrath <roland@hack.frob.com>
22278 * sysdeps/init_array/elf-init.c: New file.
22280 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22281 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22283 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22284 __gmon_start__ as global, but as static with a .preinit_array pointer.
22285 * sysdeps/init_array/gmon-start.c: New file. Use that.
22286 * sysdeps/init_array/crti.S: New file, empty except for comments.
22287 * sysdeps/init_array/crtn.S: Likewise.
22289 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22291 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22294 Remove Prefer_SSE_for_memop.
22295 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22296 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22297 HAS_PREFER_SSE_FOR_MEMOP.
22298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22301 Remove bzero, memset ifunc support.
22302 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22303 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22304 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22305 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22307 2013-03-11 Andreas Schwab <schwab@suse.de>
22310 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22313 (GLIBC_2.16): Remove pthread_atfork.
22315 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22317 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22318 (ptestcases.h): Likewise.
22320 2013-03-08 Roland McGrath <roland@hack.frob.com>
22322 * Makeconfig ($(common-objpfx)config.status): Depend on
22323 sysdeps/*/preconfigure{,.in} too.
22325 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22327 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22328 (__free_hook): Use void * instead of __malloc_ptr_t.
22329 (__malloc_hook): Likewise.
22330 (__realloc_hook): Likewise.
22331 (__memalign_hook): Likewise.
22332 (__after_morecore_hook): Likewise.
22333 * malloc/arena.c (save_malloc_hook): Likewise.
22334 (save_free_hook): Likewise.
22335 * malloc/hooks.c (malloc_hook_ini): Likewise.
22336 (realloc_hook_ini): Likewise.
22337 (memalign_hook_ini): Likewise.
22338 * malloc/malloc.c (malloc_hook_ini): Likewise.
22339 (realloc_hook_ini): Likewise.
22340 (memalign_hook_ini): Likewise.
22341 (__free_hook): Likewise.
22342 (__malloc_hook): Likewise.
22343 (__realloc_hook): Likewise.
22344 (__memalign_hook): Likewise.
22345 (__libc_malloc): Likewise.
22346 (__libc_free): Likewise.
22347 (__libc_realloc): Likewise.
22348 (__libc_memalign): Likewise.
22349 (__libc_valloc): Likewise.
22350 (__libc_pvalloc): Likewise.
22351 (__libc_calloc): Likewise.
22352 (__posix_memalign): Likewise.
22353 * malloc/morecore.c (__sbrk): Likewise.
22354 (__default_morecore): Likewise.
22356 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22358 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22359 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22360 __malloc_ptrdiff_t.
22362 * malloc/malloc.h (__malloc_size_t): Remove macro.
22363 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22365 (old_memalign_hook): Likewise.
22366 (old_realloc_hook): Likewise.
22367 (struct hdr): Likewise.
22369 (mallochook): Likewise.
22370 (memalignhook): Likewise.
22371 (reallochook): Likewise.
22372 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22373 (tr_old_realloc_hook): Likewise.
22374 (tr_old_memalign_hook): Likewise.
22375 (tr_mallochook): Likewise.
22376 (tr_reallochook): Likewise.
22377 (tr_memalignhook): Likewise.
22379 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22382 default_ldbl_pack and using as default implementation.
22383 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22385 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22386 redundant definition.
22387 (ldbl_insert_mantissa): Likewise.
22388 (ldbl_canonicalize): Likewise.
22389 (ldbl_nearbyint): Likewise.
22390 (ldbl_pack): Rename to ldbl_pack_ppc.
22391 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22392 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22393 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22395 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22398 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22399 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22400 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22402 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22403 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22404 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22406 2013-03-07 Andreas Jaeger <aj@suse.de>
22408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22411 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22413 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22414 Include mpa.h and declare __MPEXP.
22415 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22416 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22417 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22418 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22419 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22420 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22421 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22423 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22424 (__slowpow): Use long double EXPL and LOGL functions to
22426 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22427 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22428 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22429 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22430 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22431 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22434 intermediate variable to calculate exponent.
22436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22440 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22441 [!NO__SQR]: Define __sqr.
22442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22443 and NO__SQR. Remove all code except __mul and __sqr. Include
22444 sysdeps/ieee754/dbl-64/mpa.c.
22445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22448 * posix/Makefile (tests): Add tst-pathconf.
22449 * posix/tst-pathconf.c: New test case.
22450 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22452 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22454 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22456 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22458 2013-03-06 Andreas Jaeger <aj@suse.de>
22460 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22461 definition via __MAP_ANONYMOUS.
22463 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22464 it's not part of Linux headers.
22466 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22467 (MAP_HUGE_MASK): Define.
22469 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22471 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22472 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22474 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22475 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22477 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22478 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22480 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22482 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22483 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22484 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22485 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22486 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22487 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22493 Handle f2fs and efivarfs.
22495 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22498 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22499 (EFIVARFS_MAGIC): Add.
22500 (F2FS_LINK_MAX): Add.
22502 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22504 * stdio-common/vfprintf.c: Replace __builtin_expect with
22507 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22510 * sysdeps/generic/bp-sym.h: Remove file.
22511 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22512 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22513 <bp-sym.h> and <bp-asm.h>.
22514 (__longjmp): Don't use BP_SYM.
22515 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22517 (memcpy): Don't use BP_SYM.
22518 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22519 <bp-sym.h> and <bp-asm.h>.
22520 (memcpy): Don't use BP_SYM.
22521 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22523 (memcpy): Don't use BP_SYM.
22524 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22526 (memset): Don't use BP_SYM.
22527 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22528 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22529 (__bzero): Don't use BP_SYM.
22530 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22531 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22532 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22533 <bp-sym.h> and <bp-asm.h>.
22534 (memcmp): Don't use BP_SYM. Remove comment about bounded
22536 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22537 <bp-sym.h> and <bp-asm.h>.
22538 (memcpy): Don't use BP_SYM.
22539 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22540 <bp-sym.h> and <bp-asm.h>.
22541 (memset): Don't use BP_SYM.
22542 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22543 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22544 (__bzero): Don't use BP_SYM.
22545 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22546 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22547 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22548 <bp-sym.h> and <bp-asm.h>.
22549 (strncmp): Don't use BP_SYM. Remove comment about bounded
22551 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22552 <bp-sym.h> and <bp-asm.h>.
22553 (memcpy): Don't use BP_SYM.
22554 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22555 <bp-sym.h> and <bp-asm.h>.
22556 (memset): Don't use BP_SYM.
22557 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22558 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22559 (__bzero): Don't use BP_SYM.
22560 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22561 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22562 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22563 <bp-sym.h> and <bp-asm.h>.
22564 (__memchr): Don't use BP_SYM.
22565 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22566 <bp-sym.h> and <bp-asm.h>.
22567 (memcmp): Don't use BP_SYM. Remove comment about bounded
22569 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22570 <bp-sym.h> and <bp-asm.h>.
22571 (memcpy): Don't use BP_SYM.
22572 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22573 <bp-sym.h> and <bp-asm.h>.
22574 (__mempcpy): Don't use BP_SYM.
22575 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22576 <bp-sym.h> and <bp-asm.h>.
22577 (__memrchr): Don't use BP_SYM.
22578 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22579 <bp-sym.h> and <bp-asm.h>.
22580 (memset): Don't use BP_SYM.
22581 (__bzero): Likewise.
22582 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22583 <bp-sym.h> and <bp-asm.h>.
22584 (__rawmemchr): Don't use BP_SYM.
22585 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22586 <bp-sym.h> and <bp-asm.h>.
22587 (__STRCMP): Don't use BP_SYM.
22588 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22589 <bp-sym.h> and <bp-asm.h>.
22590 (strchr): Don't use BP_SYM.
22591 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22592 <bp-sym.h> and <bp-asm.h>.
22593 (__strchrnul): Don't use BP_SYM.
22594 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22595 <bp-sym.h> and <bp-asm.h>.
22596 (strlen): Don't use BP_SYM.
22597 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22598 <bp-sym.h> and <bp-asm.h>.
22599 (strncmp): Don't use BP_SYM. Remove comment about bounded
22601 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22602 <bp-sym.h> and <bp-asm.h>.
22603 (__strnlen): Don't use BP_SYM.
22604 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22605 <bp-sym.h> and <bp-asm.h>.
22606 (__GI__setjmp): Don't use BP_SYM.
22607 (_setjmp): Likewise.
22608 (__sigsetjmp): Likewise.
22609 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22610 (L(start_addresses)): Don't use BP_SYM.
22611 (_start): Likewise.
22612 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22614 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22615 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22616 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22617 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22618 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22620 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22621 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22622 about bounded pointers.
22623 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22624 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22625 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22627 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22628 about bounded pointers. Remove GKM FIXME comments.
22629 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22630 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22632 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22633 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22634 Remove GKM FIXME comments.
22635 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22636 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22637 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22639 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22640 about bounded pointers. Remove GKM FIXME comment.
22641 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22643 (strncmp): Don't use BP_SYM. Remove comment about bounded
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22646 <bp-sym.h> and <bp-asm.h>.
22647 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22649 <bp-sym.h> and <bp-asm.h>.
22650 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22653 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22655 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22658 2013-03-05 David S. Miller <davem@davemloft.net>
22660 * po/es.po: Update from translation team.
22662 2013-03-05 Andreas Jaeger <aj@suse.de>
22664 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22665 <bits/mman-linux.h>.
22666 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22668 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22669 <bits/mman-linux.h> to end of file.
22670 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22672 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22673 <bits/mman-linux.h> to end of file.
22674 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22677 <bits/mman-linux.h> to end of file.
22679 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22680 (MCL_CURRENT, MCL_FUTURE): Define here.
22682 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22685 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22687 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22689 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22691 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22692 fourth parameter needed for rt_sigprocmask syscall.
22693 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22694 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22695 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22696 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22697 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22698 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22700 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22703 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22704 comment about bounded pointers.
22705 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22706 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22708 2013-03-04 Andreas Jaeger <aj@suse.de>
22710 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22711 common definitions.
22713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22714 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22715 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22716 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22717 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22718 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22720 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22723 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22724 __ieee754_sqrl instead of __sqrl.
22726 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22728 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22729 * sysdeps/powerpc/fpu_control.h: ... here.
22730 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22731 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22732 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22733 * sysdeps/powerpc/bits/mathinline.h: ... here.
22735 2013-03-01 Roland McGrath <roland@hack.frob.com>
22737 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22738 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22739 to just [NEED_DL_SYSINFO_DSO].
22740 * elf/dl-support.c: Likewise.
22741 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22742 * elf/rtld.c (dl_main): Likewise.
22743 * elf/setup-vdso.h (setup_vdso): Likewise.
22744 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22745 * sysdeps/unix/sysv/linux/dl-sysdep.c
22746 (_dl_discover_osversion): Likewise.
22748 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22750 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22751 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22753 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22755 * NEWS: Mention libm performance improvements and non-x86 PI
22758 * csu/libc-start.c (__pthread_initialize_minimal): Change
22759 function arguments.
22760 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22762 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22765 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22766 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22767 <bp-sym.h> and <bp-asm.h>.
22768 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22769 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22771 (memcpy): Don't use BP_SYM.
22772 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22774 (__mpn_add_n): Don't use BP_SYM.
22775 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22776 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22778 (__mpn_addmul_1): Don't use BP_SYM.
22779 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22780 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22782 (_setjmp): Don't use BP_SYM.
22783 (__novmx_setjmp): Likewise.
22784 (__GI__setjmp): Likewise.
22785 (__vmx_setjmp): Likewise.
22786 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22788 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22789 (__bzero): Don't use BP_SYM.
22790 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22791 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22792 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22793 <bp-sym.h> and <bp-asm.h>.
22794 (memcpy): Don't use BP_SYM.
22795 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22796 <bp-sym.h> and <bp-asm.h>.
22797 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22798 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22799 <bp-sym.h> and <bp-asm.h>.
22800 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22801 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22803 (__mpn_lshift): Don't use BP_SYM.
22804 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22805 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22807 (memset): Don't use BP_SYM.
22808 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22809 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22810 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22812 (__mpn_mul_1): Don't use BP_SYM.
22813 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22814 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22815 <bp-sym.h> and <bp-asm.h>.
22816 (memcmp): Don't use BP_SYM.
22817 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22818 <bp-sym.h> and <bp-asm.h>.
22819 (memcpy): Don't use BP_SYM.
22820 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22821 <bp-sym.h> and <bp-asm.h>.
22822 (memset): Don't use BP_SYM.
22823 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22824 <bp-sym.h> and <bp-asm.h>.
22825 (strncmp): Don't use BP_SYM.
22826 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22827 <bp-sym.h> and <bp-asm.h>.
22828 (memcpy): Don't use BP_SYM.
22829 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22830 <bp-sym.h> and <bp-asm.h>.
22831 (memset): Don't use BP_SYM.
22832 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22833 <bp-sym.h> and <bp-asm.h>.
22834 (__memchr): Don't use BP_SYM.
22835 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22836 <bp-sym.h> and <bp-asm.h>.
22837 (memcmp): Don't use BP_SYM.
22838 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22839 <bp-sym.h> and <bp-asm.h>.
22840 (memcpy): Don't use BP_SYM.
22841 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22842 <bp-sym.h> and <bp-asm.h>.
22843 (__mempcpy): Don't use BP_SYM.
22844 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22845 <bp-sym.h> and <bp-asm.h>.
22846 (__memrchr): Don't use BP_SYM.
22847 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22848 <bp-sym.h> and <bp-asm.h>.
22849 (memset): Don't use BP_SYM.
22850 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22851 <bp-sym.h> and <bp-asm.h>.
22852 (__rawmemchr): Don't use BP_SYM.
22853 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22854 <bp-sym.h> and <bp-asm.h>.
22855 (__STRCMP): Don't use BP_SYM.
22856 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22857 <bp-sym.h> and <bp-asm.h>.
22858 (strchr): Don't use BP_SYM.
22859 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22860 <bp-sym.h> and <bp-asm.h>.
22861 (__strchrnul): Don't use BP_SYM.
22862 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22863 <bp-sym.h> and <bp-asm.h>.
22864 (strlen): Don't use BP_SYM.
22865 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22866 <bp-sym.h> and <bp-asm.h>.
22867 (strncmp): Don't use BP_SYM.
22868 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22869 <bp-sym.h> and <bp-asm.h>.
22870 (__strnlen): Don't use BP_SYM.
22871 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22873 (__mpn_rshift): Don't use BP_SYM.
22874 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22875 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22876 <bp-sym.h> and <bp-asm.h>.
22877 (__sigsetjmp): Don't use BP_SYM.
22878 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22879 (L(start_addresses)): Don't use BP_SYM.
22880 (_start): Likewise.
22881 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22883 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22884 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22885 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22886 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22888 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22889 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22890 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22891 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22893 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22895 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22896 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22898 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22900 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22901 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22902 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22904 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22906 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22908 (strncmp): Don't use BP_SYM,
22909 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22911 (__mpn_sub_n): Don't use BP_SYM.
22912 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22913 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22915 (__mpn_submul_1): Don't use BP_SYM.
22916 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22918 <bp-sym.h> and <bp-asm.h>.
22919 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22921 <bp-sym.h> and <bp-asm.h>.
22922 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22925 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22928 Use ZK to minimize writes to Z.
22929 (sub_magnitudes): Simplify code a bit.
22930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22931 Use ZK to minimize writes to Z.
22932 (sub_magnitudes): Simplify code a bit.
22934 2013-02-27 Roland McGrath <roland@hack.frob.com>
22936 * csu/gmon-start.c: Add special exception to license text.
22938 2013-02-27 Richard Henderson <rth@redhat.com>
22940 * scripts/config.guess: Update from config.git.
22941 * scripts/config.sub: Likewise.
22943 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22947 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22949 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22951 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22953 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22955 2013-02-26 Roland McGrath <roland@hack.frob.com>
22957 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22958 [$(build-shared = yes].
22960 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22962 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22963 (__mul): Reduce iterations for calculating mantissa.
22965 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22967 (__mpranred): Likewise.
22970 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22971 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22973 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22975 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22976 Define __attribute__.
22978 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22980 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22982 * posix/regex_internal.h (__attribute): Remove.
22983 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22984 (re_string_context_at): Likewise.
22985 (bitset_not): Use __attribute__ and mark function as possibly
22987 (bitset_merge): Likewise.
22988 (bitset_mask): Likewise.
22989 (re_string_char_size_at): Likewise.
22990 (re_string_wchar_at): Likewise.
22991 (re_string_elem_size_at): Likewise.
22993 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22995 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22999 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23003 (denorm): Likewise.
23004 (__dbl_mp): Likewise.
23005 (add_magnitudes): Likewise.
23006 (sub_magnitudes): Likewise.
23010 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23013 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23016 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23020 up changes with default code.
23021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23024 2013-02-24 Allan McRae <allan@archlinux.org>
23026 * manual/socket.texi (The Internet Namespace): Order menu items
23027 to match that in the file.
23029 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23030 node listing of the info page menu.
23032 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23035 * sysdeps/i386/bp-asm.h: Remove file.
23036 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23037 (PARMS): Do not use macros from bp-asm.h.
23041 (__mpn_add_n): Do not use BP_SYM
23042 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23044 (PARMS): Do not use macros from bp-asm.h.
23047 (__mpn_addmul_1): Do not use BP_SYM
23048 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23050 (PARMS): Do not use macros from bp-asm.h.
23051 (SIGMSK): Likewise.
23052 (_setjmp): Likewise. Do not use BP_SYM.
23053 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23055 (PARMS): Do not use macros from bp-asm.h.
23056 (SIGMSK): Likewise.
23057 (setjmp): Likewise. Do not use BP_SYM.
23058 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23060 (PARMS): Do not use macros from bp-asm.h.
23061 (__frexp): Do not use BP_SYM.
23063 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23065 (PARMS): Do not use macros from bp-asm.h.
23066 (__frexpf): Do not use BP_SYM.
23067 (frexpf): Likewise.
23068 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23070 (PARMS): Do not use macros from bp-asm.h.
23071 (__frexpl): Do not use BP_SYM.
23072 (frexpl): Likewise.
23073 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23075 (PARMS): Do not use macros from bp-asm.h.
23076 (__remquo): Do not use BP_SYM.
23077 (remquo): Likewise.
23078 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23080 (PARMS): Do not use macros from bp-asm.h.
23081 (__remquof): Do not use BP_SYM.
23082 (remquof): Likewise.
23083 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23085 (PARMS): Do not use macros from bp-asm.h.
23086 (__remquol): Do not use BP_SYM.
23087 (remquol): Likewise.
23088 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23090 (PARMS): Do not use macros from bp-asm.h.
23093 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23094 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23096 (PARMS): Do not use macros from bp-asm.h.
23097 (strlen): Do not use BP_SYM.
23098 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23100 (PARMS): Do not use macros from bp-asm.h.
23104 (__mpn_add_n): Do not use BP_SYM.
23105 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23107 (PARMS): Do not use macros from bp-asm.h.
23110 (__mpn_addmul_1): Do not use BP_SYM.
23111 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23114 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23116 (PARMS): Do not use macros from bp-asm.h.
23119 (__mpn_lshift): Do not use BP_SYM.
23120 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23122 (PARMS): Do not use macros from bp-asm.h.
23126 (memcpy): Likewise. Do not use BP_SYM.
23127 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23128 libc_hidden_def and weak_alias.
23129 (mempcpy): Do not use BP_SYM in weak_alias.
23130 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23132 (PARMS): Do not use macros from bp-asm.h.
23135 [!BZERO_P] (CHR): Likewise.
23136 (memset): Likewise. Do not use BP_SYM.
23137 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23139 (PARMS): Do not use macros from bp-asm.h.
23142 (__mpn_mul_1): Do not use BP_SYM.
23143 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23145 (PARMS): Do not use macros from bp-asm.h.
23148 (__mpn_rshift): Do not use BP_SYM.
23149 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23151 (PARMS): Do not use macros from bp-asm.h.
23154 (strchr): Likewise. Do not use BP_SYM.
23155 (index): Do not use BP_SYM in weak_alias.
23156 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23158 (PARMS): Do not use macros from bp-asm.h.
23161 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23162 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23164 (PARMS): Do not use macros from bp-asm.h.
23165 (strlen): Do not use BP_SYM.
23166 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23168 (PARMS): Do not use macros from bp-asm.h.
23172 (__mpn_sub_n): Do not use BP_SYM.
23173 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23175 (PARMS): Do not use macros from bp-asm.h.
23178 (__mpn_submul_1): Do not use BP_SYM.
23179 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23181 (PARMS): Do not use macros from bp-asm.h.
23185 (__mpn_add_n): Do not use BP_SYM.
23186 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23189 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23191 (PARMS): Do not use macros from bp-asm.h.
23194 (memcmp): Do not use BP_SYM.
23195 (bcmp): Do not use BP_SYM in weak_alias.
23196 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23198 (PARMS): Do not use macros from bp-asm.h.
23202 (memcpy): Likewise. Do not use BP_SYM.
23203 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23205 (PARMS): Do not use macros from bp-asm.h.
23209 (memmove): Likewise. Do not use BP_SYM.
23210 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23212 (PARMS): Do not use macros from bp-asm.h.
23216 (__mempcpy): Likewise. Do not use BP_SYM.
23217 (mempcpy): Do not use BP_SYM in weak_alias.
23218 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23220 (PARMS): Do not use macros from bp-asm.h.
23223 [!BZERO_P] (CHR): Likewise.
23224 (memset): Likewise. Do not use BP_SYM.
23225 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23227 (PARMS): Do not use macros from bp-asm.h.
23229 (strcmp): Do not use BP_SYM.
23230 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23232 (PARMS): Do not use macros from bp-asm.h.
23235 [USE_AS_STRTOK_R] (SAVE): Likewise.
23236 (FUNCTION): Likewise. Do not use BP_SYM.
23237 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23239 (strtok_r): Likewise.
23240 (__GI___strtok_r): Likewise.
23241 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23242 (PARMS): Do not use macros from bp-asm.h.
23245 (__mpn_lshift): Do not use BP_SYM.
23246 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23247 (PARMS): Do not use macros from bp-asm.h.
23250 (__memchr): Do not use BP_SYM.
23251 (memchr): Do not use BP_SYM in weak_alias.
23252 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23253 (PARMS): Do not use macros from bp-asm.h.
23256 (memcmp): Do not use BP_SYM.
23257 (bcmp): Do not use BP_SYM in weak_alias.
23258 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23259 (PARMS): Do not use macros from bp-asm.h.
23262 (__mpn_mul_1): Do not use BP_SYM.
23263 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23265 (PARMS): Do not use macros from bp-asm.h.
23268 (__rawmemchr): Do not use BP_SYM.
23269 (rawmemchr): Do not use BP_SYM in weak_alias.
23270 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23271 (PARMS): Do not use macros from bp-asm.h.
23274 (__mpn_rshift): Do not use BP_SYM.
23275 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23276 (PARMS): Do not use macros from bp-asm.h.
23277 (SIGMSK): Likewise.
23278 (__sigsetjmp): Likewise. Do not use BP_SYM.
23279 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23280 (_start): Do not use BP_SYM.
23281 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23282 (PARMS): Do not use macros from bp-asm.h.
23285 (__stpcpy): Likewise. Do not use BP_SYM.
23286 (stpcpy): Do not use BP_SYM in weak_alias.
23287 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23289 (PARMS): Do not use macros from bp-asm.h.
23293 (__stpncpy): Likewise. Do not use BP_SYM.
23294 (stpncpy): Do not use BP_SYM in weak_alias.
23295 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23296 (PARMS): Do not use macros from bp-asm.h.
23299 (strchr): Likewise. Do not use BP_SYM.
23300 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23302 (PARMS): Do not use macros from bp-asm.h.
23305 (__strchrnul): Likewise. Do not use BP_SYM.
23306 (strchrnul): Do not use BP_SYM in weak_alias.
23307 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23309 (PARMS): Do not use macros from bp-asm.h.
23311 (strcspn): Do not use BP_SYM.
23312 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23314 (PARMS): Do not use macros from bp-asm.h.
23317 (strpbrk): Likewise. Do not use BP_SYM.
23318 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23320 (PARMS): Do not use macros from bp-asm.h.
23323 (strrchr): Likewise. Do not use BP_SYM.
23324 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23325 (PARMS): Do not use macros from bp-asm.h.
23327 (strspn): Do not use BP_SYM.
23328 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23329 (PARMS): Do not use macros from bp-asm.h.
23333 (FUNCTION): Likewise. Do not use BP_SYM.
23334 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23336 (strtok_r): Likewise.
23337 (__GI___strtok_r): Likewise.
23338 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23339 (PARMS): Do not use macros from bp-asm.h.
23343 (__mpn_sub_n): Do not use BP_SYM.
23344 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23346 (PARMS): Do not use macros from bp-asm.h.
23349 (__mpn_submul_1): Do not use BP_SYM.
23350 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23352 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23354 (PARMS): Do not use macros from bp-asm.h.
23359 (__clone): Do not use BP_SYM.
23360 (clone): Do not use BP_SYM in weak_alias.
23361 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23363 (PARMS): Do not use macros from bp-asm.h.
23365 (__mmap64): Do not use BP_SYM.
23366 (mmap64): Do not use BP_SYM in weak_alias.
23367 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23368 <bp-sym.h> and <bp-asm.h>.
23369 (PARMS): Do not use macros from bp-asm.h.
23370 (__posix_fadvise64_l64): Do not use BP_SYM.
23371 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23372 (PARMS): Do not use macros from bp-asm.h.
23374 (semtimedop): Do not use BP_SYM.
23375 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23378 2013-02-21 Allan McRae <allan@archlinux.org>
23380 * manual/message.texi (Charset conversion in gettext):
23381 Move @end statement to beginning of line.
23383 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23390 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23391 (denorm): Likewise.
23392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23395 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23397 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23398 tail-call to the resolved function if pltexit isn't needed.
23400 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23403 or Y being zero as being unlikely.
23404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23407 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23409 * manual/nss.texi (System Databases and Name Service Switch):
23410 Remove frobnicate @pxref.
23412 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23414 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23415 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23417 2013-02-20 Petr Machata <pmachata@redhat.com>
23419 * elf/elf.h (R_ARM_TARGET1): New macro.
23420 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23421 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23422 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23423 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23424 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23425 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23426 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23427 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23428 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23429 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23430 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23431 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23432 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23433 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23434 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23435 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23436 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23437 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23438 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23439 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23440 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23441 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23442 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23443 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23444 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23445 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23446 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23447 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23448 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23449 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23450 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23451 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23452 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23453 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23454 (R_ARM_THM_GOT_BREL12): Likewise.
23455 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23456 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23457 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23458 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23459 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23460 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23461 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23462 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23463 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23465 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23467 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23468 __attribute_used__ to __attribute__ ((unused)).
23470 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23472 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23475 comment formatting.
23476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23478 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23481 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23483 (ENTER): Remove both macro definitions.
23485 (CHECK_BOUNDS_LOW): Likewise.
23486 (CHECK_BOUNDS_HIGH): Likewise.
23487 (CHECK_BOUNDS_BOTH): Likewise.
23488 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23489 (RETURN_BOUNDED_POINTER): Likewise.
23490 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23491 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23492 (POP_ERRNO_LOCATION_RETURN): Likewise.
23493 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23494 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23495 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23497 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23498 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23499 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23500 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23501 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23502 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23503 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23504 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23505 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23506 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23507 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23508 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23509 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23510 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23512 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23513 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23515 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23516 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23517 * sysdeps/i386/i586/memset.S (memset): Likewise.
23518 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23519 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23520 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23522 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23523 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23524 Change uses of L(2) to L(out).
23525 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23526 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23527 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23528 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23529 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23531 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23532 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23534 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23535 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23536 (RETURN): Do not use macro LEAVE.
23537 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23538 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23539 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23540 * sysdeps/i386/i686/memset.S (memset): Likewise.
23541 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23542 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23543 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23544 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23546 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23547 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23548 L(1_2) and L(1_3) into L(1).
23549 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23550 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23551 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23552 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23553 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23554 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23555 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23556 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23557 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23559 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23560 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23561 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23562 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23563 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23564 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23565 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23566 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23567 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23568 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23569 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23570 * sysdeps/i386/strspn.S (strspn): Likewise.
23571 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23573 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23574 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23575 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23576 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23577 L(1_3) into L(1_1).
23578 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23579 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23580 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23582 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23584 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23586 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23589 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23591 * math/atest-exp.c (exp_mpn): Remove ROUND.
23592 * math/atest-exp2.c (exp_mpn): Likewise.
23593 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23595 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23596 * stdlib/tst-tls-atexit-lib.c: Likewise.
23597 * stdlib/tst-tls-atexit.c: Likewise.
23599 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23601 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23602 and __attribute_alloc_size__.
23604 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23606 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23607 __attribute_alloc_size__.
23608 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23609 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23611 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23613 * include/programs/xmalloc.h: New file.
23614 * catgets/gencat.c: Include it.
23615 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23616 * elf/pldd.c: Likewise.
23617 * iconv/iconv_charmap.c: Likewise.
23618 * iconv/iconvconfig.c: Likewise.
23619 * iconv/strtab.c: Likewise.
23620 * locale/programs/locale.c: Likewise.
23621 * locale/programs/localedef.h: Likewise.
23622 * locale/programs/simple-hash.c: Likewise.
23623 * nscd/nscd.h: Likewise.
23624 * nss/makedb.c: Likewise.
23625 * sysdeps/generic/ldconfig.h: Likewise.
23627 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23629 * Versions.def: Add GLIBC_2.18.
23630 * include/link.h (struct link_map): New member l_tls_dtor_count.
23631 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23632 (__call_tls_dtors): Likewise.
23633 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23634 __cxa_thread_atexit_impl.
23635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23651 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23652 (tests): Add test case tst-tls-atexit.
23653 (modules-names): Add shared library for tst-tls-atexit.
23654 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23655 (GLIBC_PRIVATE): Add __call_tls_dtors.
23656 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23658 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23659 * stdlib/tst-tls-atexit.c: New test case.
23660 * stdlib/tst-tls-atexit-lib.c: New test case.
23662 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23664 * elf/Versions (ld): Add _dl_find_dso_for_object.
23665 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23666 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23667 (dl_open_worker): Use _dl_find_dso_for_object.
23668 * elf/dl-sym.c (do_sym): Likewise.
23669 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23671 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23673 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23674 Syntactic changes only.
23675 (_dl_runtime_profile): Do a tail-call to the resolved function.
23677 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23680 * sysdeps/x86_64/bp-asm.h: Remove file.
23681 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23682 <bp-sym.h> and <bp-asm.h>.
23683 (__clone): Do not use BP_SYM.
23684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23685 <bp-sym.h> and <bp-asm.h>.
23686 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23687 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23689 (_setjmp): Do not use BP_SYM.
23690 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23692 (setjmp): Do not use BP_SYM.
23693 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23695 (mempcpy): Do not use BP_SYM in weak_alias.
23696 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23698 (strchr): Do not use BP_SYM.
23699 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23701 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23702 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23703 (_start): Do not use BP_SYM.
23704 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23706 (strcat): Do not use BP_SYM.
23707 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23709 (STRCMP): Do not use BP_SYM.
23710 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23712 (STRCPY): Do not use BP_SYM.
23713 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23715 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23717 (FUNCTION): Do not use BP_SYM.
23718 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23720 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23722 2013-02-17 Andreas Jaeger <aj@suse.de>
23724 * time/Versions: Sort entries.
23725 * string/Versions: Likewise.
23726 * resolv/Versions: Likewise.
23727 * posix/Versions: Likewise.
23728 * iconv/Versions: Likewise.
23729 * elf/Versions: Likewise.
23730 * wcsmbs/Versions: Likewise.
23732 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23734 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23735 loop termination condition.
23737 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23738 variable to calculate EZ.
23741 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23742 the lower precision input.
23744 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23747 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23748 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23749 (run-via-rtld-prefix): Do not handle %-bp tests.
23750 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23751 (all-object-suffixes): Remove .ob.
23752 (bppfx): Remove variable.
23753 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23754 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23755 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23756 [$(build-bounded) = yes] (libtype.ob): Likewise.
23757 * Makerules (elide-routines.ob): Remove variable.
23758 (do-tests-clean): Do not handle *-bp.out.
23759 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23760 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23761 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23762 (tests): Do not include $(tests-bp.out).
23763 (xtests): Do not include $(xtests-bp.out).
23764 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23765 [$(build-bounded) = yes] ($(addprefix
23766 $(objpfx),$(binaries-bounded))): Remove rule.
23767 ($(objpfx)%-bp.out): Remove rule.
23768 * config.make.in (build-bounded): Remove variable.
23769 * crypt/Makefile [$(build-bounded) = yes]
23770 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23771 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23772 append to variable.
23773 [$(build-bounded) = yes] (install-lib): Likewise.
23774 [$(build-bounded) = yes] (generated): Likewise.
23775 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23777 * intl/Makefile [$(build-bounded) = yes]
23778 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23779 * math/Makefile [$(build-bounded) = yes]
23780 ($(tests:%=$(objpfx)%-bp): Likewise.
23781 * misc/Makefile [$(build-bounded) = yes]
23782 ($(objpfx)tst-tsearch-bp): Likewise.
23783 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23784 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23786 * string/Makefile (o-objects.ob): Remove variable.
23787 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23788 (CFLAGS-.ob): Remove variable.
23789 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23790 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23791 both definitions of variable.
23792 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23793 (ASFLAGS-.ob): Remove variable.
23795 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23798 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23799 Remove __BOUNDED_POINTERS__ from condition.
23800 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23801 * string/bits/string2.h [!__NO_STRING_INLINES &&
23802 !__BOUNDED_POINTERS__]: Likewise.
23803 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23805 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23806 Remove conditional code.
23807 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23808 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23809 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23813 * csu/libc-start.c: Do not include <bp-sym.h>.
23814 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23815 * elf/dl-open.c: Do not include <bp-sym.h>.
23816 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23817 * math/fegetenv.c: Do not include <bp-sym.h>.
23818 (fegetenv): Do not use BP_SYM in versioned symbols.
23819 * nptl/sysdeps/pthread/bits/libc-lockP.h
23820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23823 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23825 (__pthread_mutex_destroy): Likewise.
23826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23827 (__pthread_mutex_lock): Likewise.
23828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23829 (__pthread_mutex_trylock): Likewise.
23830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23831 (__pthread_mutex_unlock): Likewise.
23832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23833 (__pthread_mutexattr_init): Likewise.
23834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23835 (__pthread_mutexattr_destroy): Likewise.
23836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23837 (__pthread_mutexattr_settype): Likewise.
23838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23839 (__pthread_rwlock_init): Likewise.
23840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23841 (__pthread_rwlock_destroy): Likewise.
23842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23843 (__pthread_rwlock_rdlock): Likewise.
23844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23845 (__pthread_rwlock_tryrdlock): Likewise.
23846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23847 (__pthread_rwlock_wrlock): Likewise.
23848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23849 (__pthread_rwlock_trywrlock): Likewise.
23850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23851 (__pthread_rwlock_unlock): Likewise.
23852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23853 (__pthread_key_create): Likewise.
23854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23855 (__pthread_setspecific): Likewise.
23856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23857 (__pthread_getspecific): Likewise.
23858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23861 (_pthread_cleanup_push_defer): Likewise.
23862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23863 (_pthread_cleanup_pop_restore): Likewise.
23864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23865 (pthread_setcancelstate): Likewise.
23866 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23868 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23869 (memchr): Do not use BP_SYM in weak_alias.
23870 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23871 (fegetenv): Do not use BP_SYM in versioned symbols.
23872 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23873 (fesetenv): Do not use BP_SYM in versioned symbols.
23874 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23875 (feupdateenv): Do not use BP_SYM in versioned symbols.
23876 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23877 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23878 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23879 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23880 (open64): Do not use BP_SYM in weak_alias.
23881 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23882 (fegetenv): Do not use BP_SYM in versioned symbols.
23883 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23884 (fesetenv): Do not use BP_SYM in versioned symbols.
23885 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23886 (feupdateenv): Do not use BP_SYM in versioned symbols.
23887 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23888 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23889 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23890 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23891 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23892 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23893 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23895 (__libc_start_main): Do not use BP_SYM.
23897 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23900 redundant return line.
23902 (denorm): Likewise.
23903 (dbl_mp): Likewise.
23904 (sub_magnitudes): Likewise.
23910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23912 (denorm): Likewise.
23913 (dbl_mp): Likewise.
23914 (sub_magnitudes): Likewise.
23921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23923 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23924 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23927 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23928 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23930 of __mul for squares.
23931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23935 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23936 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23938 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23941 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23943 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23944 prototype or function definition. Rename ubp_* variables and
23945 parameters. Remove argv definitions conditional on
23946 [__BOUNDED_POINTERS__].
23947 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23948 * elf/dl-runtime.c (_dl_fixup): Likewise.
23949 * include/set-hooks.h (RUN_HOOK): Likewise.
23950 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23952 * string/strcpy.c (strcpy): Do not use __unbounded.
23953 * sysdeps/generic/frame.h (struct layout): Likewise.
23954 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23955 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23956 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23957 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23958 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23959 (__backtrace): Likewise.
23960 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23962 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23963 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23964 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23966 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23967 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23968 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23969 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23970 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23971 Do not use __unbounded.
23972 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23973 Rename __unboundedrlimits parameter to rlimits in prototype.
23974 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23975 Do not use __unbounded.
23976 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23977 not use __ptrvalue.
23978 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23979 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23980 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23981 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23982 __ptrvalue or __unbounded.
23983 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23984 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23986 (__new_msgctl): Do not use __ptrvalue.
23987 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23989 (__libc_msgrcv): Do not use __ptrvalue.
23990 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23991 startup_info): Do not use __unbounded.
23992 (__libc_start_main): Likewise. Rename ubp_* variables and
23993 parameters. Remove argv definitions conditional on
23994 [__BOUNDED_POINTERS__].
23995 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23997 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23999 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24001 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24003 (__new_shmctl): Do not use __ptrvalue.
24004 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24005 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24007 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24008 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24009 (__libc_sigaction): Likewise.
24010 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24011 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24013 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24015 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24017 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24019 * string/mempcpy.c: Implement by calling memcpy.
24021 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24028 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24029 values in the mantissa.
24031 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24032 minimize writes to Z.
24033 (sub_magnitudes): Simplify code a bit.
24035 2013-02-12 Roland McGrath <roland@hack.frob.com>
24037 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24038 from the message. The linker prefixes all warnings with that already.
24040 2013-02-12 Andreas Schwab <schwab@suse.de>
24043 * posix/regexec.c (extend_buffers): Add parameter min_len.
24044 (check_matching): Pass minimum needed length.
24045 (clean_state_log_if_needed): Likewise.
24046 (get_subexp): Likewise.
24047 * posix/Makefile (tests): Add bug-regex34.
24048 (bug-regex34-ENV): Define.
24049 * posix/bug-regex34.c: New file.
24052 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24053 elements compare against the byte sequence of it, not its name.
24054 * posix/Makefile (tests): Add bug-regex35.
24055 (bug-regex35-ENV): Define.
24056 * posix/bug-regex35.c: New file.
24058 2013-02-11 Tom de Vries <tom@codesourcery.com>
24060 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24062 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24063 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24064 (CHECK_EOL): Add undef.
24066 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24068 * bits/stdlib-bsearch.h: New file.
24069 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24070 * stdlib/stdlib.h: Likewise.
24072 2013-02-11 Roland McGrath <roland@hack.frob.com>
24074 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24075 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24077 * manual/search.texi (Array Search Function): Add missing const in
24079 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24080 declaration to use rlim_t.
24081 (Basic Scheduling Functions): Remove erroneous const from
24082 sched_getparam prototype. Remove erroneous * from
24083 sched_get_priority_max and sched_get_priority_min prototypes.
24084 (Resource Usage): Fix summary @comment on vtimes to refer to
24085 sys/vtimes.h rather than vtimes.h.
24086 Add missing *s in vtimes prototype.
24087 (Limits on Resources): Fix ulimit prototype to return long int.
24088 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24089 prototypes to use long int rather than double.
24090 (BSD Random): Fix initstate and setstate to use char *, not void *.
24091 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24092 prototype to make second argument 'struct aiocb64 *const[]'.
24093 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24094 (Status of AIO Operations): Remove erroneous const in aio_return and
24095 aio_return64 prototypes.
24096 (Synchronizing I/O): Fix sync prototype to return void.
24097 * manual/startup.texi (Suboptions): Remove an erroneous const in
24098 getsubopt prototype.
24099 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24100 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24101 use size_t rather than int.
24102 (Scanning All Users): Likewise for getpwent_r.
24103 (Setting Groups): Add missing const to setgroups prototype.
24104 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24105 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24106 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24107 'const void *' rather than 'const char *'.
24108 (Host Address Functions): Likewise for inet_ntop.
24109 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24110 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24111 ssize_t for return value.
24112 (Sending Data): Likewise for send, sendto, sendmsg.
24113 (Socket Option Functions): Add a missing const in setsockopt prototype.
24114 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24115 use wchar_t for the argument.
24116 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24117 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24119 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24120 double/float/long double for second argument.
24121 Fix return types of significand, significandf, significandl.
24122 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24123 argument in fchmod prototype.
24124 (File Owner): Use uid_t and gid_t in fchown prototype.
24125 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24126 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24127 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24128 use 'const struct dirent **' as argument types to CMP function pointer
24130 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24131 (File Times): Fix summary magic @comment for struct utimbuf and utime
24132 to refer to utime.h, not time.h.
24133 * manual/string.texi (Argz Functions): Add missing const in
24134 argz_extract and argz_next prototypes.
24135 (Finding Tokens in a String): Likewise for basename.
24136 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24137 (Copying and Concatenation): Fix typo in wmemmove prototype.
24138 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24139 (Signal Stack): Remove erroneous const in sigstack prototype.
24140 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24142 (Simple Calendar Time): Likewise for stime.
24143 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24145 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24146 say sys/sysctl.h instead.
24147 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24148 and vsyslog prototypes.
24150 2013-02-11 Tom de Vries <tom@codesourcery.com>
24152 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24155 2013-02-11 Roland McGrath <roland@hack.frob.com>
24157 * misc/sys/mman.h: Fix typo in mremap comment.
24159 2013-02-08 Roland McGrath <roland@hack.frob.com>
24161 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24162 the '\0' terminator.
24164 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24167 * debug/segfault.c: Don't include <bp-checks.h>.
24168 * sysdeps/generic/bp-checks.h: Remove file.
24169 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24170 (__GETDENTS): Don't use CHECK_N.
24171 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24172 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24173 (__getgroups): Don't use CHECK_N.
24174 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24175 (setgroups): Don't use CHECK_N.
24176 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24177 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24178 (__libc_msgrcv): Don't use CHECK_N.
24179 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24180 (__libc_msgsnd): Don't use CHECK_N.
24181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24183 (__libc_pread): Don't use CHECK_N.
24184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24185 include <bp-checks.h>.
24186 (__libc_pread64): Don't use CHECK_N.
24187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24188 include <bp-checks.h>.
24189 (__libc_pwrite): Don't use CHECK_N.
24190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24191 include <bp-checks.h>.
24192 (__libc_pwrite64): Don't use CHECK_N.
24193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24195 (__libc_pread): Don't use CHECK_N.
24196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24197 include <bp-checks.h>.
24198 (__libc_pread64): Don't use CHECK_N.
24199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24200 include <bp-checks.h>.
24201 (__libc_pwrite): Don't use CHECK_N.
24202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24203 include <bp-checks.h>.
24204 (__libc_pwrite64): Don't use CHECK_N.
24205 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24206 (do_pread): Don't use CHECK_N.
24207 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24208 (do_pread64): Don't use CHECK_N.
24209 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24210 (do_pwrite): Don't use CHECK_N.
24211 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24212 (do_pwrite64): Don't use CHECK_N.
24213 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24214 (__libc_readv): Don't use CHECK_N.
24215 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24216 (semop): Don't use CHECK_N.
24217 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24219 (semtimedop): Don't use CHECK_N.
24220 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24221 (__libc_pread): Don't use CHECK_N.
24222 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24224 (__libc_pread64): Don't use CHECK_N.
24225 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24227 (__libc_pwrite): Don't use CHECK_N.
24228 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24230 (__libc_pwrite64): Don't use CHECK_N.
24231 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24233 (__libc_msgrcv): Don't use CHECK_N.
24234 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24235 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24236 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24237 (__libc_writev): Don't use CHECK_N.
24239 2013-02-08 Roland McGrath <roland@hack.frob.com>
24241 * string/strcpy.c: Removed unused variable.
24243 * Makeconfig (+sysdep-includes): Define with := rather than =.
24244 Use an existing include/ subdir of each sysdeps dir before it.
24246 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24248 * nscd/connection.c (register_traced_file): Comment function.
24249 [HAVE_INOTIFY] (union __inev): Define.
24250 [HAVE_INOTIFY] (inotify_check_files): New function.
24251 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24252 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24254 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24256 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24258 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24259 loaded if not already and that a failure is permanent.
24261 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24264 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24265 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24267 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24270 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24271 (CHECK_1_NULL_OK): Likewise.
24272 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24273 (__fxstat): Do not use CHECK_1.
24274 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24276 (___fxstat64): Do not use CHECK_1.
24277 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24279 (__fxstatat): Do not use CHECK_1.
24280 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24282 (__fxstatat64): Do not use CHECK_1.
24283 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24285 (__fxstat): Do not use CHECK_1.
24286 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24288 (__fxstatat): Do not use CHECK_1.
24289 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24291 (__getresgid): Do not use CHECK_1.
24292 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24294 (__getresuid): Do not use CHECK_1.
24295 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24297 (__lxstat): Do not use CHECK_1.
24298 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24300 (__old_msgctl): Do not use CHECK_1.
24301 (__new_msgctl): Likewise.
24302 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24304 (__new_setrlimit): Do not use CHECK_1.
24305 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24307 (__old_shmctl): Do not use CHECK_1.
24308 (__new_shmctl): Likewise.
24309 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24311 (__xstat): Do not use CHECK_1.
24312 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24313 (__lxstat): Do not use CHECK_1.
24314 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24316 (___lxstat64): Do not use CHECK_1.
24317 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24318 (__old_msgctl): Do not use CHECK_1.
24319 (__new_msgctl): Likewise.
24320 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24322 (__gettimeofday): Do not use CHECK_1.
24323 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24324 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24325 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24327 (__gettimeofday): Do not use CHECK_1.
24328 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24329 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24330 (__new_shmctl): Do not use CHECK_1.
24331 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24333 (do_sigtimedwait): Do not use CHECK_1.
24334 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24336 (do_sigwaitinfo): Do not use CHECK_1.
24337 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24339 (msgctl): Do not use CHECK_1.
24340 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24342 (shmctl): Do not use CHECK_1.
24343 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24344 (ustat): Do not use CHECK_1.
24345 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24347 (__fxstat): Do not use CHECK_1.
24348 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24350 (__fxstatat): Do not use CHECK_1.
24351 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24353 (__lxstat): Do not use CHECK_1.
24354 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24356 (__xstat): Do not use CHECK_1.
24357 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24358 (__xstat): Do not use CHECK_1.
24359 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24360 (___xstat64): Do not use CHECK_1.
24363 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24365 (CHECK_BOUNDS_HIGH): Likewise.
24366 * string/strcpy.c: Do not include <bp-checks.h>.
24367 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24369 2013-02-07 Roland McGrath <roland@hack.frob.com>
24371 * nscd/nscd-client.h (__nscd_drop_map_ref):
24372 Add __attribute__ ((unused)).
24373 * nis/nss-nisplus.h (niserr2nss): Likewise.
24375 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24376 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24378 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24379 Remove inline keyword.
24380 * include/rounding-mode.h (round_away): Likewise.
24381 * libio/wfileops.c (adjust_wide_data): Likewise.
24382 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24383 (__m128i_strloadu_tolower): Likewise.
24384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24385 (__m128i_strloadu_tolower): Likewise.
24386 * time/mktime.c (ydhms_diff): Likewise.
24387 * locale/elem-hash.h (elem_hash): Likewise.
24388 * locale/setlocale.c (setdata): Likewise.
24389 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24390 (re_string_wchar_at): Likewise.
24391 (bitset_not, bitset_merge, bitset_mask): Likewise.
24392 [!(__GNUC__ > 3)] (inline): Remove macro.
24393 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24394 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24395 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24396 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24397 * string/memcmp.c (memcmp_bytes): Likewise.
24398 * locale/programs/locarchive.c (compute_hashval): Likewise.
24399 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24400 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24401 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24402 * nss/getent.c (print_rpc, print_protocols): Likewise.
24403 (print_passwd, print_group, print_aliases): Likewise.
24404 * nis/nss-nisplus.h (niserr2nss): Likewise.
24405 * nscd/connections.c (restart_p): Likewise.
24406 Change return type to bool.
24408 2013-02-05 Roland McGrath <roland@hack.frob.com>
24410 * Makeconfig (all-Depend-files): Add existing
24411 $(sorted-subdirs:=/Depend) files.
24412 (all-subdirs): Remove nss.
24413 * sysdeps/unix/inet/Subdirs: Add it here instead.
24414 * hesiod/Depend: New file.
24416 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24417 instead of calling alloca.
24419 * io/lseek.c (__lseek): Rename to __libc_lseek.
24420 Define __lseek as an alias.
24422 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24424 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24426 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24427 else clause and remove check for non-standard endianness.
24429 2013-02-04 David S. Miller <davem@davemloft.net>
24431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24433 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24436 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24437 (__ubp_memchr): Remove prototype.
24438 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24439 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24440 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24441 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24442 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24444 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24445 (__ubp_memchr): Likewise.
24446 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24447 (__ubp_memchr): Likewise.
24448 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24449 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24450 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24451 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24453 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24454 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24455 (__getcwd): Do not use CHECK_STRING.
24456 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24458 (__real_chown): Do not use CHECK_STRING.
24459 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24461 (fchownat): Do not use CHECK_STRING.
24462 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24464 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24466 (__lchown): Do not use CHECK_STRING.
24467 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24468 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24469 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24470 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24472 include <bp-checks.h>.
24473 (truncate64): Do not use CHECK_STRING.
24474 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24476 (__real_chown): Do not use CHECK_STRING.
24477 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24479 (__lchown): Do not use CHECK_STRING.
24480 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24482 (__chown): Do not use CHECK_STRING.
24483 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24485 (truncate64): Do not use CHECK_STRING.
24486 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24488 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24489 (__xmknod): Do not use CHECK_STRING.
24490 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24492 (__xmknodat): Do not use CHECK_STRING.
24493 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24494 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24496 2013-02-04 Andreas Schwab <schwab@suse.de>
24499 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24500 * include/netdb.h: Likewise for h_errno.
24501 * elf/tst-stackguard1.c: Include <tls.h>.
24503 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24505 * elf/link.h (struct link_map): Extend the l_addr comment.
24506 * include/link.h (struct link_map): Likewise.
24508 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24511 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24512 (BOUNDED_1): Remove macro.
24513 * debug/backtrace.c: Don't include <bp-checks.h>.
24514 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24515 (__backtrace): Likewise.
24516 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24518 (__backtrace): Don't use BOUNDED_1.
24519 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24521 (__backtrace): Don't use BOUNDED_1.
24522 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24523 (__backtrace): Don't use BOUNDED_1.
24524 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24525 (shmat): Don't use BOUNDED_N.
24527 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24530 * sysdeps/generic/bp-start.h: Remove file.
24531 * csu/libc-start.c: Don't include <bp-start.h>.
24532 (LIBC_START_MAIN): Set up __environ directly instead of using
24533 INIT_ARGV_and_ENVIRON.
24534 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24538 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24540 (CHECK_FCNTL): Likewise.
24541 (CHECK_N_PAGES): Likewise.
24544 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24546 (CHECK_SIGSET_NULL_OK): Likewise.
24547 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24549 (sigpending): Don't use CHECK_SIGSET.
24550 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24552 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24553 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24555 (do_sigsuspend): Don't use CHECK_SIGSET.
24556 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24558 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24559 (do_sigwait): Don't use CHECK_SIGSET.
24560 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24563 include <bp-checks.h>.
24564 (sigpending): Don't use CHECK_SIGSET.
24565 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24566 include <bp-checks.h>.
24567 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24568 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24570 (sigpending): Don't use CHECK_SIGSET.
24571 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24573 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24576 * sysdeps/generic/bp-semctl.h: Remove file.
24577 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24578 <bp-checks.h> and <bp-semctl.h>.
24579 (__old_semctl): Don't use CHECK_SEMCTL.
24580 (__new_semctl): Likewise.
24581 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24583 (__old_semctl): Don't use CHECK_SEMCTL.
24584 (__new_semctl): Likewise.
24585 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24586 <bp-checks.h> and <bp-semctl.h>.
24587 (__old_semctl): Don't use CHECK_SEMCTL.
24588 (__new_semctl): Likewise.
24589 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24590 <bp-checks.h> and <bp-semctl.h>.
24591 (semctl): Don't use CHECK_SEMCTL.
24594 * Makerules (elide-bp-thunks): Remove variable.
24595 (elide-routines.oS): Don't use $(elide-bp-thunks).
24596 (elide-routines.os): Likewise.
24597 (elide-routines.o): Likewise.
24598 (elide-routines.op): Likewise.
24599 (elide-routines.og): Likewise.
24600 (objects): Don't use $(bp-thunks).
24601 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24603 (common-generated): Do not add s-proto-bp.d.
24604 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24607 Do not generate makefile rules for bounded-pointer thunks.
24608 * sysdeps/generic/bp-thunks.h: Remove file.
24609 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24610 * sysdeps/unix/s-proto-bp.S: Likewise.
24613 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24614 parts of result separately when argument is not close to line from
24615 -i to i and one part of argument is small.
24616 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24617 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24618 * math/libm-test.inc (cacos_test): Add more tests.
24619 (casin_test): Likewise.
24620 (casinh_test): Likewise.
24621 * sysdeps/i386/fpu/libm-test-ulps: Update.
24622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24624 2013-01-31 David S. Miller <davem@davemloft.net>
24626 * po/de.po: Update from translation team.
24628 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24630 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24632 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24634 * configure.in (_AC_PROG_CC_C89): New definition.
24635 * configure: Regenerate.
24637 * configure.in (AC_PROG_CPP): New definition.
24638 * configure: Regenerate.
24640 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24642 * debug/tst-backtrace.h: New file.
24643 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24644 (ret): Remove variable.
24646 (FAIL): Remove macro.
24647 (NO_INLINE): Likewise.
24648 (fn1): Use match function instead of strstr.
24649 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24650 (ret): Remove variable.
24652 (FAIL): Remove macro.
24653 (NO_INLINE): Likewise.
24654 (fn): Use match function instead of strstr.
24655 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24656 (ret): Remove variable.
24658 (FAIL): Remove macro.
24659 (NO_INLINE): Likewise.
24660 (handle_signal): Use match function instead of strstr.
24661 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24662 (ret): Remove variable.
24664 (FAIL): Remove macro.
24665 (NO_INLINE): Likewise.
24666 (handle_signal): Use match function instead of strstr.
24668 2013-01-23 Roland McGrath <roland@hack.frob.com>
24670 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24672 2013-01-23 David S. Miller <davem@davemloft.net>
24674 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24675 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24676 argument of CAS if possible.
24677 * sysdeps/sparc/sparc64/bits/atomic.h
24678 (__arch_compare_and_exchange_val_32_acq): Likewise.
24679 (__arch_compare_and_exchange_val_64_acq): Likewise.
24681 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24683 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24684 * sysdeps/posix/ulimit.c: ... this.
24685 Include <limits.h>.
24686 * sysdeps/unix/bsd/ulimit.c: Remove file.
24688 2013-01-23 Adam Conrad <adconrad@0c3.net>
24690 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24691 (LDFLAGS-tst-array5): Likewise.
24693 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24696 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24697 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24698 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24699 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24701 2013-01-21 David S. Miller <davem@davemloft.net>
24703 * sysdeps/sparc/backtrace.c: New file.
24704 * sysdeps/sparc/sparc32/backtrace.h: New file.
24705 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24706 * sysdeps/sparc/sparc64/backtrace.h: New file.
24707 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24708 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24711 2013-01-21 Andreas Schwab <schwab@suse.de>
24714 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24717 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24723 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24724 Mark Mitchell <mark@codesourcery.com>
24725 Tom de Vries <tom@codesourcery.com>
24726 Paul Pluzhnikov <ppluzhnikov@google.com>
24728 * debug/tst-backtrace2.c: New file.
24729 * debug/tst-backtrace3.c: Likewise.
24730 * debug/tst-backtrace4.c: Likewise.
24731 * debug/tst-backtrace5.c: Likewise.
24732 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24733 (CFLAGS-tst-backtrace3.c): Likewise.
24734 (CFLAGS-tst-backtrace4.c): Likewise.
24735 (CFLAGS-tst-backtrace5.c): Likewise.
24736 (LDFLAGS-tst-backtrace2): Likewise.
24737 (LDFLAGS-tst-backtrace3): Likewise.
24738 (LDFLAGS-tst-backtrace4): Likewise.
24739 (LDFLAGS-tst-backtrace5): Likewise.
24740 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24741 tst-backtrace4 and tst-backtrace5.
24743 2013-01-18 Anton Blanchard <anton@samba.org>
24744 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24746 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24747 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24748 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24749 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24751 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24752 "+r" and remove output regs list as redundant. Add explicit inline
24753 asm to specify register of return val to work around compiler codegen
24754 bug. Remove (int) cast on return value. Add return type parameter to
24755 use in macro so that this macro does not truncate return value for
24757 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24758 pass to INTERNAL_VSYSCALL_NCS.
24759 (INLINE_VSYSCALL): Add 'long int' as return type to
24760 INTERNAL_VSYSCALL_NCS macro invocation.
24761 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24762 INTERNAL_VSYSCALL_NCS macro invocation.
24763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24765 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24768 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24769 Fix application of SIMD FP exception mask.
24771 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24772 mp_no from a power of two.
24773 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24774 __mpexp_twomm1. Use __pow_mp.
24776 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24779 2013-01-17 David S. Miller <davem@davemloft.net>
24781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24783 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24786 * include/complex.h: Condition contents on [!_COMPLEX_H].
24787 (__kernel_casinhf): New prototype.
24788 (__kernel_casinh): Likewise.
24789 (__kernel_casinhl): Likewise.
24790 * math/Makefile (libm_calls): Add k_casinh.
24791 * math/k_casinh.c: New file.
24792 * math/k_casinhf.c: Likewise.
24793 * math/k_casinhl.c: Likewise.
24794 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24795 finite nonzero arguments.
24796 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24797 finite nonzero arguments.
24798 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24799 finite nonzero arguments.
24800 * math/s_casinh.c: Do not include <float.h>.
24801 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24802 * math/s_casinhf.c: Do not include <float.h>.
24803 (__casinhf): Move code for finite nonzero arguments to
24805 * math/s_casinhl.c: Do not include <float.h>.
24806 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24808 (__casinhl): Move code for finite nonzero arguments to
24810 * math/libm-test.inc (cacos_test): Add more tests.
24811 * sysdeps/i386/fpu/libm-test-ulps: Update.
24812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24814 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24816 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24817 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24818 [!HAVE_MREMAP]: Remove [defined linux] case.
24819 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24821 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24823 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24825 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24827 * elf/elf.h (R_386_SIZE32): New relocation.
24828 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24830 (elf_machine_rela): Likewise.
24831 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24832 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24834 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24836 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24837 (FP_FAST_FMA): Do not define.
24838 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24839 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24840 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24841 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24842 !_SOFT_FLOAT]: Likewise.
24843 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24844 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24846 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24847 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24848 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24849 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24850 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24851 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24854 2013-01-16 Andreas Schwab <schwab@suse.de>
24857 * include/stdlib.h (__mktemp): Add declaration.
24858 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24859 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24861 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24863 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24865 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24866 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24867 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24869 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24870 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24872 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24874 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24875 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24876 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24878 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24879 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24881 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24883 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24885 2013-01-15 David S. Miller <davem@davemloft.net>
24887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24888 trunc{,f} to libm-sysdep_routes.
24889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24899 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24900 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24901 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24902 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24903 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24904 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24907 nearbyint{,f} to libm-sysdep_routes.
24908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24919 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24921 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24922 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24924 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24925 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24926 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24928 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24929 libc_feholdexcept and libc_fesetenv.
24931 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24933 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24935 2013-01-14 David S. Miller <davem@davemloft.net>
24937 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24938 (SPARC_ASM_VIS2_IFUNC): Likewise.
24939 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24941 use of 'siam' instruction.
24942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24948 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24975 routines to libm-sysdep_routines.
24976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24979 fdim/fdimf to libm-sysdep_routines.
24980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24988 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24989 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24990 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24991 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24993 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24995 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24996 to optimize copies.
24998 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25003 local variable MPTWO.
25004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25007 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25009 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25012 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25014 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25016 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25018 * manual/pattern.texi (glob_t): Document gl_flags.
25019 (glob64_t): Likewise.
25021 2013-01-11 David S. Miller <davem@davemloft.net>
25023 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25024 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25025 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25026 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25027 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25028 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25029 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25030 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25031 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25032 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25033 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25034 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25035 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25037 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25038 sparc V9 rather than using V8 code.
25039 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25040 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25042 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25044 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25047 2013-01-11 Roland McGrath <roland@hack.frob.com>
25049 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25050 not in the main loop.
25051 * configure: Regenerated.
25053 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25055 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25056 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25058 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25059 [!__GLIBC_HAVE_LONG_LONG] case.
25060 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25061 condition to just #else.
25062 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25063 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25064 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25065 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25067 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25068 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25069 #elif condition to just #else.
25070 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25071 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25072 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25073 #elif condition to just #else.
25075 2013-01-11 Steve Ellcey <sellcey@mips.com>
25077 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25078 (EF_MIPS_ARCH_64): Fix value.
25079 (EF_MIPS_ARCH_32R2): New.
25080 (EF_MIPS_ARCH_64R2): New.
25082 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25084 * Makeconfig (+link-pie-before-libc): New.
25085 (+link-pie-after-libc): Likewise.
25086 (+link-pie-tests): Likewise.
25087 (+link-pie): Rewritten.
25088 (link-before-libc): Remove $(config-LDFLAGS).
25089 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25090 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25091 (config-LDFLAGS): Renamed to ...
25092 (rtld-LDFLAGS): This.
25093 (rtld-tests-LDFLAGS): New macro.
25094 (link-libc-rpath-link): Likewise.
25095 (link-libc-tests-rpath-link): Likewise.
25096 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25097 (link-libc): Prepand $(link-libc-rpath-link).
25098 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25099 (test-program-prefix): New macro.
25100 (test-via-rtld-prefix): Likewise.
25101 (test-program-cmd): Likewise.
25102 (host-test-program-cmd): Likewise.
25103 * Makefile ($(common-objpfx)testrun.sh): Replace
25104 $(run-program-prefix) with $(test-program-prefix).
25105 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25107 ($(common-objpfx)shlib.lds): Likewise.
25108 (build-module-helper): Likewise.
25109 ($(common-objpfx)format.lds): Likewise.
25110 * Rules (binaries-pie-tests): New.
25111 (binaries-pie-notests): Likewise.
25112 (binaries-pie): Rewritten.
25113 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25114 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25115 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25116 (make-test-out): Replace $(host-built-program-cmd) with
25117 $(host-test-program-cmd).
25118 * config.make.in (build-hardcoded-path-in-tests): New variable.
25119 * configure.in (--enable-hardcoded-path-in-tests): New configure
25121 (hardcoded_path_in_tests): New AC_SUBST.
25122 * configure: Regenerated.
25123 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25124 $(built-program-cmd) with $(test-program-cmd).
25125 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25126 (test_program_cmd): This.
25127 * elf/Makefile ($(objpfx)order.out): Run test with
25128 $(test-program-prefix).
25129 ($(objpfx)order2.out): Likewise.
25130 ($(objpfx)tst-initorder.out): Likewise.
25131 ($(objpfx)tst-initorder2.out): Likewise.
25132 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25133 $(test-program-cmd).
25134 ($(objpfx)tst-array1-static.out): Likewise.
25135 ($(objpfx)tst-array2.out): Likewise.
25136 ($(objpfx)tst-array3.out): Likewise.
25137 ($(objpfx)tst-array4.out): Likewise.
25138 ($(objpfx)tst-array5.out): Likewise.
25139 ($(objpfx)tst-array5-static.out): Likewise.
25140 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25141 $(test-program-cmd).
25142 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25143 $(run-program-prefix) with $(test-program-prefix).
25144 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25145 (test_program_prefix): This.
25146 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25147 $(run-program-prefix) with $(test-program-prefix).
25148 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25149 (test_program_prefix): This.
25150 * iconvdata/tst-tables.sh: Likewise.
25151 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25152 $(run-program-prefix) with $(test-program-prefix).
25153 ($(objpfx)tst-translit.out): Likewise.
25154 ($(objpfx)tst-gettext2.out): Likewise.
25155 ($(objpfx)tst-gettext4.out): Likewise.
25156 ($(objpfx)tst-gettext6.out): Likewise.
25157 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25158 (test_program_prefix): This.
25159 * intl/tst-gettext2.sh: Likewise.
25160 * intl/tst-gettext4.sh Likewise.
25161 * intl/tst-gettext6.sh: Likewise.
25162 * intl/tst-translit.sh: Likewise.
25163 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25164 with $(test-program-cmd).
25165 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25166 $(run-program-prefix) with $(test-program-prefix).
25167 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25168 (test_program_prefix): This.
25169 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25170 $(run-program-prefix) with $(test-program-prefix).
25171 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25172 (test_program_prefix): This.
25173 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25174 * posix/Makefile ($(objpfx)globtest.out): Replace
25175 $(run-via-rtld-prefix) and $(test-wrapper) with
25176 $(test-program-prefix) and $(test-via-rtld-prefix).
25177 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25178 $(test-program-prefix).
25179 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25180 $(host-test-program-cmd).
25181 (tst-spawn-ARGS): Likewise.
25182 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25183 $(test-program-prefix).
25184 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25185 (test_via_rtld_prefix): This.
25186 (test_wrapper): Renamed to ...
25187 (test_program_prefix): This.
25188 (run_program_prefix): Replaced by test_program_prefix.
25189 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25190 (test_program_prefix): This.
25191 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25192 with $(host-test-program-cmd).
25193 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25194 $(run-program-prefix) with $(test-program-prefix).
25195 ($(objpfx)tst-printf.out): Likewise.
25196 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25197 $(test-program-cmd).
25198 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25199 (test_program_prefix): This.
25200 * stdio-common/tst-unbputc.sh: Likewise.
25201 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25202 $(run-program-prefix) with $(test-program-prefix).
25203 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25204 (test_program_prefix): This.
25205 * string/Makefile ($(objpfx)tst-svc.out): Replace
25206 $(built-program-cmd) with $(test-program-cmd).
25208 2013-01-11 Andreas Jaeger <aj@suse.de>
25211 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25212 value. Sync with Linux 3.7.
25214 2013-01-10 David S. Miller <davem@davemloft.net>
25216 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25217 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25218 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25220 2013-01-10 Roland McGrath <roland@hack.frob.com>
25222 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25224 * configure: Regenerated.
25226 2013-01-10 David S. Miller <davem@davemloft.net>
25228 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25229 sparc V9 rather than using V8 code.
25230 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25231 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25233 2013-01-10 Roland McGrath <roland@hack.frob.com>
25235 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25236 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25237 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25238 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25239 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25240 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25241 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25242 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25243 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25244 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25245 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25246 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25247 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25248 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25249 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25250 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25251 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25252 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25253 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25254 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25255 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25256 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25257 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25258 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25259 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25260 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25261 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25263 2013-01-10 David S. Miller <davem@davemloft.net>
25265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25267 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25269 * posix/Makefile (tests-static): New variable.
25270 (tests): Add $(tests-static).
25271 (tst-exec-static-ARGS): New variable.
25272 (tst-spawn-static-ARGS): Likewise.
25273 * posix/tst-exec-static.c: New file.
25274 * posix/tst-spawn-static.c: Likewise.
25275 * posix/tst-exec.c: Support run directly.
25276 * posix/tst-spawn.c: Likewise.
25278 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25280 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25282 * math/bits/mathcalls.h (llrint): Likewise.
25283 (llround): Likewise.
25284 * stdlib/stdlib.h (struct drand48_data): Likewise.
25285 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25286 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25287 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25289 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25291 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25292 (elf_greg_t): Likewise.
25293 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25294 (__jmp_buf): Likewise.
25295 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25297 (llrint): Likewise, for all definitions.
25298 (llrintl): Likewise.
25300 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25301 Remove [__GNUC__] condition.
25302 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25303 condition to just [__USE_ISOC99].
25304 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25306 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25309 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25310 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25312 (_POSIX_V6_ILP32_OFF32): Likewise.
25313 (_XBS5_ILP32_OFF32): Likewise.
25314 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25315 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25317 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25319 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25322 doubles __mpexp_twomm1. Adjust usage.
25323 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25326 2013-01-10 Andreas Schwab <schwab@suse.de>
25329 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25330 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25332 2013-01-09 David S. Miller <davem@davemloft.net>
25335 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25336 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25337 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25338 (TCP_FASTOPEN): Define.
25339 (tcp_repair_opt): New structure.
25340 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25342 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25343 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25344 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25345 (tcp_cookie_transactions): New structure.
25347 2013-01-09 Anton Blanchard <anton@samba.org>
25349 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25350 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25351 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25352 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25354 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25356 * include/features.h (__USE_ANSI): Remove.
25358 2013-01-09 Roland McGrath <roland@hack.frob.com>
25360 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25362 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25364 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25366 * sysdeps/s390/fpu/libm-test-ulps: Update.
25368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25370 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25374 (denorm): Likewise.
25375 (__mp_dbl): Likewise.
25376 (__dbl_mp): Likewise.
25377 (add_magnitudes): Likewise.
25378 (sub_magnitudes): Likewise.
25384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25388 (denorm): Likewise.
25389 (__mp_dbl): Likewise.
25390 (__dbl_mp): Likewise.
25391 (add_magnitudes): Likewise.
25392 (sub_magnitudes): Likewise.
25398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25402 (denorm): Likewise.
25403 (__mp_dbl): Likewise.
25404 (__dbl_mp): Likewise.
25405 (add_magnitudes): Likewise.
25406 (sub_magnitudes): Likewise.
25413 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25415 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25416 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25417 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25418 2 && __USE_EXTERN_INLINES]: Likewise.
25420 2013-01-08 Andreas Jaeger <aj@suse.de>
25423 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25425 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25426 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25428 2013-01-07 Anton Blanchard <anton@samba.org>
25430 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25431 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25432 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25433 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25434 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25435 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25436 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25437 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25439 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25440 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25441 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25442 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25443 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25444 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25445 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25446 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25447 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25448 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25449 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25450 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25451 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25453 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25454 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25455 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25456 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25457 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25458 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25459 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25460 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25462 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25463 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25464 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25465 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25466 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25467 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25468 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25469 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25470 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25471 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25472 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25474 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25476 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25477 (__MALLOC_PMT): Likewise.
25478 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25479 [__GNUC__], only on [_LIBC].
25480 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25481 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25482 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25483 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25484 forward declaration.
25485 (realloc_hook_ini): Likewise.
25486 (memalign_hook_ini): Likewise.
25487 (__libc_memalign): Do not use __MALLOC_PMT in variable
25489 (__libc_valloc): Likewise.
25490 (__libc_pvalloc): Likewise.
25491 (__libc_calloc): Likewise.
25492 (__posix_memalign): Likewise.
25495 * math/s_casinh.c: Include <float.h>.
25496 (__casinh): Do not do computation with squaring and square root
25497 for large arguments.
25498 * math/s_casinhf.c: Include <float.h>.
25499 (__casinhf): Do not do computation with squaring and square root
25500 for large arguments.
25501 * math/s_casinhl.c: Include <float.h>.
25502 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25503 (__casinhl): Do not do computation with squaring and square root
25504 for large arguments.
25505 * math/libm-test.inc (casin_test): Add more tests.
25506 (casinh_test): Likewise.
25507 * sysdeps/i386/fpu/libm-test-ulps: Update.
25508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25510 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25512 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25513 (__x86_64_raw_data_cache_size): Likewise.
25514 (__x86_64_data_cache_size_half): Likewise.
25515 (__x86_64_raw_data_cache_size_half): Likewise.
25516 (__x86_64_shared_cache_size): Likewise.
25517 (__x86_64_raw_shared_cache_size): Likewise.
25518 (__x86_64_shared_cache_size_half): Likewise.
25519 (__x86_64_raw_shared_cache_size_half): Likewise.
25520 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25522 (__x86_data_cache_size): This.
25523 (__x86_64_raw_data_cache_size): Renamed to ...
25524 (__x86_raw_data_cache_size): This.
25525 (__x86_64_data_cache_size_half): Renamed to ...
25526 (__x86_data_cache_size_half): This.
25527 (__x86_64_raw_data_cache_size_half): Renamed to ...
25528 (__x86_raw_data_cache_size_half): This.
25529 (__x86_64_shared_cache_size): Renamed to ...
25530 (__x86_shared_cache_size): This.
25531 (__x86_64_raw_shared_cache_size): Renamed to ...
25532 (__x86_raw_shared_cache_size): This.
25533 (__x86_64_shared_cache_size_half): Renamed to ...
25534 (__x86_shared_cache_size_half): This.
25535 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25536 (__x86_raw_shared_cache_size_half): This.
25537 * sysdeps/x86_64/memcpy.S: Updated.
25538 * sysdeps/x86_64/memset.S: Likewise.
25539 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25540 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25541 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25543 2013-01-04 David S. Miller <davem@davemloft.net>
25545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25547 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25549 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25550 1 to avoid redefinition warning.
25551 (__USE_GNU): Don't define.
25552 (init_signaling_nan): Protoize.
25554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25556 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25558 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25560 (__cpymn): Likewise.
25561 (norm): Remove commented code.
25562 (denorm): Likewise.
25563 (__mp_dbl): Likewise.
25565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25566 (__cpymn): Likewise.
25567 (norm): Remove commented code.
25568 (denorm): Likewise.
25569 (__mp_dbl): Likewise.
25572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25573 mp_no value for 1.0 and 2.0.
25574 (norm): Use RADIXI instead of radixi.d.
25575 (denorm): Likewise.
25576 (__mul): Use 0.0 instead of zero.d.
25577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25578 mp_no value for 1.0 and 2.0.
25579 (norm): Use RADIXI instead of radixi.d.
25580 (denorm): Likewise.
25581 (__mul): Use 0.0 instead of zero.d.
25583 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25586 * math/s_casinh.c (__casinh): Reduce finite argument to first
25587 quadrant then set signs of results at the end.
25588 * math/s_casinhf.c (__casinhf): Likewise.
25589 * math/s_casinhl.c (__casinhl): Likewise.
25590 * math/libm-test.inc (casin_test): Add more tests.
25591 (casinh_test): Likewise.
25592 * sysdeps/i386/fpu/libm-test-ulps: Update.
25593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25595 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25597 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25599 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25601 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25603 (denorm): Likewise.
25604 (__mp_dbl): Likewise.
25607 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25608 and adjust the header comment.
25610 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25611 variable name from declaration.
25613 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25616 Initialize COMMON_CPUID_INDEX_7 element.
25617 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25618 (CPUID_RTM): Likewise.
25619 (HAS_RTM): Likewise.
25620 (COMMON_CPUID_INDEX_7): New enum.
25622 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25625 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25626 size is zero, record memory as freed.
25628 2013-01-03 Andreas Jaeger <aj@suse.de>
25630 * po/ia.po: Add new Interlingua translation.
25632 2012-01-03 Allan McRae <allan@archlinux.org>
25634 * locale/programs/localedef.c: Fix description of '--posix' flag.
25636 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25638 * NEWS: Update dates in second copyright notice.
25639 * README: Update copyright dates in example.
25640 * manual/libc.texinfo: Update copyright dates.
25641 * scripts/test-installation.pl: Update copyright date in --version
25644 * hurd/ctty-input.c: Fix copyright notice formatting.
25645 * hurd/ctty-output.c: Likewise.
25646 * hurd/dtable.c: Likewise.
25647 * hurd/hurd-raise.c: Likewise.
25648 * hurd/hurdprio.c: Likewise.
25649 * hurd/msgportdemux.c: Likewise.
25650 * misc/sys/file.h: Likewise.
25651 * misc/sys/ioctl.h: Likewise.
25652 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25653 * sysdeps/mach/hurd/chdir.c: Likewise.
25654 * sysdeps/mach/hurd/fchdir.c: Likewise.
25655 * sysdeps/mach/hurd/rename.c: Likewise.
25656 * sysdeps/mach/hurd/rmdir.c: Likewise.
25657 * sysdeps/mach/hurd/seekdir.c: Likewise.
25658 * sysdeps/mach/hurd/setsid.c: Likewise.
25659 * sysdeps/posix/wait3.c: Likewise.
25661 * All files with FSF copyright notices: Update copyright dates
25662 using scripts/update-copyrights.
25663 * intl/plural.c: Regenerated.
25664 * locale/programs/charmap-kw.h: Likewise.
25665 * locale/programs/locfile-kw.h: Likewise.
25667 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25669 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25672 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25673 calculation loop and add branch prediction.
25675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25676 check access beyond bounds of m1np.
25678 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25680 (__inv): Remove local variable MPTWO to use the global
25682 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25683 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25685 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25686 MP3HALFS static const.
25688 2013-01-01 David S. Miller <davem@davemloft.net>
25690 * po/ca.po: Update from translation team.
25692 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25694 * scripts/update-copyrights: New file.
25695 * Makeconfig: Reformat copyright notice.
25696 * ctype/ctype.h: Likewise.
25697 * debug/swprintf_chk.c: Likewise.
25698 * elf/dl-cache.c: Likewise.
25699 * elf/dl-debug.c: Likewise.
25700 * elf/dl-object.c: Likewise.
25701 * grp/initgroups.c: Likewise.
25702 * hurd/Makefile: Likewise.
25703 * hurd/hurd/signal.h: Likewise.
25704 * hurd/hurdfault.c: Likewise.
25705 * hurd/hurdioctl.c: Likewise.
25706 * hurd/hurdlookup.c: Likewise.
25707 * hurd/intr-msg.c: Likewise.
25708 * iconv/gconv_open.c: Likewise.
25709 * libio/swprintf.c: Likewise.
25710 * locale/lc-ctype.c: Likewise.
25711 * locale/nl_langinfo.c: Likewise.
25712 * mach/Machrules: Likewise.
25713 * mach/Makefile: Likewise.
25714 * malloc/obstack.h: Likewise.
25715 * manual/Makefile: Likewise.
25716 * manual/tsort.awk: Likewise.
25717 * misc/bits/stab.def: Likewise.
25718 * nis/nis_print_group_entry.c: Likewise.
25719 * nis/nis_table.c: Likewise.
25720 * nis/nss_compat/compat-pwd.c: Likewise.
25721 * nis/nss_compat/compat-spwd.c: Likewise.
25722 * po/Makefile: Likewise.
25723 * posix/fnmatch.c: Likewise.
25724 * posix/regex.h: Likewise.
25725 * resolv/Makefile: Likewise.
25726 * resolv/nss_dns/dns-network.c: Likewise.
25727 * resolv/res_hconf.c: Likewise.
25728 * scripts/gen-sorted.awk: Likewise.
25729 * soft-fp/soft-fp.h: Likewise.
25730 * stdio-common/printf.h: Likewise.
25731 * stdlib/monetary.h: Likewise.
25732 * stdlib/random.c: Likewise.
25733 * stdlib/random_r.c: Likewise.
25734 * sysdeps/generic/Makefile: Likewise.
25735 * sysdeps/gnu/Makefile: Likewise.
25736 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25737 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25738 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25739 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25740 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25741 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25742 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25743 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25746 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25747 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25748 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25749 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25750 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25751 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25752 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25754 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25755 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25756 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25757 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25758 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25759 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25760 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25761 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25762 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25763 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25764 * sysdeps/mach/hurd/errnos.awk: Likewise.
25765 * sysdeps/mach/hurd/fork.c: Likewise.
25766 * sysdeps/mach/hurd/getcwd.c: Likewise.
25767 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25768 * sysdeps/mach/hurd/mmap.c: Likewise.
25769 * sysdeps/mach/hurd/utimes.c: Likewise.
25770 * sysdeps/mach/hurd/xmknod.c: Likewise.
25771 * sysdeps/posix/profil.c: Likewise.
25772 * sysdeps/posix/readdir_r.c: Likewise.
25773 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25774 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25775 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25776 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25778 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25779 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25780 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25782 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25783 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25784 * sysdeps/pthread/lio_listio.c: Likewise.
25785 * sysdeps/sparc/dl-procinfo.h: Likewise.
25786 * sysdeps/unix/i386/sysdep.S: Likewise.
25787 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25788 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25789 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25790 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25792 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25793 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25794 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25795 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25796 * sysdeps/wordsize-32/divdi3.c: Likewise.
25797 * time/sys/time.h: Likewise.
25798 * wcsmbs/Makefile: Likewise.
25800 2013-01-01 David S. Miller <davem@davemloft.net>
25802 * po/fr.po: Update from translation team.
25804 * catgets/gencat.c: Update copyright year.
25805 * csu/version.c: Likewise.
25806 * debug/catchsegv.sh: Likewise.
25807 * debug/pcprofiledump.c: Likewise.
25808 * debug/xtrace.sh: Likewise.
25809 * elf/ldconfig.c: Likewise.
25810 * elf/ldd.bash.in: Likewise.
25811 * elf/pldd.c: Likewise.
25812 * elf/sotruss.ksh: Likewise.
25813 * elf/sprof.c: Likewise.
25814 * iconv/iconv_prog.c: Likewise.
25815 * iconv/iconvconfig.c: Likewise.
25816 * locale/programs/locale.c: Likewise.
25817 * locale/programs/localedef.c: Likewise.
25818 * login/programs/pt_chown.c: Likewise.
25819 * malloc/memusage.sh: Likewise.
25820 * malloc/memusagestat.c: Likewise.
25821 * malloc/mtrace.pl: Likewise.
25822 * nscd/nscd.c: Likewise.
25823 * nss/getent.c: Likewise.
25824 * nss/makedb.c: Likewise.
25825 * posix/getconf.c: Likewise.
25827 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25829 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25832 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25834 * math/bits/mathcalls.h (modf): Use __nonnull.
25836 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25838 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25839 (split): Use macro CN instead of the bare value.
25840 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25843 instead of the bare value.
25844 (power1): Likewise.
25846 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25848 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25850 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25852 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25854 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25855 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25856 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25857 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25859 2012-12-28 Andreas Jaeger <aj@suse.de>
25861 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25862 values are from Linux 3.7.
25864 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25865 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25867 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25869 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25872 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25874 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25875 variables with preprocessor constants.
25876 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25877 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25878 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25880 2012-12-27 Bruno Haible <bruno@clisp.org>
25883 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25886 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25889 and use variable directly.
25890 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25892 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25894 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25895 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25897 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25899 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25900 include directive. Remove local variable MPONE.
25901 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25902 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25903 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25905 2012-12-25 David S. Miller <davem@davemloft.net>
25907 * version.h (RELEASE): Set to "development".
25908 (VERSION): Set to "2.17.90".
25909 * NEWS: Add 2.18 section.
25911 2012-12-21 David S. Miller <davem@davemloft.net>
25913 * po/hr.po: Update from translation team.
25915 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25917 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25919 2012-12-19 Steve Ellcey <sellcey@mips.com>
25921 * NEWS: Mention new memcpy for MIPS.
25923 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25925 * manual/contrib.texi (Contributors): Spelling correction.
25927 2012-12-15 David S. Miller <davem@davemloft.net>
25929 * po/ru.po: Update from translation team.
25931 2012-12-13 David S. Miller <davem@davemloft.net>
25933 * NEWS: Mention IFUNC testsuite enhancements.
25935 * po/pl.po: Update from translation team.
25936 * po/bg.po: Likewise.
25938 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25939 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25941 2012-12-11 David S. Miller <davem@davemloft.net>
25943 * po/sv.po: Update from translation team.
25945 * po/vi.po: Update from translation team.
25947 * po/cs.po: Update from translation team.
25949 * po/de.po: Update from translation team.
25950 * po/eo.po: Likewise.
25951 * po/nl.po: Likewise.
25953 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25956 * manual/argp.texi (Argp Helper Functions): Move node to follow
25957 Argp Parsing State.
25960 * manual/conf.texi (Limits on File System Capacity): Mention if
25961 terminating null is included in the max size.
25963 2012-12-10 Andreas Jaeger <aj@suse.de>
25965 * po/cs.po: Update from translation team.
25967 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25969 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25970 void pointer and cast to uintptr_t.
25971 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25973 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25974 * sysdeps/s390/s390-64/memset.S: Likewise.
25976 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25979 * menual/message.texi (Message Translation): Fix typos.
25980 (Helper programs for gettext): Likewise.
25982 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25985 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25988 2012-12-07 David S. Miller <davem@davemloft.net>
25990 * po/libc.pot: Update.
25992 2012-12-07 Richard Henderson <rth@redhat.com>
25995 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25996 normal/normal case to before the switch.
25997 (_FP_DIV): Likewise.
25999 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26000 Mike Frysinger <vapier@gentoo.org>
26002 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26003 check for __NR_fadvise64_64.
26005 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26007 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26008 0, not just to plain "0" as a statement.
26009 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26012 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26014 * NEWS: Use sourceware.org in Bugzilla URL.
26016 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26019 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26021 * stdio-common/tst-put-error.c (do_test): Add newline to the
26022 padded test to ensure flush.
26024 2012-12-05 Jeff Law <law@redhat.com>
26026 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26028 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26030 * README: Don't refer to ports add-on as distributed separately.
26031 Mention AArch64 in list of systems supported in the ports add-on.
26033 * LICENSES: Add more non-FSF copyright and license notices.
26035 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26038 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26040 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26041 10000 as width of padded output.
26043 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26045 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26047 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26048 variable LX with __attribute__ ((unused)).
26049 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26051 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26053 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26054 with __attribute__ ((unused)).
26056 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26058 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26060 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26062 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26063 (CFLAGS-nldbl-acos.c): New variable.
26064 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26065 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26066 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26067 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26068 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26069 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26070 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26071 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26072 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26073 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26074 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26075 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26076 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26077 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26078 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26079 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26080 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26081 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26082 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26083 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26084 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26085 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26086 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26087 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26088 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26089 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26090 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26091 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26092 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26093 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26094 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26095 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26096 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26097 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26098 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26099 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26100 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26101 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26102 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26103 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26104 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26105 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26106 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26107 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26108 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26109 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26110 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26111 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26112 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26113 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26114 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26115 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26116 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26117 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26118 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26119 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26120 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26121 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26122 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26123 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26124 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26125 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26126 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26127 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26128 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26129 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26130 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26131 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26132 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26133 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26134 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26135 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26136 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26137 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26138 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26139 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26140 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26141 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26142 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26143 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26144 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26145 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26146 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26147 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26148 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26149 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26150 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26151 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26152 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26153 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26154 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26155 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26156 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26157 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26158 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26159 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26160 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26163 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26166 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26167 whole low double instead of just low 47 bits when splitting values
26170 2012-12-03 Allan McRae <allan@archlinux.org>
26172 * manual/stdio.texi (Predefined Printf Handlers): Remove
26173 @hsep and @vsep usage.
26175 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26177 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26178 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26180 2012-12-03 Jeff Law <law@redhat.com>
26182 * time/sys/time.h (settimeofday): Do not mark TV argument
26185 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26187 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26188 when currently writing and seek to current position when not.
26189 * libio/Makefile (tests): Remove bug-fclose1.
26190 * libio/bug-fclose1.c: Delete.
26192 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26194 * manual/arith.texi (feenableexcept): Fix typo.
26195 (fedisableexcept): Likewise.
26197 2012-11-30 Roland McGrath <roland@hack.frob.com>
26199 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26200 second, differently-typed declaration, rather than a cast.
26202 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26204 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26205 * include/rpc/svc.h: ... here.
26207 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26210 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26211 depending n and resplen2 to catch cases where answer
26214 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26216 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26217 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26219 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26221 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26223 2012-11-29 Roland McGrath <roland@hack.frob.com>
26225 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26227 2012-11-28 Jeff Law <law@redhat.com>
26230 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26231 dataset_temporary. Track alloca usage into alloca_used.
26232 If dataset is large allocate and release it via malloc/free.
26234 2012-06-04 Florian Weimer <fweimer@redhat.com>
26237 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26239 2012-11-28 David S. Miller <davem@davemloft.net>
26241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26243 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26246 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26247 of pi/2 rounded to nearest to 64 bits.
26248 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26249 nearest to 64 bits.
26250 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26253 2012-11-28 Jeff Law <law@redhat.com>
26254 Martin Osvald <mosvald@redhat.com>
26257 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26258 * sunrpc/svc.c: Include time.h.
26259 (__svc_accept_failed): New function.
26260 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26261 any reason other than EINTR, call __svc_accept_failed.
26262 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26263 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26265 2012-11-28 Andreas Schwab <schwab@suse.de>
26267 * scripts/abilist.awk: Also handle indirect functions in .opd
26270 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26273 * sysdeps/x86/fpu/powl_helper.c: New file.
26274 * sysdeps/x86/fpu/Makefile: Likewise.
26275 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26277 (__ieee754_powl): Use __powl_helper for finite arguments except
26278 integer exponents below 8.
26279 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26281 (__ieee754_powl): Use __powl_helper for finite arguments except
26282 integer exponents below 8.
26283 * math/libm-test.inc (pow_test): Add more tests and enable some
26284 previously disabled tests.
26285 * sysdeps/i386/fpu/libm-test-ulps: Update.
26286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26288 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26289 Carlos O'Donell <carlos_odonell@mentor.com>
26291 * nss/makedb.c (is_prime): Assert that input is odd and greater
26292 than 4. Note that fact in a comment too.
26293 (next_prime): Add 4 to input.
26295 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26298 * libio/Makefile (tests): Add test case tst-fwrite-error.
26299 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26300 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26301 * libio/tst-fwrite-error.c: New test case.
26303 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26305 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26306 before casting to void *.
26307 * include/libc-internal.h (__pointer_type): New macro.
26308 (__integer_if_pointer_type_sub): Likewise.
26309 (__integer_if_pointer_type): Likewise.
26310 (cast_to_integer): Likewise.
26311 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26312 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26313 before casting to atomic64_t.
26314 (atomic_exchange_acq): Likewise.
26315 (__arch_exchange_and_add_body): Likewise.
26316 (__arch_add_body): Likewise.
26317 (atomic_add_negative): Likewise.
26318 (atomic_add_zero): Likewise.
26320 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26322 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26323 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26324 (add_fdes): Likewise.
26325 (linear_search_fdes): Likewise.
26326 (binary_search_unencoded_fdes): Likewise.
26328 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26330 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26332 2012-11-24 Adam Conrad <adconrad@0c3.net>
26334 * configure.in: Autodetect C++ header directories.
26335 * configure: Regenerated.
26337 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26339 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26341 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26345 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26347 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26348 LDBL_MANT_DIG == 106]: Disable some tests.
26349 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26351 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26355 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26356 input for small inputs. Return +/- pi/2 for large inputs.
26357 * math/libm-test.inc (atan_test): Add more tests.
26359 * sysdeps/generic/unwind-dw2-fde-glibc.c
26360 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26361 __attribute__ ((unused)).
26364 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26365 x * y if x and y are nonzero and z is zero.
26368 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26369 nonzero exponents with absolute value below 0x1p-117 to +/-
26373 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26374 up arguments below 2**-450, not just those below 2**-500.
26375 * math/libm-test.inc (hypot_test): Add another test.
26378 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26379 Return a+b for ratio over 2**120, not 2**60.
26380 * math/libm-test.inc (hypot_test): Add another test.
26382 * math/libm-test.inc (clog_test): Use
26383 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26384 (clog10_test): Likewise.
26387 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26389 2012-11-22 Andreas Schwab <schwab@suse.de>
26391 * sysdeps/i386/fpu/libm-test-ulps: Update.
26393 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26395 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26396 printf output with newline.
26398 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26401 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26402 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26403 -z nodlopen, -z initfirst and -z execstack support.
26404 * configure: Regenerated.
26406 * elf/elf.h (DF_1_NODIRECT): New macro.
26407 (DF_1_IGNMULDEF): Likewise.
26408 (DF_1_NOKSYMS): Likewise.
26409 (DF_1_NOHDR): Likewise.
26410 (DF_1_EDITED): Likewise.
26411 (DF_1_NORELOC): Likewise.
26412 (DF_1_SYMINTPOSE): Likewise.
26413 (DF_1_GLOBAUDIT): Likewise.
26414 (DF_1_SINGLETON): Likewise.
26415 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26416 DT_1_SUPPORTED_MASK bits.
26417 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26419 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26421 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26423 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26425 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26428 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26429 (sendmmsg): Move declarations...
26430 * socket/sys/socket.h: ... here.
26431 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26432 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26434 * socket/recvmmsg.c: ... this new file.
26435 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26436 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26437 definition of __sendmmsg hidden.
26438 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26439 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26440 Move ENOSYS stub into and include it from...
26441 * socket/sendmmsg.c: ... this new file.
26442 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26443 (sysdep_routines): Move recvmmsg and sendmmsg...
26444 * socket/Makefile (routines): ... here.
26445 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26446 (GLIBC_PRIVATE): Add __sendmmsg.
26447 * include/sys/socket.h (__sendmmsg): Add declarations.
26448 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26451 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26453 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26454 variable I1 with __attribute__ ((unused)).
26455 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26457 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26459 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26460 DUMMY variables with __attribute__ ((unused)).
26462 * bits/byteswap.h: Include <bits/types.h>.
26463 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26465 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26467 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26468 string_t. Do not manually set errno.
26469 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26470 length with __strnlen. Make sure to both set errno and return it on
26473 2012-11-19 David S. Miller <davem@davemloft.net>
26475 With help from Joseph Myers.
26476 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26477 very large arguments properly.
26478 * math/libm-test.inc (atan_test): New tests.
26479 (atan2_test): New tests.
26480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26483 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26486 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26489 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26490 [POSIX] (EADDRNOTAVAIL): Likewise.
26491 [POSIX] (EAFNOSUPPORT): Likewise.
26492 [POSIX] (EALREADY): Likewise.
26493 [POSIX] (ECONNABORTED): Likewise.
26494 [POSIX] (ECONNREFUSED): Likewise.
26495 [POSIX] (ECONNRESET): Likewise.
26496 [POSIX] (EDESTADDRREQ): Likewise.
26497 [POSIX] (EDQUOT): Likewise.
26498 [POSIX] (EHOSTUNREACH): Likewise.
26499 [POSIX] (EIDRM): Likewise.
26500 [POSIX] (EISCONN): Likewise.
26501 [POSIX] (ELOOP): Likewise.
26502 [POSIX] (EMULTIHOP): Likewise.
26503 [POSIX] (ENETDOWN): Likewise.
26504 [POSIX] (ENETUNREACH): Likewise.
26505 [POSIX] (ENOBUFS): Likewise.
26506 [POSIX] (ENODATA): Likewise.
26507 [POSIX] (ENOLINK): Likewise.
26508 [POSIX] (ENOMSG): Likewise.
26509 [POSIX] (ENOPROTOOPT): Likewise.
26510 [POSIX] (ENOSR): Likewise.
26511 [POSIX] (ENOSTR): Likewise.
26512 [POSIX] (ENOTCONN): Likewise.
26513 [POSIX] (ENOTSOCK): Likewise.
26514 [POSIX] (EOPNOTSUPP): Likewise.
26515 [POSIX] (EOVERFLOW): Likewise.
26516 [POSIX] (EPROTO): Likewise.
26517 [POSIX] (EPROTONOSUPPORT): Likewise.
26518 [POSIX] (EPROTOTYPE): Likewise.
26519 [POSIX] (ESTALE): Likewise.
26520 [POSIX] (ETIME): Likewise.
26521 [POSIX] (ETXTBSY): Likewise.
26522 [POSIX] (EWOULDBLOCK): Likewise.
26523 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26524 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26525 [POSIX] (SEEK_CUR): Likewise.
26526 [POSIX] (SEEK_END): Likewise.
26527 [POSIX || UNIX98] (mode_t): Do not require.
26528 [POSIX] (off_t): Likewise.
26529 [POSIX] (pid_t): Likewise.
26530 [POSIX] (sys/stat.h): Do not allow header.
26531 [POSIX] (unistd.h): Likewise.
26532 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26533 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26534 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26535 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26537 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26538 sigevent): Specify elements.
26539 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26541 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26542 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26544 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26545 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26546 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26547 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26548 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26549 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26550 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26551 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26552 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26553 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26554 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26555 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26556 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26557 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26559 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26561 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26563 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26565 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26566 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26567 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26568 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26569 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26570 Specify lower bound on value.
26571 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26572 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26573 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26574 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26575 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26576 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26577 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26578 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26580 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26582 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26583 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26584 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26585 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26586 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26587 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26588 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26589 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26590 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26591 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26592 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26593 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26594 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26595 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26596 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26597 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26599 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26601 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26602 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26603 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26604 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26605 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26606 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26608 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26609 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26610 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26611 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26612 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26613 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26614 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26616 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26617 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26618 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26619 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26620 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26621 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26622 specify as optional.
26623 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26624 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26625 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26626 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26627 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26628 [XPG3] (NL_LANGMAX): Likewise.
26629 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26630 [POSIX || XPG3] (NL_NMAX): Likewise.
26631 [POSIX || XPG3] (NL_SETMAX): Likewise.
26632 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26633 [XPG3] (NZERO): Likewise.
26634 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26635 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26636 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26637 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26638 (REG_ERANGE): Expect.
26639 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26641 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26642 Use (void) in prototype.
26643 [POSIX] (*_t): Allow.
26644 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26645 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26646 (WRDE_BADVAL): Expect.
26648 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26650 [XPG3 || XPG4] (O_RSYNC): Likewise.
26651 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26653 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26654 [XPG3 || XPG4] (sigqueue): Likewise.
26655 [XPG3 || XPG4] (sigtimedwait): Likewise.
26656 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26657 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26658 [XPG3 || XPG4] (vsnprintf): Likewise.
26659 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26661 [XPG3 || XPG4] (blksize_t): Likewise.
26662 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26664 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26665 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26666 [XPG3 || XPG4] (struct itimerspec): Likewise.
26667 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26668 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26669 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26670 [XPG3 || XPG4] (clockid_t): Likewise.
26671 [XPG3 || XPG4] (timer_t): Likewise.
26672 [XPG3 || XPG4] (clock_getres): Likewise.
26673 [XPG3 || XPG4] (clock_gettime): Likewise.
26674 [XPG3 || XPG4] (clock_settime): Likewise.
26675 [XPG3 || XPG4] (nanosleep): Likewise.
26676 [XPG3 || XPG4] (timer_create): Likewise.
26677 [XPG3 || XPG4] (timer_delete): Likewise.
26678 [XPG3 || XPG4] (timer_gettime): Likewise.
26679 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26680 [XPG3 || XPG4] (timer_settime): Likewise.
26681 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26682 [XPG3 || XPG4] (getlogin_r): Likewise.
26683 [XPG3 || XPG4] (pread): Likewise.
26684 [XPG3 || XPG4] (pthread_atfork): Likewise.
26685 [XPG3 || XPG4] (pwrite): Likewise.
26688 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26691 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26693 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26694 finalizing MALLSTREAM.
26696 * sysdeps/mach/hurd/syncfs.c: New file.
26698 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26701 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26702 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26703 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26704 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26705 (_nss_dns_gethostbyname4_r): Likewise.
26706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26707 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26709 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26712 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26714 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26716 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26717 * elf/cache.c (print_entry): Print ",AArch64" for
26720 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26721 * elf/cache.c (print_entry): Print ",hard-float" for
26724 2012-11-18 David S. Miller <davem@davemloft.net>
26726 With help from Joseph Myers.
26727 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26729 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26731 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26732 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26734 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26735 * math/libm-test.inc (y0_test): New tests.
26736 (y1_test): New tests.
26737 * sysdeps/i386/fpu/libm-test-ulps: Update.
26738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26741 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26743 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26745 * configure: Regenerated.
26747 2012-11-17 David S. Miller <davem@davemloft.net>
26750 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26751 nonzero exponents with absolute value below 0x1p-128 to +/-
26754 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26756 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26758 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26760 * posix/getconf-speclist.c: New file.
26761 * posix/posix-envs.def: Likewise.
26762 * posix/confstr.c (START_ENV_GROUP): New macro.
26763 (END_ENV_GROUP): Likewise.
26764 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26765 (KNOWN_PRESENT_ENV_STRING): Likewise.
26766 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26767 (UNKNOWN_ENVIRONMENT): Likewise.
26768 (confstr): Include posix-envs.def instead of handling
26769 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26770 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26771 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26772 (END_ENV_GROUP): Likewise.
26773 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26774 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26775 (UNKNOWN_ENVIRONMENT): Likewise.
26776 (__sysconf): Include posix-envs.def instead of handling associated
26777 cases directly here.
26778 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26779 preprocessing getconf-speclist.c rather than running getconf or
26780 generating empty file.
26782 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26784 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26786 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26789 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26791 2012-11-16 David S. Miller <davem@davemloft.net>
26793 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26794 smaller than LDBL_EPSILON/2.0L, just return xm1.
26796 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26798 * elf/tst-array1.c (init): Set constructor priority to 1000.
26799 (fini): Set destructor priority to 1000.
26800 * elf/tst-array2dep.c: Likewise.
26802 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26805 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26806 (_IO_new_file_xsputn): Also return EOF if none of the input
26807 data was written when overflow failed.
26808 * libio/iopadn.c (_IO_padn): Likewise.
26809 * libio/iowpadn.c (_IO_wpadn): Likewise.
26810 * stdio-common/tst-put-error.c: Add copyright notice.
26811 (do_test): Add case for printing padded string.
26812 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26813 _IO_padn returned error.
26814 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26815 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26818 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26820 * libio/libioP.h: Add comment note that the references to C++
26821 bits are now obsolete.
26823 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26825 * math/libm-test.inc (check_complex): Use asprintf.
26827 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26829 * debug/pcprofiledump.c (print_version): Update copyright year.
26830 * malloc/memusagestat.c (print_version): Likewise.
26832 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26835 * elf/Makefile (tests): Add tst-audit8.
26836 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26837 ($(objpfx)tst-audit8.out): New target.
26838 (tst-audit8-ENV): New variable.
26839 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26840 audit if l_reloc_result is NULL.
26841 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26842 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26843 * elf/tst-audit8.c: New file.
26845 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26847 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26848 * misc/Makefile (CFLAGS-select.c): Define.
26849 * posix/Makefile (CFLAGS-pause.c): Define.
26851 2012-11-13 David S. Miller <davem@davemloft.net>
26853 * crypt/Makefile: Move test targets after toplevel Rules
26854 inclusion. Grab any necessary sysdep routines when linking.
26855 * crypt/md5.c (md5_process_block): Remove define, we will always
26856 name it __md5_process_block.
26857 (md5_finish_ctx): Update md5_process_block call.
26858 (md5_stream): Likewise.
26859 (md5_process_bytes): Likewise.
26860 (md5_process_block): Rename to __md5_process_block and move to ...
26861 * crypt/md5-block.c: ... here.
26862 * crypt/sha256.c (sha256_process_block): Move to ...
26863 * crypt/sha256-block.c: ... here.
26864 * crypt/sha512.c (sha512_process_block): Move to ...
26865 * crypt/sha512-block.c: ... here.
26866 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26868 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26869 * sysdeps/sparc/sparc64/multiarch/Makefile
26870 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26872 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26873 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26875 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26876 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26877 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26878 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26879 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26880 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26881 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26882 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26883 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26885 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26886 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26888 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26890 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26892 * timezone/tzselect.ksh: Update from tzcode git revision
26893 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26894 * timezone/zdump.c: Likewise.
26895 * timezone/zic.c: Likewise.
26896 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26897 in TZVERSION setting, not $(PKGVERSION).
26898 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26899 REPORT_BUGS_TO settings.
26902 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26905 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26907 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26908 detection to immediately after _FP_ROUND().
26909 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26912 2012-11-11 David S. Miller <davem@davemloft.net>
26914 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26916 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26917 __close rather than their public counterparts.
26919 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26921 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26923 [UNIX98] (sem_timedwait): Do not expect.
26924 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26925 [XPG4 || UNIX98] (sockatmark): Do not expect.
26926 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26927 (clock_getcpuclockid): Do not expect.
26928 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26929 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26931 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26932 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26933 [UNIX98] (vwscanf): Likewise.
26934 [UNIX98] (vswscanf): Likewise.
26936 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26938 * timezone/version.h: Remove file.
26939 * timezone/README: Do not refer to version.h.
26940 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26941 $(objpfx)version.h.
26942 ($(objpfx)zdump.o): Likewise.
26943 ($(objpfx)version.h): New target.
26945 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26947 * timezone/README: Don't mention modification to tzselect.ksh.
26948 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26949 work on unmodified tzselect.ksh. Substitute version numbers in
26952 * Makefile (format-me): Remove.
26953 (INSTALL): Adjust indentation. Use commands directly instead of
26954 using $(format-me).
26956 * aclocal.m4 (ACX_PKGVERSION): New macro.
26957 (ACX_BUGURL): Likewise.
26958 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26959 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26960 (REPORT_BUGS_TO): Likewise.
26961 * configure: Regenerated.
26962 * config.h.in (PKGVERSION): New macro.
26963 (REPORT_BUGS_TO): Likewise.
26964 * config.make.in (PKGVERSION): New variable.
26965 (PKGVERSION_TEXI): Likewise.
26966 (REPORT_BUGS_TO): Likewise.
26967 (REPORT_BUGS_TEXI): Likewise.
26968 * Makefile (format-me): Use -I$(common-objpfx)manual.
26969 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26970 ($(common-objpfx)manual/%): New target.
26971 (manual/%): Remove target.
26972 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26973 (print_version): Use PKGVERSION.
26974 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26975 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26976 and REPORT_BUGS_TO.
26977 ($(objpfx)xtrace): Likewise.
26978 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26979 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26980 (print_version): Use PKGVERSION.
26981 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26982 (do_version): Use PKGVERSION.
26983 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26985 (common-ldd-rewrite): Likewise.
26986 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26987 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26988 (print_version): Use PKGVERSION.
26989 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26990 * elf/pldd.c (argp_program_bug_address): Remove variable.
26991 (more_help): New function.
26992 (argp): Use more_help.
26993 (print_version): Use PKGVERSION.
26994 * elf/sln.c (main): Use PKGVERSION.
26995 (usage): Use REPORT_BUGS_TO.
26996 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26997 (top level): Use PKGVERSION.
26998 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26999 (print_version): Use PKGVERSION.
27000 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27001 (print_version): Use PKGVERSION.
27002 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27003 (print_version): Use PKGVERSION.
27004 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27005 (print_version): Use PKGVERSION.
27006 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27007 (print_version): Use PKGVERSION.
27008 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27009 (print_version): Use PKGVERSION.
27010 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27012 ($(objpfx)memusage): Likewise.
27013 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27014 (do_version): Use PKGVERSION.
27015 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27016 (print_version): Use PKGVERSION.
27017 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27018 ($PKGVERSION): New variable.
27019 ($REPORT_BUGS_TO): Likewise.
27020 (usage): Use $REPORT_BUGS_TO.
27021 (top level): Use $PKGVERSION.
27022 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27023 ($(objpfx)pkgvers.texi): New rule.
27024 ($(objpfx)stamp-pkgvers): Likewise.
27025 * manual/install.texi: Include pkgvers.texi.
27026 (--with-pkgversion): Document new configure option.
27027 (--with-bugurl): Likewise.
27028 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27029 than necessarily for this particular distribution. Use
27030 REPORT_BUGS_TO for where to report bugs.
27031 * INSTALL: Regenerated.
27032 * manual/libc.texinfo: Include pkgvers.texi.
27033 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27034 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27035 (print_version): Use PKGVERSION.
27036 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27037 (print_version): Use PKGVERSION.
27038 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27039 (print_version): Use PKGVERSION.
27040 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27041 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27043 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27044 (print_version): Use PKGVERSION.
27045 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27046 (print_version): Use PKGVERSION.
27047 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27050 * timezone/checktab.awk: Update from tzcode 2012i.
27051 * timezone/ialloc.c: Likewise.
27052 * timezone/private.h: Likewise.
27053 * timezone/scheck.c: Likewise.
27054 * timezone/tzfile.h: Likewise.
27055 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27056 (TZVERSION): Hardcode tzcode version number.
27057 * timezone/zdump.c: Update from tzcode 2012i.
27058 * timezone/zic.c: Likewise.
27059 * timezone/version.h: New file.
27060 * timezone/README: Describe version.h. Update upstream location.
27063 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27064 (mktemp): Enable declaration.
27065 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27067 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27082 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27083 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27084 for copies of such integer values.
27085 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27086 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27088 2012-11-09 Andreas Jaeger <aj@suse.de>
27090 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27091 definitions and declarations that are provided by
27092 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27094 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27096 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27097 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27098 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27101 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27103 * elf/elf.h: Update comment before AArch64 relocations.
27105 2012-11-07 David S. Miller <davem@davemloft.net>
27107 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27108 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27109 (__start_context): Declare.
27110 (__makecontext_ret): Delete.
27111 (__makecontext): Hook up __start_context instead of
27113 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27114 (sysdep_routines): Add __start_context when in stdlib.
27116 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27118 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27119 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27120 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27122 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27123 (READELF): New variable. Use it instead of hardcoded "readelf".
27125 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27127 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27128 * sysdeps/x86/Makefile: Here.
27129 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27130 * sysdeps/x86/tst-xmmymm.sh: This.
27132 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27134 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27136 [UNIX98] (pthread_barrier_t): Do not expect.
27137 [UNIX98] (pthread_barrierattr_t): Likewise.
27138 [UNIX98] (pthread_spinlock_t): Likewise.
27139 [UNIX98] (pthread_barrier_destroy): Likewise.
27140 [UNIX98] (pthread_barrier_init): Likewise.
27141 [UNIX98] (pthread_barrier_wait): Likewise.
27142 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27143 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27144 [UNIX98] (pthread_barrierattr_init): Likewise.
27145 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27146 [UNIX98] (pthread_getcpuclockid): Likewise.
27147 [UNIX98] (pthread_mutex_timedlock): Likewise.
27148 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27149 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27150 [UNIX98] (pthread_sigmask): Likewise.
27151 [UNIX98] (pthread_spin_destroy): Likewise.
27152 [UNIX98] (pthread_spin_init): Likewise.
27153 [UNIX98] (pthread_spin_lock): Likewise.
27154 [UNIX98] (pthread_spin_trylock): Likewise.
27155 [UNIX98] (pthread_spin_unlock): Likewise.
27156 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27158 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27159 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27160 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27161 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27162 [XPG3 || XPG4] (pthread_key_t): Likewise.
27163 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27164 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27165 [XPG3 || XPG4] (pthread_once_t): Likewise.
27166 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27167 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27168 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27169 [XPG3 || XPG4] (pthread_t): Likewise.
27171 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27173 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27175 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27176 Change function return type to int.
27178 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27179 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27180 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27181 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27182 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27183 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27184 [!POSIX] (posix_madvise): Likewise.
27185 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27187 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27188 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27189 (mode_t): Likewise.
27190 (posix_mem_offset): Likewise.
27191 (posix_typed_mem_get_info): Likewise.
27192 (posix_typed_mem_open): Likewise.
27194 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27195 Change condition to [XOPEN2K8].
27197 * conform/conformtest.pl: Preprocess allow-header data with -x c
27198 instead of from stdin.
27199 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27200 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27201 [C99-based standards] (cerfc): Likewise.
27202 [C99-based standards] (cexp2): Likewise.
27203 [C99-based standards] (cexpm1): Likewise.
27204 [C99-based standards] (clog10): Likewise.
27205 [C99-based standards] (clog1p): Likewise.
27206 [C99-based standards] (clog2): Likewise.
27207 [C99-based standards] (clgamma): Likewise.
27208 [C99-based standards] (ctgamma): Likewise.
27209 [C99-based standards] (cerff): Likewise.
27210 [C99-based standards] (cerfcf): Likewise.
27211 [C99-based standards] (cexp2f): Likewise.
27212 [C99-based standards] (cexpm1f): Likewise.
27213 [C99-based standards] (clog10f): Likewise.
27214 [C99-based standards] (clog1pf): Likewise.
27215 [C99-based standards] (clog2f): Likewise.
27216 [C99-based standards] (clgammaf): Likewise.
27217 [C99-based standards] (ctgammaf): Likewise.
27218 [C99-based standards] (cerfl): Likewise.
27219 [C99-based standards] (cerfcl): Likewise.
27220 [C99-based standards] (cexp2l): Likewise.
27221 [C99-based standards] (cexpm1l): Likewise.
27222 [C99-based standards] (clog10l): Likewise.
27223 [C99-based standards] (clog1pl): Likewise.
27224 [C99-based standards] (clog2l): Likewise.
27225 [C99-based standards] (clgammal): Likewise.
27226 [C99-based standards] (ctgammal): Likewise.
27227 * conform/data/inttypes.h-data [C99-based standards]: Include
27228 stdint.h-data. Remove all expectations for stdint.h contents.
27229 [C99-based standards] (PRI*): Do not allow.
27230 [C99-based standards] (SCN*): Likewise.
27231 [C99-based standards] (*_t): Likewise.
27232 [C99-based-standards] (PRId8): Expect macro.
27233 [C99-based-standards] (PRIi8): Likewise.
27234 [C99-based-standards] (PRIo8): Likewise.
27235 [C99-based-standards] (PRIu8): Likewise.
27236 [C99-based-standards] (PRIx8): Likewise.
27237 [C99-based-standards] (PRIX8): Likewise.
27238 [C99-based-standards] (SCNd8): Likewise.
27239 [C99-based-standards] (SCNi8): Likewise.
27240 [C99-based-standards] (SCNo8): Likewise.
27241 [C99-based-standards] (SCNu8): Likewise.
27242 [C99-based-standards] (SCNx8): Likewise.
27243 [C99-based-standards] (PRIdLEAST8): Likewise.
27244 [C99-based-standards] (PRIiLEAST8): Likewise.
27245 [C99-based-standards] (PRIoLEAST8): Likewise.
27246 [C99-based-standards] (PRIuLEAST8): Likewise.
27247 [C99-based-standards] (PRIxLEAST8): Likewise.
27248 [C99-based-standards] (PRIXLEAST8): Likewise.
27249 [C99-based-standards] (SCNdLEAST8): Likewise.
27250 [C99-based-standards] (SCNiLEAST8): Likewise.
27251 [C99-based-standards] (SCNoLEAST8): Likewise.
27252 [C99-based-standards] (SCNuLEAST8): Likewise.
27253 [C99-based-standards] (SCNxLEAST8): Likewise.
27254 [C99-based-standards] (PRIdFAST8): Likewise.
27255 [C99-based-standards] (PRIiFAST8): Likewise.
27256 [C99-based-standards] (PRIoFAST8): Likewise.
27257 [C99-based-standards] (PRIuFAST8): Likewise.
27258 [C99-based-standards] (PRIxFAST8): Likewise.
27259 [C99-based-standards] (PRIXFAST8): Likewise.
27260 [C99-based-standards] (SCNdFAST8): Likewise.
27261 [C99-based-standards] (SCNiFAST8): Likewise.
27262 [C99-based-standards] (SCNoFAST8): Likewise.
27263 [C99-based-standards] (SCNuFAST8): Likewise.
27264 [C99-based-standards] (SCNxFAST8): Likewise.
27265 [C99-based-standards] (PRId16): Likewise.
27266 [C99-based-standards] (PRIi16): Likewise.
27267 [C99-based-standards] (PRIo16): Likewise.
27268 [C99-based-standards] (PRIu16): Likewise.
27269 [C99-based-standards] (PRIx16): Likewise.
27270 [C99-based-standards] (PRIX16): Likewise.
27271 [C99-based-standards] (SCNd16): Likewise.
27272 [C99-based-standards] (SCNi16): Likewise.
27273 [C99-based-standards] (SCNo16): Likewise.
27274 [C99-based-standards] (SCNu16): Likewise.
27275 [C99-based-standards] (SCNx16): Likewise.
27276 [C99-based-standards] (PRIdLEAST16): Likewise.
27277 [C99-based-standards] (PRIiLEAST16): Likewise.
27278 [C99-based-standards] (PRIoLEAST16): Likewise.
27279 [C99-based-standards] (PRIuLEAST16): Likewise.
27280 [C99-based-standards] (PRIxLEAST16): Likewise.
27281 [C99-based-standards] (PRIXLEAST16): Likewise.
27282 [C99-based-standards] (SCNdLEAST16): Likewise.
27283 [C99-based-standards] (SCNiLEAST16): Likewise.
27284 [C99-based-standards] (SCNoLEAST16): Likewise.
27285 [C99-based-standards] (SCNuLEAST16): Likewise.
27286 [C99-based-standards] (SCNxLEAST16): Likewise.
27287 [C99-based-standards] (PRIdFAST16): Likewise.
27288 [C99-based-standards] (PRIiFAST16): Likewise.
27289 [C99-based-standards] (PRIoFAST16): Likewise.
27290 [C99-based-standards] (PRIuFAST16): Likewise.
27291 [C99-based-standards] (PRIxFAST16): Likewise.
27292 [C99-based-standards] (PRIXFAST16): Likewise.
27293 [C99-based-standards] (SCNdFAST16): Likewise.
27294 [C99-based-standards] (SCNiFAST16): Likewise.
27295 [C99-based-standards] (SCNoFAST16): Likewise.
27296 [C99-based-standards] (SCNuFAST16): Likewise.
27297 [C99-based-standards] (SCNxFAST16): Likewise.
27298 [C99-based-standards] (PRId32): Likewise.
27299 [C99-based-standards] (PRIi32): Likewise.
27300 [C99-based-standards] (PRIo32): Likewise.
27301 [C99-based-standards] (PRIu32): Likewise.
27302 [C99-based-standards] (PRIx32): Likewise.
27303 [C99-based-standards] (PRIX32): Likewise.
27304 [C99-based-standards] (SCNd32): Likewise.
27305 [C99-based-standards] (SCNi32): Likewise.
27306 [C99-based-standards] (SCNo32): Likewise.
27307 [C99-based-standards] (SCNu32): Likewise.
27308 [C99-based-standards] (SCNx32): Likewise.
27309 [C99-based-standards] (PRIdLEAST32): Likewise.
27310 [C99-based-standards] (PRIiLEAST32): Likewise.
27311 [C99-based-standards] (PRIoLEAST32): Likewise.
27312 [C99-based-standards] (PRIuLEAST32): Likewise.
27313 [C99-based-standards] (PRIxLEAST32): Likewise.
27314 [C99-based-standards] (PRIXLEAST32): Likewise.
27315 [C99-based-standards] (SCNdLEAST32): Likewise.
27316 [C99-based-standards] (SCNiLEAST32): Likewise.
27317 [C99-based-standards] (SCNoLEAST32): Likewise.
27318 [C99-based-standards] (SCNuLEAST32): Likewise.
27319 [C99-based-standards] (SCNxLEAST32): Likewise.
27320 [C99-based-standards] (PRIdFAST32): Likewise.
27321 [C99-based-standards] (PRIiFAST32): Likewise.
27322 [C99-based-standards] (PRIoFAST32): Likewise.
27323 [C99-based-standards] (PRIuFAST32): Likewise.
27324 [C99-based-standards] (PRIxFAST32): Likewise.
27325 [C99-based-standards] (PRIXFAST32): Likewise.
27326 [C99-based-standards] (SCNdFAST32): Likewise.
27327 [C99-based-standards] (SCNiFAST32): Likewise.
27328 [C99-based-standards] (SCNoFAST32): Likewise.
27329 [C99-based-standards] (SCNuFAST32): Likewise.
27330 [C99-based-standards] (SCNxFAST32): Likewise.
27331 [C99-based-standards] (PRId64): Likewise.
27332 [C99-based-standards] (PRIi64): Likewise.
27333 [C99-based-standards] (PRIo64): Likewise.
27334 [C99-based-standards] (PRIu64): Likewise.
27335 [C99-based-standards] (PRIx64): Likewise.
27336 [C99-based-standards] (PRIX64): Likewise.
27337 [C99-based-standards] (SCNd64): Likewise.
27338 [C99-based-standards] (SCNi64): Likewise.
27339 [C99-based-standards] (SCNo64): Likewise.
27340 [C99-based-standards] (SCNu64): Likewise.
27341 [C99-based-standards] (SCNx64): Likewise.
27342 [C99-based-standards] (PRIdLEAST64): Likewise.
27343 [C99-based-standards] (PRIiLEAST64): Likewise.
27344 [C99-based-standards] (PRIoLEAST64): Likewise.
27345 [C99-based-standards] (PRIuLEAST64): Likewise.
27346 [C99-based-standards] (PRIxLEAST64): Likewise.
27347 [C99-based-standards] (PRIXLEAST64): Likewise.
27348 [C99-based-standards] (SCNdLEAST64): Likewise.
27349 [C99-based-standards] (SCNiLEAST64): Likewise.
27350 [C99-based-standards] (SCNoLEAST64): Likewise.
27351 [C99-based-standards] (SCNuLEAST64): Likewise.
27352 [C99-based-standards] (SCNxLEAST64): Likewise.
27353 [C99-based-standards] (PRIdFAST64): Likewise.
27354 [C99-based-standards] (PRIiFAST64): Likewise.
27355 [C99-based-standards] (PRIoFAST64): Likewise.
27356 [C99-based-standards] (PRIuFAST64): Likewise.
27357 [C99-based-standards] (PRIxFAST64): Likewise.
27358 [C99-based-standards] (PRIXFAST64): Likewise.
27359 [C99-based-standards] (SCNdFAST64): Likewise.
27360 [C99-based-standards] (SCNiFAST64): Likewise.
27361 [C99-based-standards] (SCNoFAST64): Likewise.
27362 [C99-based-standards] (SCNuFAST64): Likewise.
27363 [C99-based-standards] (SCNxFAST64): Likewise.
27364 [C99-based-standards] (PRIdMAX): Likewise.
27365 [C99-based-standards] (PRIiMAX): Likewise.
27366 [C99-based-standards] (PRIoMAX): Likewise.
27367 [C99-based-standards] (PRIuMAX): Likewise.
27368 [C99-based-standards] (PRIxMAX): Likewise.
27369 [C99-based-standards] (PRIXMAX): Likewise.
27370 [C99-based-standards] (SCNdMAX): Likewise.
27371 [C99-based-standards] (SCNiMAX): Likewise.
27372 [C99-based-standards] (SCNoMAX): Likewise.
27373 [C99-based-standards] (SCNuMAX): Likewise.
27374 [C99-based-standards] (SCNxMAX): Likewise.
27375 [C99-based-standards] (PRIdPTR): Likewise.
27376 [C99-based-standards] (PRIiPTR): Likewise.
27377 [C99-based-standards] (PRIoPTR): Likewise.
27378 [C99-based-standards] (PRIuPTR): Likewise.
27379 [C99-based-standards] (PRIxPTR): Likewise.
27380 [C99-based-standards] (PRIXPTR): Likewise.
27381 [C99-based-standards] (SCNdPTR): Likewise.
27382 [C99-based-standards] (SCNiPTR): Likewise.
27383 [C99-based-standards] (SCNoPTR): Likewise.
27384 [C99-based-standards] (SCNuPTR): Likewise.
27385 [C99-based-standards] (SCNxPTR): Likewise.
27386 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27388 * conform/data/stdint.h-data: Update comments to clarify
27390 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27392 [C99-based standards] (INT8_MAX): Likewise.
27393 [C99-based standards] (INT16_MIN): Likewise.
27394 [C99-based standards] (INT16_MAX): Likewise.
27395 [C99-based standards] (INT32_MIN): Likewise.
27396 [C99-based standards] (INT32_MAX): Likewise.
27397 [C99-based standards] (INT64_MIN): Likewise.
27398 [C99-based standards] (INT64_MAX): Likewise.
27399 [C99-based standards] (UINT8_MAX): Likewise.
27400 [C99-based standards] (UINT16_MAX): Likewise.
27401 [C99-based standards] (UINT32_MAX): Likewise.
27402 [C99-based standards] (UINT64_MAX): Likewise.
27403 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27404 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27405 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27406 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27407 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27408 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27409 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27410 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27411 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27412 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27413 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27414 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27415 [C99-based standards] (INT_FAST8_MIN): Likewise.
27416 [C99-based standards] (INT_FAST8_MAX): Likewise.
27417 [C99-based standards] (INT_FAST16_MIN): Likewise.
27418 [C99-based standards] (INT_FAST16_MAX): Likewise.
27419 [C99-based standards] (INT_FAST32_MIN): Likewise.
27420 [C99-based standards] (INT_FAST32_MAX): Likewise.
27421 [C99-based standards] (INT_FAST64_MIN): Likewise.
27422 [C99-based standards] (INT_FAST64_MAX): Likewise.
27423 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27424 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27425 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27426 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27427 [C99-based standards] (INTPTR_MIN): Likewise.
27428 [C99-based standards] (INTPTR_MAX): Likewise.
27429 [C99-based standards] (UINTPTR_MAX): Likewise.
27430 [C99-based standards] (INTMAX_MIN): Likewise.
27431 [C99-based standards] (INTMAX_MAX): Likewise.
27432 [C99-based standards] (UINTMAX_MAX): Likewise.
27433 [C99-based standards] (PTRDIFF_MIN): Likewise.
27434 [C99-based standards] (PTRDIFF_MAX): Likewise.
27435 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27436 [C99-based standards] (SIZE_MAX): Likewise.
27437 [C99-based standards] (WCHAR_MAX): Likewise.
27438 [C99-based standards] (WINT_MAX): Likewise.
27439 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27440 constraint on value.
27441 [C99-based standards] (WCHAR_MIN): Likewise.
27442 [C99-based standards] (WINT_MIN): Likewise.
27443 [C99-based standards] (*_t): Allow.
27444 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27445 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27446 Include math.h-data and complex.h-data. Remove all expectations
27447 of math.h and complex.h contents.
27448 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27450 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27451 (struct tm): Expect tag.
27452 [C99-based-standards] (wcstof): Expect function.
27453 [C99-based-standards] (wcstold): Likewise.
27454 [C99-based-standards] (wcstoll): Likewise.
27455 [C99-based-standards] (wcstoull): Likewise.
27456 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27457 macro-int-constant. Specify type.
27458 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27459 constraint on value.
27460 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27462 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27464 [ISO C standards]: Do not allow headers.
27465 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27466 wcs[abcdefghijklmnopqrstuvwxyz]*.
27467 [ISO C standards] (*_t): Do not allow.
27468 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27470 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27471 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27473 [ISO C standards]: Do not allow headers.
27474 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27475 is[abcdefghijklmnopqrstuvwxyz]*.
27476 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27477 to[abcdefghijklmnopqrstuvwxyz]*.
27478 [ISO C standards] (*_t): Do not allow.
27479 * conform/data/stdalign.h-data: New file.
27480 * conform/data/stdbool.h-data: Likewise.
27481 * conform/data/stdnoreturn.h-data: Likewise.
27483 2012-11-07 Roland McGrath <roland@hack.frob.com>
27486 * manual/filesys.texi (Directory Entries): Typo fix.
27487 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27489 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27491 * elf/elf.h (EM_AARCH64): New macro.
27492 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27493 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27494 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27495 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27496 (R_AARCH64_TLSDESC): Likewise.
27497 (NT_ARM_TLS): Likewise.
27498 (NT_ARM_HW_BREAK): Likewise.
27499 (NT_ARM_HW_WATCH): Likewise.
27501 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27504 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27505 (__ieee754_powl): Saturate nonzero exponents with absolute value
27506 below 0x1p-79 to +/- 0x1p-79.
27507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27508 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27509 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27510 nonzero exponents with absolute value below 0x1p-32 to +/-
27512 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27513 (__ieee754_powl): Saturate nonzero exponents with absolute value
27514 below 0x1p-79 to +/- 0x1p-79.
27515 * math/libm-test.inc (pow_test): Add more tests.
27517 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27519 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27520 _dl_s390_cap_flags with kernel. Increase string length.
27521 (_dl_s390_platforms): Add z196 and zEC12.
27523 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27525 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27526 Change XOPEN21K to XOPEN2K.
27528 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27530 * string/memmove.c: Use memcpy when possible.
27532 2012-11-06 Andreas Jaeger <aj@suse.de>
27534 * po/eo.po: Update from translation team.
27536 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27540 exponent and small x and y exponents, scale x or y up. Increase
27541 by 2 the exponent used in scaling up.
27542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27543 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27544 * math/libm-test.inc (fma_test): Add more tests.
27545 (fma_test_towardzero): Likewise.
27546 (fma_test_downward): Likewise.
27547 (fma_test_upward): Likewise.
27549 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27552 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27556 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27557 namespace for names of struct fields.
27558 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27560 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27561 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27563 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27566 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27568 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27570 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27574 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27577 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27581 definitely overflow as x * y not x * y + z.
27582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27584 * math/libm-test.inc (fma_test): Add more tests.
27585 (fma_test_towardzero): Likewise.
27586 (fma_test_downward): Likewise.
27587 (fma_test_upward): Likewise.
27589 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27593 * include/stub-tag.h: Remove file.
27594 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27596 * manual/maint.texi (Porting): Don't reference it.
27597 * Makerules ($(objpfx)stubs): Likewise.
27598 * dirent/closedir.c: Don't include <stub-tag.h>.
27599 * dirent/dirfd.c: Likewise.
27600 * dirent/fdopendir.c: Likewise.
27601 * dirent/getdents.c: Likewise.
27602 * dirent/getdents64.c: Likewise.
27603 * dirent/opendir.c: Likewise.
27604 * dirent/readdir.c: Likewise.
27605 * dirent/readdir64.c: Likewise.
27606 * dirent/readdir64_r.c: Likewise.
27607 * dirent/readdir_r.c: Likewise.
27608 * dirent/rewinddir.c: Likewise.
27609 * dirent/seekdir.c: Likewise.
27610 * dirent/telldir.c: Likewise.
27611 * gmon/profil.c: Likewise.
27612 * grp/setgroups.c: Likewise.
27613 * inet/if_index.c: Likewise.
27614 * io/access.c: Likewise.
27615 * io/chdir.c: Likewise.
27616 * io/chmod.c: Likewise.
27617 * io/chown.c: Likewise.
27618 * io/close.c: Likewise.
27619 * io/dup.c: Likewise.
27620 * io/dup2.c: Likewise.
27621 * io/dup3.c: Likewise.
27622 * io/euidaccess.c: Likewise.
27623 * io/faccessat.c: Likewise.
27624 * io/fchdir.c: Likewise.
27625 * io/fchmod.c: Likewise.
27626 * io/fchmodat.c: Likewise.
27627 * io/fchown.c: Likewise.
27628 * io/fchownat.c: Likewise.
27629 * io/fcntl.c: Likewise.
27630 * io/flock.c: Likewise.
27631 * io/fstatfs.c: Likewise.
27632 * io/fstatfs64.c: Likewise.
27633 * io/fstatvfs.c: Likewise.
27634 * io/fstatvfs64.c: Likewise.
27635 * io/futimens.c: Likewise.
27636 * io/fxstat.c: Likewise.
27637 * io/fxstat64.c: Likewise.
27638 * io/fxstatat.c: Likewise.
27639 * io/fxstatat64.c: Likewise.
27640 * io/getcwd.c: Likewise.
27641 * io/isatty.c: Likewise.
27642 * io/lchmod.c: Likewise.
27643 * io/lchown.c: Likewise.
27644 * io/link.c: Likewise.
27645 * io/linkat.c: Likewise.
27646 * io/lseek.c: Likewise.
27647 * io/lseek64.c: Likewise.
27648 * io/lxstat64.c: Likewise.
27649 * io/mkdir.c: Likewise.
27650 * io/mkdirat.c: Likewise.
27651 * io/mkfifo.c: Likewise.
27652 * io/mkfifoat.c: Likewise.
27653 * io/open.c: Likewise.
27654 * io/open64.c: Likewise.
27655 * io/openat.c: Likewise.
27656 * io/openat64.c: Likewise.
27657 * io/pipe.c: Likewise.
27658 * io/pipe2.c: Likewise.
27659 * io/poll.c: Likewise.
27660 * io/posix_fadvise.c: Likewise.
27661 * io/posix_fadvise64.c: Likewise.
27662 * io/posix_fallocate.c: Likewise.
27663 * io/posix_fallocate64.c: Likewise.
27664 * io/read.c: Likewise.
27665 * io/readlink.c: Likewise.
27666 * io/readlinkat.c: Likewise.
27667 * io/rmdir.c: Likewise.
27668 * io/sendfile.c: Likewise.
27669 * io/sendfile64.c: Likewise.
27670 * io/statfs.c: Likewise.
27671 * io/statfs64.c: Likewise.
27672 * io/statvfs.c: Likewise.
27673 * io/statvfs64.c: Likewise.
27674 * io/symlink.c: Likewise.
27675 * io/symlinkat.c: Likewise.
27676 * io/ttyname.c: Likewise.
27677 * io/ttyname_r.c: Likewise.
27678 * io/umask.c: Likewise.
27679 * io/unlink.c: Likewise.
27680 * io/unlinkat.c: Likewise.
27681 * io/utime.c: Likewise.
27682 * io/utimensat.c: Likewise.
27683 * io/write.c: Likewise.
27684 * io/xmknod.c: Likewise.
27685 * io/xmknodat.c: Likewise.
27686 * io/xstat.c: Likewise.
27687 * io/xstat64.c: Likewise.
27688 * login/getpt.c: Likewise.
27689 * login/grantpt.c: Likewise.
27690 * login/unlockpt.c: Likewise.
27691 * math/e_acoshl.c: Likewise.
27692 * math/e_acosl.c: Likewise.
27693 * math/e_asinl.c: Likewise.
27694 * math/e_atan2l.c: Likewise.
27695 * math/e_atanhl.c: Likewise.
27696 * math/e_coshl.c: Likewise.
27697 * math/e_expl.c: Likewise.
27698 * math/e_fmodl.c: Likewise.
27699 * math/e_gammal_r.c: Likewise.
27700 * math/e_hypotl.c: Likewise.
27701 * math/e_j0l.c: Likewise.
27702 * math/e_j1l.c: Likewise.
27703 * math/e_jnl.c: Likewise.
27704 * math/e_lgammal_r.c: Likewise.
27705 * math/e_log10l.c: Likewise.
27706 * math/e_log2l.c: Likewise.
27707 * math/e_logl.c: Likewise.
27708 * math/e_powl.c: Likewise.
27709 * math/e_rem_pio2l.c: Likewise.
27710 * math/e_sinhl.c: Likewise.
27711 * math/e_sqrtl.c: Likewise.
27712 * math/fclrexcpt.c: Likewise.
27713 * math/fedisblxcpt.c: Likewise.
27714 * math/feenablxcpt.c: Likewise.
27715 * math/fegetenv.c: Likewise.
27716 * math/fegetexcept.c: Likewise.
27717 * math/fegetround.c: Likewise.
27718 * math/feholdexcpt.c: Likewise.
27719 * math/fesetenv.c: Likewise.
27720 * math/fesetround.c: Likewise.
27721 * math/feupdateenv.c: Likewise.
27722 * math/fgetexcptflg.c: Likewise.
27723 * math/fraiseexcpt.c: Likewise.
27724 * math/fsetexcptflg.c: Likewise.
27725 * math/ftestexcept.c: Likewise.
27726 * math/k_cosl.c: Likewise.
27727 * math/k_rem_pio2l.c: Likewise.
27728 * math/k_sinl.c: Likewise.
27729 * math/k_tanl.c: Likewise.
27730 * math/s_asinhl.c: Likewise.
27731 * math/s_atanl.c: Likewise.
27732 * math/s_cbrtl.c: Likewise.
27733 * math/s_erfl.c: Likewise.
27734 * math/s_expm1l.c: Likewise.
27735 * math/s_log1pl.c: Likewise.
27736 * math/s_tanhl.c: Likewise.
27737 * misc/acct.c: Likewise.
27738 * misc/brk.c: Likewise.
27739 * misc/chflags.c: Likewise.
27740 * misc/chroot.c: Likewise.
27741 * misc/fchflags.c: Likewise.
27742 * misc/fgetxattr.c: Likewise.
27743 * misc/flistxattr.c: Likewise.
27744 * misc/fremovexattr.c: Likewise.
27745 * misc/fsetxattr.c: Likewise.
27746 * misc/fsync.c: Likewise.
27747 * misc/ftruncate.c: Likewise.
27748 * misc/futimes.c: Likewise.
27749 * misc/futimesat.c: Likewise.
27750 * misc/getdomain.c: Likewise.
27751 * misc/getdtsz.c: Likewise.
27752 * misc/gethostid.c: Likewise.
27753 * misc/gethostname.c: Likewise.
27754 * misc/getloadavg.c: Likewise.
27755 * misc/getpagesize.c: Likewise.
27756 * misc/getsysstats.c: Likewise.
27757 * misc/getxattr.c: Likewise.
27758 * misc/gtty.c: Likewise.
27759 * misc/ioctl.c: Likewise.
27760 * misc/lgetxattr.c: Likewise.
27761 * misc/listxattr.c: Likewise.
27762 * misc/llistxattr.c: Likewise.
27763 * misc/lremovexattr.c: Likewise.
27764 * misc/lsetxattr.c: Likewise.
27765 * misc/lutimes.c: Likewise.
27766 * misc/madvise.c: Likewise.
27767 * misc/mincore.c: Likewise.
27768 * misc/mlock.c: Likewise.
27769 * misc/mlockall.c: Likewise.
27770 * misc/mmap.c: Likewise.
27771 * misc/mprotect.c: Likewise.
27772 * misc/msync.c: Likewise.
27773 * misc/munlock.c: Likewise.
27774 * misc/munlockall.c: Likewise.
27775 * misc/munmap.c: Likewise.
27776 * misc/preadv.c: Likewise.
27777 * misc/preadv64.c: Likewise.
27778 * misc/ptrace.c: Likewise.
27779 * misc/pwritev.c: Likewise.
27780 * misc/pwritev64.c: Likewise.
27781 * misc/readv.c: Likewise.
27782 * misc/reboot.c: Likewise.
27783 * misc/remap_file_pages.c: Likewise.
27784 * misc/removexattr.c: Likewise.
27785 * misc/revoke.c: Likewise.
27786 * misc/select.c: Likewise.
27787 * misc/setdomain.c: Likewise.
27788 * misc/setegid.c: Likewise.
27789 * misc/seteuid.c: Likewise.
27790 * misc/sethostid.c: Likewise.
27791 * misc/sethostname.c: Likewise.
27792 * misc/setregid.c: Likewise.
27793 * misc/setreuid.c: Likewise.
27794 * misc/setxattr.c: Likewise.
27795 * misc/sstk.c: Likewise.
27796 * misc/stty.c: Likewise.
27797 * misc/swapoff.c: Likewise.
27798 * misc/swapon.c: Likewise.
27799 * misc/sync.c: Likewise.
27800 * misc/syncfs.c: Likewise.
27801 * misc/syscall.c: Likewise.
27802 * misc/truncate.c: Likewise.
27803 * misc/ualarm.c: Likewise.
27804 * misc/usleep.c: Likewise.
27805 * misc/ustat.c: Likewise.
27806 * misc/utimes.c: Likewise.
27807 * misc/vhangup.c: Likewise.
27808 * misc/writev.c: Likewise.
27809 * posix/_exit.c: Likewise.
27810 * posix/alarm.c: Likewise.
27811 * posix/execve.c: Likewise.
27812 * posix/fexecve.c: Likewise.
27813 * posix/fork.c: Likewise.
27814 * posix/fpathconf.c: Likewise.
27815 * posix/getaddrinfo.c: Likewise.
27816 * posix/getegid.c: Likewise.
27817 * posix/geteuid.c: Likewise.
27818 * posix/getgid.c: Likewise.
27819 * posix/getgroups.c: Likewise.
27820 * posix/getlogin.c: Likewise.
27821 * posix/getlogin_r.c: Likewise.
27822 * posix/getpgid.c: Likewise.
27823 * posix/getpid.c: Likewise.
27824 * posix/getppid.c: Likewise.
27825 * posix/getresgid.c: Likewise.
27826 * posix/getresuid.c: Likewise.
27827 * posix/getsid.c: Likewise.
27828 * posix/getuid.c: Likewise.
27829 * posix/glob64.c: Likewise.
27830 * posix/nanosleep.c: Likewise.
27831 * posix/pathconf.c: Likewise.
27832 * posix/pause.c: Likewise.
27833 * posix/posix_madvise.c: Likewise.
27834 * posix/pread.c: Likewise.
27835 * posix/pread64.c: Likewise.
27836 * posix/pwrite.c: Likewise.
27837 * posix/pwrite64.c: Likewise.
27838 * posix/sched_getaffinity.c: Likewise.
27839 * posix/sched_getp.c: Likewise.
27840 * posix/sched_gets.c: Likewise.
27841 * posix/sched_primax.c: Likewise.
27842 * posix/sched_primin.c: Likewise.
27843 * posix/sched_rr_gi.c: Likewise.
27844 * posix/sched_setaffinity.c: Likewise.
27845 * posix/sched_setp.c: Likewise.
27846 * posix/sched_sets.c: Likewise.
27847 * posix/sched_yield.c: Likewise.
27848 * posix/setgid.c: Likewise.
27849 * posix/setlogin.c: Likewise.
27850 * posix/setpgid.c: Likewise.
27851 * posix/setresgid.c: Likewise.
27852 * posix/setresuid.c: Likewise.
27853 * posix/setsid.c: Likewise.
27854 * posix/setuid.c: Likewise.
27855 * posix/sleep.c: Likewise.
27856 * posix/spawni.c: Likewise.
27857 * posix/sysconf.c: Likewise.
27858 * posix/times.c: Likewise.
27859 * posix/wait.c: Likewise.
27860 * posix/wait3.c: Likewise.
27861 * posix/wait4.c: Likewise.
27862 * posix/waitpid.c: Likewise.
27863 * resolv/gai_sigqueue.c: Likewise.
27864 * resource/getpriority.c: Likewise.
27865 * resource/getrlimit.c: Likewise.
27866 * resource/getrusage.c: Likewise.
27867 * resource/nice.c: Likewise.
27868 * resource/setpriority.c: Likewise.
27869 * resource/setrlimit.c: Likewise.
27870 * resource/ulimit.c: Likewise.
27871 * rt/aio_cancel.c: Likewise.
27872 * rt/aio_fsync.c: Likewise.
27873 * rt/aio_read.c: Likewise.
27874 * rt/aio_sigqueue.c: Likewise.
27875 * rt/aio_suspend.c: Likewise.
27876 * rt/aio_write.c: Likewise.
27877 * rt/clock_getres.c: Likewise.
27878 * rt/clock_gettime.c: Likewise.
27879 * rt/clock_nanosleep.c: Likewise.
27880 * rt/clock_settime.c: Likewise.
27881 * rt/lio_listio.c: Likewise.
27882 * rt/mq_close.c: Likewise.
27883 * rt/mq_getattr.c: Likewise.
27884 * rt/mq_notify.c: Likewise.
27885 * rt/mq_open.c: Likewise.
27886 * rt/mq_receive.c: Likewise.
27887 * rt/mq_send.c: Likewise.
27888 * rt/mq_setattr.c: Likewise.
27889 * rt/mq_timedreceive.c: Likewise.
27890 * rt/mq_timedsend.c: Likewise.
27891 * rt/mq_unlink.c: Likewise.
27892 * rt/shm_open.c: Likewise.
27893 * rt/shm_unlink.c: Likewise.
27894 * rt/timer_create.c: Likewise.
27895 * rt/timer_delete.c: Likewise.
27896 * rt/timer_getoverr.c: Likewise.
27897 * rt/timer_gettime.c: Likewise.
27898 * rt/timer_settime.c: Likewise.
27899 * setjmp/__longjmp.c: Likewise.
27900 * setjmp/setjmp.c: Likewise.
27901 * signal/kill.c: Likewise.
27902 * signal/killpg.c: Likewise.
27903 * signal/raise.c: Likewise.
27904 * signal/sigaction.c: Likewise.
27905 * signal/sigaltstack.c: Likewise.
27906 * signal/sigblock.c: Likewise.
27907 * signal/sigignore.c: Likewise.
27908 * signal/sigintr.c: Likewise.
27909 * signal/signal.c: Likewise.
27910 * signal/sigpause.c: Likewise.
27911 * signal/sigpending.c: Likewise.
27912 * signal/sigqueue.c: Likewise.
27913 * signal/sigreturn.c: Likewise.
27914 * signal/sigset.c: Likewise.
27915 * signal/sigsetmask.c: Likewise.
27916 * signal/sigstack.c: Likewise.
27917 * signal/sigsuspend.c: Likewise.
27918 * signal/sigtimedwait.c: Likewise.
27919 * signal/sigvec.c: Likewise.
27920 * signal/sigwait.c: Likewise.
27921 * signal/sigwaitinfo.c: Likewise.
27922 * signal/sysv_signal.c: Likewise.
27923 * socket/accept.c: Likewise.
27924 * socket/accept4.c: Likewise.
27925 * socket/bind.c: Likewise.
27926 * socket/connect.c: Likewise.
27927 * socket/getpeername.c: Likewise.
27928 * socket/getsockname.c: Likewise.
27929 * socket/getsockopt.c: Likewise.
27930 * socket/isfdtype.c: Likewise.
27931 * socket/listen.c: Likewise.
27932 * socket/recv.c: Likewise.
27933 * socket/recvfrom.c: Likewise.
27934 * socket/recvmsg.c: Likewise.
27935 * socket/send.c: Likewise.
27936 * socket/sendmsg.c: Likewise.
27937 * socket/sendto.c: Likewise.
27938 * socket/setsockopt.c: Likewise.
27939 * socket/shutdown.c: Likewise.
27940 * socket/sockatmark.c: Likewise.
27941 * socket/socket.c: Likewise.
27942 * socket/socketpair.c: Likewise.
27943 * stdio-common/ctermid.c: Likewise.
27944 * stdio-common/cuserid.c: Likewise.
27945 * stdio-common/remove.c: Likewise.
27946 * stdio-common/rename.c: Likewise.
27947 * stdio-common/renameat.c: Likewise.
27948 * stdio-common/tempname.c: Likewise.
27949 * stdlib/getcontext.c: Likewise.
27950 * stdlib/makecontext.c: Likewise.
27951 * stdlib/setcontext.c: Likewise.
27952 * stdlib/swapcontext.c: Likewise.
27953 * stdlib/system.c: Likewise.
27954 * streams/fattach.c: Likewise.
27955 * streams/fdetach.c: Likewise.
27956 * streams/getmsg.c: Likewise.
27957 * streams/getpmsg.c: Likewise.
27958 * streams/putmsg.c: Likewise.
27959 * streams/putpmsg.c: Likewise.
27960 * sysdeps/unix/bsd/getpt.c: Likewise.
27961 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27962 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27963 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27966 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27967 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27968 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27969 * sysvipc/msgctl.c: Likewise.
27970 * sysvipc/msgget.c: Likewise.
27971 * sysvipc/msgrcv.c: Likewise.
27972 * sysvipc/msgsnd.c: Likewise.
27973 * sysvipc/semctl.c: Likewise.
27974 * sysvipc/semget.c: Likewise.
27975 * sysvipc/semop.c: Likewise.
27976 * sysvipc/semtimedop.c: Likewise.
27977 * sysvipc/shmat.c: Likewise.
27978 * sysvipc/shmctl.c: Likewise.
27979 * sysvipc/shmdt.c: Likewise.
27980 * sysvipc/shmget.c: Likewise.
27981 * termios/tcdrain.c: Likewise.
27982 * termios/tcflow.c: Likewise.
27983 * termios/tcflush.c: Likewise.
27984 * termios/tcgetattr.c: Likewise.
27985 * termios/tcgetpgrp.c: Likewise.
27986 * termios/tcsendbrk.c: Likewise.
27987 * termios/tcsetattr.c: Likewise.
27988 * termios/tcsetpgrp.c: Likewise.
27989 * time/adjtime.c: Likewise.
27990 * time/clock.c: Likewise.
27991 * time/getitimer.c: Likewise.
27992 * time/gettimeofday.c: Likewise.
27993 * time/setitimer.c: Likewise.
27994 * time/settimeofday.c: Likewise.
27995 * time/stime.c: Likewise.
27996 * time/time.c: Likewise.
27998 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28000 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28003 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28005 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28007 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28011 FE_TONEAREST before applying Dekker multiplication and Knuth
28012 addition. Clear inexact exceptions and check for exact zero
28013 results afterwards.
28014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28015 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28016 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28017 * math/libm-test.inc (fma_test): Add more tests.
28018 (fma_test_towardzero): Likewise.
28019 (fma_test_downward): Likewise.
28020 (fma_test_upward): Likewise.
28021 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28023 (libc_fesetround): New macro.
28024 (libc_fesetroundf): Likewise.
28025 (libc_fesetroundl): Likewise.
28026 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28028 (libc_fesetround_387): Likewise.
28029 (libc_fesetroundf): New macro.
28030 (libc_fesetround): Likewise.
28031 (libc_fesetroundl): Likewise.
28032 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28034 (libc_fesetroundf): New macro.
28035 (libc_fesetround): Likewise.
28036 (libc_fesetroundl): Likewise.
28037 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28038 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28039 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28041 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28042 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28044 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28045 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28047 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28051 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28052 integer constant usable in #if and use that to give value to enum
28054 (FE_DIVBYZERO): Likewise.
28055 (FE_UNDERFLOW): Likewise.
28056 (FE_OVERFLOW): Likewise.
28057 (FE_INVALID): Likewise.
28058 (FE_INVALID_SNAN): Likewise.
28059 (FE_INVALID_ISI): Likewise.
28060 (FE_INVALID_IDI): Likewise.
28061 (FE_INVALID_ZDZ): Likewise.
28062 (FE_INVALID_IMZ): Likewise.
28063 (FE_INVALID_COMPARE): Likewise.
28064 (FE_INVALID_SOFTWARE): Likewise.
28065 (FE_INVALID_SQRT): Likewise.
28066 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28067 (FE_TONEAREST): Likewise.
28068 (FE_TOWARDZERO): Likewise.
28069 (FE_UPWARD): Likewise.
28070 (FE_DOWNWARD): Likewise.
28071 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28072 (FE_DIVBYZERO): Likewise.
28073 (FE_OVERFLOW): Likewise.
28074 (FE_UNDERFLOW): Likewise.
28075 (FE_INEXACT): Likewise.
28076 (FE_TONEAREST): Likewise.
28077 (FE_DOWNWARD): Likewise.
28078 (FE_UPWARD): Likewise.
28079 (FE_TOWARDZERO): Likewise.
28080 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28081 (FE_UNDERFLOW): Likewise.
28082 (FE_OVERFLOW): Likewise.
28083 (FE_DIVBYZERO): Likewise.
28084 (FE_INVALID): Likewise.
28085 (FE_TONEAREST): Likewise.
28086 (FE_TOWARDZERO): Likewise.
28087 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28088 (FE_OVERFLOW): Likewise.
28089 (FE_UNDERFLOW): Likewise.
28090 (FE_DIVBYZERO): Likewise.
28091 (FE_INEXACT): Likewise.
28092 (FE_TONEAREST): Likewise.
28093 (FE_TOWARDZERO): Likewise.
28094 (FE_UPWARD): Likewise.
28095 (FE_DOWNWARD): Likewise.
28096 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28097 (FE_DIVBYZERO): Likewise.
28098 (FE_OVERFLOW): Likewise.
28099 (FE_UNDERFLOW): Likewise.
28100 (FE_INEXACT): Likewise.
28101 (FE_TONEAREST): Likewise.
28102 (FE_DOWNWARD): Likewise.
28103 (FE_UPWARD): Likewise.
28104 (FE_TOWARDZERO): Likewise.
28106 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28108 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28110 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28112 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28113 commands. Quote $PWD.
28114 (blacklist_exports): Don't use remove_newlines. Replace "declare
28116 (remove_newlines): Remove.
28118 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28120 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28121 * stdlib/stdlib.h (atof): Moved to ...
28122 * include/bits/stdlib-float.h: Here. New file.
28123 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28124 * stdlib/bits/stdlib-float.h: New file.
28125 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28127 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28130 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28132 * conform/conformtest.pl (@headers): Add fenv.h.
28133 * conform/data/fenv.h-data: New file.
28134 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28135 include of <math/fenv.h>.
28137 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28138 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28139 && !UNIX98]. Enables tests for XOPEN2K8.
28140 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28141 POSIX2008]: Likewise.
28143 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28144 (struct rusage): Do not expect type or its members.
28147 * math/math.h (FP_NAN): Define macro to integer constant usable in
28148 #if and use that to give value to enum constant.
28149 (FP_INFINITE): Likewise.
28150 (FP_ZERO): Likewise.
28151 (FP_SUBNORMAL): Likewise.
28152 (FP_NORMAL): Likewise.
28154 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28156 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28157 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28160 2012-11-02 Roland McGrath <roland@hack.frob.com>
28162 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28163 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28164 autoconf-time if not.
28165 * configure.in: Remove AC_PREREQ.
28167 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28169 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28170 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28171 of the internal implementation.
28173 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28175 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28176 except include of <misc/sys/syslog.h>.
28178 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28181 function returns with a NULL context exit with zero.
28183 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28185 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28187 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28189 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28190 (run_program_cmd): This.
28191 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28192 (tst_langinfo): New variable. Use it.
28194 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28196 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28197 floating point opcodes.
28199 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28201 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28204 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28206 * sysdeps/mach/hurd/powerpc: Remove directory.
28207 * sysdeps/mach/powerpc: Likewise.
28209 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28211 * scripts/check-local-headers.sh: Ignore c++ headers.
28213 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28215 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28216 __libc_cleanup_region_start argument.
28218 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28222 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28223 x * y using scaling, not as x * y + z.
28224 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28225 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28226 * math/libm-test.inc (fma_test): Add more tests.
28227 (fma_test_towardzero): Likewise.
28228 (fma_test_downward): Likewise.
28229 (fma_test_upward): Likewise.
28231 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28233 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28235 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28237 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28240 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28242 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28244 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28251 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28254 Fix the order of the list for glibc 2.17.
28255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28258 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28262 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28265 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28266 for low part of x being zero before using __atanl (y).
28267 * math/libm-test.inc (atan2_test): Add another test.
28269 * manual/install.texi (Configuring and compiling): Document
28270 general use of test-wrapper and test-wrapper-env.
28271 * INSTALL: Regenerated.
28273 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28274 (__fma): Do not extract and scale down low bits on after-rounding
28275 systems when result rounded to normal precision would have normal
28277 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28278 (__fmal): Do not extract and scale down low bits on after-rounding
28279 systems when result rounded to normal precision would have normal
28281 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28282 (__fmal): Do not extract and scale down low bits on after-rounding
28283 systems when result rounded to normal precision would have normal
28285 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28287 (fma_test): Add more tests.
28288 (fma_test_towardzero): Likewise.
28289 (fma_test_downward): Likewise.
28290 (fma_test_upward): Likewise.
28292 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28294 * sysdeps/i386/tininess.h: Renamed to ...
28295 * sysdeps/x86/tininess.h: This.
28296 * sysdeps/x86_64/tininess.h: Removed.
28298 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28300 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28301 input. Use $(build-program-cmd).
28302 ($(objpfx)tst-array1-static.out): Likewise.
28303 ($(objpfx)tst-array2.out): Likewise.
28304 ($(objpfx)tst-array3.out): Likewise.
28305 ($(objpfx)tst-array4.out): Likewise.
28306 ($(objpfx)tst-array5.out): Likewise.
28307 ($(objpfx)tst-array5-static.out): Likewise.
28309 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28311 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28314 * nss/nsswitch.h (nss_interface_function): Provide new
28315 macro for use with NSS functions.
28316 * grp/initgroups.c: Use new macro.
28317 * nss/getXXbyYY.c: Likewise.
28318 * nss/getXXbyYY_r.c: Likewise.
28319 * nss/getXXent.c: Likewise.
28320 * nss/getXXent_r.c: Likewise.
28321 * sysdeps/posix/getaddrinfo.c: Likewise.
28323 2012-10-30 Andreas Jaeger <aj@suse.de>
28325 * po/ru.po: Update Russion translation from translation project.
28327 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28332 result and shift together with sticky bit instead of replicating
28333 round-to-nearest rounding.
28334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28335 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28336 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28337 missing underflow exceptions.
28338 (fma_test_towardzero): Add more tests.
28339 (fma_test_downward): Likewise.
28340 (fma_test_upward): Likewise.
28343 * sysdeps/generic/tininess.h: New file.
28344 * sysdeps/i386/tininess.h: Likewise.
28345 * sysdeps/sh/tininess.h: Likewise.
28346 * sysdeps/x86_64/tininess.h: Likewise.
28347 * stdlib/tst-strtod-underflow.c: Likewise.
28348 * stdlib/tst-tininess.c: Likewise.
28349 * stdlib/strtod_l.c: Include <tininess.h>.
28350 (round_and_return): Do not set errno for exact underflow cases.
28351 Force an underflow exception when setting errno for underflow.
28352 Determine underflow based on rounding to normal precision if
28353 TININESS_AFTER_ROUNDING.
28354 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28355 ERANGE for exact underflow cases.
28356 * stdlib/Makefile (tests): Add tst-tininess and
28357 tst-strtod-underflow.
28358 ($(objpfx)tst-tininess): Use $(link-libm).
28359 ($(objpfx)tst-strtod-underflow): Likewise.
28361 2012-10-30 Andreas Jaeger <aj@suse.de>
28364 * elf/Makefile (tests): Remove conditional for have-initfini-array
28365 since this is now always required and the variable does not exist
28367 (tests-static): Likewise.
28368 (modules-names): Likewise.
28370 * po/eo.po: Add Esperanto translation from translation project.
28372 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28373 merged with constructor/destructor.
28374 (init_array): Likewise.
28375 * elf/tst-array2dep.c (fini_array): Likewise.
28376 (init_array): Likewise.
28378 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28380 * manual/message.texi: Delete @cartouche tags.
28382 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28384 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28386 * sysdeps/mach/hurd/fsync.c: Likewise.
28388 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28389 [_POSIX_REALTIME_SIGNALS]: Change condition to
28390 [_POSIX_REALTIME_SIGNALS > 0].
28392 2012-10-27 Andreas Jaeger <aj@suse.de>
28394 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28395 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28397 [__WORDSIZE != 64]: Likewise.
28399 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28401 * iconvdata/tst-table.sh: Remove ${SHELL}.
28402 * iconvdata/tst-tables.sh: Likewise.
28404 2012-10-25 David S. Miller <davem@davemloft.net>
28406 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28407 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28412 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28413 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28414 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28417 2012-10-25 Roland McGrath <roland@hack.frob.com>
28419 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28420 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28423 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28424 Jim Blandy <jimb@codesourcery.com>
28426 * scripts/cross-test-ssh.sh: New file.
28427 * manual/install.texi (Configuring and compiling): Document use of
28429 * INSTALL: Regenerated.
28431 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28433 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28436 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28438 * Makeconfig (run-program-prefix): Fix comment.
28440 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28441 Jim Blandy <jimb@codesourcery.com>
28443 * Makeconfig (test-wrapper): New variable,
28444 (test-wrapper-env): Likewise.
28445 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28446 (run-built-tests): Define to yes.
28447 (run-program-prefix): Use $(test-wrapper).
28448 (built-program-cmd): Likewise.
28449 * Rules (make-test-out): Use $(test-wrapper-env) and
28450 $(host-built-program-cmd).
28451 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28452 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28454 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28455 $(test-wrapper-env) to tst-rtld-load-self.sh.
28456 ($(objpfx)order2.out): Use $(test-wrapper).
28457 ($(objpfx)tst-initorder.out): Likewise.
28458 ($(objpfx)tst-initorder2.out): Likewise.
28459 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28460 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28461 (test_wrapper_env): New variable. Use it to run ld.so.
28462 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28463 Use it to run ld.so.
28464 (test_wrapper_env): Likewise.
28465 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28466 $(test-wrapper) to run-iconv-test.sh.
28467 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28468 (ICONV): Use $test_wrapper.
28469 * posix/Makefile ($(objpfx)globtest.out): Pass
28470 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28471 globtest.sh, not $(run-program-prefix).
28472 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28473 (test_wrapper): Likewise.
28474 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28475 set together with run_via_rtld_prefix.
28476 (run_program_prefix): Define in terms of test_wrapper and
28477 run_via_rtld_prefix.
28479 2012-10-24 Roland McGrath <roland@hack.frob.com>
28481 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28482 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28486 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28487 Declare __clock_getres, __clock_gettime, __clock_settime,
28488 __clock_nanosleep, and __clock_getcpuclockid.
28489 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28490 Remove librt_hidden_def (clock_gettime).
28491 * sysdeps/unix/clock_gettime.c: Likewise.
28492 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28493 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28494 * rt/clock_getres.c: Define __clock_getres as an alias.
28495 * sysdeps/posix/clock_getres.c: Likewise.
28496 * rt/clock_settime.c: Define __clock_settime as an alias.
28497 * sysdeps/unix/clock_settime.c: Likewise.
28498 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28499 * sysdeps/unix/clock_nanosleep.c: Likewise.
28500 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28501 * rt/clock-compat.c: New file.
28502 * rt/Makefile (librt-routines): Add clock-compat and move
28503 $(clock-routines) to ...
28504 (routines): ... here, new variable.
28505 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28506 Don't add get_clockfreq here.
28507 * rt/Versions (libc: GLIBC_2.17): New version set.
28508 Add clock_* symbols here.
28509 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28510 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28511 (GLIBC_2.17): Add clock_* symbols.
28512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28523 * NEWS: Mention the move.
28525 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28526 Use __open, __read, __close rather than their public counterparts.
28527 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28528 (__get_clockfreq_via_cpuinfo): Likewise.
28529 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28530 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28532 * config.h.in (HAVE_IFUNC): New #undef.
28533 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28535 * configure: Regenerated.
28537 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28539 * configure.in: Move READELF check to start of file.
28540 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28541 libc_cv_asm_gnu_indirect_function in the process.
28542 * configure: Regenerated.
28544 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28546 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28547 send the output to /dev/null.
28548 (libc_cv_cc_with_libunwind): Likewise.
28549 (libc_cv_as_noexecstack): Likewise.
28550 * configure: Regenerate.
28552 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28554 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28556 * posix/globtest.sh (TMPDIR): Do not set.
28557 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28558 (testout): Likewise.
28560 2012-10-24 Andreas Jaeger <aj@suse.de>
28562 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28563 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28564 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28565 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28566 posix_fadvise64, posix_fallocate64.
28568 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28569 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28570 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28572 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28574 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28577 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28578 <bits/fcntl-linux.h>.
28579 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28582 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28583 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28584 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28585 [__WORDSIZE != 64]: Likewise.
28587 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28589 * Makeconfig (run-built-tests): New variable.
28590 * Rules [$(cross-compiling) = yes]: Change condition to
28591 [$(run-built-tests) = no].
28592 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28593 to [$(run-built-tests) = yes].
28594 * elf/Makefile [$(cross-compiling) = no]: Likewise
28595 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28596 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28597 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28598 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28599 * io/Makefile [$(cross-compiling) = no]: Likewise.
28600 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28601 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28602 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28603 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28604 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28605 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28606 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28607 * string/Makefile [$(cross-compiling) = no]: Likewise.
28609 * posix/Makefile ($(objpfx)globtest.out): Pass
28610 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28611 $(rtld-installed-name).
28612 * posix/globtest.sh (elf_objpfx): Remove variable.
28613 (rtld_installed_name): Likewise.
28614 (library_path): Likewise.
28615 (run_program_prefix): New variable. Use for running globtest
28618 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28619 Joseph Myers <joseph@codesourcery.com>
28621 * Makeconfig (host-built-program-cmd): New variable.
28622 * elf/Makefile (tst-stackguard1-ARGS): Use
28623 $(host-built-program-cmd).
28624 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28625 (tst-spawn-ARGS): Likewise.
28626 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28628 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28629 Jim Blandy <jimb@codesourcery.com>
28631 * Makeconfig (run-via-rtld-prefix): New variable.
28632 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28633 (built-program-cmd): Likewise.
28635 2012-10-22 Andreas Jaeger <aj@suse.de>
28637 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28638 __O_RSYNC if it exists, otherwise to O_SYNC.
28640 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28641 Joseph Myers <joseph@codesourcery.com>
28643 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28645 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28647 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28650 2012-10-22 Andreas Jaeger <aj@suse.de>
28652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28657 bits/fcntl-linux.h.
28659 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28660 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28667 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28668 Joseph Myers <joseph@codesourcery.com>
28670 * config.make.in (NM): New variable.
28672 2012-10-21 Andreas Jaeger <aj@suse.de>
28674 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28675 definitions and declarations that are provided by
28676 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28678 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28681 * elf/Makefile (tests-static): Add tst-leaks1-static.
28682 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28683 ($(objpfx)tst-leaks1-static): New rule.
28684 ($(objpfx)tst-leaks1-static-mem): Likewise.
28685 (tst-leaks1-static-ENV): New macro.
28686 * elf/dl-open.c (dl_open_worker): Check the main application
28687 only if SHARED is defined.
28688 * elf/tst-leaks1-static.c: New file.
28690 2012-10-20 Andreas Jaeger <aj@suse.de>
28692 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28693 generic values for Linux.
28694 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28695 and declarations that are provided by <bits/fcntl-linux.h> and
28696 include <bits/fcntl-linux.h>.
28697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28698 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28700 2012-10-20 Roland McGrath <roland@hack.frob.com>
28702 * io/fcntl.h: Move include of <bits/types.h> to the top and
28703 include it unconditionally.
28705 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28707 * wcsmbs/Makefile (tests-ifunc): New variable.
28708 (tests): Add $(tests-ifunc).
28709 * wcsmbs/test-wcschr-ifunc.c: New file.
28710 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28711 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28712 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28713 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28714 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28716 * string/Makefile (tests-ifunc): New variable.
28717 (tests): Add $(tests-ifunc).
28718 * string/test-memccpy.c (TEST_NAME): New macro.
28719 * string/test-memchr.c (TEST_NAME): Likewise.
28720 * string/test-memcmp.c (TEST_NAME): Likewise.
28721 * string/test-memcpy.c (TEST_NAME): Likewise.
28722 * string/test-memmem.c (TEST_NAME): Likewise.
28723 * string/test-memmove.c (TEST_NAME): Likewise.
28724 * string/test-memset.c (TEST_NAME): Likewise.
28725 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28726 * string/test-stpcpy.c (TEST_NAME): Likewise.
28727 * string/test-stpncpy.c (TEST_NAME): Likewise.
28728 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28729 * string/test-strcasestr.c (TEST_NAME): Likewise.
28730 * string/test-strcat.c (TEST_NAME): Likewise.
28731 * string/test-strchr.c (TEST_NAME): Likewise.
28732 * string/test-strcmp.c(TEST_NAME): Likewise.
28733 * string/test-strcpy.c (TEST_NAME): Likewise.
28734 * string/test-strcspn.c (TEST_NAME): Likewise.
28735 * string/test-strlen.c (TEST_NAME): Likewise.
28736 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28737 * string/test-strncmp.c (TEST_NAME): Likewise.
28738 * string/test-strncpy.c (TEST_NAME): Likewise.
28739 * string/test-strnlen.c (TEST_NAME): Likewise.
28740 * string/test-strpbrk.c (TEST_NAME): Likewise.
28741 * string/test-strrchr.c (TEST_NAME): Likewise.
28742 * string/test-strspn.c (TEST_NAME): Likewise.
28743 * string/test-strstr.c (TEST_NAME): Likewise.
28744 * string/test-bcopy-ifunc.c: New file.
28745 * string/test-bzero-ifunc.c: Likewise.
28746 * string/test-memccpy-ifunc.c: Likewise.
28747 * string/test-memchr-ifunc.c: Likewise.
28748 * string/test-memcmp-ifunc.c: Likewise.
28749 * string/test-memcpy-ifunc.c: Likewise.
28750 * string/test-memmem-ifunc.c: Likewise.
28751 * string/test-memmove-ifunc.c: Likewise.
28752 * string/test-mempcpy-ifunc.c: Likewise.
28753 * string/test-memset-ifunc.c: Likewise.
28754 * string/test-rawmemchr-ifunc.c: Likewise.
28755 * string/test-stpcpy-ifunc.c: Likewise.
28756 * string/test-stpncpy-ifunc.c: Likewise.
28757 * string/test-strcasecmp-ifunc.c: Likewise.
28758 * string/test-strcasestr-ifunc.c: Likewise.
28759 * string/test-strcat-ifunc.c: Likewise.
28760 * string/test-strchr-ifunc.c: Likewise.
28761 * string/test-strchrnul-ifunc.c: Likewise.
28762 * string/test-strcmp-ifunc.c: Likewise.
28763 * string/test-strcpy-ifunc.c: Likewise.
28764 * string/test-strcspn-ifunc.c: Likewise.
28765 * string/test-strlen-ifunc.c: Likewise.
28766 * string/test-strncasecmp-ifunc.c: Likewise.
28767 * string/test-strncat-ifunc.c: Likewise.
28768 * string/test-strncmp-ifunc.c: Likewise.
28769 * string/test-strncpy-ifunc.c: Likewise.
28770 * string/test-strnlen-ifunc.c: Likewise.
28771 * string/test-strpbrk-ifunc.c: Likewise.
28772 * string/test-strrchr-ifunc.c: Likewise.
28773 * string/test-strspn-ifunc.c: Likewise.
28774 * string/test-strstr-ifunc.c: Likewise.
28776 * debug/Makefile (tests-ifunc): New variable.
28777 (tests): Add $(tests-ifunc).
28778 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28779 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28780 * debug/test-stpcpy_chk-ifunc.c: New file.
28781 * debug/test-strcpy_chk-ifunc.c: Likewise.
28783 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28786 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28787 header is not read in.
28789 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28791 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28792 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28793 directly. Pass built executable to script as
28794 $(built-program-cmd).
28795 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28796 $testprogram without using LD_LIBRARY_PATH and $ldso.
28798 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28799 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28800 $(rtld-installed-name).
28801 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28802 (rtld_installed_name): Likewise.
28803 (library_path): Likewise.
28804 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28805 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28806 $(run-program-prefix) to tst-tables.sh.
28807 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28808 it to run tst-table-from and tst-table-to.
28809 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28810 Pass it to tst-table.sh.
28811 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28812 $(run-program-prefix) to tst-gettext.sh.
28813 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28815 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28817 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28818 to run tst-gettext.
28819 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28820 to run tst-gettext2.
28821 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28822 to run tst-translit.
28823 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28824 $(run-program-prefix) to tst-mtrace.sh.
28825 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28827 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28828 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28829 $(rtld-installed-name).
28830 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28831 (rtld_installed_name): Likewise.
28832 (run_program_prefix): New variable. Use it to run wordexp-test.
28834 * Makeconfig (ARCH): Remove all definitions.
28835 (machine): Likewise.
28836 [ARCH]: Remove conditional code.
28837 [!objdir]: Give error.
28838 [!objdir] (objpfx): Remove.
28839 [!objdir] (common-objpfx): Likewise.
28840 [!objdir] (common-objdir): Likewise.
28841 * configure.in (config_makefile): Remove. Hardcode Makefile in
28842 AC_CONFIG_FILES call.
28843 * configure: Regenerated.
28846 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28848 (testout): Likewise.
28850 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28851 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28852 $(rtld-installed-name).
28853 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28854 (rtld_installed_name): Likwise.
28855 (runit): Remove function.
28856 (run_getconf): New variable, Use it for running getconf binary.
28858 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28861 * string/test-memmem.c (check_result): New function.
28862 (do_one_test): Use it.
28863 (check1): New function.
28864 (test_main): Use it.
28866 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28868 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28870 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28872 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28873 (_G_LSEEK64): Likewise.
28874 (_G_MMAP64): Likewise.
28875 (_G_FSTAT64): Likewise.
28876 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28877 (_G_LSEEK64): Likewise.
28878 (_G_MMAP64): Likewise.
28879 (_G_FSTAT64): Likewise.
28880 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28881 unconditional. Call __mmap64 directly.
28882 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28883 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28884 __lseek64 directly.
28885 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28886 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28888 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28889 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28890 __lseek64 directly.
28891 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28892 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28893 __lseek64 directly.
28894 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28895 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28896 __lseek64 directly.
28897 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28898 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28899 __fxstat64 directly.
28900 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28901 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28903 (freopen64) [!_G_OPEN64]: Remove conditional code.
28904 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28906 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28907 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28909 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28910 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28912 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28913 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28915 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28916 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28918 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28919 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28921 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28922 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28924 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28926 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28929 * manual/memory.texi (Malloc Tunable Parameters): Add note
28930 about free list pointers overwriting some perturb bytes.
28931 Wording suggested by Roland McGrath.
28933 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28935 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28936 (lgamma_test): Likewise.
28937 (tgamma_test): Likewise.
28939 2012-10-16 Florian Weimer <fweimer@redhat.com>
28942 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28943 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28945 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28947 * NEWS: Mention BZ #14716.
28948 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28949 when removing AVAILABLE1_USES_J macro.
28951 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28953 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28954 (__bswap_64): __uint64_t for unsigned 64-bit int.
28956 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28958 * include/string.h (memmem): Declare libc hidden alias.
28959 * string/memmem.c (memmem): Define libc hidden alias.
28960 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28961 __read, __close instead of open, read, close.
28963 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28965 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28966 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28968 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28969 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28970 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28972 (__rawmemchr_sse2): Likewise.
28973 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28974 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28975 (__strchr_sse2): Likewise.
28976 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28977 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28978 (__strcasecmp_sse2): Likewise.
28979 (__strncasecmp_sse2): Likewise.
28980 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28981 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28982 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28983 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28984 (__strrchr_sse2): Likewise.
28985 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28987 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28988 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28989 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28990 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28991 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28992 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28993 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28994 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28995 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28996 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28997 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28998 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28999 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29000 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29001 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29002 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29003 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29004 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29005 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29006 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29007 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29008 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29009 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29010 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29011 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29012 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29013 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29014 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29015 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29016 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29018 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29020 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29021 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29022 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29023 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29025 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29027 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29028 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29029 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29030 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29032 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29033 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29034 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29035 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29036 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29037 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29038 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29039 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29040 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29041 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29042 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29043 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29044 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29045 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29046 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29047 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29048 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29049 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29050 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29051 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29052 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29053 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29054 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29055 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29056 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29057 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29058 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29059 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29060 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29061 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29062 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29063 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29064 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29065 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29066 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29067 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29068 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29069 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29070 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29071 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29072 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29074 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29075 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29076 * include/ifunc-impl-list.h: New file.
29077 * misc/ifunc-impl-list.c: Likewise.
29078 * misc/Makefile (routines): Add ifunc-impl-list.
29079 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29080 * string/test-string.h: Include <ifunc-impl-list.h>.
29081 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29082 TEST_NAME]: New variables.
29083 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29085 (test_init): Call __libc_ifunc_impl_list to initialize
29086 func_list if TEST_IFUNC and TEST_NAME are defined.
29088 * string/Makefile (strop-tests): Add bcopy and bzero.
29089 * string/test-bcopy.c: New file.
29090 * string/test-bzero.c: Likewise.
29091 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29093 * string/test-memset.c: Support bzero test if TEST_BZERO is
29095 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29097 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29099 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29102 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29104 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29105 * configure: Regenerated.
29107 * Makeconfig (+link-static-before-libc): Don't include
29108 $(link-static-libc).
29110 * libio/libio.h (_IO_pos_t): Remove.
29112 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29114 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29117 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29119 * crypt/crypt-entry.c: Include fips-private.h.
29120 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29121 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29122 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29123 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29125 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29127 * crypt/crypt-private.h: Include stdbool.h.
29128 (_ufc_setup_salt_r): Return bool.
29129 * crypt/crypt-entry.c: Include errno.h.
29130 (__crypt_r): Return NULL with EINVAL for bad salt.
29131 * crypt/crypt_util.c (bad_for_salt): New.
29132 (_ufc_setup_salt_r): Check that salt is long enough and within
29133 the specified alphabet.
29134 * crypt/badsalttest.c: New file.
29135 * crypt/Makefile (tests): Add it.
29136 ($(objpfx)badsalttest): New.
29138 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29140 * NEWS: Add entry for BZ #14602.
29142 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29144 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29146 * math/libm-test.inc: Update comment listing what functions and
29148 (isgreater_test): New function.
29149 (isgreaterequal_test): Likewise.
29150 (isless_test): Likewise.
29151 (islessequal_test): Likewise.
29152 (islessgreater_test): Likewise.
29153 (isunordered_test): Likewise.
29154 (main): Call the new functions.
29156 2012-10-09 Roland McGrath <roland@hack.frob.com>
29158 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29159 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29160 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29161 * sysdeps/i386/configure: Regenerated.
29162 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29163 * sysdeps/mach/configure: Regenerated.
29164 * sysdeps/mach/hurd/configure: Regenerated.
29165 * sysdeps/powerpc/configure: Regenerated.
29166 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29167 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29168 * sysdeps/s390/s390-32/configure: Regenerated.
29169 * sysdeps/s390/s390-64/configure: Regenerated.
29170 * sysdeps/sh/configure: Regenerated.
29171 * sysdeps/sparc/configure: Regenerated.
29172 * sysdeps/unix/sysv/linux/configure: Regenerated.
29173 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29174 * sysdeps/x86_64/configure: Regenerated.
29176 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29177 defined. Don't check if MAP is NULL.
29179 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29181 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29182 (_G_stat64): Likewise.
29183 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29184 (_G_stat64): Likewise.
29185 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29186 instead of struct _G_stat64.
29187 * libio/fileops.c (mmap_remap_check): Likewise.
29188 (decide_maybe_mmap): Likewise.
29189 (_IO_new_file_seekoff): Likewise.
29190 (_IO_file_stat): Likewise.
29191 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29193 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29194 instead of struct _G_stat64.
29195 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29197 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29200 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29202 (CHECK_EOL): New macro.
29203 (two_way_short_needle): Check beginning of haystack for EOL. Use
29205 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29206 Replace with CHECK_EOL.
29207 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29208 Replace with CHECK_EOL.
29210 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29212 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29214 * math/libm-test.inc: Update comment listing what functions and
29216 (finite_test): New function.
29217 (isinf_test): Likewise.
29218 (isnan_test): Likewise.
29219 (fpclassify_test): Test subnormal input.
29220 (isfinite_test): Likewise.
29221 (isnormal_test): Likewise.
29222 (main): Call the new functions.
29224 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29227 * Makerules (%.dynsym): Force C locale when running
29228 $(OBJDUMP) --dynamic-syms.
29230 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29232 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29235 2012-10-06 David S. Miller <davem@davemloft.net>
29237 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29238 upper 32-bits of the length value in %o2 since we use branch-on-register
29239 tests which consider the entire 64-bit register.
29241 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29243 * string/test-strstr.c (check2): Add a test for page boundary.
29245 2012-10-05 David S. Miller <davem@davemloft.net>
29247 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29248 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29250 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29252 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29253 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29254 and bzero when HWCAP_SPARC_CRYPTO is present.
29256 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29259 * string/test-strstr.c (check2): New function.
29260 (test_main): Call check2.
29262 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29264 * string/bug-strcasestr1.c (do_test): Moved to ...
29265 * string/test-strcasestr.c (check1): Here. New function.
29266 (do_one_test): Break out result checking code into ...
29267 (check_result): This. New function.
29268 (do_one_test): Call check_result.
29269 (test_main): Call check1.
29270 * string/bug-strchr1.c (do_test): Moved to ...
29271 * string/test-strchr.c (check1): Here. New function.
29272 (do_one_test): Break out result checking code into ...
29273 (check_result): This. New function.
29274 (do_one_test): Call check_result.
29275 (test_main): Call check1.
29276 * string/bug-strstr1.c (main): Moved to ...
29277 * string/test-strstr.c (check1): Here. New function.
29278 (do_one_test): Break out result checking code into ...
29279 (check_result): This. New function.
29280 (do_one_test): Call check_result.
29281 (test_main): Call check1.
29282 * string/bug-strcasestr1.c: Removed.
29283 * string/bug-strchr1.c: Likewise.
29284 * string/bug-strstr1.c: Likewise.
29286 * elf/Makefile (dl-routines): Add hwcaps.
29287 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29288 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29289 (_dl_important_hwcaps): Moved to ...
29290 * elf/dl-hwcaps.c: Here. New file.
29291 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29294 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29295 if IS_IN_rtld isn't defined.
29297 * elf/dl-support.c (_dl_sysinfo_map): New.
29298 Include "get-dynamic-info.h" and "setup-vdso.h".
29299 (_dl_non_dynamic_init): Call setup_vdso.
29300 * elf/dynamic-link.h: Don't include <assert.h>.
29301 (elf_get_dynamic_info): Moved to ...
29302 * elf/get-dynamic-info.h: Here. New file.
29303 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29304 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29305 * elf/setup-vdso.h: Here. New file.
29306 * elf/rtld.c: Include "setup-vdso.h".
29307 (dl_main): Call setup_vdso.
29309 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29311 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29312 creal in comment listing functions tested. List finite, isinf,
29313 isnan, isless, islessequal, isgreater, isgreaterequal,
29314 islessgreater, isunordered, lgamma_r and pow10 as functions and
29315 macros not tested. Mention which functions not tested are aliases
29316 for other functions. Fix typo. Note that signs of NaNs are not
29319 * scripts/config.guess: Update from config.git.
29320 * scripts/config.sub: Likewise.
29322 2012-10-04 Roland McGrath <roland@hack.frob.com>
29324 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29325 * misc/madvise.c (madvise): Renamed to __madvise.
29326 Make madvise a weak alias.
29327 * include/sys/mman.h: Declare __madvise.
29328 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29329 * sysdeps/unix/syscalls.list
29330 (madvise): Make __madvise the strong name, and madvise a weak alias.
29331 * sysdeps/unix/sysv/linux/syscalls.list
29332 (madvise, mmap): Remove redundant entries.
29333 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29334 * malloc/malloc.c (mtrim): Likewise.
29335 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29337 2012-10-03 Roland McGrath <roland@hack.frob.com>
29339 * sysdeps/mach/hurd/dl-cache.c: File removed.
29340 * config.h.in (USE_LDCONFIG): New #undef.
29341 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29342 * configure: Regenerated.
29343 * elf/Makefile (dl-routines): Add dl-cache only under
29344 [$(use-ldconfig) = yes].
29345 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29346 cache on [USE_LDCONFIG].
29347 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29349 * elf/rtld.c (dl_main): Likewise.
29351 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29353 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29354 _SC_LEVEL4_CACHE_LINESIZE.
29356 2012-10-03 Roland McGrath <roland@hack.frob.com>
29358 * sysdeps/unix/bsd/confstr.h: File removed.
29360 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29362 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29365 2012-10-02 Roland McGrath <roland@hack.frob.com>
29367 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29368 Make 'mapoff' field ElfW(Off) rather than off_t.
29370 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29372 * nscd/Makefile: Remove nscd-cflags and all its users.
29373 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29374 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29377 * malloc.c (malloc_printerr): Clarify error message.
29379 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29383 Set bit_FMA_Usable if FMA is supported.
29384 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29386 (bit_FMA4_Usable): Updated.
29387 (index_FMA_Usable): New macro.
29388 (CPUID_FMA): Likewise
29389 (HAS_FMA): Defined with bit_FMA_Usable.
29391 2012-10-01 Roland McGrath <roland@hack.frob.com>
29393 * bits/types.h (__swblk_t): Type removed.
29394 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29395 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29396 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29397 (__SWBLK_T_TYPE): Likewise.
29398 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29399 (__SWBLK_T_TYPE): Likewise.
29400 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29401 (__SWBLK_T_TYPE): Likewise.
29402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29403 (__SWBLK_T_TYPE): Likewise.
29405 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29406 Honza Horak <hhorak@redhat.com>
29408 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29409 (xdr_mapname): Use YPMAXMAP as maxsize.
29410 (xdr_peername): Use YPMAXPEER as maxsize.
29411 (xdr_keydat): Use YPAXRECORD as maxsize.
29412 (xdr_valdat): Use YPMAXRECORD as maxsize.
29414 2012-10-01 Roland McGrath <roland@hack.frob.com>
29416 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29418 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29419 * csu/init-first.c: ... here.
29420 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29421 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29422 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29423 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29424 * sysdeps/i386/init-first.c: File removed.
29425 * sysdeps/sh/init-first.c: File removed.
29427 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29431 if x * y might underflow to zero and z is zero.
29432 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29433 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29434 * math/libm-test.inc (min_subnorm_value): New variable.
29435 (fma_test): Add more tests.
29436 (fma_test_towardzero): Likewise.
29437 (fma_test_downward): Likewise
29438 (fma_test_upward): Likewise.
29439 (initialize): Set min_subnorm_value.
29441 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29446 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29447 mode for addition resulting in exact zero.
29448 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29451 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29452 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29453 * math/libm-test.inc (fma_test): Add more tests.
29454 (fma_test_towardzero): New function.
29455 (fma_test_downward): Likewise.
29456 (fma_test_upward): Likewise.
29457 (main): Call the new functions.
29459 2012-09-28 David S. Miller <davem@davemloft.net>
29461 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29463 2012-09-28 Roland McGrath <roland@hack.frob.com>
29465 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29466 instead of SIGALRM.
29468 * sysdeps/gnu/_G_config.h: Moved to ...
29469 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29470 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29471 * sysdeps/generic/_G_config.h: ... here.
29473 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29475 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29477 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29478 Conditionalize target on [libnss_test1.so-version].
29480 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29482 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29483 (elfobjdir): Move out of conditionals.
29485 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29486 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29487 (__nss_lookup_function): Conditionalize label remove_from_tree on
29488 [!DO_STATIC_NSS || SHARED], matching its only use.
29490 2012-09-28 David S. Miller <davem@davemloft.net>
29492 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29493 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29495 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29497 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29499 when HWCAP_SPARC_CRYPTO is present.
29501 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29503 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29505 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29508 * stdio-common/vfprintf.c (process_string_arg): Revert
29511 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29513 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29515 * stdio-common/tst-sprintf.c: Include <locale.h>
29516 (main): Test sprintf's handling of incomplete multibyte
29519 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29521 * elf/dl-runtime.c (VERSYMIDX): Removed.
29522 * elf/dl-version.c (VERSYMIDX): Likewise.
29523 * elf/do-rel.h (VERSYMIDX): Likewise.
29524 (VALIDX): Likewise.
29525 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29526 * elf/rtld.c (VALIDX): Likewise.
29527 (ADDRIDX): Likewise.
29528 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29529 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29530 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29531 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29532 (VALIDX): Likewise.
29533 (ADDRIDX): Likewise.
29535 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29537 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29539 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29542 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29544 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29545 addresses are in the same scope as 192.0.2/24.
29546 * posix/gai.conf: Document new scope table defaults.
29548 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29551 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29552 for ftell. Compute offsets from write pointers instead.
29553 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29555 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29558 * libio/Makefile (tests): New test case tst-fseek.
29559 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29560 combination works in wide mode.
29561 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29562 state when the external buffer state changes.
29564 2012-09-27 David S. Miller <davem@davemloft.net>
29567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29568 pass reloc->r_addend in as the 'high' argument to
29569 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29573 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29575 * rt/tst-aio2.c: Include <pthread.h>.
29576 * rt/tst-aio3.c: Likewise.
29578 2012-09-27 Steve Ellcey <sellcey@mips.com>
29580 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29582 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29584 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29585 contents on [SHARED].
29587 2012-09-26 Marek Polacek <polacek@redhat.com>
29591 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29592 for C++ and GCC <4.3 as well as for non GCC compilers.
29594 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29598 2012-09-25 Roland McGrath <roland@hack.frob.com>
29600 * Makefile.in (all, install): Declare with .PHONY.
29601 Reported by Michael Hope <michael.hope@linaro.org>.
29603 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29605 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29606 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29608 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29610 (sydep_routines): Add the new and the internal functions.
29611 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29612 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29614 (GLIBC_2.17): Add the new function.
29615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29616 (GLIBC_2.17): Likewise.
29617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29618 (GLIBC_2.17): Likewise.
29619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29620 (GLIBC_2.17): Likewise.
29621 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29623 2012-09-25 Alan Modra <amodra@gmail.com>
29625 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29626 Add release barrier before setting once_control to say
29627 initialisation is done. Add hints on lwarx. Use macro in
29629 (clear_once_control): Add release barrier.
29631 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29634 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29636 * math/s_clog10.c (__clog10): Likewise.
29637 * math/s_clog10f.c (__clog10f): Likewise.
29638 * math/s_clog10l.c (__clog10l): Likewise.
29639 * math/s_clogf.c (__clogf): Likewise.
29640 * math/s_clogl.c (__clogl): Likewise.
29641 * math/Makefile (libm-calls): Add x2y2m1.
29642 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29643 (__x2y2m1): Likewise.
29644 (__x2y2m1l): Likewise.
29645 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29646 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29647 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29648 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29649 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29650 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29651 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29652 * sysdeps/i386/fpu/libm-test-ulps: Update.
29653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29656 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29657 int as type of variable DEPTH.
29658 (glob): Use size_t instead of int as type of variables NEWCOUNT
29661 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29663 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29664 Add s_sincosf-sse2.
29665 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29666 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29667 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29668 macros for using routine as __sincosf_ia32.
29669 Use macro for function declaration and weak_alias.
29670 * sysdeps/i386/fpu/libm-test-ulps: Update.
29672 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29675 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29676 subnormal argument.
29677 * math/s_cexpf.c (__cexpf): Likewise.
29678 * math/s_csinf.c (__csinf): Likewise.
29679 * math/s_csinhf.c (__csinhf): Likewise.
29680 * math/s_ctanf.c (__ctanf): Likewise.
29681 * math/s_ctanhf.c (__ctanhf): Likewise.
29682 * math/s_ccosh.c (__ccoshf): Likewise.
29683 * math/s_cexp.c (__cexpl): Likewise.
29684 * math/s_csin.c (__csin): Likewise.
29685 * math/s_csinh.c (__csinh): Likewise.
29686 * math/s_ctan.c (__ctan): Likewise.
29687 * math/s_ctanh.c (ctanh): Likewise.
29688 * math/s_ccoshl.c (__ccoshl): Likewise.
29689 * math/s_cexpl.c (__cexpl): Likewise.
29690 * math/s_csinl.c (__csinl): Likewise.
29691 * math/s_csinhl.c (__csinhl): Likewise.
29692 * math/s_ctanl.c (__ctanl): Likewise.
29693 * math/s_ctanhl.c (__ctanhl): Likewise.
29695 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29697 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29698 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29699 (_IO_off_t): Define to __off_t, not _G_off_t.
29700 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29701 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29702 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29703 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29704 type of __dummy and __dummy2 fields.
29705 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29706 (_G_ssize_t): Likewise.
29707 (_G_off_t): Likewise.
29708 (_G_pid_t): Likewise.
29709 (_G_uid_t): Likewise.
29710 (_G_wchar_t): Likewise.
29711 (_G_wint_t): Likewise.
29712 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29713 (_G_ssize_t): Likewise.
29714 (_G_off_t): Likewise.
29715 (_G_pid_t): Likewise.
29716 (_G_uid_t): Likewise.
29717 (_G_wchar_t): Likewise.
29718 (_G_wint_t): Likewise.
29719 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29720 (_G_ssize_t): Likewise.
29721 (_G_off_t): Likewise.
29722 (_G_pid_t): Likewise.
29723 (_G_uid_t): Likewise.
29724 (_G_wchar_t): Likewise.
29725 (_G_wint_t): Likewise.
29727 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29729 * malloc/arena.c: Include malloc-sysdep.h.
29730 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29731 is sufficient to shrink the heap or an unmap is needed.
29732 * sysdeps/generic/malloc-sysdep.h: New file. Define
29733 new function check_may_shrink_heap.
29734 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29735 new function check_may_shrink_heap.
29737 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29739 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29742 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29744 * catgets/test-gencat.sh: Add "set -e".
29745 * elf/tst-pathopt.sh: Likewise.
29746 * grp/tst_fgetgrent.sh: Likewise.
29747 * iconvdata/run-iconv-test.sh: Likewise.
29748 * intl/tst-gettext.sh: Likewise.
29749 * intl/tst-gettext2.sh: Likewise.
29750 * intl/tst-gettext4.sh: Likewise.
29751 * intl/tst-gettext6.sh: Likewise.
29752 * intl/tst-translit.sh: Likewise.
29753 * io/ftwtest-sh: Likewise.
29754 * libio/test-freopen.sh: Likewise.
29755 * malloc/tst-mtrace.sh: Likewise.
29756 * posix/globtest.sh: Likewise.
29757 * posix/tst-getconf.sh: Likewise.
29758 * posix/wordexp-tst.sh: Likewise.
29759 * stdio-common/tst-printf.sh: Likewise.
29760 * stdio-common/tst-unbputc.sh: Likewise.
29761 * stdlib/tst-fmtmsg.sh: Likewise.
29762 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29763 * catgets/Makefile: Do not specify -e option when running
29764 testsuite shell scripts.
29765 * elf/Makefile: Likewise.
29766 * grp/Makefile: Likewise.
29767 * iconvdata/Makefile: Likewise.
29768 * intl/Makefile: Likewise.
29769 * io/Makefile: Likewise.
29770 * libio/Makefile: Likewise.
29771 * malloc/Makefile: Likewise.
29772 * posix/Makefile: Likewise.
29773 * stdio-common/Makefile: Likewise.
29774 * stdlib/Makefile: Likewise.
29775 * sysdeps/x86_64/Makefile: Likewise.
29777 * io/ftwtest-sh: Add copyright header.
29778 * posix/globtest.sh: Likewise.
29779 * posix/tst-getconf.sh: Likewise.
29780 * posix/wordexp-tst.sh: Likewise.
29781 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29783 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29786 * Makeconfig (+link): Defined as $(+link-static) if
29787 $(build-shared) isn't yes.
29788 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29790 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29792 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29795 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29796 new chunk size with MALLOC_ALIGN_MASK.
29798 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29801 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29803 (__printf_fphex): Determine rounding using get_rounding_mode and
29805 * stdio-common/tst-printf-round.c (struct hex_test): New
29807 (hex_tests): New variable.
29808 (test_hex_in_one_mode): New function.
29809 (do_test): Also run tests for hex float output.
29811 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29813 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29814 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29815 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29816 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29817 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29818 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29819 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29820 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29822 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29824 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29825 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29826 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29827 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29829 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29832 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29834 * elf/tst-rtld-load-self.sh: New test.
29835 * elf/Makefile: Run it.
29837 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29839 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29840 (tst-writev-ENV): Remove.
29841 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29843 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29845 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29847 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29849 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29851 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29853 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29854 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29855 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29858 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29861 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29862 * config.make.in (have-cpp-asm-debuginfo): Removed.
29863 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29864 * configure: Regenerated.
29866 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29869 * stdio-common/printf_fp.c: Include <stdbool.h> and
29871 (___printf_fp): Determine rounding using get_rounding_mode and
29873 * stdio-common/tst-printf-round.c: New file.
29874 * stdio-common/Makefile (tests): Add tst-printf-round.
29875 (link-libm): New variable.
29876 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29878 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29881 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29882 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29884 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29887 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29889 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29890 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29891 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29892 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29894 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29897 * include/rounding-mode.h: New file.
29898 * sysdeps/generic/get-rounding-mode.h: Likewise.
29899 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29900 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29901 (MAX_VALUE): New macro.
29902 (MIN_VALUE): Likewise.
29903 (overflow_value): New function.
29904 (underflow_value): Likewise.
29905 (round_and_return): Use overflow_value and underflow_value to
29906 determine return values in overflow and underflow cases. Use
29907 round_away to determine rounding depending on rounding mode.
29908 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29909 determine return values in overflow and underflow cases.
29910 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29911 (struct test_results): New structure.
29912 (struct test): Use struct test_results to store expected results
29913 for all rounding modes.
29914 (TEST): Include expected results for all rounding modes.
29915 (test_in_one_mode): New function.
29916 (do_test): Use test_in_one_mode to compute and check results.
29917 Check results for all rounding modes.
29918 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29921 2012-12-09 Allan McRae <allan@archlinux.org>
29923 * sysdeps/i386/fpu/libm-test-ulps: Update
29925 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29927 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29928 (_G_int32_t): Likewise.
29929 (_G_uint16_t): Likewise.
29930 (_G_uint32_t): Likewise.
29931 (_G_HAVE_BOOL): Likewise.
29932 (_G_HAVE_ATEXIT): Likewise.
29933 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29934 (_G_HAVE_IO_FILE_OPEN): Likewise.
29935 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29936 (_G_int32_t): Likewise.
29937 (_G_uint16_t): Likewise.
29938 (_G_uint32_t): Likewise.
29939 (_G_HAVE_BOOL): Likewise.
29940 (_G_HAVE_ATEXIT): Likewise.
29941 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29942 (_G_HAVE_IO_FILE_OPEN): Likewise.
29943 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29944 (_G_int32_t): Likewise.
29945 (_G_uint16_t): Likewise.
29946 (_G_uint32_t): Likewise.
29947 (_G_HAVE_BOOL): Likewise.
29948 (_G_HAVE_ATEXIT): Likewise.
29949 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29950 (_G_HAVE_IO_FILE_OPEN): Likewise.
29952 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29954 * csu/libc-tls.c: Update copyright years.
29956 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29958 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29959 [!_G_USING_THUNKS]: Remove conditional code.
29960 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29961 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29963 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29964 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29965 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29966 (_G_VTABLE_LABEL_PREFIX): Likewise.
29967 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29968 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29969 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29970 (_G_VTABLE_LABEL_PREFIX): Likewise.
29971 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29972 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29973 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29974 (_G_VTABLE_LABEL_PREFIX): Likewise.
29975 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29977 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29979 * libio/Makefile: Include ../Makeconfig before tests.
29980 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29981 only if $(build-shared) is yes.
29983 * iconv/gconv_db.c: Update copyright years.
29985 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29987 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29988 unwind info if defined PIC. Fix special cases description.
29989 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29991 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29993 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29995 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29997 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29999 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30002 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30003 (LDLIBS-tst-chk4): This.
30004 (LDFLAGS-tst-chk5): Renamed to ...
30005 (LDLIBS-tst-chk5): This.
30006 (LDFLAGS-tst-chk6): Renamed to ...
30007 (LDLIBS-tst-chk6): This.
30008 (LDFLAGS-tst-lfschk4): Renamed to ...
30009 (LDLIBS-tst-lfschk4): This.
30010 (LDFLAGS-tst-lfschk5): Renamed to ...
30011 (LDLIBS-tst-lfschk5): This.
30012 (LDFLAGS-tst-lfschk6): Renamed to ...
30013 (LDLIBS-tst-lfschk6): This.
30015 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30016 on $(common-objpfx)soversions.mk.
30018 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30021 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30024 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30026 * malloc/arena.c (arena_get_retry): New function that gets
30027 another arena for the caller to try its request on.
30028 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30029 current arena cannot fulfill the request.
30030 (__libc_memalign): Likewise.
30031 (__libc_memalign): Likewise.
30032 (__libc_pvalloc): Likewise.
30033 (__libc_calloc): Likewise.
30035 2012-09-05 John Tobey <john.tobey@gmail.com>
30038 * manual/arith.texi (Operations on Complex): Fix description
30039 of carg branch cut.
30041 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30044 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30048 * manual/memory.texi (Memory): Make order of menu items match
30051 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30053 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30054 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30055 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30057 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30059 * csu/libc-tls.c (static_dtv): Renamed to ...
30060 (_dl_static_dtv): This. Make it global.
30061 (_dl_initial_dtv): Removed.
30062 (__libc_setup_tls): Updated.
30063 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30064 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30067 2012-09-06 Petr Machata <pmachata@redhat.com>
30069 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30070 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30071 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30072 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30074 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30077 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30078 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30081 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30084 * Makeconfig (link-static-before-libc): Replace $(+prector)
30086 (link-static-after-libc): Replace $(+postctor) with
30088 (link-bounded): Replace $(+prector)/$(+postctor) with
30089 $(+prectorT)/$(+postctorT).
30090 (+prectorT): New macro.
30091 (+postctorT): Likewise.
30093 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30095 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30096 (round_str): Handle values above the maximum for IBM long double
30098 * stdlib/tst-strtod-round.c (tests): Regenerated.
30100 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30102 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30104 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30105 zarch_nohighgprs around the zarch optimized routines.
30106 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30107 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30108 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30111 2012-09-05 David S. Miller <davem@davemloft.net>
30113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30115 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30116 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30117 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30118 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30121 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30123 * malloc/arena.c: Fold copyright years.
30124 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30126 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30128 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30130 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30132 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30134 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30136 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30137 change internal state upon failure.
30139 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30141 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30142 * malloc/memusage.c (mmap): Likewise.
30143 (mmap64, mremap): Likewise. Adjust name in comment.
30145 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30147 * libio/fileops.c: Fix typos in comments.
30148 * libio/oldfileops.c: Likewise.
30149 * libio/wfileops.c: Likewise.
30151 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30154 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30155 (tst-malloc-usable-ENV): Set environment for test case.
30156 * malloc/hooks.c (malloc_check_get_size): New function to get
30158 * malloc/malloc.c (musable): Use malloc_check_get_size.
30159 * malloc/tst-malloc-usable.c: New test case.
30161 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30163 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30165 2012-09-05 Allan McRae <allan@archlinux.org>
30168 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30169 determine header location.
30170 * configure: Regenerated.
30172 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30174 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30176 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30177 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30179 (test): Regenerate.
30181 2012-09-04 David S. Miller <davem@davemloft.net>
30183 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30184 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30185 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30187 2012-09-04 Florian Weimer <fweimer@redhat.com>
30189 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30192 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30194 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30197 * libio/iogetdelim.c: Include <limits.h>.
30198 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30199 + len + 1 would overflow.
30201 2012-09-03 Andreas Jaeger <aj@suse.de>
30203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30204 * sysdeps/i386/fpu/libm-test-ulps: Update.
30206 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30208 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30209 Add s_sinf-sse2, s_conf-sse2.
30211 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30212 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30213 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30214 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30216 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30217 for using routine as __sinf_ia32.
30218 Use macro for function declaration and weak_alias.
30219 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30220 for using routine as __cosf_ia32.
30221 Use macro for function declaration and weak_alias.
30223 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30224 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30226 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30227 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30230 * math/libm-test.inc (cos_test): Add more test cases.
30231 (sin_test): Likewise.
30232 (sincos_test): Likewise.
30234 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30236 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30237 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30239 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30241 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30244 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30245 first element of the GOT.
30246 (elf_machine_load_address): Return the difference between
30247 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30249 2012-09-01 Allan McRae <allan@archlinux.org>
30252 * configure.in (AWK): Require gawk version 3.0 or later.
30253 * configure: Regenerated.
30255 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30257 * sysdeps/unix/sysv/linux/kernel-features.h
30258 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30260 [__NR_clock_getres]: Make code unconditional.
30261 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30262 (clock_getcpuclockid): Remove code left unreachable by removal of
30264 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30265 code unconditional.
30266 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30267 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30268 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30269 Make code unconditional.
30270 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30271 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30272 * sysdeps/unix/sysv/linux/clock_settime.c
30273 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30275 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30276 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30278 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30281 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30282 scripts/test-installation.pl.
30284 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30285 and $ld_so_version if it is set.
30287 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30291 failure if reading from procfs failed.
30292 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30294 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30296 * sysdeps/unix/sysv/linux/kernel-features.h
30297 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30298 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30299 Remove conditional code.
30300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30301 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30302 Remove conditional code.
30303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30304 * sysdeps/unix/sysv/linux/i386/fxstat.c
30305 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30307 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30308 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30310 * sysdeps/unix/sysv/linux/i386/lxstat.c
30311 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30313 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30314 Remove conditional code.
30315 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30316 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30317 Remove conditional code.
30318 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30319 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30320 <kernel-features.h>.
30321 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30323 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30324 Remove conditional code.
30325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30326 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30327 Remove conditional.
30329 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30332 * NEWS: Add fixed bug number.
30334 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30337 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30338 underflowing exponent in case of negative sign.
30339 * stdlib/tst-strtod-round-data: Add more tests.
30340 * stdlib/tst-strtod-round.c (tests): Regenerated.
30343 * stdlib/strtod_l.c (NDIG): Remove.
30344 (HEXNDIG): Likewise.
30345 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30346 smallest representable value.
30347 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30348 lie within an exact representation of 1/2 ulp of the result.
30349 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30351 (TENS_P9_IDX): Define unconditionally.
30352 (TENS_P9_SIZE): Likewise.
30353 (TENS_P10_IDX): Likewise.
30354 (TENS_P10_SIZE): Likewise.
30355 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30356 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30357 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30358 entries for 10^2^13 and 10^2^14.
30359 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30360 (TENS_P13_IDX): Define.
30361 (TENS_P13_SIZE): Likewise.
30362 (TENS_P14_IDX): Likewise.
30363 (TENS_P14_SIZE): Likewise.
30364 (_fpioconst_pow10): Change array size to
30365 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30367 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30368 1024]: Add entries for 10^2^13 and 10^2^14.
30369 [LAST_POW10 > _LAST_POW10]: Remove #error.
30370 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30371 (_fpioconst_pow10): Change array size to
30372 FPIOCONST_POW10_ARRAY_SIZE.
30373 * stdlib/gen-fpioconst.c: New file.
30374 * stdlib/gen-tst-strtod-round.c: Likewise.
30375 * stdlib/tst-strtod-round-data: Likewise.
30376 * stdlib/tst-strtod-round.c: Likewise.
30377 * stdlib/Makefile (tests): Add tst-strtod-round.
30380 * stdlib/strtod_l.c: Include <stdint.h>.
30381 (NDEBUG): Do not define.
30382 (round_and_return): Change EXPONENT parameter to type intmax_t.
30383 Rearrange calculations to avoid internal overflow possibilities.
30384 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30385 Rearrange calculations to avoid internal overflow possibilities.
30386 Assert that number fits inside MPNSIZE limbs.
30387 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30388 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30389 calculations and add assertions to avoid internal overflow
30390 possibilities. Add casts to avoid signed/unsigned operations.
30391 * stdlib/tst-strtod-overflow.c: New file.
30392 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30394 2012-08-25 Marek Polacek <polacek@redhat.com>
30396 * time/time.h: Fix some typos in comments.
30398 2012-08-23 Roland McGrath <roland@hack.frob.com>
30400 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30401 * posix/tst-rfc3484-2.c: Likewise.
30402 * posix/tst-rfc3484-3.c: Likewise.
30404 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30406 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30407 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30409 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30411 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30412 #include of fxstatat64.c.
30414 2012-08-22 Roland McGrath <roland@hack.frob.com>
30416 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30417 * shadow/getspent_r.c: Likewise.
30418 * shadow/getspnam.c: Likewise.
30419 * shadow/getspnam_r.c: Likewise.
30420 * gshadow/getsgent.c: Likewise.
30421 * gshadow/getsgent_r.c: Likewise.
30422 * gshadow/getsgnam.c: Likewise.
30423 * gshadow/getsgnam_r.c: Likewise.
30424 * inet/getnetbyad.c: Likewise.
30425 * inet/getnetbyad_r.c: Likewise.
30426 * inet/getnetbynm.c: Likewise.
30427 * inet/getnetbynm_r.c: Likewise.
30428 * inet/getnetent.c: Likewise.
30429 * inet/getnetent_r.c: Likewise.
30430 * inet/getproto.c: Likewise.
30431 * inet/getproto_r.c: Likewise.
30432 * inet/getprtent.c: Likewise.
30433 * inet/getprtent_r.c: Likewise.
30434 * inet/getprtname.c: Likewise.
30435 * inet/getprtname_r.c: Likewise.
30436 * inet/getrpcbyname.c: Likewise.
30437 * inet/getrpcbyname_r.c: Likewise.
30438 * inet/getrpcbynumber.c: Likewise.
30439 * inet/getrpcbynumber_r.c: Likewise.
30440 * inet/getrpcent.c: Likewise.
30441 * inet/getrpcent_r.c: Likewise.
30442 * inet/getaliasent.c: Likewise.
30443 * inet/getaliasent_r.c: Likewise.
30444 * inet/getaliasname.c: Likewise.
30445 * inet/getaliasname_r.c: Likewise.
30446 * nscd/getgrgid_r.c: Likewise.
30447 * nscd/getgrnam_r.c: Likewise.
30448 * nscd/gethstbyad_r.c: Likewise.
30449 * nscd/gethstbynm3_r.c: Likewise.
30450 * nscd/getpwnam_r.c: Likewise.
30451 * nscd/getpwuid_r.c: Likewise.
30452 * nscd/getsrvbynm_r.c: Likewise.
30453 * nscd/getsrvbypt_r.c: Likewise.
30454 * nscd/gai.c: Likewise.
30456 * configure.in (build_nscd): New substituted variable, set
30457 by --disable-build-nscd and defaults to $use_nscd.
30458 * configure: Regenerated.
30459 * config.make.in (build-nscd): New substituted variable.
30460 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30461 Change conditional to require [$(build-nscd) = yes] as well.
30462 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30465 * configure.in (use_nscd): New substituted variable, set by
30466 --disable-nscd. If enabled, define USE_NSCD.
30467 * configure: Regenerated.
30468 * config.h.in: Add USE_NSCD.
30469 * config.make.in (use-nscd): New substituted variable.
30470 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30471 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30472 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30473 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30474 (CFLAGS-getgrnam_r.c): Likewise.
30475 (CFLAGS-initgroups.c): Likewise.
30476 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30477 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30479 * inet/getnetgrent_r.c
30480 (nscd_setnetgrent): New function, broken out of ...
30481 (setnetgrent): ... here. Call it.
30482 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30483 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30484 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30485 * nscd/Makefile (routines, aux): Move definitions after include of
30486 Makeconfig. Conditionalize on [$(use-nscd) != no].
30487 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30488 Conditionalize on [USE_NSCD].
30489 (is_nscd, nscd_init_cb): Likewise.
30490 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30491 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30492 * nss/nss_db/db-init.c: Likewise.
30493 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30495 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30496 (make_request): Use it.
30497 (cache_valid_p): New function.
30498 (__check_pf): Use it.
30499 * NEWS: Add item for --disable-nscd.
30501 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30503 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30504 to support sed >= 4.2.1-20-ga9bf076.
30505 * configure: Regenerated.
30507 2012-08-22 Roland McGrath <roland@hack.frob.com>
30509 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30510 Conditionalize whole body on [IREL].
30512 2012-08-22 Jeff Law <law@redhat.com>
30515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30516 if the family is PF_UNSPEC.
30518 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30520 * Makerules (lib-version): Rename from V.
30521 (install-lib-nosubdir): Change V to lib-version.
30523 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30526 * powerpc32/power6/wcschr.c: New file.
30527 * powerpc32/power6/wcscpy.c: New file.
30528 * powerpc32/power6/wcsrchr.c: New file.
30529 * powerpc64/power6/wcschr.c: New file.
30530 * powerpc64/power6/wcscpy.c: New file.
30531 * powerpc64/power6/wcsrchr.c: New file.
30533 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30535 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30536 (two_way_short_needle): Use it.
30537 * string/strstr.c (AVAILABLE1_USES_J): Define.
30538 * string/strcasestr.c: Likewise.
30540 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30542 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30545 * NEWS: Add an entry.
30546 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30547 define their defaults.
30548 (two_way_short_needle): Detect end-of-string on-the-fly.
30549 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30550 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30551 * string/bug-strcasestr1.c: New test.
30552 * string/Makefile: Run it.
30554 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30557 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30558 the first character.
30560 2012-08-21 Roland McGrath <roland@hack.frob.com>
30562 * csu/elf-init.c (__libc_csu_irel): Function removed.
30563 * csu/libc-start.c (apply_irel): New function.
30564 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30566 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30568 * sysdeps/unix/sysv/linux/kernel-features.h
30569 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30570 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30571 <kernel-features.h>.
30572 [__NR_fadvise64_64]: Make code unconditional.
30573 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30574 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30575 !__NR_fadvise64_64)]: Likewise.
30576 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30577 !__NR_fadvise64_64))]: Likewise.
30578 [__NR_fadvise64]: Make code unconditional.
30579 [!__NR_fadvise64]: Remove conditional code.
30580 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30581 <kernel-features.h>.
30582 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30584 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30587 not include <kernel-features.h>.
30588 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30590 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30592 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30593 include <kernel-features.h>.
30594 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30596 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30599 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30601 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30602 slight instruction rearrangements per scrollpipe analysis.
30603 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30605 2012-08-20 Roland McGrath <roland@hack.frob.com>
30607 * manual/syslog.texi (syslog; vsyslog, closelog):
30608 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30609 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30611 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30612 DSOCAPS to match condition on defining it.
30614 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30616 * sysdeps/unix/sysv/linux/kernel-features.h
30617 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30619 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30620 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30622 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30623 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30625 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30626 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30628 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30629 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30631 * sysdeps/unix/sysv/linux/kernel-features.h
30632 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30633 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30635 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30636 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30637 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30638 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30639 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30640 Make code unconditional.
30641 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30642 (__mmap64) [!__NR_mmap2]: Likewise.
30643 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30644 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30645 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30646 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30647 [__NR_mmap2]: Make code unconditional.
30648 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30649 (__mmap64) [!__NR_mmap2]: Likewise.
30651 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30653 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30655 2012-08-18 Andreas Jaeger <aj@suse.de>
30657 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30659 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30661 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30662 * include/unistd.h (__have_sock_cloexec): Likewise.
30663 (__have_pipe2): Likewise.
30664 (__have_dup3): Likewise.
30666 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30669 * include/unistd.h (__have_pipe2): Change define into an extern int.
30670 (__have_dup3): Likewise.
30671 * socket/have_sock_cloexec.c: Include fcntl.h.
30672 (__have_pipe2): New variable.
30673 (__have_dup3): Likewise.
30675 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30677 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30679 2012-08-17 Marek Polacek <polacek@redhat.com>
30681 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30682 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30684 2012-08-17 Roland McGrath <roland@hack.frob.com>
30686 * configure.in: Add AC_SUBST for sysheaders.
30687 * configure: Regenerated.
30688 * config.make.in (sysheaders): New substituted variable.
30690 * sysdeps/unix/mkfifo.c: Moved ...
30691 * sysdeps/posix/mkfifo.c: ... here.
30692 * sysdeps/unix/mkfifoat.c: Moved ...
30693 * sysdeps/posix/mkfifoat.c: ... here.
30695 * sysdeps/unix/utime.c: Moved ...
30696 * sysdeps/posix/utime.c: ... here.
30698 * sysdeps/unix/time.c: Moved ...
30699 * sysdeps/posix/time.c: ... here.
30700 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30701 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30703 * sysdeps/unix/nice.c: Moved ...
30704 * sysdeps/posix/nice.c: ... here.
30706 * sysdeps/unix/alarm.c: Moved ...
30707 * sysdeps/posix/alarm.c: ... here.
30709 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30711 2012-08-17 Jeff Law <law@redhat.com>
30713 * intl/Makefile (codeset_mo): New variable.
30714 ($(codeset_mo)): New target.
30715 (tst-codeset.out): Depend on that. Remove explicit rule.
30716 (tst-gettext3.out, tst-gettext5.out): Likewise.
30717 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30718 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30719 * intl/tst-codeset.sh: Remove.
30720 * intl/tst-gettext3.sh: Likewise.
30721 * intl/tst-gettext5.sh: Likewise.
30723 2012-08-17 Roland McGrath <roland@hack.frob.com>
30725 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30726 * sysdeps/unix/syscalls.list: ... here.
30728 * sysdeps/posix/getaddrinfo.c
30729 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30730 (gaiconf_init, gaiconf_reload): Use them.
30731 [!_STATBUF_ST_NSEC]
30732 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30733 Define using time_t rather than struct timespec.
30735 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30736 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30738 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30740 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30741 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30744 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30745 __libc_cleanup_push argument.
30747 * bits/param.h: New file.
30748 * misc/sys/param.h: New file.
30749 * include/sys/param.h: New file.
30750 * misc/Makefile (headers): Add bits/param.h.
30751 * sysdeps/generic/sys/param.h: File removed.
30752 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30753 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30754 * sysdeps/mach/hurd/bits/param.h: New file.
30755 * sysdeps/mach/hurd/sys/param.h: File removed.
30757 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30760 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30762 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30763 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30766 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30767 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30768 rather than -D_IO_MTSAFE_IO conditionally.
30769 * stdio-common/Makefile (CPPFLAGS): Likewise.
30770 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30771 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30772 Use $(libio-mtsafe).
30773 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30774 of -D_IO_MTSAFE_IO.
30775 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30776 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30777 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30778 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30779 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30780 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30781 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30782 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30783 (CFLAGS-fread_u_chk.c): Likewise.
30784 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30785 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30786 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30787 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30788 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30789 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30790 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30791 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30792 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30794 * libio/Makefile: Test [$(libc-reentrant) = yes]
30795 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30798 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30799 * sysdeps/pthread/configure: File removed.
30800 * sysdeps/pthread/Makeconfig: New file.
30801 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30802 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30804 2012-08-16 Gary Benson <gbenson@redhat.com>
30806 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30807 unmapping the first object in a namespace.
30809 2012-08-16 Roland McGrath <roland@hack.frob.com>
30811 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30812 (__internal_setnetgrent): ... this. Add internal_function to
30813 definition. Add libc_hidden_def.
30814 (setnetgrent): Update caller.
30815 (internal_endnetgrent): Renamed to ...
30816 (__internal_endnetgrent): ... this. Add internal_function to
30817 definition. Add libc_hidden_def.
30818 (endnetgrent): Update caller.
30819 (internal_getnetgrent_r): Renamed to ...
30820 (__internal_getnetgrent_r): ... this. Add internal_function to
30821 definition. Add libc_hidden_def.
30822 (__getnetgrent_r): Update caller.
30823 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30825 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30827 * stdlib/longlong.h: Update from GCC.
30829 2012-08-16 Roland McGrath <roland@hack.frob.com>
30831 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30832 on _QL, which is set by umul_ppmm but never used.
30833 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30834 variables, which are set by GMP macros but never used.
30835 * stdio-common/_itowa.c (_itowa): Likewise.
30836 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30837 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30839 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30841 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30842 struct La_sh_regs is not constant.
30843 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30844 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30845 and struct La_sparc64_regs are not constant.
30847 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30849 * sysdeps/unix/sysv/linux/kernel-features.h
30850 (__ASSUME_POSIX_TIMERS): Remove.
30851 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30852 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30853 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30854 Make code unconditional.
30855 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30856 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30857 Make code unconditional.
30858 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30859 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30860 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30861 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30862 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30863 Make code unconditional.
30864 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30865 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30866 (__libc_missing_posix_timers): Remove.
30868 2012-08-15 Roland McGrath <roland@hack.frob.com>
30870 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30871 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30873 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30875 * elf/dl-sym.c: Include <stdlib.h>.
30877 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30878 constants, which avoids warnings in 32-bit builds.
30880 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30881 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30883 * misc/lseek.c: File moved to ...
30884 * io/lseek.c: ... here.
30886 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30888 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30889 shifting LEN more than 31 bits at once.
30891 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30894 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30895 segmentation fault for a case of two empty input strings.
30896 * string/test-strncasecmp.c (check1): Renamed to...
30897 (bz12205): ...this.
30898 (bz14195): Add new testcase for two empty input strings and N > 0.
30899 (test_main): Call new testcase, adapt for renamed function.
30901 2012-08-15 Andreas Jaeger <aj@suse.de>
30904 * crypt/md5test2.c: New test, based on test supplied by Serge
30905 Belyshev <belyshev@depni.sinp.msu.ru>.
30906 * crypt/Makefile (xtests): Add md5test-giant..
30907 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30909 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30912 * crypt/md5.c (md5_process_block): Don't assume the buffer
30913 length is less than 2**32.
30914 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30915 length is less than 2**64.
30917 2012-08-15 Roland McGrath <roland@hack.frob.com>
30919 * string/str-two-way.h: Include <sys/param.h>.
30920 (MAX): Macro removed.
30922 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30923 Move #define and #undef of memmove to just before and after
30924 including <string.h>.
30926 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30927 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30928 and after including <string.h>. Move declarations of
30929 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30930 to before #include "string/memmove.c".
30932 * include/dirent.h: Declare __getdirentries.
30934 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30935 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30937 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30939 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30940 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30941 * sysdeps/i386/configure: Regenerated.
30942 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30943 STABS_CURRENT_FILE, and STABS_FUN.
30944 (END): Remove call to STABS_FUN_END.
30945 (STABS_CURRENT_FILE1): Delete.
30946 (STABS_CURRENT_FILE): Likewise.
30947 (STABS_FUN): Likewise.
30948 (STABS_FUN_END): Likewise.
30949 (STABS_FUN2): Likewise.
30950 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30951 * sysdeps/x86_64/configure: Regenerated.
30953 2012-08-14 Roland McGrath <roland@hack.frob.com>
30955 * elf/dl-open.c: Include <atomic.h>.
30956 * elf/dl-lookup.c: Likewise.
30958 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30960 * sysdeps/unix/sysv/linux/kernel-features.h
30961 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30962 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30964 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30966 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30967 condition on __ASSUME_CLONE_THREAD_FLAGS.
30969 2012-08-14 Andreas Jaeger <aj@suse.de>
30971 * sysdeps/i386/fpu/libm-test-ulps: Update.
30973 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30975 * include/atomic.h (atomic_exchange_and_add): Split into ...
30976 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30979 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30983 2012-08-13 Jeff Law <law@redhat.com>
30985 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30986 null byte in the output string.
30988 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30990 * sysdeps/unix/sysv/linux/kernel-features.h
30991 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30992 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30993 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30994 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30995 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30996 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30997 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30999 2012-08-09 Jeff Law <law@redhat.com>
31002 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31003 When avoid_arena is set, don't retry in the that arena. Pick the
31004 next one, whatever it might be.
31005 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31006 (arena_lock): Pass in new parameter to arena_get2.
31007 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31009 (__libc_malloc): Unify retrying after main arena failure with
31010 __libc_memalign version.
31011 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31013 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31016 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31017 to __redirect_strstr.
31018 (__strstr_sse42): Use typeof __redirect_strstr.
31019 (__strstr_ia32): Likewise.
31020 (__libc_strstr): New prototype.
31021 (strstr): Renamed to ...
31022 (__libc_strstr): This.
31023 (strstr): New strong alias of __libc_strstr.
31024 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31025 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31028 (__libc_time): New prototype.
31029 (time_ifunc): Replace time with __libc_time.
31030 (time): New strong alias and hidden definition of __libc_time.
31031 (__GI_time): Remove strong alias.
31032 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31033 Include <stddef.h>.
31034 (memmove): Redefined to __redirect_memmove.
31035 (__memmove_sse2): Use typeof __redirect_memmove.
31036 (__memmove_ssse3): Likewise.
31037 (__memmove_ssse3_back): Likewise.
31038 (__libc_memmove): New prototype.
31039 (memmove): Renamed to ...
31040 (__libc_memmove): This.
31041 (memmove): New strong alias of __libc_memmove.
31043 2012-08-08 Mark Salter <msalter@redhat.com>
31046 (R_MN10300_TLS_GD): Define.
31047 (R_MN10300_TLS_LD): Likewise.
31048 (R_MN10300_TLS_LDO): Likewise.
31049 (R_MN10300_TLS_GOTIE): Likewise.
31050 (R_MN10300_TLS_IE): Likewise.
31051 (R_MN10300_TLS_LE): Likewise.
31052 (R_MN10300_TLS_DTPMOD): Likewise.
31053 (R_MN10300_TLS_DTPOFF): Likewise.
31054 (R_MN10300_TLS_TPOFF): Likewise.
31055 (R_MN10300_SYM_DIFF): Likewise.
31056 (R_MN10300_ALIGN): Likewise.
31057 (R_MN10300_NUM): Update.
31059 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31061 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31064 2012-08-08 Roland McGrath <roland@hack.frob.com>
31066 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31068 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31069 sysdeps/unix -> sysdeps/posix move.
31070 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31072 2012-08-07 Allan McRae <allan@archlinux.org>
31075 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31076 (SUNOS_CPP): Likewise.
31077 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31079 (open_input): Call CPP using execvp.
31081 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31083 * sysdeps/unix/sysv/linux/kernel-features.h
31084 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31085 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31086 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31087 (__ASSUME_WAITID_SYSCALL): Likewise.
31088 * sysdeps/unix/sysv/linux/dl-execstack.c
31089 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31090 code unconditional.
31091 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31093 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31094 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31095 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31097 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31099 [__ASSUME_WAITID_SYSCALL]: Likewise.
31100 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31102 2012-08-07 Roland McGrath <roland@hack.frob.com>
31104 * sysdeps/unix/closedir.c: Renamed to ...
31105 * sysdeps/posix/closedir.c: ... here.
31106 * sysdeps/unix/dirfd.c: Renamed to ...
31107 * sysdeps/posix/dirfd.c: ... here.
31108 * sysdeps/unix/dirstream.h: Renamed to ...
31109 * sysdeps/posix/dirstream.h: ... here.
31110 * sysdeps/unix/fdopendir.c: Renamed to ...
31111 * sysdeps/posix/fdopendir.c: ... here.
31112 * sysdeps/unix/opendir.c: Renamed to ...
31113 * sysdeps/posix/opendir.c: ... here.
31114 * sysdeps/unix/readdir.c: Renamed to ...
31115 * sysdeps/posix/readdir.c: ... here.
31116 * sysdeps/unix/readdir_r.c: Renamed to ...
31117 * sysdeps/posix/readdir_r.c: ... here.
31118 * sysdeps/unix/rewinddir.c: Renamed to ...
31119 * sysdeps/posix/rewinddir.c: ... here.
31120 * sysdeps/unix/seekdir.c: Renamed to ...
31121 * sysdeps/posix/seekdir.c: ... here.
31122 * sysdeps/unix/telldir.c: Renamed to ...
31123 * sysdeps/posix/telldir.c: ... here.
31124 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31125 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31126 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31127 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31129 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31130 * bits/fcntl.h: ... here.
31132 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31134 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31135 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31136 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31137 (struct flock): Move l_start, l_len to the beginning.
31138 Use __pid_t for l_pid.
31139 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31140 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31141 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31142 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31143 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31144 [__USE_LARGEFILE64] (struct flock64): New type.
31145 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31147 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31148 * bits/dirent.h: ... here.
31150 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31151 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31153 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31155 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31156 Change from 2.6.0 to 2.6.16.
31157 * sysdeps/unix/sysv/linux/configure: Regenerated.
31158 * sysdeps/unix/sysv/linux/kernel-features.h
31159 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31160 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31162 (__ASSUME_UTIMES): Likewise.
31163 (__ASSUME_CLONE_STOPPED): Remove.
31164 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31165 architectures, not kernel version.
31166 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31167 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31168 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31169 (__ASSUME_WAITID_SYSCALL): Likewise.
31170 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31171 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31172 * README: State 2.6.16 as minimum Linux kernel version. Do not
31173 refer to older versions.
31175 2012-08-06 Roland McGrath <roland@hack.frob.com>
31177 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31178 Define alphasort64 as an alias.
31179 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31180 Define versionsort64 as an alias.
31181 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31182 Define scandir64 as an alias.
31183 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31184 Define scandirat64 as an alias.
31185 * dirent/alphasort64.c (alphasort64):
31186 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31187 * dirent/versionsort64.c: Likewise.
31188 * dirent/scandir64.c: Likewise.
31189 * dirent/scandirat64.c: Likewise.
31190 * sysdeps/wordsize-64/alphasort.c: File removed.
31191 * sysdeps/wordsize-64/alphasort64.c: File removed.
31192 * sysdeps/wordsize-64/scandir.c: File removed.
31193 * sysdeps/wordsize-64/scandir64.c: File removed.
31194 * sysdeps/wordsize-64/scandirat.c: File removed.
31195 * sysdeps/wordsize-64/scandirat64.c: File removed.
31196 * sysdeps/wordsize-64/versionsort.c: File removed.
31197 * sysdeps/wordsize-64/versionsort64.c: File removed.
31198 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31199 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31200 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31201 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31202 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31203 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31204 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31205 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31207 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31208 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31209 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31210 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31211 [defined __arch64__ || defined __sparcv9]
31212 (__INO_T_MATCHES_INO64_T): New macro.
31213 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31214 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31215 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31216 * sysdeps/unix/sysv/linux/bits/dirent.h
31217 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31218 (_DIRENT_MATCHES_DIRENT64): New macro.
31220 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31221 Define lockf64 as an alias.
31222 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31223 Define fseeko64 as an alias.
31224 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31225 Define ftello64 as an alias.
31226 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31227 Define _IO_fgetpos64 and fgetpos64 as aliases.
31228 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31229 Define _IO_fsetpos64 and fsetpos64 as aliases.
31230 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31231 Conditionalize body on this.
31232 * libio/fseeko64.c: Likewise.
31233 * libio/ftello64.c: Likewise.
31234 * libio/iofgetpos64.c: Likewise.
31235 * libio/iofsetpos64.c: Likewise.
31236 * sysdeps/wordsize-64/lockf.c: File removed.
31237 * sysdeps/wordsize-64/lockf64.c: File removed.
31238 * sysdeps/wordsize-64/fseeko.c: File removed.
31239 * sysdeps/wordsize-64/fseeko64.c: File removed.
31240 * sysdeps/wordsize-64/ftello.c: File removed.
31241 * sysdeps/wordsize-64/ftello64.c: File removed.
31242 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31243 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31244 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31245 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31247 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31248 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31249 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31250 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31251 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31252 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31253 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31254 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31255 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31257 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31259 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31261 [defined __arch64__ || defined __sparcv9]
31262 (__OFF_T_MATCHES_OFF64_T): New macro.
31263 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31264 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31265 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31266 (__OFF_T_MATCHES_OFF64_T): New macro.
31268 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31270 * stdlib/secure-getenv.c (__secure_getenv): Replace
31271 GLIBC_2_16 with GLIBC_2_17.
31273 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31275 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31276 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31278 2012-08-03 David S. Miller <davem@davemloft.net>
31280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31282 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31284 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31286 (__ASSUME_CORRECT_SI_PID): Likewise.
31287 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31288 (__ASSUME_TMPFS_NAME): Likewise.
31289 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31290 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31291 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31292 (HAVE_AUX_SECURE): Make definition unconditional.
31293 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31294 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31296 2012-08-03 Roland McGrath <roland@hack.frob.com>
31298 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31299 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31300 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31301 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31302 __eloop_threshold instead of SYMLOOP_MAX.
31304 * sysdeps/generic/eloop-threshold.h: New file.
31305 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31307 * elf/chroot_canon.c (chroot_canon): Likewise.
31309 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31312 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31313 Change to 2.6.0 everywhere.
31314 * sysdeps/unix/sysv/linux/configure: Regenerated.
31315 * sysdeps/unix/sysv/linux/kernel-features.h
31316 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31317 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31319 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31320 (__ASSUME_FUTEX_REQUEUE): Remove.
31321 (__ASSUME_STATFS64): Define unconditionally.
31322 (__ASSUME_AT_SECURE): Likewise.
31323 (__ASSUME_CORRECT_SI_PID): Likewise.
31324 (__ASSUME_TGKILL): Define without depending on kernel version for
31326 (__ASSUME_UTIMES): Likewise.
31327 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31329 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31330 (__ASSUME_TMPFS_NAME): Likewise.
31331 * README: Update reference to Linux kernel versions.
31333 2012-08-02 Marek Polacek <polacek@redhat.com>
31336 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31337 libc_cv_asm_type_prefix with %.
31338 * configure: Regenerated.
31339 * include/libc-symbols.h: Remove comment about
31340 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31341 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31342 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31343 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31344 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31345 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31346 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31347 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31348 * elf/tst-unique2mod1.c: Likewise.
31349 * elf/tst-unique1mod2.c: Likewise.
31350 * elf/tst-unique1mod1.c: Likewise.
31351 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31352 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31353 Replace ASM_TYPE_DIRECTIVE with .type.
31354 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31355 * sysdeps/i386/sysdep.h: Likewise.
31356 * sysdeps/x86_64/sysdep.h: Likewise.
31357 * sysdeps/sh/sysdep.h: Likewise.
31358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31359 Do not define ASM_TYPE_DIRECTIVE.
31360 * sysdeps/powerpc/sysdep.h: Likewise.
31361 * sysdeps/powerpc/powerpc32/sysdep.h:
31362 Replace ASM_TYPE_DIRECTIVE with .type.
31363 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31364 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31365 * sysdeps/i386/fpu/e_powf.S: Likewise.
31366 * sysdeps/i386/fpu/e_expl.S: Likewise.
31367 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31368 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31369 * sysdeps/i386/fpu/e_pow.S: Likewise.
31370 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31371 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31372 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31373 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31374 * sysdeps/i386/fpu/e_log2.S: Likewise.
31375 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31376 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31377 * sysdeps/i386/fpu/e_powl.S: Likewise.
31378 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31379 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31380 * sysdeps/i386/fpu/e_logl.S: Likewise.
31381 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31382 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31383 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31384 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31385 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31386 * sysdeps/i386/fpu/e_log.S: Likewise.
31387 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31388 * sysdeps/i386/fpu/e_logf.S: Likewise.
31389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31390 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31391 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31392 * sysdeps/i386/fpu/e_log10.S: Likewise.
31393 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31394 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31395 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31396 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31397 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31398 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31399 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31400 * sysdeps/i386/i686/strtok.S: Likewise.
31401 * sysdeps/i386/i386-mcount.S: Likewise.
31402 * sysdeps/i386/strtok.S: Likewise.
31403 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31404 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31405 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31406 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31407 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31408 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31409 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31410 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31411 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31412 * sysdeps/x86_64/_mcount.S: Likewise.
31413 * sysdeps/x86_64/strtok.S: Likewise.
31414 * sysdeps/sh/_mcount.S: Likewise.
31416 2012-08-01 Roland McGrath <roland@hack.frob.com>
31418 * libio/iofopen.c: Include <fcntl.h>.
31419 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31420 (_IO_fopen64, fopen64): Define as aliases.
31421 * libio/iofopen64.c: Include <fcntl.h>.
31422 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31423 Conditionalize body on this.
31424 * sysdeps/wordsize-64/iofopen.c: File removed.
31425 * sysdeps/wordsize-64/iofopen64.c: File removed.
31427 2012-08-01 Marek Polacek <polacek@redhat.com>
31429 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31430 Use dlfcn directly instead of a variable.
31431 (binfmt-subdir): Do not define.
31434 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31436 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31437 Remove all definitions.
31438 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31439 <kernel-features.h>.
31440 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31441 (miss_F_GETOWN_EX): Remove all definitions.
31442 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31444 [!__ASSUME_FCNTL64]: Remove conditional code.
31445 [__ASSUME_FCNTL64]: Make code unconditional.
31446 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31447 <kernel-features.h>.
31448 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31449 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31450 (lockf64) [__NR_fcntl64]: Make code unconditional.
31451 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31453 * sysdeps/unix/sysv/linux/kernel-features.h
31454 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31455 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31456 Make code unconditional.
31457 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31458 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31460 [__NR_vfork]: Make code unconditional.
31461 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31462 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31464 [__NR_vfork]: Make code unconditional.
31465 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31466 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31468 2012-08-01 Roland McGrath <roland@hack.frob.com>
31470 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31471 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31473 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31474 Define mkstemp64 as an alias.
31475 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31476 Define mkstemps64 as an alias.
31477 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31478 Define mkostemp64 as an alias.
31479 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31480 Define mkostemps64 as an alias.
31481 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31482 Conditionalize body on this.
31483 * misc/mkostemp64.c: Likewise.
31484 * misc/mkostemps64.c: Likewise.
31485 * misc/mkstemps64.c: Likewise.
31486 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31487 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31488 * sysdeps/wordsize-64/mkostemp.c: File removed.
31489 * sysdeps/wordsize-64/mkstemp.c: File removed.
31490 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31491 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31492 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31493 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31496 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31497 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31498 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31499 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31501 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31502 compat_symbol macros from <shlib-compat.h> rather than the underlying
31503 default_symbol_version and symbol_version macros, so that DEFAULT
31504 lines in shlib-versions are respected.
31505 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31507 2012-08-01 Florian Weimer <fweimer@redhat.com>
31509 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31510 Declare with warn_unused_result.
31511 (setgid, setregid, setegid, setresgid): Likewise.
31512 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31514 * WUR-REPORT: Remove set*id functions.
31516 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31518 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31520 2012-07-31 Roland McGrath <roland@hack.frob.com>
31523 * include/sys/socket.h (__libc_accept, __libc_accept4):
31524 Add attribute_hidden.
31525 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31527 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31529 * inet/getnetgrent_r.c (setup): Likewise.
31531 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31533 2012-07-31 David S. Miller <davem@davemloft.net>
31535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31537 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31540 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31541 value between 1.0 and 2.0 and smaller part has absolute value less
31543 * math/s_clog10.c (__clog10): Likewise.
31544 * math/s_clog10f.c (__clog10f): Likewise.
31545 * math/s_clog10l.c (__clog10l): Likewise.
31546 * math/s_clogf.c (__clogf): Likewise.
31547 * math/s_clogl.c (__clogl): Likewise.
31548 * math/libm-test.inc (clog_test): Add more tests.
31549 (clog10_test): Likewise.
31550 * sysdeps/i386/fpu/libm-test-ulps: Update.
31551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31553 2012-07-31 Florian Weimer <fweimer@redhat.com>
31555 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31556 Exit with zero in case no suitable GID is found, and write a
31557 message to standard error.
31559 2012-07-30 Roland McGrath <roland@hack.frob.com>
31561 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31563 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31564 (MAXPATHLEN): Removed.
31565 (NOGROUP, NODEV): New macros.
31566 (setbit, clrbit, isset, isclr): New macros.
31567 (howmany, roundup, powerof2): New macros.
31568 (DEV_BSIZE): New macro.
31570 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31571 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31573 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31574 definition on [!__NO_LONG_DOUBLE_MATH].
31576 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31577 PTR_MANGLE and PTR_DEMANGLE.
31579 * socket/accept4.c (accept4): Rename to __libc_accept4.
31580 Define accept4 as a weak alias.
31582 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31583 on [_DIRENT_HAVE_D_TYPE].
31584 * io/ftw.c (ftw_dir): Likewise.
31586 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31588 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31590 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31591 Use the BSD numbers rather than the arbitrary ones we had.
31592 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31593 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31594 (SIGXCPU, SIGXFSZ): New macros.
31597 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31598 initializer on [_LIBC_REENTRANT].
31600 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31601 definitions inside [_POSIX_MAPPED_FILES].
31603 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31605 * dirent/opendir.c: Include <fcntl.h>.
31607 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31608 (__libc_getspecific): Likewise.
31609 (__libc_key_create): Likewise.
31611 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31612 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31613 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31614 (tmpfile64): Define as alias.
31615 * sysdeps/wordsize-64/tmpfile.c: File removed.
31616 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31617 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31618 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31620 * stdio-common/vfscanf.c: Include <stdbool.h>.
31621 * nss/makedb.c: Likewise.
31622 * stdio-common/_i18n_number.h: Likewise.
31623 * argp/argp-help.c: Likewise.
31624 * posix/wordexp.c: Likewise.
31625 * sysdeps/posix/spawni.c: Likewise.
31626 * nss/nss_files/files-initgroups.c: Likewise.
31627 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31628 * nss/nss_files/files-initgroups.c: Likewise.
31629 * nss/nss_db/db-netgrp.c: Likewise.
31630 * nss/nss_db/db-initgroups.c: Likewise.
31631 * io/fchmodat.c: Include <sys/stat.h>.
31633 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31634 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31636 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31639 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31640 Add multiple inclusion protection.
31642 2012-07-27 David S. Miller <davem@davemloft.net>
31644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31646 2012-07-27 Gary Benson <gbenson@redhat.com>
31649 * elf/rtld.c: Include <stap-probe.h>.
31650 (dl_main): Added static probes "init_start" and "init_complete".
31651 * elf/dl-load.c: Include <stap-probe.h>.
31652 (lose): Take new parameter "nsid".
31653 Added static probe "map_failed".
31654 (_dl_map_object_from_fd): Pass namespace id to lose.
31655 Added static probe "map_start".
31656 (open_verify): Pass namespace id to lose.
31657 * elf/dl-open.c: Include <stap-probe.h>.
31658 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31659 and "reloc_complete".
31660 * elf/dl-close.c: Include <stap-probe.h>.
31661 (_dl_close_worker): Added static probes "unmap_start" and
31663 * elf/rtld-debugger-interface.txt: New file documenting the above.
31665 2012-07-26 Roland McGrath <roland@hack.frob.com>
31667 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31668 rather than a string variable.
31669 * sunrpc/rpc_main.c (h_output): Likewise.
31670 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31672 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31674 * inet/check_native.c: New file.
31676 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31679 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31680 if larger part has absolute value 1.0.
31681 * math/s_clog10.c (__clog10): Likewise.
31682 * math/s_clog10f.c (__clog10f): Likewise.
31683 * math/s_clog10l.c (__clog10l): Likewise.
31684 * math/s_clogf.c (__clogf): Likewise.
31685 * math/s_clogl.c (__clogl): Likewise.
31686 * math/libm-test.inc (clog_test): Add more tests.
31687 (clog10_test): Likewise.
31688 * sysdeps/i386/fpu/libm-test-ulps: Update.
31689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31691 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31692 (pltexit): Likewise.
31693 (La_regs): Likewise.
31694 (La_retval): Likewise.
31695 (int_retval): Likewise.
31696 Update #error for removed macros to refer only to definitions in
31698 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31700 (pltexit): Likewise.
31701 (La_regs): Likewise.
31702 (La_retval): Likewise.
31703 (int_retval): Likewise.
31704 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31706 (pltexit): Likewise.
31707 (La_regs): Likewise.
31708 (La_retval): Likewise.
31709 (int_retval): Likewise.
31710 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31712 (pltexit): Likewise.
31713 (La_regs): Likewise.
31714 (La_retval): Likewise.
31715 (int_retval): Likewise.
31716 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31718 (pltexit): Likewise.
31719 (La_regs): Likewise.
31720 (La_retval): Likewise.
31721 (int_retval): Likewise.
31722 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31724 (pltexit): Likewise.
31725 (La_regs): Likewise.
31726 (La_retval): Likewise.
31727 (int_retval): Likewise.
31728 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31730 (pltexit): Likewise.
31731 (La_regs): Likewise.
31732 (La_retval): Likewise.
31733 (int_retval): Likewise.
31734 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31735 macro definitions in tst-audit.h.
31736 * sysdeps/i386/tst-audit.h: New file.
31737 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31738 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31739 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31740 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31741 * sysdeps/sh/tst-audit.h: Likewise.
31742 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31743 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31744 * sysdeps/x86_64/tst-audit.h: Likewise.
31746 2012-07-26 Andreas Jaeger <aj@suse.de>
31748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31751 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31752 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31753 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31755 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31756 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31757 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31759 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31762 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31764 (si_call_addr, si_syscall, si_arch): Define new macro.
31765 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31767 (si_call_addr, si_syscall, si_arch): Define new marcro.
31768 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31770 (si_call_addr, si_syscall, si_arch): Define new macro.
31771 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31773 (si_call_addr, si_syscall, si_arch): Define new macro.
31775 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31778 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31779 Change to 2.4.21 where previously 2.4.1.
31780 * sysdeps/unix/sysv/linux/configure: Regenerated.
31781 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31782 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31783 Linux kernel version.
31784 (__ASSUME_STD_AUXV): Remove.
31785 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31787 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31788 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31789 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31790 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31791 (__ASSUME_NETLINK_SUPPORT): Likewise.
31792 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31793 (__no_netlink_support): Remove conditional definition.
31794 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31796 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31797 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31798 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31799 (if_nameindex_ioctl): Remove.
31800 (if_nameindex_netlink): Do not handle __no_netlink_support.
31801 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31803 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31804 Remove conditional code.
31805 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31807 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31809 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31810 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31811 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31813 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31814 [!__ASSUME_STD_AUXV]: Remove conditional code.
31815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31816 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31817 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31819 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31820 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31822 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31824 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31825 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31827 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31829 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31832 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31835 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31836 code unconditional.
31837 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31839 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31841 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31844 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31846 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31849 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31850 code unconditional.
31851 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31853 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31855 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31858 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31859 code unconditional.
31860 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31862 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31864 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31867 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31869 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31870 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31871 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31872 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31873 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31874 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31875 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31876 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31877 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31878 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31879 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31880 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31881 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31882 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31883 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31884 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31885 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31887 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31889 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31890 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31891 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31893 2012-07-25 Florian Weimer <fweimer@redhat.com>
31895 * Versions.def: Add GLIBC_2.17.
31896 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31897 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31898 Introduce __libc_secure_getenv.
31899 * stdlib/Versions (2.17): Add secure_getenv
31900 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31901 * stdlib/secure-getenv.c: Rename __secure_getenv to
31902 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31903 symbol __secure_getenv for GLIBC_2.0.
31904 * stdlib/tst-secure-getenv.c: New.
31905 * stdlib/Makefile (tests): Add testcase.
31906 * manual/startup.texi (Environment Access): Document
31908 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31909 __libc_secure_getenv.
31910 * inet/ruserpass.c (ruserpass): Likewise.
31911 * malloc/mtrace.c (mtrace): Likewise.
31912 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31913 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31914 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31915 * sysdeps/posix/tempname.c: Likewise. Evaluate
31916 HAVE_SECURE_GETENV.
31917 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31918 __secure_getenv to __libc_secure_getenv.
31919 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31926 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31932 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31934 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31935 (struct La_i86_retval): Likewise.
31936 (struct La_x86_64_regs): Likewise.
31937 (struct La_x86_64_retval): Likewise.
31938 (struct La_x32_regs): Likewise.
31939 (struct La_x32_retval): Likewise.
31940 (struct La_ppc32_regs): Likewise.
31941 (struct La_ppc32_retval): Likewise.
31942 (struct La_ppc64_regs): Likewise.
31943 (struct La_ppc64_retval): Likewise.
31944 (struct La_sh_regs): Likewise.
31945 (struct La_sh_retval): Likewise.
31946 (struct La_s390_32_regs): Likewise.
31947 (struct La_s390_32_retval): Likewise.
31948 (struct La_s390_64_regs): Likewise.
31949 (struct La_s390_64_retval): Likewise.
31950 (struct La_sparc32_regs): Likewise.
31951 (struct La_sparc32_retval): Likewise.
31952 (struct La_sparc64_regs): Likewise.
31953 (struct La_sparc64_retval): Likewise.
31954 (struct audit_ifaces): Remove architecture-specific pltenter and
31956 * sysdeps/i386/ldsodefs.h: New file.
31957 * sysdeps/powerpc/ldsodefs.h: Likewise.
31958 * sysdeps/s390/ldsodefs.h: Likewise.
31959 * sysdeps/sh/ldsodefs.h: Likewise.
31960 * sysdeps/sparc/ldsodefs.h: Likewise.
31961 * sysdeps/x86_64/ldsodefs.h: Likewise.
31963 2012-07-25 Marek Polacek <polacek@redhat.com>
31966 * math/libm-test.inc (yn_test): Add another test.
31967 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31968 to ERANGE when the result is +-Inf.
31969 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31970 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31971 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31972 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31974 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31976 * conform/data/time.h-data (NULL): Use macro-constant. Require
31978 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31980 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31982 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31984 * configure.in <sysdeps resolving>: Correct printing
31986 * configure: Regenerate.
31988 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31990 * math/w_ilogb.c: Include <limits.h>.
31991 * math/w_ilogbl.c: Likewise.
31993 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31995 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31996 va_copy. Document allowing for unavailable va_copy only as
31997 pre-C99 compatibility.
31998 * manual/string.texi (Copying and Concatenation): Use va_copy
31999 instead of __va_copy in concat example.
32001 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32003 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32004 (__sendto): Use create_address_port. Initialize APORT and deallocate
32007 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32008 with O_NOLINK passed to __file_name_lookup.
32010 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32011 with O_NOLINK passed to __file_name_lookup.
32013 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32014 negative N or less than NGIDS.
32016 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32017 type to string_t. Set ERANGE as errno and return it if NAME is not big
32018 enough. Use memcpy instead of strncpy.
32020 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32022 * elf/Makefile (check-data): Remove.
32023 (localplt.data): New vpath directive.
32024 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32025 instead of $(check-data).
32026 * scripts/data/localplt-generic.data: Move to ...
32027 * sysdeps/generic/localplt.data: ... here.
32028 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32029 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32030 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32033 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32036 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32039 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32042 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32045 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32049 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32051 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32052 PPC32 and PPC64 files.
32053 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32054 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32056 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32058 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32059 __makecontext_ret to ...
32060 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32061 ... here and call exit if uc_link is NULL. New file.
32062 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32063 __makecontext_ret.S.
32064 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32065 __makecontext_ret to ...
32066 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32067 ... here and call exit if uc_link is NULL. New file.
32068 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32069 __makecontext_ret.S.
32071 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32073 * elf/elf.h (R_390_IRELATIVE): New definition.
32074 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32075 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32076 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32077 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32078 (elf_machine_lazy_rel): Likewise.
32079 * sysdeps/s390/dl-irel.h: New file.
32080 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32081 * sysdeps/s390/s390-64/memset.S: New asm code.
32082 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32083 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32084 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32085 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32086 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32087 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32088 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32089 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32090 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32091 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32092 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32093 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32094 * sysdeps/s390/s390-32/memset.S: New asm code.
32095 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32097 2012-07-17 Marek Polacek <polacek@redhat.com>
32100 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32101 * sysdeps/s390/s390-64/configure.in: Likewise.
32102 * sysdeps/sparc/configure.in: Likewise.
32103 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32104 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32105 * sysdeps/i386/configure.in: Likewise.
32106 * sysdeps/x86_64/configure.in: Likewise.
32107 * sysdeps/sh/configure.in: Likewise.
32108 * sysdeps/s390/s390-32/configure: Regenerated.
32109 * sysdeps/s390/s390-64/configure: Likewise.
32110 * sysdeps/x86_64/configure: Likewise.
32111 * sysdeps/sh/configure: Likewise.
32112 * sysdeps/powerpc/powerpc64/configure: Likewise.
32113 * sysdeps/powerpc/powerpc32/configure: Likewise.
32114 * sysdeps/sparc/configure: Likwise.
32115 * sysdeps/i386/configure: Likewise.
32117 * elf/dl-open.c: Comment fixes.
32119 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32121 * Makefile [CXX] (check-data): Remove.
32122 [CXX] (c++-types.data): New vpath directive.
32123 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32124 vpath. Do not allow for C++ type data being missing.
32125 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32126 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32127 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32128 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32129 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32130 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32131 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32134 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32137 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32140 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32143 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32146 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32149 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32152 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32155 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32156 definitions to architecture-specific files.
32157 (TLS_IE): Likewise.
32158 (TLS_LD): Likewise.
32159 (TLS_GD): Likewise.
32160 * sysdeps/i386/tls-macros.h: New file.
32161 * sysdeps/powerpc/tls-macros.h: Likewise.
32162 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32163 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32164 * sysdeps/sh/tls-macros.h: Likewise.
32165 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32166 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32167 * sysdeps/x86_64/tls-macros.h: Likewise.
32169 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32171 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32172 zero value for regular exit case.
32174 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32175 (__start_context): Preserve zero value for regular exit case.
32177 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32178 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32180 * manual/setjmp.texi (setcontext): Clarify normal process
32181 termination when uc_link is the null pointer.
32182 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32185 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32187 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32188 preprocessor. Test for each exception mask separately.
32190 2012-07-16 Andreas Jaeger <aj@suse.de>
32192 * po/ru.po: Update from translation team.
32194 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32196 * conform/data/string.h-data (NULL): Use macro-constant. Require
32198 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32199 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32200 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32201 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32202 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32204 2012-07-13 Andreas Jaeger <aj@suse.de>
32206 * po/fr.po: Update from translation team.
32208 2012-07-12 Marek Polacek <polacek@redhat.com>
32211 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32212 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32215 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32219 Change to 2.4.1 where previously 2.4.0.
32220 * sysdeps/unix/sysv/linux/configure: Regenerated.
32221 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32222 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32224 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32225 (__ASSUME_AT_CLKTCK): Remove.
32226 (__ASSUME_AT_PAGESIZE): Likewise.
32227 (__ASSUME_AT_XID): Likewise.
32228 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32229 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32230 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32232 (HAVE_AUX_PAGESIZE): Likewise.
32233 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32234 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32235 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32237 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32241 the temporary buffer used to invoke __gethostbyname2_r,
32242 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32243 host_data / struct gaih_addrtuple.
32244 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32245 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32246 header file nss/nsswitch.h.
32247 * nss/nsswitch.h (global scope): Add definition of implementation
32248 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32249 resolv/nss_dns/dns-host.c).
32251 2012-07-11 Andreas Jaeger <aj@suse.de>
32253 * po/fr.po: Update from translation team.
32255 * po/sv.po: Update from translation team
32256 * po/fr.po: Another update from translation team.
32258 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32260 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32261 for subnormals or multiply small sinh result by itself.
32262 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32265 2012-07-11 David S. Miller <davem@davemloft.net>
32267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32269 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32272 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32273 (INTERNAL_MARK): Shift it here.
32275 2012-07-10 Marek Polacek <polacek@redhat.com>
32278 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32279 libc_cv_asm_global_directive with .globl.
32280 * configure: Regenerated.
32281 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32283 * sysdeps/i386/configure: Regenerated.
32284 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32286 * sysdeps/x86_64/configure: Regenerated.
32287 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32288 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32289 * elf/tst-unique2mod2.c: Likewise.
32290 * elf/tst-unique2mod1.c: Likewise.
32291 * elf/tst-unique1mod2.c: Likewise.
32292 * elf/tst-unique1mod1.c: Likewise.
32293 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32294 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32295 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32296 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32297 * sysdeps/mach/sysdep.h: Likewise.
32298 * sysdeps/i386/sysdep.h: Likewise.
32299 * sysdeps/i386/i386-mcount.S: Likewise.
32300 * sysdeps/x86_64/_mcount.S: Likewise.
32301 * sysdeps/x86_64/sysdep.h: Likewise.
32302 * sysdeps/sh/_mcount.S: Likewise.
32303 * sysdeps/sh/sysdep.h: Likewise.
32304 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32305 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32306 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32307 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32308 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32309 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32310 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32311 * locale/localeinfo.h: Likewise.
32312 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32313 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32315 2012-07-09 Roland McGrath <roland@hack.frob.com>
32318 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32320 * manual/message.texi (The Uniforum approach): Likewise.
32321 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32322 (glibc iconv Implementation): Likewise.
32324 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32327 * math/s_clog.c (__clog): Avoid scaling a value down where that
32328 could result in underflow.
32329 * math/s_clog10.c (__clog10): Likewise.
32330 * math/s_clog10f.c (__clog10f): Likewise.
32331 * math/s_clog10l.c (__clog10l): Likewise.
32332 * math/s_clogf.c (__clogf): Likewise.
32333 * math/s_clogl.c (__clogl): Likewise.
32334 * math/libm-test.inc (clog_test): Add more tests.
32335 (clog10_test): Likewise.
32336 * sysdeps/i386/fpu/libm-test-ulps: Update.
32337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32339 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32342 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32343 by 7 not 8 to examine high bit of fractional part.
32346 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32347 for call to __mcount_internal.
32348 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32349 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32350 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32352 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32355 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32356 approximation for values within 0x1p-13f of an odd multiple of
32358 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32359 exception. Add more tests.
32360 * sysdeps/i386/fpu/libm-test-ulps: Update.
32363 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32364 inputs and return -1 for them. Do not check for +Inf in case not
32365 reachable for +Inf.
32366 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32367 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32368 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32369 and return -1 for them. Do not check for +Inf in case not
32370 reachable for +Inf.
32371 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32373 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32374 and return -1 for them. Do not check for +Inf in case not
32375 reachable for +Inf.
32376 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32377 spurious underflow.
32378 * sysdeps/i386/fpu/libm-test-ulps: Update.
32379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32381 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32383 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32385 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32389 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32390 could result in spurious underflow. Scale down values above
32391 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32392 * math/s_csqrtf.c (__csqrtf): Likewise.
32393 * math/s_csqrtl.c (__csqrtl): Likewise.
32394 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32395 spurious underflow.
32396 * sysdeps/i386/fpu/libm-test-ulps: Update.
32397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32399 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32401 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32403 * catgets/xopen-msg.awk: New file.
32404 * catgets/xopen-msg.sed: Removed.
32406 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32408 * intl/po2test.awk: New file.
32409 * intl/po2test.sed: Removed.
32411 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32414 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32415 or multiply small sinh result by itself.
32416 * math/s_ctanf.c (__ctanf): Likewise.
32417 * math/s_ctanh.c (__ctanh): Likewise.
32418 * math/s_ctanhf.c (__ctanhf): Likewise.
32419 * math/s_ctanhl.c (__ctanhl): Likewise.
32420 * math/s_ctanl.c (__ctanl): Likewise.
32421 * math/libm-test.inc (ctan_test_tonearest): New function.
32422 (ctan_test_towardzero): Likewise.
32423 (ctan_test_downward): Likewise.
32424 (ctan_test_upward): Likewise.
32425 (ctanh_test_tonearest): Likewise.
32426 (ctanh_test_towardzero): Likewise.
32427 (ctanh_test_downward): Likewise.
32428 (ctanh_test_upward): Likewise.
32429 (main): Call these new functions.
32430 * sysdeps/i386/fpu/libm-test-ulps: Update.
32431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32433 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32435 * .gitignore: Delete /ports entry.
32437 2012-07-03 Andreas Jaeger <aj@suse.de>
32439 * po/bg.po: Update from translation team.
32440 * po/cs.po: Likewise.
32441 * po/de.po: Likewise.
32442 * po/hr.po: Likewise.
32443 * po/nl.pl: Likewise.
32444 * po/pl.po: Likewise.
32445 * po/vi.po: Likewise.
32447 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32449 * Makeconfig [!+link] (+link-before-libc): New variable.
32450 [!+link] (+link-after-libc): Likewise.
32451 [!+link] (+link-tests): Likewise.
32452 [!+link] (+link): Define in terms of $(+link-before-libc) and
32453 $(+link-after-libc).
32454 [!+link-static] (+link-static-before-libc): New variable.
32455 [!+link-static] (+link-static-after-libc): Likewise.
32456 [!+link-static] (+link-static-tests): Likewise.
32457 [!+link-static] (+link-static): Define in terms of
32458 $(+link-static-before-libc) and $(+link-static-after-libc).
32459 [build-shared] (link-libc-before-gnulib): New variable.
32460 [build-shared] (link-libc-tests): Likewise.
32461 [build-shared] (link-libc): Define in terms of
32462 $(link-libc-before-gnulib).
32463 [!build-shared] (link-libc-tests): New variable.
32464 (link-libc-static-tests): New variable.
32465 [!gnulib] (gnulib-arch): New variable.
32466 [!gnulib] (gnulib-tests): Likewise.
32467 [!gnulib] (static-gnulib-arch): Likewise.
32468 [!gnulib] (static-gnulib-tests): Likewise.
32469 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32470 Define with "=" instead of ":=".
32471 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32472 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32473 * Rules (binaries-all-notests): New variable.
32474 (binaries-all-tests): Likewise.
32475 (binaries-static-notests): Likewise.
32476 (binaries-static-tests): Likewise.
32477 (binaries-all): Define using $(binaries-all-notests) and
32478 $(binaries-all-tests).
32479 (binaries-static): Define using $(binaries-static-notests) and
32480 $(binaries-static-tests).
32481 (binaries-shared-tests): New variable.
32482 (binaries-shared-notests): Likewise.
32483 (binaries-shared): Remove variable.
32484 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32485 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32486 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32487 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32488 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32489 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32490 * elf/Makefile (sln-modules): New variable.
32491 (extra-objs): Add $(sln-modules:=.o).
32492 (ldconfig-modules): Add static-stubs.
32493 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32494 * elf/static-stubs.c: New file.
32497 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32498 by 7 not 8 to examine high bit of fractional part. Use volatile
32499 variables when splitting into final array of floats if
32500 __FLT_EVAL_METHOD__ != 0.
32501 * math/libm-test.inc (cos_test): Add another test.
32502 (sin_test): Likewise.
32503 * sysdeps/i386/fpu/libm-test-ulps: Update.
32506 * math/libm-test.inc (cosh_test): Add more tests.
32508 * version.h (RELEASE): Set to "development".
32509 (VERSION): Set to "2.16.90".
32511 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32513 * NEWS: Update copyright. Remove last-updated date.
32514 Mention math library bug fixes and timezone data changes.
32515 * README: Mention GNU/Hurd, x32, and HPPA support status.
32517 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32519 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32521 2012-06-27 Andreas Jaeger <aj@suse.de>
32523 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32525 2012-06-25 Andreas Jaeger <aj@suse.de>
32527 * sysdeps/s390/fpu/libm-test-ulps: Update.
32529 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32530 Thomas Schwinge <thomas@codesourcery.com>
32532 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32533 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32534 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32537 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32539 * sysdeps/mach/start.c: Remove file.
32540 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32541 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32542 * sysdeps/sh/init-first.c: Likewise.
32544 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32545 registers for frame unwinding purposes, add CFI directives.
32546 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32547 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32548 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32551 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32552 __fortify_fail returning.
32553 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32555 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32556 sysdeps/sh/____longjmp_chk.S.
32557 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32558 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32559 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32560 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32562 * sysdeps/sh/abort-instr.h: New file.
32563 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32564 process in case exit returns.
32566 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32567 initialize the GOT register before use.
32569 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32570 calculation of ARGC > 4.
32572 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32573 meaningful names to some local labels.
32575 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32576 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32578 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32579 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32580 (__arch_compare_and_exchange_val_16_acq): Likewise.
32581 (__arch_compare_and_exchange_val_32_acq): Likewise.
32582 (atomic_exchange_and_add): Fix gUSA sequence.
32583 (atomic_add): Likewise.
32584 (atomic_add_negative): Likewise.
32585 (atomic_add_zero): Likewise.
32586 (atomic_bit_test_set): Likewise.
32588 2012-06-22 Andreas Schwab <schwab@redhat.com>
32591 * include/link.h (struct link_map): Add l_free_initfini.
32592 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32594 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32595 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32596 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32599 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32601 * configure.in: Use AC_LANG_SOURCE.
32602 * configure: Regenerate.
32604 2012-06-22 Roland McGrath <roland@hack.frob.com>
32606 * configure.in (libc_cv_localstatedir): New substituted variable.
32607 * configure: Regenerated.
32608 * config.make.in (localstatedir): New variable, substituted from
32609 libc_cv_localstatedir.
32610 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32611 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32612 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32613 * sysdeps/gnu/configure: Regenerated.
32615 2012-06-21 Jeff Law <law@redhat.com>
32618 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32619 free. Simplify list management for _LIBC case.
32621 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32624 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32625 Clear sign bit of 64-bit integer value before comparing against
32628 * sysdeps/mach/configure: Regenerated.
32630 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32633 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32635 2012-06-21 Jeff Law <law@redhat.com>
32638 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32639 uint16_t for elements in the "seen" array to avoid char overflows.
32640 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32641 * elf/dl-open.c (dl_open_worker): Likewise.
32643 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32645 * scripts/list-sources.sh: Scan PORTS for translations.
32646 * po/libc.pot: Regenerated.
32648 2012-06-21 Andreas Jaeger <aj@suse.de>
32651 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32653 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32654 * bits/byteswap-16.h (__bswap_16): Likewise.
32655 * bits/byteswap.h (__bswap_constant_16): Likewise.
32657 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32660 * sysdeps/i386/fpu_control.h: Removed.
32661 * sysdeps/x86_64/fpu_control.h: Moved to ...
32662 * sysdeps/x86/fpu_control.h: Here.
32664 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32665 (_FPU_SETCW): Likewise.
32667 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32670 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32671 * sysdeps/x86/fpu/bits/mathinline.h: This.
32672 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32676 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32677 functions if __x86_64__ is defined.
32679 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32681 * string/endian.h: Add !__ASSEMBLER__ condition for including
32682 conversion interfaces.
32684 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32688 of ABS(x) in calculating zero to negative powers other than odd
32690 * math/libm-test.inc (pow_test): Add more tests.
32692 2012-06-15 Andreas Jaeger <aj@suse.de>
32694 * manual/contrib.texi (Contributors): Update entry of Liubov
32695 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32698 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32700 * string/string.h: Add __wur to GNU version of strerror_r.
32702 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32705 * string/Makefile (tests): Add tst-strtok_r.
32706 * string/tst-strtok_r.c: New file.
32707 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32708 RAX_LP/RDX_LP on SAVE_PTR.
32710 2012-06-14 Roland McGrath <roland@hack.frob.com>
32712 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32714 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32716 * libm_test.inc (csqrt_test): Allow more spurious underflow
32718 (j0_test): Likewise.
32719 (j1_test): Likewise.
32720 (y0_test): Likewise.
32721 (y1_test): Likewise.
32723 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32725 * po/Makefile (libc.pot): Use UTF-8 charset.
32727 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32730 Suppress sign-conversion warning from FD_SET.
32731 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32732 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32733 not unsigned long int.
32734 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32736 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32740 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32741 __extern_always_inline instead of __extern_inline.
32742 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32743 (__signbit): Likewise.
32744 (__signbitl): Support C++ namespace.
32745 (lrintf): New inline function.
32747 (llrintf): Likewise.
32748 (llrint): Likewise.
32758 (floorf): Likewise.
32759 (nearbyint): Likewise.
32760 (nearbyintf): Likewise.
32762 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32764 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32765 non-default versions.
32767 2012-06-11 Roland McGrath <roland@hack.frob.com>
32770 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32772 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32774 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32775 (FE_UPWARD, FE_DOWNWARD): Don't define.
32776 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32777 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32779 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32781 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32782 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32784 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32786 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32787 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32788 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32789 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32791 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32794 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32795 * sysdeps/i386/fpu/Implies: New file.
32796 * sysdeps/x86_64/fpu/Implies: Likewise.
32797 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32798 * sysdeps/x86/fpu/bits/fenv.h: This.
32800 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32803 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32806 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32807 character 0xffff that matches the last element of the
32810 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32812 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32815 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32817 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32818 values higher than 25.6283.
32820 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32822 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32823 subnormal exponent extraction and add some __builtin_expect.
32824 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32825 Fix for subnormal mantissa calculation.
32827 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32829 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32830 cpu2 is -1 and errno is not ENOSYS.
32832 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32835 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32836 * sysdeps/x86/bits/string.h: This.
32837 * sysdeps/x86_64/bits/string.h: Removed.
32839 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32840 if not compiling for x86-64, but compiling for >= i486.
32842 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32843 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32845 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32846 New macro from Linux kernel 3.4.0.
32847 (FP_XSTATE_MAGIC2): Likewise.
32848 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32849 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32850 (struct _fpx_sw_bytes): New struct.
32851 (struct _xsave_hdr): Likewise.
32852 (struct _ymmh_state): Likewise.
32853 (struct _xstate): Likewise.
32855 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32856 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32857 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32858 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32859 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32860 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32862 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32863 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32864 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32865 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32866 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32867 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32869 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32872 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32873 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32874 (sysdep_headers): Include sys/platform/ppc.h.
32875 * sysdeps/powerpc/test-gettimebase.c: Test for
32876 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32877 * manual/Makefile (appendices): Include platform.texi.
32878 * manual/contrib.texi (Contributors): Update @node pointers.
32879 * manual/maint.texi (Maintenance): Likewise.
32880 (Platform): New node.
32881 * manual/platform.texi: New file. Document the new features.
32883 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32884 Jakub Jelinek <jakub@redhat.com>
32887 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32888 where __builtin_expect is unavailable.
32890 2012-06-03 David S. Miller <davem@davemloft.net>
32892 * stdlib/longlong.h: Updated from GCC.
32894 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32897 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32898 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32901 (GLIBC_2.16): Likewise.
32903 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32905 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32907 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32910 (default-abi): New variable.
32911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32912 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32914 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32916 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32918 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32921 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32922 definition. Document in comment.
32924 2012-06-01 David S. Miller <davem@davemloft.net>
32926 * stdlib/longlong.h: Updated from GCC.
32928 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32931 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32932 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32933 sys/debugreg.h sys/io.h here.
32934 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32935 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32937 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32938 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32939 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32940 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32941 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32942 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32944 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32945 Define only if __x86_64__ is defined.
32947 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32950 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32951 Use int64_t for variable i.
32952 * math/libm-test.inc (fmod_test): Add more tests.
32954 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32955 z computation is not scheduled after fetestexcept.
32956 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32957 Use math_force_eval instead of asm to ensure calculation scheduled
32958 before exception test.
32959 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32960 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32962 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32964 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32965 computation is not scheduled after fetestexcept.
32967 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32970 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32971 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32973 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32975 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32976 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32978 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32981 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32983 (__WCHAR_MIN): Support __WORDSIZE == 64.
32984 (__WCHAR_MAX): Likewise.
32986 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32987 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32991 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32994 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32995 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32997 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32998 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33000 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33001 Defined to 1 if __x86_64__ isn't defined.
33002 (_STAT_VER_LINUX_OLD): New.
33003 (st_atime): Remove duplicate.
33004 (st_mtime): Likewise.
33005 (st_ctime): Likewise.
33007 2012-05-31 David S. Miller <davem@davemloft.net>
33009 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33012 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33014 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33018 * elf/dl-reloc.c: Include <_itoa.h>.
33019 (_dl_reloc_bad_type): Remove use of INTUSE.
33020 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33021 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33022 * stdio-common/psiginfo.c (psiginfo): Likewise.
33023 * stdio-common/psignal.c (psignal): Likewise.
33024 * string/strsignal.c (strsignal): Likewise.
33025 * include/signal.h (_sys_siglist): Declare hidden proto.
33026 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33027 INTVARDEF with libc_hidden_data_def.
33028 * stdio-common/itoa-udigits.c: Likewise.
33029 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33030 (_itoa_lower_digits_internal): Remove declaration.
33031 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33032 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33033 (_sys_sigabbrev_internal): Remove aliases.
33034 (_sys_siglist): Define hidden alias.
33036 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33041 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33044 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33045 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33047 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33048 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33049 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33050 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33052 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33054 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33055 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33056 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33058 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33066 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33067 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33068 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33070 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33071 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33072 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33073 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33074 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33075 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33077 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33078 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33080 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33081 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33083 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33084 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33085 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33087 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33088 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33090 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33092 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33093 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33094 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33096 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33098 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33100 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33102 * math/math.h (M_El): Use two more decimal places.
33103 (M_LOG2El): Likewise.
33104 (M_LOG10El): Likewise.
33105 (M_LN2l): Likewise.
33106 (M_LN10l): Likewise.
33108 (M_PI_2l): Likewise.
33109 (M_PI_4l): Likewise.
33110 (M_1_PIl): Likewise.
33111 (M_2_PIl): Likewise.
33112 (M_2_SQRTPIl): Likewise.
33113 (M_SQRT2l): Likewise.
33114 (M_SQRT1_2l): Likewise.
33116 2012-05-31 David S. Miller <davem@davemloft.net>
33118 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33119 values between float registers.
33120 * sysdeps/sparc/sparc64/memset.S: Likewise.
33121 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33123 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33125 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33126 -D_FORTIFY_SOURCE=1.
33127 (CPPFLAGS-tst-longjmp_chk.c): Define.
33128 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33129 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33130 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33131 CFLAGS-tst-wchar-h.c.
33133 2012-05-31 Marek Polacek <polacek@redhat.com>
33136 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33137 __endmntent_internal): Remove declaration.
33138 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33139 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33140 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33142 2012-05-30 David S. Miller <davem@davemloft.net>
33144 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33145 (___Q_simulate_exceptions): Use real FP ops rather than writing
33147 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33150 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33153 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33154 * sysdeps/x86/bits/xtitypes.h: This.
33156 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33157 * sysdeps/x86/bits/wordsize.h: This.
33159 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33160 * sysdeps/x86/bits/huge_vall.h: This.
33162 * sysdeps/i386/bits/select.h: Removed.
33163 * sysdeps/x86_64/bits/select.h: Renamed to ...
33164 * sysdeps/x86/bits/select.h: This.
33166 * sysdeps/i386/bits/setjmp.h: Removed.
33167 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33168 * sysdeps/x86/bits/setjmp.h: This.
33170 * sysdeps/i386/bits/mathdef.h: Removed.
33171 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33172 * sysdeps/x86/bits/mathdef.h: This.
33174 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33177 * include/sys/socket.h (__connect_internal)
33178 (__libc_sa_len_internal): Remove declaration.
33179 (__connect, __libc_sa_len): Declare hidden_proto.
33180 (SA_LEN): Remove use of INTUSE.
33181 * socket/connect.c: Add libc_hidden_def.
33182 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33183 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33184 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33186 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33187 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33188 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33189 of adding _internal alias.
33191 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33194 * sysdeps/i386/bits/link.h: Removed.
33195 * sysdeps/i386/bits/linkmap.h: Likewise.
33196 * sysdeps/x86_64/bits/link.h: Renamed to ...
33197 * sysdeps/x86/bits/link.h: This.
33198 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33199 * sysdeps/x86/bits/linkmap.h: This.
33201 * sysdeps/i386/bits/endian.h: Removed.
33202 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33203 * sysdeps/x86/bits/endian.h: This.
33205 * sysdeps/i386/bits/byteswap.h: Removed.
33206 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33207 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33208 * sysdeps/x86/bits/byteswap.h: This.
33209 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33210 * sysdeps/x86/bits/byteswap-16.h: This.
33211 * sysdeps/i386/Implies: Add x86.
33212 * sysdeps/x86_64/Implies: Likewise.
33214 2012-05-30 David S. Miller <davem@davemloft.net>
33216 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33217 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33218 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33219 (FP_TRAPPING_EXCEPTIONS): Define.
33220 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33221 (FP_TRAPPING_EXCEPTIONS): Define.
33222 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33223 subnormals only when inexact has been signalled or underflow
33224 exceptions are enabled.
33225 (_FP_PACK_CANONICAL): Likewise.
33227 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33230 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33231 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33233 2012-05-30 Richard Henderson <rth@twiddle.net>
33235 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33236 with #ifndef NOT_IN_libc.
33238 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33239 marked to avoid plt entry.
33241 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33244 * Makeconfig (default-abi): New macro.
33245 (abi-includes): Likewise.
33246 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33247 $(abi-$(default-abi)-lib-soname) for soname if defined.
33248 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33250 * Makefile (installed-stubs): Likewise.
33251 * include/stubs-biarch.h: Removed.
33252 * scripts/lib-names.awk: Only handle one library at a time.
33253 * scripts/soversions.awk: Remove WORDSIZE support.
33254 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33256 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33258 (syscall-list-default-condition): Likewise.
33259 (syscall-list-default-condition): Likewise.
33260 (syscall-list-includes): Likewise.
33261 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33262 syscall-list-* with abi-*. Handle undefined abi-variants.
33263 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33264 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33265 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33266 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33267 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33268 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33270 (syscall-list-32-options): Likewise.
33271 (syscall-list-32-condition): Likewise.
33272 (syscall-list-64-options): Likewise.
33273 (syscall-list-64-condition): Likewise.
33274 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33276 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33279 (abi-64-ld-soname): New macro.
33280 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33281 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33284 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33285 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33287 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33289 * sysdeps/unix/sysv/linux/kernel-features.h
33290 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33291 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33292 include <kernel-features.h>.
33293 [!__NR_ftruncate64]: Remove conditional code.
33294 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33295 [__NR_ftruncate64]: Make code unconditional.
33296 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33297 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33298 include <kernel-features.h>.
33299 [!__NR_ftruncate64]: Remove conditional code.
33300 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33301 [__NR_ftruncate64]: Make code unconditional.
33302 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33304 include <kernel-features.h>.
33305 [!__NR_ftruncate64]: Remove conditional code.
33306 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33307 [__NR_ftruncate64]: Make code unconditional.
33308 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33310 include <kernel-features.h>.
33311 [!__NR_ftruncate64]: Remove conditional code.
33312 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33313 [__NR_ftruncate64]: Make code unconditional.
33314 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33316 * configure.in (libc_cv_fpie): Weaken to a compile test using
33317 LIBC_TRY_CC_OPTION.
33318 * configure: Regenerated.
33320 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33335 2012-05-27 David S. Miller <davem@davemloft.net>
33337 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33339 (__Q_simulate_exceptions): Return void. Change to simulate
33340 exceptions by writing into the %fsr.
33341 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33342 (__Qp_handle_exceptions): Likewise.
33344 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33345 __Qp_handle_exceptions.
33346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33347 __Qp_handle_exceptions.
33348 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33349 as unused and give dummy FP_RND_NEAREST initializer.
33350 (FP_INHIBIT_RESULTS): Define.
33351 (___Q_simulate_exceptions): Update declaration.
33352 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33354 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33355 as unused and give dummy FP_RND_NEAREST initializer.
33356 (__Qp_handle_exceptions): Update declaration.
33357 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33360 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33362 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33363 the temporary FPU control word.
33364 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33365 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33366 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33367 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33368 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33369 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33370 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33371 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33372 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33373 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33374 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33376 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33378 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33381 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33383 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33384 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33385 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33386 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33388 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33389 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33392 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33394 * po/h.po: Update from translation team.
33396 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33398 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33400 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33401 handling of denormals.
33402 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33403 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33404 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33405 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33408 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33411 2012-05-26 Marek Polacek <polacek@redhat.com>
33414 * math/libm-test.inc (fma_test): Don't always expect underflow
33417 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33420 * elf/tst-execstack.c: Include stackinfo.h.
33421 (do_test): Adjust test case to ensure that pthread_getattr_np
33422 behaviour remains the same after marking stack executable.
33424 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33426 * sysdeps/unix/sysv/linux/kernel-features.h
33427 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33428 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33430 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33431 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33432 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33434 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33435 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33437 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33439 * configure.in: Define the default includes to being none.
33440 * configure: Regenerated.
33442 2012-05-25 Roland McGrath <roland@hack.frob.com>
33444 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33445 * sysdeps/x86_64/setjmp.S: Likewise.
33446 * sysdeps/i386/bsd-setjmp.S: Likewise.
33447 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33448 * sysdeps/i386/setjmp.S: Likewise.
33449 * sysdeps/i386/__longjmp.S: Likewise.
33450 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33451 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33453 * include/stap-probe.h: New file.
33454 * configure.in: Handle --enable-systemtap.
33455 * configure: Regenerated.
33456 * config.h.in (USE_STAP_PROBE): New #undef.
33457 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33458 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33459 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33461 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33464 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33465 to 2.4.0 where earlier.
33466 * sysdeps/unix/sysv/linux/configure: Regenerated.
33467 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33468 <kernel-features.h>.
33469 [__ASSUME_32BITUIDS]: Make code unconditional.
33470 [!__ASSUME_32BITUIDS]: Remove conditional code.
33471 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33472 <kernel-features.h>.
33473 [__ASSUME_32BITUIDS]: Make code unconditional.
33474 [!__ASSUME_32BITUIDS]: Remove conditional code.
33475 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33476 [__ASSUME_32BITUIDS]: Make code unconditional.
33477 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33478 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33479 <kernel-features.h>.
33480 [__ASSUME_32BITUIDS]: Make code unconditional.
33481 [!__ASSUME_32BITUIDS]: Remove conditional code.
33482 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33483 <kernel-features.h>.
33484 [__ASSUME_32BITUIDS]: Make code unconditional.
33485 [!__ASSUME_32BITUIDS]: Remove conditional code.
33486 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33487 <kernel-features.h>.
33488 [__ASSUME_32BITUIDS]: Make code unconditional.
33489 [!__ASSUME_32BITUIDS]: Remove conditional code.
33490 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33491 <kernel-features.h>.
33492 [__ASSUME_32BITUIDS]: Make code unconditional.
33493 [!__ASSUME_32BITUIDS]: Remove conditional code.
33494 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33495 <kernel-features.h>.
33496 [__ASSUME_32BITUIDS]: Make code unconditional.
33497 [!__ASSUME_32BITUIDS]: Remove conditional code.
33498 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33499 <kernel-features.h>.
33500 [__ASSUME_32BITUIDS]: Make code unconditional.
33501 [!__ASSUME_32BITUIDS]: Remove conditional code.
33502 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33503 <kernel-features.h>.
33504 [__ASSUME_32BITUIDS]: Make code unconditional.
33505 [!__ASSUME_32BITUIDS]: Remove conditional code.
33506 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33507 <kernel-features.h>.
33508 [__ASSUME_32BITUIDS]: Make code unconditional.
33509 [!__ASSUME_32BITUIDS]: Remove conditional code.
33510 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33511 <kernel-features.h>.
33512 [__ASSUME_32BITUIDS]: Make code unconditional.
33513 [!__ASSUME_32BITUIDS]: Remove conditional code.
33514 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33515 <kernel-features.h>.
33516 [__ASSUME_32BITUIDS]: Make code unconditional.
33517 [!__ASSUME_32BITUIDS]: Remove conditional code.
33518 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33519 <kernel-features.h>.
33520 [__NR_setresgid] (__setresgid): Do not declare.
33521 [__ASSUME_32BITUIDS]: Make code unconditional.
33522 [!__ASSUME_32BITUIDS]: Remove conditional code.
33523 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33524 <kernel-features.h>.
33525 [__NR_setresuid] (__setresuid): Do not declare.
33526 [__ASSUME_32BITUIDS]: Make code unconditional.
33527 [!__ASSUME_32BITUIDS]: Remove conditional code.
33528 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33529 <kernel-features.h>.
33530 [__ASSUME_32BITUIDS]: Make code unconditional.
33531 [!__ASSUME_32BITUIDS]: Remove conditional code.
33532 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33533 <kernel-features.h>.
33534 [__ASSUME_32BITUIDS]: Make code unconditional.
33535 [!__ASSUME_32BITUIDS]: Remove conditional code.
33536 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33537 <kernel-features.h>.
33538 [__ASSUME_32BITUIDS]: Make code unconditional.
33539 [!__ASSUME_32BITUIDS]: Remove conditional code.
33540 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33541 <kernel-features.h>.
33542 [__ASSUME_32BITUIDS]: Make code unconditional.
33543 [!__ASSUME_32BITUIDS]: Remove conditional code.
33544 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33545 <kernel-features.h>.
33546 [__ASSUME_32BITUIDS]: Make code unconditional.
33547 [!__ASSUME_32BITUIDS]: Remove conditional code.
33548 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33549 <kernel-features.h>.
33550 [__ASSUME_32BITUIDS]: Make code unconditional.
33551 [!__ASSUME_32BITUIDS]: Remove conditional code.
33552 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33553 <kernel-features.h>.
33554 [__ASSUME_32BITUIDS]: Make code unconditional.
33555 [!__ASSUME_32BITUIDS]: Remove conditional code.
33556 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33557 <kernel-features.h>.
33558 [__ASSUME_32BITUIDS]: Make code unconditional.
33559 [!__ASSUME_32BITUIDS]: Remove conditional code.
33560 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33561 <kernel-features.h>.
33562 [__ASSUME_32BITUIDS]: Make code unconditional.
33563 [!__ASSUME_32BITUIDS]: Remove conditional code.
33564 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33565 <kernel-features.h>.
33566 [__ASSUME_32BITUIDS]: Make code unconditional.
33567 [!__ASSUME_32BITUIDS]: Remove conditional code.
33568 * sysdeps/unix/sysv/linux/kernel-features.h
33569 (__ASSUME_SETRESUID_SYSCALL): Remove.
33570 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33571 (__ASSUME_32BITUIDS): Likewise.
33572 (__ASSUME_LDT_WORKS): Likewise.
33573 (__ASSUME_O_DIRECTORY): Likewise.
33574 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33575 architecture but not kernel version.
33576 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33577 (__ASSUME_MMAP2_SYSCALL): Likewise.
33578 (__ASSUME_STAT64_SYSCALL): Likewise.
33579 (__ASSUME_IPC64): Likewise.
33580 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33581 <kernel-features.h>.
33582 [__ASSUME_32BITUIDS]: Make code unconditional.
33583 [!__ASSUME_32BITUIDS]: Remove conditional code.
33584 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33585 <kernel-features.h>.
33586 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33587 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33588 132096]: Remove conditional code.
33589 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33590 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33591 <kernel-features.h>.
33592 [__ASSUME_32BITUIDS]: Make code unconditional.
33593 [!__ASSUME_32BITUIDS]: Remove conditional code.
33594 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33595 <kernel-features.h>.
33596 [__ASSUME_32BITUIDS]: Make code unconditional.
33597 [!__ASSUME_32BITUIDS]: Remove conditional code.
33598 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33599 <kernel-features.h>.
33600 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33602 (__setresgid): Do not declare.
33603 [__ASSUME_32BITUIDS]: Make code unconditional.
33604 [!__ASSUME_32BITUIDS]: Remove conditional code.
33605 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33606 <kernel-features.h>.
33607 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33609 (__setresuid): Do not declare.
33610 [__ASSUME_32BITUIDS]: Make code unconditional.
33611 [!__ASSUME_32BITUIDS]: Remove conditional code.
33612 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33613 <kernel-features.h>.
33614 [__ASSUME_32BITUIDS]: Make code unconditional.
33615 [!__ASSUME_32BITUIDS]: Remove conditional code.
33616 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33617 <kernel-features.h>.
33618 [__ASSUME_32BITUIDS]: Make code unconditional.
33619 [!__ASSUME_32BITUIDS]: Remove conditional code.
33621 2012-05-25 Richard Henderson <rth@twiddle.net>
33623 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33624 dl_hwcap to ifunc resolver.
33625 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33627 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33628 dl_hwcap to ifunc resolver.
33629 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33631 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33634 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33635 for |x| <= 2**-26, not 2**-57.
33636 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33639 2012-05-24 Jeff Law <law@redhat.com>
33641 * stdio-common/Makefile (tests): Add bug25.
33642 * stdio-common/bug25.c: New test.
33644 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33647 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33648 multiple of MALLOC_ALIGNMENT in size.
33649 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33651 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33653 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33655 (FILENAME_MAX): Use macro-int-constant.
33656 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33657 (_IOFBF): Use macro-int-constant.
33658 (_IOLBF): Likewise.
33659 (_IONBF): Likewise.
33660 (SEEK_CUR): Likewise.
33661 (SEEK_END): Likewise.
33662 (SEEK_SET): Likewise.
33663 (TMP_MAX): Likewise.
33664 (EOF): Use macro-int-constant. Require < 0.
33665 (NULL): Use macro-constant. Require == 0.
33666 (stdin): Require type to be FILE *.
33667 (stdout): Likewise.
33668 (stderr): Likewise.
33669 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33670 macro-int-constant.
33671 (EXIT_SUCCESS): Likewise.
33672 (NULL): Use macro-constant. Require == 0.
33673 (RAND_MAX): Use macro-int-constant.
33674 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33675 [C99-based standards] (strtof): Require function.
33676 [C99-based standards] (strtold): Likewise.
33677 [C99-based standards] (strtoll): Likewise.
33678 [C99-based standards] (strtoull): Likewise.
33679 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33680 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33681 [ISO || ISO99 || ISO11] (math.h): Likewise.
33682 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33683 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33684 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33686 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33689 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33690 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33691 * intl/dgettext.c (DCGETTEXT): Likewise.
33692 * intl/gettext.c (DCGETTEXT): Likewise.
33693 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33694 * posix/regex_internal.h (gettext): Likewise.
33695 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33696 Remove declaration.
33697 * include/argz.h (__argz_count_internal)
33698 (__argz_stringify_internal): Remove declaration.
33699 (__argz_count, __argz_stringify): Declare hidden proto.
33700 * intl/dcgettext.c: Remove use of INTDEF.
33701 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33702 * string/argz-stringify.c: Likewise.
33703 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33704 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33705 Declare hidden proto.
33706 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33707 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33708 Declare hidden proto.
33709 * include/stdio.h (__asprintf_internal): Don't declare.
33710 (__asprintf): Don't define as macro. Declare hidden proto.
33711 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33712 (__fsetlocking): Declare hidden proto.
33713 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33714 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33716 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33717 (_IO_setlinebuf): Remove use of INTUSE.
33718 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33719 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33720 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33721 Remove declaration.
33722 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33723 (_IO_do_flush): Remove use of INTUSE.
33724 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33725 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33726 (_IO_adjust_column, _IO_least_wmarker)
33727 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33728 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33729 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33730 (_IO_default_doallocate, _IO_wdefault_doallocate)
33731 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33732 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33733 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33734 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33735 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33736 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33737 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33738 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33739 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33740 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33741 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33742 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33743 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33745 (_IO_flush_all_internal, _IO_adjust_column_internal)
33746 (_IO_default_uflow_internal, _IO_default_finish_internal)
33747 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33748 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33749 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33750 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33751 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33752 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33753 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33754 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33755 (_IO_file_close_internal, _IO_file_close_it_internal)
33756 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33757 (_IO_file_init_internal, _IO_file_attach_internal)
33758 (_IO_file_fopen_internal, _IO_file_read_internal)
33759 (_IO_file_sync_internal, _IO_file_seek_internal)
33760 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33761 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33762 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33763 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33764 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33765 (_IO_list_all_internal, _IO_link_in_internal)
33766 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33767 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33768 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33769 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33770 (_IO_do_write_internal, _IO_padn_internal)
33771 (_IO_getline_info_internal, _IO_getline_internal)
33772 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33773 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33774 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33775 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33776 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33777 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33778 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33779 with libc_hidden_ver, remove use of INTUSE.
33780 * libio/genops.c: Likewise.
33781 * libio/freopen.c: Likewise.
33782 * libio/freopen64.c: Likewise.
33783 * libio/iofclose.c: Likewise.
33784 * libio/iofdopen.c: Likewise.
33785 * libio/iofflush.c: Likewise.
33786 * libio/iofflush_u.c: Likewise.
33787 * libio/iofgets.c: Likewise.
33788 * libio/iofgets_u.c: Likewise.
33789 * libio/iofopen.c: Likewise.
33790 * libio/iofopncook.c: Likewise.
33791 * libio/iofread.c: Likewise.
33792 * libio/iofread_u.c: Likewise.
33793 * libio/ioftell.c: Likewise.
33794 * libio/iofwrite.c: Likewise.
33795 * libio/iogetline.c: Likewise.
33796 * libio/iogets.c: Likewise.
33797 * libio/iogetwline.c: Likewise.
33798 * libio/iopadn.c: Likewise.
33799 * libio/iopopen.c: Likewise.
33800 * libio/ioseekoff.c: Likewise.
33801 * libio/ioseekpos.c: Likewise.
33802 * libio/iosetbuffer.c: Likewise.
33803 * libio/iosetvbuf.c: Likewise.
33804 * libio/ioungetc.c: Likewise.
33805 * libio/ioungetwc.c: Likewise.
33806 * libio/iovdprintf.c: Likewise.
33807 * libio/iovsprintf.c: Likewise.
33808 * libio/iovsscanf.c: Likewise.
33809 * libio/memstream.c: Likewise.
33810 * libio/obprintf.c: Likewise.
33811 * libio/oldfileops.c: Likewise.
33812 * libio/oldiofclose.c: Likewise.
33813 * libio/oldiofdopen.c: Likewise.
33814 * libio/oldiofopen.c: Likewise.
33815 * libio/oldiopopen.c: Likewise.
33816 * libio/oldstdfiles.c: Likewise.
33817 * libio/putc.c: Likewise.
33818 * libio/setbuf.c: Likewise.
33819 * libio/setlinebuf.c: Likewise.
33820 * libio/stdfiles.c: Likewise.
33821 * libio/strops.c: Likewise.
33822 * libio/vasprintf.c: Likewise.
33823 * libio/vscanf.c: Likewise.
33824 * libio/vsnprintf.c: Likewise.
33825 * libio/vswprintf.c: Likewise.
33826 * libio/wfiledoalloc.c: Likewise.
33827 * libio/wfileops.c: Likewise.
33828 * libio/wgenops.c: Likewise.
33829 * libio/wmemstream.c: Likewise.
33830 * libio/wstrops.c: Likewise.
33831 * libio/__fpurge.c: Likewise.
33832 * libio/__fsetlocking.c: Likewise.
33833 * assert/assert.c: Likewise.
33834 * debug/fgets_chk.c: Likewise.
33835 * debug/fgets_u_chk.c: Likewise.
33836 * debug/fread_chk.c: Likewise.
33837 * debug/fread_u_chk.c: Likewise.
33838 * debug/gets_chk.c: Likewise.
33839 * debug/obprintf_chk.c: Likewise.
33840 * debug/vasprintf_chk.c: Likewise.
33841 * debug/vdprintf_chk.c: Likewise.
33842 * debug/vsnprintf_chk.c: Likewise.
33843 * debug/vsprintf_chk.c: Likewise.
33844 * malloc/mtrace.c: Likewise.
33845 * misc/error.c: Likewise.
33846 * misc/syslog.c: Likewise.
33847 * stdio-common/asprintf.c: Likewise.
33848 * stdio-common/fxprintf.c: Likewise.
33849 * stdio-common/getw.c: Likewise.
33850 * stdio-common/isoc99_fscanf.c: Likewise.
33851 * stdio-common/isoc99_scanf.c: Likewise.
33852 * stdio-common/isoc99_vfscanf.c: Likewise.
33853 * stdio-common/isoc99_vscanf.c: Likewise.
33854 * stdio-common/isoc99_vsscanf.c: Likewise.
33855 * stdio-common/printf-prs.c: Likewise.
33856 * stdio-common/printf_fp.c: Likewise.
33857 * stdio-common/printf_fphex.c: Likewise.
33858 * stdio-common/printf_size.c: Likewise.
33859 * stdio-common/putw.c: Likewise.
33860 * stdio-common/scanf.c: Likewise.
33861 * stdio-common/sprintf.c: Likewise.
33862 * stdio-common/tmpfile.c: Likewise.
33863 * stdio-common/vfprintf.c: Likewise.
33864 * stdio-common/vfscanf.c: Likewise.
33865 * stdlib/strfmon_l.c: Likewise.
33866 * sunrpc/openchild.c: Likewise.
33867 * sunrpc/xdr_stdio.c: Likewise.
33868 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33869 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33871 2012-05-24 Roland McGrath <roland@hack.frob.com>
33873 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33875 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33876 in the third column, to generate for the shared library an IFUNC
33877 that uses _dl_vdso_vsym.
33878 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33879 * Makeconfig (object-suffixes-noshared): New variable.
33881 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33882 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33883 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33884 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33887 * include/sys/time.h (__gettimeofday): Remove macro.
33888 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33889 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33891 (__gettimeofday): Add libc_hidden_def.
33892 (gettimeofday): Add libc_hidden_weak.
33893 * sysdeps/mach/gettimeofday.c: Likewise.
33894 * sysdeps/posix/gettimeofday.c: Likewise.
33895 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33896 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33898 (__gettimeofday_internal): Remove strong_alias.
33899 (__gettimeofday): Add libc_hidden_def.
33900 (gettimeofday): Add libc_hidden_weak.
33901 * sysdeps/unix/syscalls.list (gettimeofday):
33902 Remove __gettimeofday_internal alias.
33904 2012-05-24 Daniel Jacobowitz <drow@false.org>
33905 H.J. Lu <hongjiu.lu@intel.com>
33908 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33909 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33910 (largebin_index_32_big): New.
33911 (largebin_index): Use it for 16-byte alignment.
33912 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33913 correction with front_misalign.
33915 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33943 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33944 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33946 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33950 * math/libm-test.inc (exp_test): Add test from bug 14036.
33951 (pow_test): Add test from bug 10846.
33953 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33955 (special_function): Do not include flags in test name.
33956 (parse_args): Likewise.
33957 * sysdeps/i386/fpu/libm-test-ulps: Update.
33958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33959 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33960 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33963 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33965 * math/libm-test.inc ("Philosophy"): Update comment about
33967 (UNDERFLOW_EXCEPTION): New macro.
33968 (UNDERFLOW_EXCEPTION_OK): Likewise.
33969 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33970 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33971 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33972 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33973 (INVALID_EXCEPTION_OK): Update value.
33974 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33975 (OVERFLOW_EXCEPTION_OK): Likewise.
33976 (IGNORE_ZERO_INF_SIGN): Likewise.
33977 (test_exceptions): Handle underflow exceptions.
33978 (acos_test): Update for underflow exception expectations.
33979 (cexp_test): Likewise.
33980 (clog_test): Likewise.
33981 (clog10_test): Likewise.
33982 (csqrt_test): Likewise.
33983 (ctan_test): Likewise.
33984 (ctanh_test): Likewise.
33985 (exp_test): Likewise.
33986 (exp10_test): Likewise.
33987 (exp2_test): Likewise.
33988 (expm1_test): Likewise.
33989 (fma_test): Likewise.
33990 (j0_test): Likewise.
33991 (jn_test): Likewise.
33992 (nexttoward_test): Likewise.
33993 (pow_test): Likewise.
33994 (scalbn_test): Likewise.
33995 (scalbln_test): Likewise.
33996 (tan_test): Likewise.
33997 (y1_test): Likewise.
33998 * sysdeps/i386/fpu/libm-test-ulps: Update.
33999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34001 2012-05-23 David S. Miller <davem@davemloft.net>
34003 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34004 (__libc_sigaction): Remove unused local variables.
34006 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34008 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34010 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34012 mktime: avoid signed integer overflow
34013 * time/mktime.c (__mktime_internal): Do not mishandle the case
34014 where diff == INT_MIN.
34016 mktime: simplify computation of average
34017 * time/mktime.c (ranged_convert): Use new time_t_avg function
34018 instead of rolling our own (probably-slower) code.
34020 mktime: do not assume signed right shift propagates sign bit
34021 * time/mktime.c (isdst_differ): New static function.
34022 (__mktime_internal): No need to normalize tm_isdst now.
34023 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34026 mktime: merge another wrapv change from gnulib
34027 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34028 from some compilers.
34030 mktime: remove incorrect attempt at unusual arithmetics
34031 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34032 The code didn't really work on such machines anyway.
34033 (TYPE_MINIMUM): Assume two's complement.
34034 (twos_complement_arithmetic): Verify that long_int and time_t
34035 are two's complement (or unsigned, in the latter case).
34037 mktime: check signed shifts on long_int and time_t, too
34038 * time/mktime.c (SHR): Check that shifts work as desired
34039 on the types long_int and time_t too, as SHR is used on
34042 mktime: do not assume 'long' is wide enough
34043 * time/mktime.c (verify): Move decl up.
34044 (long_int): New type.
34045 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34046 to remove assumption in the code that 'long' is wide enough to
34047 store year values. This assumption is not true on x32 and on
34048 some non-glibc platforms.
34050 mktime: merge wrapv change from gnulib
34051 * time/mktime.c (WRAPV): New macro.
34052 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34053 (guess_time_tm, __mktime_internal): Do not assume that signed
34054 integer overflow wraps around; modern compilers generate code
34055 where this assumption is no longer valid.
34057 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34059 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34060 Replace "jmp L(pseudo_end)" with "ret".
34061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34064 2012-05-23 Andreas Jaeger <aj@suse.de>
34066 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34067 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34069 2012-05-23 Andreas Jaeger <aj@suse.de>
34070 Maximilian Attems <max@stro.at>
34072 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34075 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34077 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34078 code so that pseudo_end is just ret and the stack pointer is
34079 correct also for static library in error case.
34081 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34083 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34084 move to syscalls.list.
34085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34090 * manual/install.texi (Running make install): Do not mention Linux
34091 kernel version for which pt_chown is not needed.
34092 (Linux): Do not mention problems with nscd with 2.0 kernels.
34093 * INSTALL: Regenerated.
34095 2012-05-23 Andreas Jaeger <aj@suse.de>
34097 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34098 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34100 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34101 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34102 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34104 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34106 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34108 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34110 * sysdeps/unix/sysv/linux/bits/in.h
34111 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34113 2012-05-22 Roland McGrath <roland@hack.frob.com>
34115 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34116 (PREPARE_VERSION): Just use assert instead, it will be elided
34117 under [NDEBUG] anyway.
34119 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34121 * sysdeps/unix/sysv/linux/Makefile: Include
34122 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34123 (sysdep_routines): Remove sysctl.
34124 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34125 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34126 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34127 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34128 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34130 2012-05-22 Andreas Jaeger <aj@suse.de>
34132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34133 that pseudo_end is just ret and the stack pointer is correct also
34134 for static library in error case.
34136 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34139 * nss/nsswitch.c (defconfig_entries): New variable.
34140 (__nss_database_lookup): Don't leak defconfig entries.
34141 (nss_parse_service_list): Don't leak on error paths.
34142 (free_database_entries): New function.
34143 (free_defconfig): New function.
34144 (free_mem): Move common code to free_database_entries.
34146 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34148 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34150 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34152 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34153 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34156 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34157 (INTERNAL_SYSCALL_TYPES): Likewise.
34158 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34159 (LOAD_REGS_TYPES_[1-6]): Likewise.
34160 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34161 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34163 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34165 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34166 copysignl for GLIBC_2_0.
34167 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34168 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34169 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34170 logbl for GLIBC_2_0.
34171 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34172 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34174 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34176 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34177 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34179 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34182 * time/mktime.c: Update copyright years.
34184 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34186 mktime: merge comment-quoting-style change from gnulib
34187 * time/mktime.c: Quote 'like this' in comments.
34188 The GNU coding standards suggest that we no longer quote `like this',
34189 as "`" and "'" are typically rendered asymmetrically nowadays.
34190 The typical gnulib style is to quote 'like this' when quoting
34191 code, and "like this" when quoting English.
34193 * time/mktime.c (compile-command): Add "-I.".
34195 mktime: merge mktime-internal.h change from gnulib
34196 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34198 mktime: merge time_r change from gnulib
34199 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34201 mktime: merge DEBUG change from gnulib
34202 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34203 case system <time.h> has a #define.
34205 mktime: merge <sys/types.h> change from gnulib
34206 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34207 since <time.t> is now guaranteed to define time_t.
34209 mktime: merge HAVE_CONFIG_H change from gnulib
34210 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34212 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34217 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34219 (struct rusage): Use anonymous union to pad each field to
34222 2012-05-21 David S. Miller <davem@davemloft.net>
34224 * Makefules (o-iterator): Remove .s cases.
34225 (compile-command.s): Delete.
34226 (COMPILE.s): Delete.
34227 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34229 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34231 * configure.in (libc_cv_predef_stack_protector): Only consider
34232 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34233 * configure: Regenerated.
34235 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34238 New macro. Use R*LP on int and pointer.
34239 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34240 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34241 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34242 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34244 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34245 [__WORDSIZE_TIME64_COMPAT32] instead of
34246 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34247 (struct utmp): Likewise.
34248 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34249 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34251 (__WORDSIZE_TIME64_COMPAT32): This.
34252 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34253 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34254 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34255 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34256 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34257 (__WORDSIZE_TIME64_COMPAT32): New macro.
34259 2012-05-21 Andreas Jaeger <aj@suse.de>
34261 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34262 only if [SHARED]. Add prototype for __wcschr_ia32.
34264 2012-05-21 Roland McGrath <roland@hack.frob.com>
34266 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34267 of %rbp unmolested in the jmp_buf while mangling the low bits.
34268 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34269 unmolested high bits of %rbp while demangling the low bits.
34270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34272 2012-05-21 Andreas Jaeger <aj@suse.de>
34274 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34275 * sunrpc/svc_simple.c: Use it for registerrpc.
34276 * sunrpc/xcrypt.c: Use it for passwd2des.
34278 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34280 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34282 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34283 Don't define if [__SYSCALL_WORDSIZE != 32].
34284 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34287 2012-05-21 Bruno Haible <bruno@clisp.org>
34288 Andreas Jaeger <aj@suse.de>
34290 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34291 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34292 inptr and inend for must_buffer_ch.
34293 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34294 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34295 * stdio-common/Makefile (tests): Remove bug15.
34296 (bug15-ENV): Remove macro.
34297 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34300 2012-05-19 Andreas Jaeger <aj@suse.de>
34301 Roland McGrath <roland@hack.frob.com>
34303 * manual/contrib.texi: Completely rewritten. It contains now an
34304 alphabetical list of contributors and their contributions.
34306 2012-05-21 Richard Henderson <rth@twiddle.net>
34308 * misc/getauxval.c (__getauxval): Use unsigned long int.
34309 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34310 (getauxval): Use unsigned long int.
34312 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34314 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34316 2012-05-21 Roland McGrath <roland@hack.frob.com>
34318 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34319 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34320 __alignof__ (long double).
34322 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34326 2012-05-20 Richard Henderson <rth@twiddle.net>
34328 * misc/getauxval.c: New file.
34329 * misc/sys/auxv.h: New file.
34330 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34331 (routines): Add getauxval.
34332 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34333 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34334 * elf/dl-sysdep.c (_dl_auxv): Remove.
34335 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34336 * elf/dl-support.c (_dl_auxv): New variable.
34337 (_dl_aux_init): Initialize it.
34338 * manual/startup.texi (Auxiliary Vector): New node.
34339 * sysdeps/generic/bits/hwcap.h: New file.
34340 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34341 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34342 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34343 * sysdeps/sparc/sysdep.h: ... here. Include it.
34344 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34345 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34357 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34361 2012-05-19 David S. Miller <davem@davemloft.net>
34363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34365 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34368 * math/s_ccosh.c: Include <float.h>
34369 (__ccosh): Avoid internal overflow calculating sinh and cosh
34370 values before multiplying by sin and cos values.
34371 * math/s_ccoshf.c: Likewise.
34372 * math/s_ccoshl.c: Likewise.
34373 * math/s_csin.c: Likewise.
34374 * math/s_csinf.c: Likewise.
34375 * math/s_csinl.c: Likewise.
34376 * math/s_csinh.c: Likewise.
34377 * math/s_csinhf.c: Likewise.
34378 * math/s_csinhl.c: Likewise.
34379 * math/libm-test.inc (ccos_test): Add more tests.
34380 (ccosh_test): Likewise.
34381 (csin_test): Likewise.
34382 (csinh_test): Likewise.
34383 * sysdeps/i386/fpu/libm-test-ulps: Update.
34384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34386 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34388 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34389 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34391 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34393 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34395 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34396 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34397 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34398 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34399 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34400 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34401 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34402 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34403 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34404 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34405 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34406 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34407 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34408 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34409 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34410 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34411 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34412 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34413 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34414 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34415 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34416 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34417 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34418 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34419 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34420 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34421 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34422 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34423 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34424 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34425 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34427 2012-05-18 Andreas Jaeger <aj@suse.de>
34429 * csu/.gitignore: Delete.
34431 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34433 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34434 (timex): Use __syscall_slong_t.
34436 2012-05-18 Andreas Jaeger <aj@suse.de>
34437 Carlos O'Donell <carlos_odonell@mentor.com>
34439 * manual/install.texi (Configuring and compiling): Update
34440 description about files modified in the source directory.
34441 * INSTALL: Regenerated.
34443 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34445 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34446 value. Use "or" to set return value to -1.
34447 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34448 negate return value.
34450 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34452 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34453 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34454 failure if the compiler has Graphite support disabled.
34455 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34457 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34458 (CFLAGS-memmove.c): Likewise.
34459 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34462 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34464 * sysdeps/x86_64/x32/_itoa.h: New file.
34466 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34467 getdents system call only if kernel and user dirents have the
34468 same d_ino and d_off.
34470 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34471 LLONG_MAX != LONG_MAX.
34472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34473 (_fitoa_word): Likewise.
34475 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34477 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34478 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34479 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34481 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34482 include <bits/wordsize.h>. Check __x86_64__ instead of
34484 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34485 if __x86_64__ is defined. Use anonymous union on fpstate.
34487 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34490 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34492 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34493 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34494 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34495 Refer to _rtld_local_ro instead of _rtld_global_ro.
34496 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34498 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34500 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34502 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34503 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34504 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34506 * sysdeps/powerpc/powerpc32/dl-machine.c
34507 (__elf_machine_runtime_setup) [PROF]: Don't reference
34510 2012-05-18 Andreas Jaeger <aj@suse.de>
34512 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34513 function only available for GCCs before 3.4 since GCC 3.4
34514 introduced a builtin.
34516 (llrintf): Likewise.
34517 (llrint): Likewise.
34524 (nearbyint): Likewise.
34525 (nearbyintf): Likewise.
34529 (floorf): Likewise.
34531 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34533 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34534 on both fields and cast pointer to __syscall_ulong_t.
34536 * bits/types.h (__fsword_t): New type.
34537 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34538 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34540 (__FSWORD_T_TYPE): Likewise.
34541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34542 (__FSWORD_T_TYPE): Likewise.
34543 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34544 (__FSWORD_T_TYPE): Likewise.
34545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34546 (__FSWORD_T_TYPE): Likewise.
34547 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34548 __SWORD_TYPE with __fsword_t.
34549 (statfs64): Likewise.
34551 2012-05-17 David S. Miller <davem@davemloft.net>
34553 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34555 2012-05-17 Andreas Jaeger <aj@suse.de>
34557 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34560 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34562 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34564 2012-05-17 Andreas Jaeger <aj@suse.de>
34566 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34569 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34571 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34573 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34575 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34576 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34578 2012-05-17 Andreas Jaeger <aj@suse.de>
34579 Carlos O'Donell <carlos_odonell@mentor.com>
34582 * sysdeps/x86_64/multiarch/init-arch.h
34583 (bit_YMM_Usable): Rename to...
34584 (bit_AVX_Usable): ... this.
34585 (bit_FMA4_Usable): New macro.
34586 (bit_XMM_state): New macro.
34587 (bit_YMM_state): New macro.
34588 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34589 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34590 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34591 (CPUID_OSXSAVE): New macro.
34592 (CPUID_AVX): New macro.
34593 (CPUID_FMA4): New macro.
34594 (index_YMM_Usable): Rename to...
34595 (index_AVX_Usable): ... this.
34596 (HAS_AVX): Use HAS_ARCH_FEATURE.
34597 (HAS_FMA4): Likewise.
34598 (HAS_YMM_USABLE): Remove.
34599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34600 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34602 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34603 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34604 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34605 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34606 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34608 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34610 * math/libm-test.c: Support platforms without multiple rounding modes.
34611 * math/bug-nextafter.c: Support platforms without FP exceptions.
34612 * math/bug-nexttoward.c: Likewise.
34613 * math/test-fenv.c: Likewise.
34614 * math/test-misc.c: Likewise.
34615 * stdlib/bug-getcontext.c: Likewise.
34617 2012-05-17 Andreas Jaeger <aj@suse.de>
34619 * manual/examples/search.c (critter_cmp): Change signature to
34621 * manual/string.texi (Collation Functions): Likewise.
34623 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34625 * bits/types.h: Fold copyright years.
34626 * bits/typesizes.h: Likewise.
34627 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34628 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34630 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34631 * time/time.h: Likewise.
34633 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34636 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34637 in instead of returning them. Return void.
34638 (__libc_mallinfo): Accumulate over all arenas.
34639 (__malloc_stats): Adjust for change in int_mallinfo interface.
34641 2012-05-16 Roland McGrath <roland@hack.frob.com>
34644 * configure.in (NM): Add AC_CHECK_TOOL for it.
34645 (libc_extra_cflags): New substituted variable.
34646 Check for -fstack-protector being used implicitly.
34647 * configure: Regenerated.
34648 * config.make.in (config-extra-cflags): New variable,
34649 gets @libc_extra_cflags@.
34650 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34653 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34654 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34655 * configure: Regenerated.
34656 * config.make.in (CPPUNDEFS): New substituted variable.
34657 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34658 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34659 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34661 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34663 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34664 (mq_attr): Use __syscall_slong_t.
34666 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34668 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34669 Check __x86_64__ instead of __WORDSIZE.
34670 (_STAT_VER_LINUX): Likewise.
34671 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34672 __syscall_ulong_t and __syscall_slong_t.
34673 (stat64): Likewise.
34675 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34677 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34679 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34681 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34683 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34685 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34688 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34689 include <bits/wordsize.h>. Check __x86_64__ instead of
34691 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34693 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34696 include <bits/wordsize.h>. Check __x86_64__ instead of
34698 (user_regs_struct): Use "__extension__ unsigned long long"
34699 instead of "unsigned long" if __x86_64__ is defined.
34700 (user): Likewise. Pad after pointer field if __ILP32__ is
34703 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34705 * configure.in (makeinfo): Require version 4.5 or later. Allow
34707 * configure: Regenerated.
34708 * manual/install.texi (texinfo): Increase version requirement to
34710 * INSTALL: Regenerated.
34712 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34714 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34716 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34718 * sysdeps/x86_64/x32/ffs.c: New file.
34720 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34722 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34723 defined. Use __syscall_ulong_t.
34724 (shminfo): Use __syscall_ulong_t.
34725 (shm_info): Likewise.
34727 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34730 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34732 (msgqnum_t): Use __syscall_ulong_t.
34733 (msglen_t): Likewise.
34734 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34737 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34738 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34740 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34742 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34743 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34745 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34748 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34749 include <bits/wordsize.h>. Check __x86_64__ instead of
34752 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34753 "unsigned long long int" if __x86_64__ is defined.
34754 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34756 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34757 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34758 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34760 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34762 (GET_PC): Cast to uintptr_t first.
34763 (GET_FRAME): Likewise.
34764 (GET_STACK): Likewise.
34766 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34767 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34768 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34769 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34770 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34771 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34772 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34773 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34774 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34775 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34776 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34777 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34778 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34779 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34780 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34781 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34782 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34783 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34784 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34785 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34786 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34787 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34788 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34789 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34790 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34791 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34792 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34793 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34794 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34796 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34798 * Makerules (+depfiles): Also collect depfiles from .oS in
34800 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34801 .oS, $(libnldbl-routines)).
34803 * Makerules (native-compile-mkdep-flags): Define.
34804 * sunrpc/Makefile (extra-objs): Add $(addprefix
34805 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34806 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34807 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34808 calling $(make-target-directory).
34810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34812 * bits/types.h (__snseconds_t): Removed.
34813 * time/time.h (struct timespec): Replace __snseconds_t with
34815 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34816 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34818 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34819 (__SNSECONDS_T_TYPE): Likewise.
34820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34821 (__SNSECONDS_T_TYPE): Likewise.
34822 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34823 (__SNSECONDS_T_TYPE): Likewise.
34825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34827 * sysdeps/mach/hurd/bits/typesizes.h
34828 (__SYSCALL_SLONG_TYPE): New macro.
34829 (__SYSCALL_ULONG_TYPE): Likewise.
34831 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34833 * bits/types.h (__syscall_slong_t): New type.
34834 (__syscall_ulong_t): Likewise.
34836 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34837 (__SYSCALL_ULONG_TYPE): Likewise.
34838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34839 (__SYSCALL_SLONG_TYPE): Likewise.
34840 (__SYSCALL_ULONG_TYPE): Likewise.
34841 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34842 (__SYSCALL_SLONG_TYPE): Likewise.
34843 (__SYSCALL_ULONG_TYPE): Likewise.
34844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34845 (__SYSCALL_SLONG_TYPE): Likewise.
34846 (__SYSCALL_ULONG_TYPE): Likewise.
34848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34850 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34851 Add sigaltstack-offsets.sym.
34852 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34853 <sigaltstack-offsets.h>.
34854 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34855 longjmp_msg pointer.
34856 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34857 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34859 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34861 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34863 * elf/stackguard-macros.h: Remove file.
34864 * sysdeps/generic/stackguard-macros.h: New file.
34865 * sysdeps/i386/stackguard-macros.h: Likewise.
34866 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34867 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34868 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34869 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34870 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34871 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34872 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34873 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34874 <elf/stackguard-macros.h>.
34877 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34878 __aligned__ in attribute.
34879 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34880 (gregset_t): Likewise.
34882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34884 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34885 * sysdeps/x86_64/64/Implies-after: Here. New file.
34886 * sysdeps/x86_64/x32/Implies-after: New file.
34888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34890 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34891 and access return value for _dl_profile_fixup. Use R10_LP to
34894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34896 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34900 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34901 * sysdeps/x86_64/x32/sysdep.h: New file.
34903 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34905 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34906 * sysdeps/x86_64/setjmp.S: Likewise.
34908 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34910 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34911 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34912 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34913 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34914 remove unused global constant.
34916 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34918 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34919 include of <not-cancel.h>.
34921 2012-05-15 Roland McGrath <roland@hack.frob.com>
34923 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34925 2012-05-15 Jeff Law <law@redhat.com>
34926 Andreas Jaeger <aj@suse.de>
34929 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34931 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34932 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34933 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34934 code changing __hst_map_handle.map.
34936 2012-05-15 Roland McGrath <roland@hack.frob.com>
34938 * configure.in (sysnames): Look for Implies-before and Implies-after
34940 * configure: Regenerated.
34942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34944 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34945 8-byte data alignment with LP_SIZE alignment.
34947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34949 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34954 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34956 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34958 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34959 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34960 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34966 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34967 (stackinfo_sub_sp): Likewise.
34969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34971 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34976 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34981 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34986 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34990 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34991 into R11_LP and load __x86_64_shared_cache_size_half into
34994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34996 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34999 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35007 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35008 powerpc32/power7/fpu/s_logb.c via #include.
35009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35010 powerpc32/power7/fpu/s_logbf.c via #include.
35011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35012 powerpc32/power7/fpu/s_logbl.c via #include.
35014 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35016 * README.libm: Remove file.
35018 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35020 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35021 count for x32. Use R*_LP and omit operand-size suffix.
35023 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35025 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35026 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35027 * sysdeps/x86_64/x32/shlib-versions: New file.
35029 2012-05-14 Roland McGrath <roland@hack.frob.com>
35031 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35032 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35033 Use _dl_fatal_printf instead.
35035 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35037 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35038 set if not set by the user. Do not allow for being unset.
35039 * sysdeps/unix/sysv/linux/configure: Regenerated.
35041 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35043 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35044 the `q' suffix from lea and replace .quad with ASM_ADDR.
35046 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35049 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35051 (PTR_DEMANGLE): Likewise.
35053 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35055 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35057 (ASM_ADDR): Likewise.
35058 (RAX_LP): Likewise.
35059 (RBP_LP): Likewise.
35060 (RBX_LP): Likewise.
35061 (RCX_LP): Likewise.
35062 (RDI_LP): Likewise.
35063 (RSI_LP): Likewise.
35064 (RSP_LP): Likewise.
35067 (R10_LP): Likewise.
35068 (R10_LP): Likewise.
35069 (R11_LP): Likewise.
35070 (R12_LP): Likewise.
35071 (R13_LP): Likewise.
35072 (R14_LP): Likewise.
35073 (R15_LP): Likewise.
35075 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35077 * sysdeps/x86_64/x32/dl-machine.h: New file.
35079 2012-05-14 Andreas Jaeger <aj@suse.de>
35081 * manual/Makefile (subdir): Remove export of subdir.
35082 (all): Remove target.
35083 (.PHONY): Remove all from list.
35084 (mkinstalldirs): Remove.
35085 (.PHONY): Remove installdirs from list.
35086 ($(inst_infodir)/libc.info): Use make-target-directory.
35087 (installdirs): Remove.
35088 (subdir_%): Remove.
35089 (glibc-targets): Remove.
35092 ($(objpfx)stubs ../po/manual.pot): Remove.
35093 ($(objpfx)stamp%): Remove.
35094 (make-target-directory): Remove.
35095 (subdir_install): Remove.
35096 (routines): Remove.
35103 * manual/.gitignore: Remove, it's not needed anymore.
35104 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35106 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35108 (texis): Renamed to $(objpfx)texis.
35109 (texis-path): New, contains path to generated files.
35110 (chapters.%): Use texis-path for complete path, add extra argument
35112 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35113 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35114 (summary,texi, stamp-summary): Use complete path of
35115 files. Generate files in build dir.
35116 (dir-add.texi): Build in build dir.
35117 (libm-err.texi,stamp-libm-err): Likewise.
35118 (version.texi, stamp-version): Likewise.
35119 (.%c.texi): Likewise.
35120 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35121 (mostlyclean): Remove target.
35122 (realclean): Remove target.
35123 (generated): Add new variable with contents from mostlyclean and
35124 realclean, remove entries duplicated in common-mostlyclean, add
35125 stamp-libm-err and stamp-version.
35126 (generated-dirs): Add libc directory.
35127 ($(inst_infodir)/libc.info): Install files from build dir.
35129 * manual/install.texi (Configuring and compiling): Adjust since
35130 the info files are not part of the tar ball anymore.
35132 2012-05-14 Andreas Jaeger <aj@suse.de>
35134 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35137 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35141 to 2.2.0 where earlier.
35142 * sysdeps/unix/sysv/linux/configure: Regenerated.
35143 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35144 Remove conditional code.
35145 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35146 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35147 Remove conditional code.
35148 [!__NR_lchown]: Likewise.
35149 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35150 [__NR_lchown]: Likewise.
35151 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35152 comment referencing __ASSUME_LCHOWN_SYSCALL.
35153 * sysdeps/unix/sysv/linux/i386/sigaction.c
35154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35156 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35157 Remove conditional code.
35158 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35159 (__protocol_available): Remove #if 0 code.
35160 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35162 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35163 * sysdeps/unix/sysv/linux/kernel-features.h
35164 (__ASSUME_GETCWD_SYSCALL): Don't define.
35165 (__ASSUME_REALTIME_SIGNALS): Likewise.
35166 (__ASSUME_PREAD_SYSCALL): Likewise.
35167 (__ASSUME_PWRITE_SYSCALL): Likewise.
35168 (__ASSUME_POLL_SYSCALL): Likewise.
35169 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35170 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35172 (__ASSUME_SIOCGIFNAME): Don't define.
35173 (__ASSUME_MSG_NOSIGNAL): Likewise.
35174 (__ASSUME_SENDFILE): Define unconditionally.
35175 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35176 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35178 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35179 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35180 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35181 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35182 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35183 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35184 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35186 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35189 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35192 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35193 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35195 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35198 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35199 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35201 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35202 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35204 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35205 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35207 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35209 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35210 Remove conditional code.
35211 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35212 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35213 Remove conditional code.
35214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35215 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35216 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35217 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35218 Remove conditional code.
35219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35220 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35221 Remove conditional code.
35222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35223 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35224 Remove conditional code.
35225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35226 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35227 Remove conditional code.
35228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35229 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35230 Remove conditional code.
35231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35232 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35233 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35235 * sysdeps/unix/sysv/linux/sigaction.c
35236 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35237 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35238 * sysdeps/unix/sysv/linux/sigpending.c
35239 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35240 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35241 * sysdeps/unix/sysv/linux/sigprocmask.c
35242 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35243 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35244 * sysdeps/unix/sysv/linux/sigsuspend.c
35245 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35246 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35247 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35248 (__libc_missing_rt_sigs): Remove.
35249 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35250 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35251 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35252 Remove conditional code.
35253 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35254 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35256 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35257 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35258 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35259 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35261 2012-05-14 Andreas Jaeger <aj@suse.de>
35263 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35264 it's not used in glibc.
35265 (__coshm1): Likewise.
35266 (__acosh1p): Likewise.
35269 * manual/string.texi (Copying and Concatenation): Add missing
35270 variable in concat example.
35271 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35273 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35277 __builtin_clzl with __builtin_clzll.
35279 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35282 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35285 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35287 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35288 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35289 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35290 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35292 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35294 * NEWS: Update ia64 info.
35296 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35298 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35301 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35303 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35304 * sysdeps/unix/syscalls.list (dup3): Likewise.
35305 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35306 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35308 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35310 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35311 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35313 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35315 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35317 (TLS_IE): Use mov/add instead of movq/addq to load thread
35319 (TLS_GD_PREFIX): New.
35322 2012-05-11 David S. Miller <davem@davemloft.net>
35324 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35325 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35326 (_FPU_SETCW): Likewise.
35328 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35330 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35331 is 32-byte aligned.
35333 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35336 * iconvdata/gb18030.c: Update tables.
35337 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35338 characters specially.
35339 (BODY for TO_LOOP): Add encoding of missing ranges.
35341 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35344 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35345 * sysdeps/mach/hurd/dup3.c: Likewise.
35346 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35347 * sysdeps/powerpc/memmove.c:: Likewise.
35349 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35352 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35354 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35356 * elf/elf.h (R_X86_64_RELATIVE64): New.
35357 (R_X86_64_NUM): Updated.
35358 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35359 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35360 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35361 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35362 tst-quad1pie tst-quad2pie
35363 (modules-names): Add tst-quadmod1 tst-quadmod2.
35364 ($(objpfx)tst-quad1): New dependency.
35365 ($(objpfx)tst-quad2): Likewise.
35366 ($(objpfx)tst-quad1pie): Likewise.
35367 ($(objpfx)tst-quad2pie): Likewise.
35368 * sysdeps/x86_64/tst-quad1.c: New file.
35369 * sysdeps/x86_64/tst-quad1pie.c: New file.
35370 * sysdeps/x86_64/tst-quad2.c: Likewise.
35371 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35372 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35373 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35374 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35375 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35377 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35379 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35380 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35381 * streams/stropts.h (t_scalar_t): Define type.
35383 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35384 (_PATH_PRESERVE): Set to "/var/lib".
35385 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35387 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35390 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35391 if __dir_mkfile succeeded.
35393 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35394 checking for _hurd_dtablesize. Unlock it right after having
35395 finished _hurd_dtable allocation.
35397 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35399 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35400 * sysdeps/mach/hurd/configure: Regenerated.
35401 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35402 special-casing to...
35403 * sysdeps/gnu/configure.in: ... this new file.
35404 * sysdeps/unix/sysv/linux/configure: Regenerated.
35405 * sysdeps/gnu/configure: New generated file.
35407 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35408 for Linux: use nsec instead of usec, as well as:
35409 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35410 members of type struct timespec.
35411 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35413 (struct stat64): Likewise.
35414 (_STATBUF_ST_NSEC): New macro.
35415 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35417 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35418 __strtoul_internal rather than strtoul.
35420 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35422 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35425 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35427 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35428 which preserves existing values.
35429 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35431 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35433 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35434 TIMEOUT values. Return EINVAL for NFDS values either negative or
35435 greater than FD_SETSIZE.
35437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35439 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35440 allocated, call __vm_protect to finish enabling the existing space, and
35441 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35442 allocate the remainder.
35444 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35446 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35447 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35451 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35452 sysdeps/mach/hurd/readlink.c.
35454 * posix/tst-sysconf.c (posix_options): Only use
35455 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35456 _POSIX_SYNCHRONIZED_IO when they are defined
35457 * sysdeps/mach/hurd/bits/posix_opt.h:
35458 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35459 (_XOPEN_REALTIME): Undefine macro.
35460 (_XOPEN_REALTIME_THREADS): Undefine macro.
35461 (_XOPEN_SHM): Undefine macro.
35462 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35464 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35466 (_POSIX_ASYNC_IO): Undefine macro.
35467 (_POSIX_PRIORITIZED_IO): Undefine macro.
35468 (_POSIX_SPIN_LOCKS): Define macro to -1.
35470 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35471 SA_NODEFER, SA_RESETHAND.
35472 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35473 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35476 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35478 * elf/Makefile (pldd-modules): Define unconditionally.
35480 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35482 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35486 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35487 Return ENOENT when name is empty.
35488 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35490 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35492 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35494 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35496 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35498 Fix mlock in all cases except non-readable pages.
35499 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35500 instead of VM_PROT_ALL as parameter to __vm_wire function.
35502 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35503 (__mkdir): When path is `/', just fail with EEXIST.
35504 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35506 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35508 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35509 <sys/uio.h> (for writev).
35510 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35511 and <sys/param.h> (for MIN).
35513 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35515 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35516 REQUESTED_TIME. Properly set the remaining time and return EINTR
35519 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35521 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35522 Depend on against $(link-rpcuserlibs).
35524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35526 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35527 (__libc_stack_end): Do not use attribute_relro.
35528 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35529 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35530 to libthread-provided value.
35531 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35534 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35537 * bits/libc-lock.h (__libc_once_get): New macro.
35538 * sysdeps/mach/bits/libc-lock.h: Likewise.
35539 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35540 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35541 instead of using implementation details.
35543 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35544 * libio/freopen.c: Likewise.
35545 * libio/freopen64.c: Likewise.
35546 * misc/syslog.c: Likewise.
35547 * nscd/connections.c: Likewise.
35548 * nscd/netgroupcache.c: Likewise.
35549 * sysdeps/posix/getcwd.c: Likewise.
35551 2012-05-10 Roland McGrath <roland@hack.frob.com>
35553 * math/w_ilogbf.c: Add #include <limits.h>.
35555 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35557 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35558 path instead of returning without unlocking.
35560 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35561 immediate-write ioctls.
35562 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35564 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35566 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35567 __builtin_frame_address instead of making assumptions about the
35568 location of the return address relative to DATA. Force early load of
35569 the return address.
35570 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35571 __builtin_frame_address.
35574 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35575 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35576 implement dup3 and do some further code clean-ups.
35577 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35578 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35580 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35582 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35584 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35585 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35586 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35587 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35588 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35591 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35592 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35593 when handler == SIG_ERR, not when handler != SIG_ERR.
35595 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35597 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35598 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35601 accept4 for GNU Hurd.
35602 * include/sys/socket.h (__libc_accept4): New prototype.
35603 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35604 to implement __libc_accept4.
35605 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35607 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35609 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35610 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35611 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35612 signal-defines.sym.
35614 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35616 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35618 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35620 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35621 assertion on O_CLOEXEC flag.
35622 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35623 * hurd/intern-fd.c: Likewise.
35624 * hurd/port2fd.c: Likewise.
35626 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35629 * bits/in.h (IPV6_PKTINFO): Define new macro.
35630 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35632 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35637 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35638 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35639 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35640 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35642 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35643 * math/libm-test.inc (logb_test) : Additional logb tests.
35645 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35646 Andreas Jaeger <aj@suse.de>
35648 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35649 * configure: Regenerated.
35650 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35651 * config.make.in (link-obsolete-rpc): New substituted variable.
35652 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35653 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35654 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35655 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35656 so that libc.a contains the symbols.
35657 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35658 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35659 * sunrpc/auth_none.c: Likewise.
35660 * sunrpc/auth_unix.c: Likewise.
35661 * sunrpc/authdes_prot.c: Likewise.
35662 * sunrpc/authuxprot.c: Likewise.
35663 * sunrpc/clnt_gen.c: Likewise.
35664 * sunrpc/clnt_perr.c: Likewise.
35665 * sunrpc/clnt_raw.c: Likewise.
35666 * sunrpc/clnt_simp.c: Likewise.
35667 * sunrpc/clnt_tcp.c: Likewise.
35668 * sunrpc/clnt_udp.c: Likewise.
35669 * sunrpc/clnt_unix.c: Likewise.
35670 * sunrpc/des_crypt.c: Likewise.
35671 * sunrpc/des_soft.c: Likewise.
35672 * sunrpc/get_myaddr.c: Likewise.
35673 * sunrpc/key_call.c: Likewise.
35674 * sunrpc/key_prot.c: Likewise.
35675 * sunrpc/netname.c: Likewise.
35676 * sunrpc/pm_getmaps.c: Likewise.
35677 * sunrpc/pm_getport.c: Likewise.
35678 * sunrpc/pmap_clnt.c: Likewise.
35679 * sunrpc/pmap_prot.c: Likewise.
35680 * sunrpc/pmap_prot2.c: Likewise.
35681 * sunrpc/pmap_rmt.c: Likewise.
35682 * sunrpc/publickey.c: Likewise.
35683 * sunrpc/rpc_cmsg.c: Likewise.
35684 * sunrpc/rpc_common.c: Likewise.
35685 * sunrpc/rpc_dtable.c: Likewise.
35686 * sunrpc/rpc_prot.c: Likewise.
35687 * sunrpc/rpc_thread.c: Likewise.
35688 * sunrpc/rtime.c: Likewise.
35689 * sunrpc/svc.c: Likewise.
35690 * sunrpc/svc_auth.c: Likewise.
35691 * sunrpc/svc_raw.c: Likewise.
35692 * sunrpc/svc_run.c: Likewise.
35693 * sunrpc/svc_tcp.c: Likewise.
35694 * sunrpc/svc_udp.c: Likewise.
35695 * sunrpc/svc_unix.c: Likewise.
35696 * sunrpc/svcauth_des.c: Likewise.
35697 * sunrpc/xcrypt.c: Likewise.
35698 * sunrpc/xdr.c: Likewise.
35699 * sunrpc/xdr_array.c: Likewise.
35700 * sunrpc/xdr_float.c: Likewise.
35701 * sunrpc/xdr_intXX_t.c: Likewise.
35702 * sunrpc/xdr_mem.c: Likewise.
35703 * sunrpc/xdr_rec.c: Likewise.
35704 * sunrpc/xdr_ref.c: Likewise.
35705 * sunrpc/xdr_sizeof.c: Likewise.
35706 * sunrpc/xdr_stdio.c: Likewise.
35708 2012-05-10 Roland McGrath <roland@hack.frob.com>
35710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35711 change. Update copyright years.
35713 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35715 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35717 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35718 Joseph Myers <joseph@codesourcery.com>
35719 Paul Pluzhnikov <ppluzhnikov@google.com>
35722 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35724 [cross-compiling] (extra-libs): Likewise.
35725 [cross-compiling] (extra-libs-others): Likewise.
35726 [cross-compiling] (librpcsvc-routines): Likewise.
35727 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35728 [cross-compiling] (omit-deps): Likewise.
35729 (sunrpc-CPPFLAGS): New variable.
35730 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35731 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35732 (cross-rpcgen-objs): New variable.
35733 (extra-objs): Append $(cross-rpcgen-objs).
35734 ($(cross-rpcgen-objs)): New rule.
35735 ($(objpfx)cross-rpcgen): Likewise.
35736 (rpcgen-cmd): Define to use $(built-program-file). Expand
35738 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35739 ($(objpfx)x%.stmp): Likewise.
35740 * sunrpc/proto.h [IS_IN_build] (_): Define.
35741 [IS_IN_build] (_libc_intl_domainname): Likewise.
35743 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35746 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35747 and R_X86_64_TPOFF64.
35749 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35751 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35752 sysdeps/unix/sysv/syscalls.list.
35755 * sysdeps/unix/sysv/syscalls.list: Remove file.
35757 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35760 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35761 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35762 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35763 (__LC_IDENTIFICATION): Make these macros useful in #if
35764 expressions, as required by C99.
35766 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35768 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35769 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35772 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35774 * stdlib/longlong.h: Updated from GCC.
35776 2012-05-09 Andreas Jaeger <aj@suse.de>
35778 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35779 default is first entry.
35780 (run_mode): Set type.
35781 (main): Remove informal message about syslog.
35782 (options): Fix typo.
35785 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35788 (llrintf): Likewise.
35789 (llrint): Likewise.
35792 (nearbyint): Likewise.
35793 (nearbyintf): Likewise.
35795 2012-05-09 Andreas Jaeger <aj@suse.de>
35796 Pedro Alves <palves@redhat.com>
35798 * nscd/nscd.c (run_mode): Use enum.
35799 (main): Cleanup coding style issue.
35801 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35802 Andreas Jaeger <aj@suse.de>
35804 * nscd/nscd.c (go_background): Replaced with...
35805 (run_mode): ... this.
35806 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35807 (options): Add -F --foreground.
35808 (main): Implement it.
35809 (parse_opt): Parse it.
35811 2012-05-09 Andreas Jaeger <aj@suse.de>
35814 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35815 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35816 -Wconversion warning.
35817 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35820 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35822 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35824 (LC_ALL): Use macro-int-constant.
35825 (LC_COLLATE): Likewise.
35826 (LC_CTYPE): Likewise.
35827 (LC_MESSAGES): Likewise.
35828 (LC_MONETARY): Likewise.
35829 (LC_NUMERIC): Likewise.
35830 (LC_TIME): Likewise.
35831 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35832 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35834 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35836 [C99-based standards] (float_t): Expect type.
35837 [C99-based standards] (double_t): Expect type.
35838 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35840 [C99-based standards] (HUGE_VALL): Likewise.
35841 [C99-based standards] (INFINITY): Likewise.
35842 [C99-based standards] (NAN): Likewise.
35843 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35844 [C99-based standards] (FP_NAN): Likewise.
35845 [C99-based standards] (FP_NORMAL): Likewise.
35846 [C99-based standards] (FP_SUBNORMAL): Likewise.
35847 [C99-based standards] (FP_ZERO): Likewise.
35848 [C99-based standards] (FP_FAST_FMA): Use
35849 optional-macro-int-constant. Specify type. Require == 1.
35850 [C99-based standards] (FP_FAST_FMAF): Likewise.
35851 [C99-based standards] (FP_FAST_FMAL): Likewise.
35852 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35853 [C99-based standards] (FP_ILOGBNAN): Likewise.
35854 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35856 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35857 [C99-based standards] (math_errhandling): Specify type.
35858 [ISO99 || ISO11] (signgam): Do not allow.
35859 [non-C99-based standards] (copysignf): Do not allow.
35860 [non-C99-based standards] (exp2f): Likewise.
35861 [non-C99-based standards] (log2f): Likewise.
35862 [non-C99-based standards] (modff): Allow.
35863 [non-C99-based standards] (erff): Do not allow.
35864 [non-C99-based standards] (erfcf): Likewise.
35865 [non-C99-based standards] (gammaf): Likewise.
35866 [non-C99-based standards] (hypotf): Likewise.
35867 [non-C99-based standards] (j0f): Likewise.
35868 [non-C99-based standards] (j1f): Likewise.
35869 [non-C99-based standards] (jnf): Likewise.
35870 [non-C99-based standards] (lgammaf): Likewise.
35871 [non-C99-based standards] (tgammaf): Likewise.
35872 [non-C99-based standards] (y0f): Likewise.
35873 [non-C99-based standards] (y1f): Likewise.
35874 [non-C99-based standards] (ynf): Likewise.
35875 [non-C99-based standards] (isnanf): Likewise.
35876 [non-C99-based standards] (acoshf): Likewise.
35877 [non-C99-based standards] (asinhf): Likewise.
35878 [non-C99-based standards] (atanhf): Likewise.
35879 [non-C99-based standards] (cbrtf): Likewise.
35880 [non-C99-based standards] (expm1f): Likewise.
35881 [non-C99-based standards] (ilogbf): Likewise.
35882 [non-C99-based standards] (log1pf): Likewise.
35883 [non-C99-based standards] (logbf): Likewise.
35884 [non-C99-based standards] (nextafterf): Likewise.
35885 [non-C99-based standards] (remainderf): Likewise.
35886 [non-C99-based standards] (rintf): Likewise.
35887 [non-C99-based standards] (scalbf): Likewise.
35888 [non-C99-based standards] (copysignl): Likewise.
35889 [non-C99-based standards] (exp2l): Likewise.
35890 [non-C99-based standards] (log2l): Likewise.
35891 [non-C99-based standards] (modfl): Allow.
35892 [non-C99-based standards] (erfl): Do not allow.
35893 [non-C99-based standards] (erfcl): Likewise.
35894 [non-C99-based standards] (gammal): Likewise.
35895 [non-C99-based standards] (hypotl): Likewise.
35896 [non-C99-based standards] (j0l): Likewise.
35897 [non-C99-based standards] (j1l): Likewise.
35898 [non-C99-based standards] (jnl): Likewise.
35899 [non-C99-based standards] (lgammal): Likewise.
35900 [non-C99-based standards] (tgammal): Likewise.
35901 [non-C99-based standards] (y0l): Likewise.
35902 [non-C99-based standards] (y1l): Likewise.
35903 [non-C99-based standards] (ynl): Likewise.
35904 [non-C99-based standards] (isnanl): Likewise.
35905 [non-C99-based standards] (acoshl): Likewise.
35906 [non-C99-based standards] (asinhl): Likewise.
35907 [non-C99-based standards] (atanhl): Likewise.
35908 [non-C99-based standards] (cbrtl): Likewise.
35909 [non-C99-based standards] (expm1l): Likewise.
35910 [non-C99-based standards] (ilogbl): Likewise.
35911 [non-C99-based standards] (log1pl): Likewise.
35912 [non-C99-based standards] (logbl): Likewise.
35913 [non-C99-based standards] (nextafterl): Likewise.
35914 [non-C99-based standards] (remainderl): Likewise.
35915 [non-C99-based standards] (rintl): Likewise.
35916 [non-C99-based standards] (scalbl): Likewise.
35917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35918 [non-C99-based standards] (FP_*): Do not allow.
35919 [C99-based standards] (FP_*): Change to
35920 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35921 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35923 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35924 (SIG_ERR): Likewise.
35925 [X/Open-based standards] (SIG_HOLD): Likewise.
35926 (SIG_IGN): Likewise.
35927 (SIGABRT): Use macro-int-constant. Specify type. Require
35929 (SIGFPE): Likewise.
35930 (SIGILL): Likewise.
35931 (SIGINT): Likewise.
35932 (SIGSEGV): Likewise.
35933 (SIGTER): Likewise.
35934 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35935 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35936 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35937 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35938 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35939 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35940 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35941 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35942 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35943 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35944 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35945 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35946 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35947 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35948 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35949 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35950 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35951 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35952 [X/Open-based standards] (SIGTRAP): Likewise.
35953 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35954 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35955 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35956 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35957 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35960 2012-05-08 Ian Wienand <ianw@vmware.com>
35963 * time/tzset.c (__tzset_parse_tz): Update default rules for
35964 daylight time changes in the Energy Policy Act of 2005.
35966 2012-05-09 Andreas Jaeger <aj@suse.de>
35969 * elf/ldconfig.c (parse_conf): Change string to make clear that
35970 ldconfig only issued a warning if ld.so.conf does not exist.
35972 2012-05-08 David S. Miller <davem@davemloft.net>
35974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35975 movxtod instead of popping the value on the stack.
35977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35979 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35981 * config.h.in: Add HAVE_ARM_PCS_VFP.
35983 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35986 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35987 checking but the checks are disabled for any reason.
35989 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35991 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35992 and ELF64_R_TYPE with ELFW(R_TYPE).
35994 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35996 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35997 (ulimit): Likewise.
35999 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36000 (settimeofday): Likewise.
36002 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36004 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36005 a struct th_u2 inside the union, and move tu_block/tu_code into
36006 a new th_u3 union of tu_block/tu_code inside of that. Move
36007 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36008 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36009 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36010 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36011 (th_stuff): Change to th_u1.tu_stuff.
36013 (th_msg): Change to th_u1.th_u2.tu_data.
36015 2012-05-07 David S. Miller <davem@davemloft.net>
36017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36020 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36021 (SETUP_PIC_REG): Use it.
36022 (SETUP_PIC_REG_LEAF): Use it.
36024 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36028 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36030 (EXPL_FINITE): Likewise.
36031 (FLDLOG): Likewise.
36032 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36033 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36035 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36037 (EXPL_FINITE): Likewise.
36038 (FLDLOG): Likewise.
36039 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36040 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36042 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36043 test of -max_value argument for long double.
36044 * sysdeps/i386/fpu/libm-test-ulps: Update.
36045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36047 2012-05-06 David S. Miller <davem@davemloft.net>
36049 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36050 quad soft-float symbols whose references which are compiler
36052 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36054 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36058 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36060 (EXPL_FINITE): Likewise.
36061 (FLDLOG): Likewise.
36064 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36065 Adjust comments for base varying.
36066 (__expl_finite): Change alias to EXPL_FINITE.
36067 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36069 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36070 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36071 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36072 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36073 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36075 (EXPL_FINITE): Likewise.
36076 (FLDLOG): Likewise.
36079 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36080 Adjust comments for base varying.
36081 (__expl_finite): Change alias to EXPL_FINITE.
36082 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36087 * math/libm-test.inc (check_float_internal): Correct ulp
36088 calculation for subnormal expected results.
36090 2012-05-06 Andreas Jaeger <aj@suse.de>
36092 * Makeconfig (+math-flags): New, set to -frounding-math.
36093 (+cflags): Add +math-flags so that all of glibc gets compiled with
36096 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36098 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36100 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36106 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36107 (__ieee754_expl): Allow for and saturate large arguments.
36108 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36109 (u_threshold): Likewise.
36110 (__exp): Call __ieee754_exp before checking for overflow and
36112 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36113 (u_threshold): Likewise.
36114 (__expf): Call __ieee754_expf before checking for overflow and
36116 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36117 (u_threshold): Likewise.
36118 (__expl): Call __ieee754_expl before checking for overflow and
36120 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36121 (__ieee754_expl): Allow for and saturate large arguments.
36122 * math/libm-test.inc (exp_test): Add another test. Do not allow
36123 missing overflow exception on overflow.
36124 (expm1_test): Do not allow missing overflow exception on overflow.
36126 * sysdeps/i386/fpu/e_expl.c: Move to ...
36127 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36128 rather than using inline asm.
36129 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36130 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36131 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36133 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36136 (signal): Likewise.
36140 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36142 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36143 sysdeps/unix/common/syscalls.list.
36144 (fchmod): Likewise.
36145 (fchown): Likewise.
36146 (ftruncate): Likewise.
36147 (getrusage): Likewise.
36148 (gettimeofday): Likewise.
36149 (setpgid): Likewise.
36150 (setregid): Likewise.
36151 (setreuid): Likewise.
36152 (sigaction): Likewise.
36153 (truncate): Likewise.
36154 (vhangup): Likewise.
36155 * sysdeps/unix/common/syscalls.list: Remove file.
36156 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36157 * sysdeps/unix/sysv/linux/Implies: Likewise.
36159 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36161 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36163 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36167 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36170 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36173 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36176 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36179 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36182 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36185 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36189 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36193 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36196 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36200 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36204 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36206 * sysdeps/unix/common/bits/dirent.h: Remove file.
36207 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36209 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36210 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36211 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36212 * sysdeps/unix/bsd/isatty.c: Likewise.
36213 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36214 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36215 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36217 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36220 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36221 long double comparison inaccuracies.
36222 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36225 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36227 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36228 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36230 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36233 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36234 nonzero digits before rounding a hex value.
36235 * stdlib/tst-strtod.c (tests): Add another test.
36237 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36239 * sysdeps/s390/fpu/libm-test-ulps: Update.
36241 2012-05-03 Andreas Jaeger <aj@suse.de>
36243 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36244 does not get optimized out.
36245 (malloc_opt_barrier): New.
36247 2012-05-03 Andreas Jaeger <aj@suse.de>
36248 Roland McGrath <roland@hack.frob.com>
36250 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36251 intermediate file deletion.
36252 (generated): Add .symlist files.
36254 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36257 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36258 Redirect under this condition.
36259 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36260 [__USE_GNU] (__dprintf_chk): Not under this condition.
36261 [__USE_GNU] (__vdprintf_chk): Likewise.
36262 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36263 under this condition.
36264 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36265 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36266 [__USE_XOPEN2K8] (vdprintf): Likewise.
36267 [__USE_GNU] (__dprintf_chk): Not under this condition.
36268 [__USE_GNU] (__vdprintf_chk): Likewise.
36269 [__USE_GNU] (dprintf): Likewise.
36270 [__USE_GNU] (vdprintf): Likewise.
36272 2012-05-03 Roland McGrath <roland@hack.frob.com>
36274 * elf/Makefile (common-generated): Set this instead of generated for
36275 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36276 $(all-built-dso)-derived lists.
36278 2012-05-03 Andreas Jaeger <aj@suse.de>
36280 * sysdeps/i386/fpu/libm-test-ulps: Update.
36283 * FAQ.in: Likewise.
36284 * scripts/gen-FAQ.pl: Likewise.
36285 * manual/install.texi (Installation): Point to online location of
36287 * Makefile (files-for-dist): Remove FAQ.
36290 2012-05-02 Allan McRae <allan@archlinux.org>
36292 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36293 (LDFLAGS-reldepmod5.so): Likewise.
36294 (LDFLAGS-reldep6mod1.so): Likewise.
36295 (LDFLAGS-reldep6mod4.so): Likewise.
36296 (LDFLAGS-reldep8mod3.so): Likewise.
36297 (LDFLAGS-unload4mod1.so): Likewise.
36298 (LDFLAGS-unload4mod2.so): Likewise.
36299 (LDFLAGS-tst-initorder): Likewise.
36300 (LDFLAGS-tst-initordera2.so): Likewise.
36301 (LDFLAGS-tst-initordera3.so): Likewise.
36302 (LDFLAGS-tst-initordera4.so): Likewise.
36303 (LDFLAGS-tst-initorderb2.so): Likewise.
36304 (LDFLAGS-noload): Likewise.
36305 (LDFLAGS-next): Likewise.
36306 (LDFLAGS-order2mod1.so): Likewise.
36307 (LDFLAGS-order2mod2.so): Likewise.
36308 (LDFLAGS-tst-initorder2): Likewise.
36309 (LDFLAGS-tst-initorder2a.so): Likewise.
36310 (LDFLAGS-tst-initorder2b.so): Likewise.
36311 (LDFLAGS-tst-initorder2c.so): Likewise.
36312 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36314 2012-05-02 David S. Miller <davem@davemloft.net>
36316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36318 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36321 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36323 2012-05-02 Andreas Jaeger <aj@suse.de>
36325 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36326 since we manipulate rounding mode.
36327 (CPPFLAGS-test-idouble.c): Likewise.
36328 (CPPFLAGS-test-ifloat.c): Likewise.
36329 (CFLAGS-test-ldouble.c): Likewise.
36330 (CFLAGS-test-double.c): Likewise.
36331 (CFLAGS-test-float.c): Likewise.
36332 (CFLAGS-test-misc.c): Likewise.
36333 (CFLAGS-test-test-fenv.c): Likewise.
36335 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36339 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36340 comparisons to determine direction to adjust input.
36342 2012-05-01 Roland McGrath <roland@hack.frob.com>
36344 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36345 output to the target.
36347 * scripts/localplt.awk: New file.
36348 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36349 (check-localplt-CFLAGS): Variable removed.
36350 ($(all-built-dso:=.jmprel)): New static pattern rule.
36351 (generated): Add those targets.
36352 (localplt-built-dso): New variable.
36353 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36355 * elf/check-localplt.c: File removed.
36357 * scripts/check-execstack.awk: New file.
36358 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36359 (check-execstack-CFLAGS): Variable removed.
36360 ($(objpfx)check-execstack.h): Target removed.
36361 ($(objpfx)execstack-default): New target.
36362 (generated): Add that instead of check-execstack.h.
36363 ($(all-built-dso:=.phdr)): New static pattern rule.
36364 (generated): Add those targets.
36365 * elf/check-execstack.c: File removed.
36367 * scripts/check-textrel.awk: New file.
36368 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36369 (check-textrel-CFLAGS): Variable removed.
36370 (all-built-dso): Use := to define.o
36371 ($(all-built-dso:=.dyn)): New static pattern rule.
36372 (generated): Add those targets.
36373 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36374 * config.make.in (READELF): New substituted variable.
36375 * elf/check-textrel.c: File removed.
36377 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36379 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36381 * conform/data/ctype.h-data [C99-based standards] (isblank):
36383 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36384 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36385 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36386 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36387 Specify type. Require positive value.
36388 (EILSEQ): Likewise.
36389 (ERANGE): Likewise.
36390 [ISO || POSIX] (EILSEQ): Do not expect.
36391 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36392 Specify type. Require positive value.
36393 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36394 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36395 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36396 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36397 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36398 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36399 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36400 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36401 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36402 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36403 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36404 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36405 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36406 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36407 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36408 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36409 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36410 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36411 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36412 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36413 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36414 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36415 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36416 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36417 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36418 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36419 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36420 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36421 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36422 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36423 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36424 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36425 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36426 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36427 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36428 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36429 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36430 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36431 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36432 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36433 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36434 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36435 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36436 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36437 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36438 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36439 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36440 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36441 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36442 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36443 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36444 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36445 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36446 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36447 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36448 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36449 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36450 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36451 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36452 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36453 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36454 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36455 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36456 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36457 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36458 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36459 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36460 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36461 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36462 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36463 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36464 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36465 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36466 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36467 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36468 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36469 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36471 (FLT_ROUNDS): Expect as macro, not constant.
36472 (FLT_MANT_DIG): Use macro-int-constant.
36473 (DBL_MANT_DIG): Likewise.
36474 (LDBL_MANT_DIG): Likewise.
36475 (FLT_DIG): Likewise.
36476 (DBL_DIG): Likewise.
36477 (LDBL_DIG): Likewise.
36478 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36479 (DBL_MIN_EXP): Likewise.
36480 (LDBL_MIN_EXP): Likewise.
36481 (FLT_MAX_EXP): Use macro-int-constant.
36482 (DBL_MAX_EXP): Likewise.
36483 (LDBL_MAX_EXP): Likewise.
36484 (FLT_MAX_10_EXP): Likewise.
36485 (DBL_MAX_10_EXP): Likewise.
36486 (LDBL_MAX_10_EXP): Likewise.
36487 (FLT_MAX): Use macro-constant.
36488 (DBL_MAX): Likewise.
36489 (LDBL_MAX): Likewise.
36490 (FLT_EPSILON): Use macro-constant. Give upper bound.
36491 (DBL_EPSILON): Likewise.
36492 (LDBL_EPSILON): Likewise.
36493 (FLT_MIN): Likewise.
36494 (DBL_MIN): Likewise.
36495 (LDBL_MIN): Likewise.
36496 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36497 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36498 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36499 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36500 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36501 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36502 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36503 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36504 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36505 [ISO11] (FLT_TRUE_MIN): Likewise.
36506 [ISO11] (LDBL_TRUE_MIN): Likewise.
36507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36508 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36509 (SCHAR_MIN): Use macro-int-constant. Specify type.
36510 (SCHAR_MAX): Likewise.
36511 (UCHAR_MAX): Likewise.
36512 (CHAR_MIN): Likewise.
36513 (CHAR_MAX): Likewise.
36514 (MB_LEN_MAX): Use macro-int-constant.
36515 (SHRT_MIN): Use macro-int-constant. Specify type.
36516 (SHRT_MAX): Likewise.
36517 (USHRT_MAX): Likewise.
36518 (INT_MAX): Likewise.
36519 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36521 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36523 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36525 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36526 bound negative. Suffix upper bound with "L".
36527 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36529 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36531 [C99-based standards] (LLONG_MAX): Likewise.
36532 [C99-based standards] (ULLONG_MAX): Likewise.
36533 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36535 [ISO11] (max_align_t): Require type.
36536 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36538 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36539 from $CFLAGS, without defining away __attribute__ calls.
36540 (checknamespace): Use $CFLAGS_namespace.
36542 * conform/conformtest.pl (@keywords): Only include C99 keywords
36543 for standards based on C99 or C11.
36545 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36547 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36550 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36551 usability of symbols in #if.
36553 * conform/conformtest.pl: If macro or constant types start
36554 "promoted:", expect the symbol to be of the following type
36555 promoted by the integer promotions.
36557 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36558 in one place. Also handle "macro-constant".
36560 * conform/conformtest.pl: Only accept expected macro values with
36561 "==". Parse all "macro" lines in one place.
36562 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36564 * conform/conformtest.pl: Handle braced types on "constant" lines
36565 instead of handling "typed-constant".
36566 * conform/data/signal.h-data: Use "constant" instead of
36569 * conform/conformtest.pl: Handle "optional-" at start of lines in
36570 one place rather than duplicating several cases. Handle each
36571 format of "macro" line with initial "optional-".
36573 * conform/conformtest.pl: Only accept expected constant or
36574 optional-constant values with "==". Parse all "constant" lines in
36575 one place. Parse all "optional-constant" lines in one place.
36576 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36577 * conform/data/fmtmsg.h-data: Likewise.
36578 * conform/data/netinet/in.h-data: Likewise.
36579 * conform/data/tar.h-data: Likewise.
36580 * conform/data/limits.h-data: Use "==" form on "constant" and
36581 "optional-constant" lines.
36583 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36584 Use -std=c99 for XOPEN2K.
36585 (@knownproblems): Remove.
36586 (newtoken): Don't check %isknown.
36588 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36589 Do not expect macro.
36590 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36591 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36592 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36593 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36594 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36595 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36596 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36597 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36598 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36599 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36600 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36601 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36602 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36603 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36604 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36605 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36606 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36607 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36608 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36609 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36610 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36611 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36612 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36614 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36615 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36616 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36617 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36618 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36619 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36620 [XPG3] (acosh): Likewise.
36621 [XPG3] (asinh): Likewise.
36622 [XPG3] (atanh): Likewise.
36623 [XPG3] (cbrt): Likewise.
36624 [XPG3] (expm1): Likewise.
36625 [XPG3] (ilogb): Likewise.
36626 [XPG3] (log1p): Likewise.
36627 [XPG3] (logb): Likewise.
36628 [XPG3] (nextafter): Likewise.
36629 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36630 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36631 [XPG3] (remainder): Likewise.
36632 [XPG3] (rint): Likewise.
36633 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36634 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36635 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36636 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36637 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36638 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36639 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36640 [UNIX98 || XOPEN2K] (scalb): Expect.
36641 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36642 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36643 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36644 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36645 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36646 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36647 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36648 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36649 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36650 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36651 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36652 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36653 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36654 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36655 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36656 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36657 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36658 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36659 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36660 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36661 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36662 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36663 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36664 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36665 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36666 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36667 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36668 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36669 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36670 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36671 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36672 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36673 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36674 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36675 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36676 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36677 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36678 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36679 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36680 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36681 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36682 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36683 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36684 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36685 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36686 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36687 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36688 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36689 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36690 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36691 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36692 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36693 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36694 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36695 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36696 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36697 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36698 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36699 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36700 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36701 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36702 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36703 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36704 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36705 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36706 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36707 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36708 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36709 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36710 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36711 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36712 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36713 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36714 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36715 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36716 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36717 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36718 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36719 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36720 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36721 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36722 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36723 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36724 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36725 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36726 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36727 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36728 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36729 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36730 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36731 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36732 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36733 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36734 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36735 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36736 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36737 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36738 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36739 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36740 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36741 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36742 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36743 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36744 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36745 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36746 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36747 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36748 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36749 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36750 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36751 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36752 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36753 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36754 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36755 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36756 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36757 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36758 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36759 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36760 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36761 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36762 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36763 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36764 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36765 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36766 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36767 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36768 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36769 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36770 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36771 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36772 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36773 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36774 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36775 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36776 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36777 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36779 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36780 _XOPEN_SOURCE_EXTENDED for XPG4.
36782 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36784 * Makeconfig (localtime): Remove variable.
36785 (inst_localtime-file): Likewise.
36787 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36808 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36812 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36813 comparisons to determine direction to adjust input.
36814 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36815 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36818 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36822 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36823 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36825 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36827 * math/libm-test.inc (nexttoward_test): Add more tests.
36829 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36832 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36833 in version GLIBC_2.1, not GLIBC_2.0.
36834 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36837 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36840 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36842 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36843 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36844 * math/libm-test.inc (acos_test): Add more tests.
36845 (asin_test): Likewise.
36846 * sysdeps/i386/fpu/libm-test-ulps: Update.
36847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36850 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36852 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36853 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36854 * math/libm-test.inc (acos_test_tonearest): New function.
36855 (acos_test_towardzero): Likewise.
36856 (acos_test_downward): Likewise.
36857 (acos_test_upward): Likewise.
36858 (asin_test_tonearest): Likewise.
36859 (asin_test_towardzero): Likewise.
36860 (asin_test_downward): Likewise.
36861 (asin_test_upward): Likewise.
36862 (main): Call the new functions.
36863 * sysdeps/i386/fpu/libm-test-ulps: Update.
36864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36868 * math/e_exp10.c: Include <float.h>.
36869 (__ieee754_exp10): Handle underflow here rather than multiplying
36870 large negative argument by M_LN10.
36871 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36873 * math/e_exp10l.c: Include <float.h>.
36874 (__ieee754_exp10l): Handle underflow here rather than multiplying
36875 large negative argument by M_LN10l.
36876 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36877 spurious overflow exception on underflow.
36879 2012-04-29 Marek Polacek <polacek@redhat.com>
36881 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36882 (__fortify_function): New macro.
36883 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36884 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36885 __extern_always_inline.
36886 * libio/bits/stdio2.h: Likewise.
36887 * libio/bits/stdio.h: Likewise.
36888 * string/string.h: Likewise.
36889 * string/bits/string3.h: Likewise.
36890 * include/stdio.h: Likewise.
36891 * stdlib/bits/stdlib.h: Likewise.
36892 * stdlib/stdlib.h: Likewise.
36893 * rt/bits/mqueue2.h: Likewise.
36894 * rt/mqueue.h: Likewise.
36895 * posix/bits/unistd.h: Likewise.
36896 * posix/unistd.h: Likewise.
36897 * io/bits/poll2.h: Likewise.
36898 * io/bits/fcntl2.h: Likewise.
36899 * io/fcntl.h: Likewise.
36900 * io/sys/poll.h: Likewise.
36901 * misc/bits/syslog.h: Likewise.
36902 * misc/bits/syslog-ldbl.h: Likewise.
36903 * misc/sys/syslog.h: Likewise.
36904 * socket/bits/socket2.h: Likewise.
36905 * socket/sys/socket.h: Likewise.
36906 * debug/tst-chk1.c: Likewise.
36907 * wcsmbs/bits/wchar2.h: Likewise.
36908 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36909 * wcsmbs/wchar.h: Likewise.
36911 2012-04-29 Andreas Jaeger <aj@suse.de>
36913 * Makerules (tests): Remove enable-check-abi protection.
36914 (check-abi-warn): Remove.
36915 (check-abi-%): Remove check-abi-warn usage.
36917 * configure.in: Remove check-abi configure option.
36918 * configure: Regenerated.
36919 * config.make.in (enable-check-abi): Remove.
36921 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36924 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36925 double functions to double *_finite functions.
36928 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36929 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36931 * stdio-common/Makefile (tests): Add tst-sprintf3.
36932 * stdio-common/tst-sprintf3.c: New file.
36934 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36935 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36937 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36939 * conform/conformtest.pl: Remove duplicate typed-constant
36942 2012-04-28 David S. Miller <davem@davemloft.net>
36944 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36945 (check-abi-%): Remove AWK script prerequisite and explicit
36947 (check-abi): Rewrite to just diff the symlist with the abilist.
36948 (config-tls, config-abi-config): Delete, no longer used.
36949 (update-abi-%): Remove AWK script and explicit abilist directory.
36950 (update-abi): Rewrite to simply compare and conditionally copy the
36951 symlist and the sysdep abilist file. Remove update-abi-config
36953 * abilist/ld.abilist: Remove.
36954 * abilist/libBrokenLocale.abilist: Remove.
36955 * abilist/libanl.abilist: Remove.
36956 * abilist/libcrypt.abilist: Remove.
36957 * abilist/libdl.abilist: Remove.
36958 * abilist/librt.abilist: Remove.
36959 * abilist/libthread_db.abilist: Remove.
36960 * abilist/libutil.abilist: Remove.
36961 * scripts/extract-abilist.awk: Remove.
36962 * scripts/merge-abilist.awk: Remove.
36963 * sysdeps/generic/libcidn.abilist: New file.
36964 * sysdeps/generic/libnss_compat.abilist: New file.
36965 * sysdeps/generic/libnss_db.abilist: New file.
36966 * sysdeps/generic/libnss_dns.abilist: New file.
36967 * sysdeps/generic/libnss_files.abilist: New file.
36968 * sysdeps/generic/libnss_hesiod.abilist: New file.
36969 * sysdeps/generic/libnss_nis.abilist: New file.
36970 * sysdeps/generic/libnss_nisplus.abilist: New file.
36971 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36972 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36973 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36975 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36976 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36977 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36978 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36979 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36980 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36981 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36982 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36983 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36985 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36986 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36987 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36988 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36990 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36991 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36992 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36993 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36994 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36995 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36997 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36998 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36999 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37001 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37104 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37105 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37106 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37108 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37109 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37110 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37111 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37112 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37113 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37114 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37115 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37116 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37117 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37169 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37171 * conform/conformtest.pl: Fix typo in handling typed-constant from
37174 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37176 * README: Cut down references to pre-2.6 Linux kernels and
37177 Linuxthreads. Update lists of configurations in libc and ports
37178 and sort alphabetically. Say "or newer" with Linux kernel version
37181 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37183 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37186 * math/libm-test.inc (logb_test_downward): New test to expose
37187 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37190 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37193 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37195 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37196 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37198 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37200 * sysdeps/unix/i386/brk.S: Remove file.
37201 * sysdeps/unix/i386/dl-brk.S: Likewise.
37202 * sysdeps/unix/i386/pipe.S: Likewise.
37203 * sysdeps/unix/i386/sigreturn.S: Likewise.
37204 * sysdeps/unix/i386/syscall.S: Likewise.
37205 * sysdeps/unix/i386/vfork.S: Likewise.
37206 * sysdeps/unix/i386/wait.S: Likewise.
37208 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37209 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37211 * configure.in (arm*-none*): Do not allow without
37212 --enable-hacker-mode.
37213 (netbsd*): Remove case setting base_os.
37214 (386bsd*): Likewise.
37215 (freebsd*): Likewise.
37218 (sunos*): Likewise.
37219 (ultrix*): Likewise.
37220 (newsos*): Likewise.
37221 (dynix*): Likewise.
37227 (minix*): Likewise.
37228 (irix4*): Likewise.
37229 (irix6*): Likewise.
37230 (solaris[2-9]*): Likewise.
37232 * configure: Regenerated.
37234 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37237 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37238 overflow or cancellation in calculating denominator.
37239 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37241 down expression to avoid unexpected rounding in newer GCCs.
37242 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37244 2012-04-26 David S. Miller <davem@davemloft.net>
37246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37247 long-double compat symbols.
37248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37262 2012-04-25 David S. Miller <davem@davemloft.net>
37264 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37265 HWCAP_* values only after the memory barriers have been defined.
37266 (atomic_full_barrier): Define.
37267 (atomic_read_barrier): Define.
37268 (atomic_write_barrier): Define.
37270 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37272 * shlib-versions: Add libgcc_s version information.
37273 * sysdeps/generic/libgcc_s.h: Remove.
37274 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37276 * sysdeps/gnu/unwind-resume.c: Likewise.
37277 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37279 2012-04-25 David S. Miller <davem@davemloft.net>
37281 * sysdeps/unix/sparc/brk.S: Delete.
37282 * sysdeps/unix/sparc/dl-brk.S: Delete.
37283 * sysdeps/unix/sparc/pipe.S: Delete.
37284 * sysdeps/unix/sparc/sysdep.S: Delete.
37285 * sysdeps/unix/sparc/sysdep.h: Delete.
37286 * sysdeps/unix/sparc/vfork.S: Delete.
37287 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37288 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37289 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37290 (ret_ERRVAL, r0, r1, MOVE): Define.
37291 (JUMPTARGET): Remove.
37292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37293 sysdeps/unix/sparc/sysdep.h
37294 (ENTRY, END): Remove.
37295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37297 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37299 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37300 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37303 * timezone/README: Update upstream location and email address for
37305 * timezone/zdump.c: Update from tzcode 2012b.
37306 * timezone/zic.c: Likewise.
37308 * configure.in (libc_cv_as_needed): Remove test.
37309 * configure: Regenerated.
37310 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37311 conditional definition.
37312 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37313 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37314 * config.make.in (have-as-needed): Remove variable.
37316 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37317 Paul Pluzhnikov <ppluzhnikov@google.com>
37319 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37322 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37324 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37325 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37326 * sysdeps/sh/strlen.S: Likewise.
37328 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37330 * sysdeps/unix/fork.S: Remove file.
37331 * sysdeps/unix/i386/fork.S: Likewise.
37332 * sysdeps/unix/sparc/fork.S: Likewise.
37334 * sysdeps/unix/system.c: Remove file.
37335 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37337 * sysdeps/unix/getegid.S: Remove file.
37338 * sysdeps/unix/geteuid.S: Likewise.
37340 2012-04-24 Roland McGrath <roland@hack.frob.com>
37342 * scripts/check-localplt.awk: New file.
37343 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37345 * scripts/data/localplt-generic.data: Add a comment.
37347 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37348 NODE when __dir_mkfile failed.
37349 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37350 Reported by Ludovic Courtès <ludo@gnu.org>.
37352 2012-04-24 Andreas Jaeger <aj@suse.de>
37354 * Makerules (common-clean): Also remove gen-as-const-headers
37357 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37359 * Makerules (native-compile): Do not change working directory for
37360 build. Use $(OUTPUT_OPTION) in command.
37361 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37363 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37366 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37367 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37368 * math/libm-test.inc (floor_test): Add more tests.
37369 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37371 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37373 * sysdeps/unix/getdents.c: Remove file.
37374 * sysdeps/unix/sysv/getdents.c: Likewise.
37375 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37377 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37378 sysdeps/unix/mman/syscalls.list.
37380 (mprotect): Likewise.
37382 (munmap): Likewise.
37383 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37384 * sysdeps/unix/mman/syscalls.list: Remove.
37385 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37387 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37388 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37389 * configure: Regenerated.
37390 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37391 $(libgcc_s_suffix).
37392 * config.make.in (libgcc_s_suffix): Remove variable.
37394 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37396 * sysdeps/unix/sysv/gethostname.c: Move to ...
37397 * sysdeps/posix/gethostname.c: ... here.
37399 * sysdeps/unix/execve.S: Remove file.
37401 * sysdeps/unix/_exit.S: Remove file.
37403 2012-04-23 Andreas Jaeger <aj@suse.de>
37406 * manual/Makefile: Remove make dist support, there's no
37407 need for a stand-alone documentation tar ball.
37408 (TEXI2DVI): Define always, it's not in Makeconfig.
37411 (edition): Removed.
37412 (glibc-doc-$(edition).tar): Removed
37416 (ETAGS): Remove, it's in Makeconfig.
37417 (move-if-change): Remove, it's in Makeconfig.
37419 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37422 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37423 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37424 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37425 (strtod_l, strtof_l, strtold_l): Remove __wur.
37426 It is not necessarily an error to ignore strtol's return value.
37427 One can reliably look at the stored endptr to decide whether
37428 the number had valid syntax.
37430 2012-04-21 Andreas Jaeger <aj@suse.de>
37433 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37435 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37437 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37438 * sysdeps/unix/sysv/Versions: Remove file.
37440 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37445 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37448 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37449 version from __vm86.
37451 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37453 * sysdeps/unix/common/lxstat.c: Remove file.
37454 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37456 * sysdeps/unix/sysv/Makefile: Remove file.
37458 * sysdeps/unix/sysv/direct.h: Remove file.
37460 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37461 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37462 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37463 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37464 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37465 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37466 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37468 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37470 * sysdeps/unix/xmknod.c: Remove file.
37471 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37473 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37475 * sysdeps/unix/sysv/i386/time.S: Remove file.
37477 * sysdeps/unix/fxstat.c: Remove file.
37478 * sysdeps/unix/xstat.c: Likewise.
37479 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37481 * sysdeps/unix/sysv/sigaction.c: Remove file.
37483 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37484 (sysdep_headers): Remove variable.
37485 [termio.h not in sysdep_headers] (generated): Likewise.
37486 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37487 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37488 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37489 * sysdeps/unix/sysv/tcflow.c: Likewise.
37490 * sysdeps/unix/sysv/tcflush.c: Likewise.
37491 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37492 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37493 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37494 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37495 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37497 * sysdeps/unix/siglist.c: Remove file.
37499 * sysdeps/unix/getppid.S: Remove file.
37501 * sysdeps/unix/mkdir.c: Remove file.
37502 * sysdeps/unix/rmdir.c: Likewise.
37504 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37506 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37508 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37509 errlist-compat value.
37511 2012-04-18 David S. Miller <davem@davemloft.net>
37513 * sysdeps/generic/memcopy.h (reg_char): Delete.
37514 * debug/strcat_chk.c: Use char, not reg_char.
37515 * debug/strcpy_chk.c: Likewise.
37516 * debug/strncat_chk.c: Likewise.
37517 * debug/strncpy_chk.c: Likewise.
37518 * string/memchr.c: Likewise.
37519 * string/memrchr.c: Likewise.
37520 * string/rawmemchr.c: Likewise.
37521 * string/strcat.c: Likewise.
37522 * string/strchr.c: Likewise.
37523 * string/strchrnul.c: Likewise.
37524 * string/strcmp.c: Likewise.
37525 * string/strcpy.c: Likewise.
37526 * string/strncat.c: Likewise.
37527 * string/strncmp.c: Likewise.
37528 * string/strncpy.c: Likewise.
37530 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37532 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37533 __builtin_memcopy is called when src and dest ranges are known to not
37536 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37538 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37539 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37540 fwd_align_merge macro call.
37541 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37542 bwd_align_merge macro call.
37543 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37545 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37547 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37548 bwd_align_merge macros.
37549 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37550 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37551 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37553 2012-04-18 David S. Miller <davem@davemloft.net>
37555 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37557 2012-04-18 Andreas Jaeger <aj@suse.de>
37560 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37561 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37562 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37564 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37565 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37566 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37568 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37569 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37570 Adjust for changed ldbl-128 files.
37572 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37573 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37574 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37576 2012-04-17 David S. Miller <davem@davemloft.net>
37578 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37580 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37582 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37583 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37584 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37585 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37586 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37587 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37589 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37592 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37593 * math/libm-test.inc: Add ilogb errno and exception tests.
37594 * math/w_ilogb.c: New file: ilogb wrapper.
37595 * math/w_ilogbf.c: New file: ilogbf wrapper.
37596 * math/w_ilogbl.c: New file: ilogbl wrapper.
37597 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37598 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37599 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37600 exception being thrown with 0.0 as argument.
37601 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37602 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37603 exception being thrown with 0.0 as argument.
37604 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37605 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37606 exception being thrown with 0.0 as argument.
37607 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37608 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37609 exception being thrown with 0.0 as argument.
37610 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37611 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37612 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37613 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37614 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37615 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37616 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37617 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37618 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37620 2012-04-17 Petr Baudis <pasky@ucw.cz>
37622 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37625 2012-04-16 Marek Polacek <polacek@redhat.com>
37627 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37629 2012-04-16 Marek Polacek <polacek@redhat.com>
37631 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37632 operands of fdivp instruction.
37634 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37636 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37637 * elf/tst-auditmod3b.c: Likewise.
37638 * elf/tst-auditmod4b.c: Likewise.
37639 * elf/tst-auditmod5b.c: Likewise.
37640 * elf/tst-auditmod6b.c: Likewise.
37641 * elf/tst-auditmod6c.c: Likewise.
37642 * elf/tst-auditmod7b.c: Likewise.
37643 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37644 * sysdeps/x86_64/preconfigure.in: Likewise.
37645 * sysdeps/x86_64/preconfigure: Regenerated.
37647 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37649 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37652 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37655 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37657 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37660 * locale/iso-639.def: Fix gl language name. Spotted by
37663 2012-04-12 Roland McGrath <roland@hack.frob.com>
37666 * libio/libio.h (__io_write_fn): Update comment.
37668 2012-04-12 Petr Baudis <pasky@ucw.cz>
37671 * stdio.texi (Hook Functions): The user provided writer function
37672 is not allowed to return -1.
37674 2012-04-11 David S. Miller <davem@davemloft.net>
37676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37678 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37680 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37681 Add a leading slash to rtkaio.
37683 2012-04-11 Jim Meyering <meyering@redhat.com>
37686 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37687 It is not necessarily an error to ignore fwrite's return
37688 value. One can reliably use ferror to test for errors after
37691 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37693 * bits/types.h (__snseconds_t): New type.
37694 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37696 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37697 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37698 (__SNSECONDS_T_TYPE): Likewise.
37699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37700 (__SNSECONDS_T_TYPE): Likewise.
37701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37702 (__SNSECONDS_T_TYPE): Likewise.
37704 2012-04-10 Andreas Jaeger <aj@suse.de>
37707 * manual/time.texi (Processor Time): Return type of times is
37708 elapsed real time since an arbitrary point in the past.
37709 (CPU Time): Move CLK_TCK from here...
37710 (Processor Time): ...to here. Correct description.
37711 * manual/conf.texi (Constants for Sysconf): Correct description of
37714 2012-04-10 David S. Miller <davem@davemloft.net>
37717 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37718 where the is a gap between DT_REL(A) and DT_JMPREL.
37720 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37722 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37723 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37724 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37726 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37728 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37729 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37730 (dl_main): Handle --inhibit-cache.
37731 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37733 * elf/dl-load.c (_dl_map_object): Use it.
37734 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37736 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37739 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37740 (__ieee754_powl): Saturate large exponents rather than testing for
37741 overflow of y*log2(x).
37742 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37743 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37747 * math/s_ctan.c: Include <float.h>.
37748 (__ctan): Avoid internal overflow or cancellation in calculating
37750 * math/s_ctanf.c: Likewise.
37751 * math/s_ctanl.c: Likewise.
37752 * math/s_ctanh.c: Likewise.
37753 * math/s_ctanhf.c: Likewise.
37754 * math/s_ctanhl.c: Likewise.
37755 * math/libm-test.inc (ctan_test): Add more tests.
37756 (ctanh_test): Likewise.
37757 * sysdeps/i386/fpu/libm-test-ulps: Update.
37758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37760 2012-04-09 Andreas Jaeger <aj@suse.de>
37763 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37764 is an optional BSD extension.
37767 * manual/stdio.texi (Opening Streams): Document additional fopen
37770 2012-04-09 Roland McGrath <roland@hack.frob.com>
37772 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37773 %eax without telling the compiler.
37775 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37778 * manual/install.texi: Use sourceware.org.
37780 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37783 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37784 (__ieee754_pow): Generate overflow and underflow using huge*huge
37785 and tiny*tiny rather than just returning constant infinity or zero
37786 for large exponents.
37787 * math/libm-test.inc (pow_test): Require overflow exceptions for
37788 applicable cases of large exponents.
37791 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37792 (__ieee754_pow): Use iterative multiplication algorithm only for
37793 integer exponents with absolute value below 1024. Check for odd
37794 integer exponents when using algorithm for real exponents.
37795 * math/libm-test.inc (pow_test): Add more tests.
37796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37798 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37801 * math/libm-test.inc (exp_test): Do not allow overflow exception
37804 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37807 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37808 instead of __kernel_standard_f.
37810 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37812 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37813 * sysdeps/x86_64/memset_chk.S: Likewise.
37815 2012-04-08 Andreas Jaeger <aj@suse.de>
37818 * manual/startup.texi (Environment Access): Describe return value
37819 for putenv and setenv.
37822 * manual/filesys.texi (Directory Entries): Add description for
37826 * manual/filesys.texi (Directory Entries): Clarify that it's file
37827 system not operating system in the description of DT_UNKNOWN.
37830 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37832 2012-04-08 Stephen Compall <s11@member.fsf.org>
37835 * manual/llio.texi (Opening and Closing Files): Add cross
37836 reference to explain mode argument.
37838 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37840 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37841 * sysdeps/x86_64/memset_chk.S: Likewise.
37843 2012-04-07 David S. Miller <davem@davemloft.net>
37845 * elf/elf.h (R_SPARC_WDISP10): Define.
37846 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37848 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37849 R_SPARC_SIZE64 and R_SPARC_H34.
37851 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37853 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37854 conditions and remove no longer applicable assertion.
37856 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37858 * bits/byteswap.h: Include <features.h>.
37859 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37860 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37862 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37864 * bits/byteswap.h (__bswap_16): Removed.
37865 Include <bits/byteswap-16.h> to get __bswap_16.
37866 * sysdeps/i386/bits/byteswap.h: Likewise.
37867 * sysdeps/s390/bits/byteswap.h: Likewise.
37868 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37869 * bits/byteswap-16.h: New file.
37870 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37871 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37872 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37873 * string/Makefile (headers): Add bits/byteswap-16.h.
37875 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37878 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37880 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37881 * nss/tst-nss-static.c: New.
37883 2012-04-06 Robert Millan <rmh@gnu.org>
37886 * manual/llio.texi (File Position Primitive): lseek
37887 refers to WHENCE when it really means OFFSET.
37889 2012-04-06 Andreas Jaeger <aj@suse.de>
37891 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37892 strncmp declarations.
37894 * abilist/libc.abilist: Add __poll and __ppoll.
37896 2012-04-05 David S. Miller <davem@davemloft.net>
37898 * scripts/check-local-headers.sh: Accept a host triplet in the
37899 path matched by the exclude regexp.
37901 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37903 * sysdeps/powerpc/powerpc32/dl-machine.h
37904 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37905 * sysdeps/s390/s390-32/dl-machine.h
37906 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37907 * sysdeps/sparc/sparc32/dl-machine.h
37908 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37909 * sysdeps/sparc/sparc64/dl-machine.h
37910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37912 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37914 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37915 undefined symbol errors.
37917 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37920 2012-04-05 Michael Matz <matz@suse.de>
37923 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37925 2012-04-05 Andreas Jaeger <aj@suse.de>
37928 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37931 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37933 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37934 which ROUND is no valid rounding mode.
37936 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37938 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37940 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37942 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37944 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37945 an exception using FPU order intentionally.
37947 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37949 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37950 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37951 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37952 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37954 2012-04-05 Simon Josefsson <simon@josefsson.org>
37957 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37958 EINVAL when BUFLEN is too smal.
37960 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37963 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37964 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37966 2012-04-03 Andreas Jaeger <aj@suse.de>
37969 * manual/setjmp.texi (System V contexts): Fix sentence.
37972 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37973 New macro for this case.
37974 [!__GNUC__] (__bswap_64): New inline function for this case.
37975 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37976 * bits/byteswap.h: Likewise.
37977 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37978 ull, guard with __GLIBC_HAVE_LONG_LONG.
37980 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37981 __GLIBC_HAVE_LONG_LONG.
37983 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37984 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37986 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37989 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37990 inptr and inend, rather than using last_ch.
37992 2012-04-02 David S. Miller <davem@davemloft.net>
37994 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37995 * stdio-common/printf-parse.h (read_int): Change return type to
37996 'int', return -1 on INT_MAX overflow.
37997 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37998 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37999 overflows INT_MAX. Check for overflow of in-format-string precision
38000 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38001 SIZE_MAX not INT_MAX for integer overflow test.
38002 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38003 skip the construct in the format string but do not record anything.
38004 * stdio-common/bug22.c: Adjust to test both width/prevision
38005 INT_MAX overflow as well as total length INT_MAX overflow. Check
38006 explicitly for proper errno values.
38008 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38010 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38012 * string/test-strcmp.c [! WIDE]: Likewise.
38013 * time/tst-mktime2.c: Likewise for INT_MAX.
38014 * string/test-string.h: #include <sys/param.h> for MIN.
38016 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38017 * sysdeps/i386/init-first.c (init): Likewise.
38018 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38019 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38020 * sysdeps/sh/init-first.c (init): Likewise.
38022 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38024 * po/ru.po: Update from translation team.
38025 * po/vi.po: Likewise.
38027 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38029 * resolv/nss_dns/dns-host.c: Merge copyright years.
38031 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38033 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38034 Optimize memcpy with prefetch if
38035 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38036 src, dst pointers have unequal 16 byte alignments.
38038 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38041 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38042 from a CNAME entry and return the minimum ttl for the query.
38043 (gaih_getanswer_slice): Likewise.
38045 2012-03-30 Jeff Law <law@redhat.com>
38047 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38049 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38050 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38052 * resolv/nss_dns/dns-host.c: Update copyright year.
38054 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38056 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38057 requests to save a system call. Fix check that all bytes are sent.
38059 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38060 comments for sendmmsg.
38062 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38065 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38066 with only 1 character between 0x0041 and 0x01b0.
38067 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38068 * wcsmbs/tst-mbsnrtowcs.c: New file.
38070 2012-03-29 David S. Miller <davem@davemloft.net>
38072 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38073 small copies by hand.
38075 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38078 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38079 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38082 2012-03-28 David S. Miller <davem@davemloft.net>
38084 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38085 that branches into memcpy.
38086 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38087 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38088 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38089 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38092 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38093 implementation too.
38094 * sysdeps/sparc/mempcpy.S: New file.
38096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38097 the IFUNC routine in the libc case.
38098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38100 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38101 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38102 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38103 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38104 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38105 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38106 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38107 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38109 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38110 loop to 256 bytes instead of 64 bytes and fix test signedness.
38112 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38113 * sysdeps/sparc/sparc32/Makefile: rather than here...
38114 * sysdeps/sparc/sparc64/Makefile: and here.
38116 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38118 * malloc/mallocbug.c: Avoid warnings about unused variables.
38120 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38123 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38124 in the right place. Discard and retry query if response is
38125 larger than input buffer size.
38127 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38132 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38133 x for large integer exponent.
38134 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38135 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38136 sign of result as needed afterwards.
38137 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38138 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38139 result for underflowing pow the same as for overflow.
38140 (__kernel_standard_l): Handle powl overflow and underflow here
38141 rather than calling __kernel_standard.
38142 * math/libm-test.inc (pow_test): Add more tests.
38157 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38158 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38159 (__kernel_standard_l): New function.
38160 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38162 * math/w_acosl.c (__acosl): Likewise.
38163 * math/w_asinl.c (__asinl): Likewise.
38164 * math/w_atan2l.c (__atan2l): Likewise.
38165 * math/w_atanhl.c (__atanhl): Likewise.
38166 * math/w_coshl.c (__coshl): Likewise.
38167 * math/w_exp10l.c (__exp10l): Likewise.
38168 * math/w_exp2l.c (__exp2l): Likewise.
38169 * math/w_fmodl.c (__fmodl): Likewise.
38170 * math/w_hypotl.c (__hypotl): Likewise.
38171 * math/w_j0l.c (__j0l, __y0l): Likewise.
38172 * math/w_j1l.c (__j1l, __y1l): Likewise.
38173 * math/w_jnl.c (__jnl, __ynl): Likewise.
38174 * math/w_lgammal.c (__lgammal): Likewise.
38175 * math/w_log10l.c (__log10l): Likewise.
38176 * math/w_log2l.c (__log2l): Likewise.
38177 * math/w_logl.c (__logl): Likewise.
38178 * math/w_powl.c (__powl): Likewise.
38179 * math/w_remainderl.c (__remainderl): Likewise.
38180 * math/w_scalbl.c (sysv_scalbl): Likewise.
38181 * math/w_sinhl.c (__sinhl): Likewise.
38182 * math/w_sqrtl.c (__sqrtl): Likewise.
38183 * math/w_tgammal.c (__tgammal): Likewise.
38184 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38185 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38186 * math/libm-test.inc (acos_test): Add more tests.
38187 (acosh_test): Likewise.
38188 (asin_test): Likewise.
38189 (atanh_test): Likewise.
38190 (exp_test): Likewise.
38191 (exp10_test): Likewise.
38192 (exp2_test): Likewise.
38193 (expm1_test): Likewise.
38194 (lgamma_test): Likewise.
38195 (log_test): Likewise.
38196 (log10_test): Likewise.
38197 (log1p_test): Likewise.
38198 (log2_test): Likewise.
38199 (pow_test): Do not allow some spurious overflow exceptions.
38200 (sqrt_test): Add more tests.
38201 (tgamma_test): Likewise.
38202 (y0_test): Likewise.
38203 (y1_test): Likewise.
38204 (yn_test): Likewise.
38206 2012-03-27 Anton Blanchard <anton@samba.org>
38208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38210 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38211 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38212 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38214 2012-03-27 David S. Miller <davem@davemloft.net>
38216 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38218 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38219 have-as-vis3 check.
38221 2012-03-27 Andreas Jaeger <aj@suse.de>
38223 * sysdeps/x86_64/elf/configure.in: Moved to ...
38224 * sysdeps/x86_64/configure.in: ... here.
38225 * sysdeps/x86_64/elf/start.S: Moved to ...
38226 * sysdeps/x86_64/start.S: ... here.
38227 * sysdeps/x86_64/elf/configure: Delete.
38229 * sysdeps/x86_64/configure.in: Merge contents from
38230 sysdeps/i386/configure.in (without i686 check).
38232 * sysdeps/i386/elf/Versions: Merge into ...
38233 * sysdeps/i386/Versions: ... this.
38234 * sysdeps/i386/elf/Versions: Delete file.
38235 * sysdeps/i386/elf/start.S: Moved to ...
38236 * sysdeps/i386/start.S: ...here.
38237 * sysdeps/i386/elf/configure.in: Merge into...
38238 * sysdeps/i386/configure.in: ...here.
38239 * sysdeps/i386/elf/configure.in: Delete file.
38240 * sysdeps/i386/elf/configure: Delete file.
38242 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38243 * debug/backtracesyms.c: ... here.
38244 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38245 * debug/backtracesymsfd.c: ... here.
38246 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38247 * sysdeps/generic/ifunc-sel.h: ... here.
38249 * sysdeps/unix/i386/start.c: Delete file.
38250 * sysdeps/unix/sparc/start.c: Delete file.
38251 * sysdeps/unix/start.c: Delete file.
38253 * sysdeps/sh/elf/configure.in: Moved to ...
38254 * sysdeps/sh/configure.in: ... here.
38255 * sysdeps/sh/elf/start.S: Moved to ...
38256 * sysdeps/sh/start.S: ... here.
38257 * sysdeps/sh/elf/configure: Delete file.
38259 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38260 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38261 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38262 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38263 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38264 * sysdeps/powerpc/powerpc64/start.S: here.
38265 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38266 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38267 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38268 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38269 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38271 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38272 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38273 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38274 * sysdeps/powerpc/powerpc32/start.S: ... here.
38275 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38276 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38277 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38279 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38280 * sysdeps/powerpc/ifunc-sel.h: ... here.
38281 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38282 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38284 * sysdeps/sparc/elf/configure.in: Moved to ...
38285 * sysdeps/sparc/configure.in: ... here.
38286 * sysdeps/sparc/elf/configure: Delete file.
38287 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38288 * sysdeps/sparc/sparc32/start.S: ... here.
38289 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38290 * sysdeps/sparc/sparc64/start.S: ... here.
38291 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38292 * sysdeps/sparc/sparc32/Makefile: ... this.
38293 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38294 * sysdeps/sparc/sparc64/Makefile: ... this.
38296 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38297 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38298 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38299 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38300 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38301 * sysdeps/s390/s390-32/setjmp.S: ... here.
38302 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38303 * sysdeps/s390/s390-32/configure.in: ... here.
38304 * sysdeps/s390/s390-32/elf/configure: Delete file.
38305 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38306 * sysdeps/s390/s390-32/start.S: ... here.
38308 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38309 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38310 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38311 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38312 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38313 * sysdeps/s390/s390-64/setjmp.S: ... here.
38314 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38315 * sysdeps/s390/s390-64/configure.in: ... here
38316 * sysdeps/s390/s390-64/elf/configure: Delete file.
38317 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38318 * sysdeps/s390/s390-64/start.S: ... here.
38319 * sysdeps/s390/s390-64/elf/configure: Delete.
38321 * configure.in: Remove support for elf directories in sysdeps.
38323 * configure: Regenerated.
38324 * sysdeps/i386/configure: Regenerated.
38325 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38326 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38327 * sysdeps/s390/s390-32/configure: Regenerated.
38328 * sysdeps/s390/s390-64/configure: Regenerated.
38329 * sysdeps/sh/configure: Regenerated.
38330 * sysdeps/sparc/configure: Regenerated.
38331 * sysdeps/x86_64/configure: Regenerated.
38333 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38338 denormal result into account.
38340 2012-03-25 Roland McGrath <roland@hack.frob.com>
38342 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38343 Reported by Allan McRae <allan@archlinux.org>.
38345 2012-03-23 Jeff Law <law@redhat.com>
38347 * nss/getnssent.c (__nss_getent): Fix typo.
38349 2012-03-23 David S. Miller <davem@davemloft.net>
38351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38353 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38355 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38356 to pad to uint64_t for each field.
38357 (dl_tls_index): Replace unsigned long with uint64_t.
38359 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38360 Paul Pluzhnikov <ppluzhnikov@google.com>
38363 * grp/Makefile (otherlibs): Don't set it.
38364 * inet/Makefile (otherlibs): Likewise.
38365 * login/Makefile (otherlibs): Likewise.
38366 * nscd/Makefile (otherlibs): Likewise.
38367 * posix/Makefile (otherlibs): Likewise.
38368 * pwd/Makefile (otherlibs): Likewise.
38369 * rt/Makefile (otherlibs): Likewise.
38370 * sunrpc/Makefile (otherlibs): Likewise.
38371 * nss/Makefile (otherlibs): Likewise.
38372 Add libnss_files to routines and static-only-routines.
38373 ($(objpfx)getent): Remove rule.
38374 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38375 static-only-routines.
38377 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38380 * math/s_cexp.c: Include <float.h>.
38381 (__cexp): Handle exp result overflowing not necessarily
38382 overflowing both real and imaginary parts of result.
38383 * math/s_cexpf.c: Likewise.
38384 * math/s_cexpl.c: Likewise.
38385 * math/libm-test.inc (cexp_test): Add more tests.
38386 * sysdeps/i386/fpu/libm-test-ulps: Update.
38387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38389 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38391 * include/link.h (ELFW): New macro.
38392 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38393 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38395 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38397 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38400 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38402 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38404 (struct La_x32_retval): Likewise.
38406 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38408 * sysdeps/x86_64/preconfigure.in: New file.
38409 * sysdeps/x86_64/preconfigure: New generated file.
38411 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38414 * math/e_exp2l.c: Include <float.h>.
38415 (__ieee754_exp2l): Handle overflow and underflow cases
38416 separately. Only pass fractional part of argument to
38418 * math/libm-test.inc (exp2_test): Add more tests.
38420 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38421 negating x to take absolute value.
38422 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38424 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38425 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38427 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38428 computing low part if x was negated.
38429 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38431 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38433 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38434 la_x32_gnu_pltexit.
38435 (pltexit): Cast int_retval to ptrdiff_t.
38436 * elf/tst-auditmod3b.c: Likewise.
38437 * elf/tst-auditmod4b.c: Likewise.
38438 * elf/tst-auditmod5b.c: Likewise.
38439 * elf/tst-auditmod6b.c: Likewise.
38440 * elf/tst-auditmod6c.c: Likewise.
38441 * elf/tst-auditmod7b.c: Likewise.
38443 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38444 and x32_gnu_pltexit.
38446 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38447 __ELF_NATIVE_CLASS.
38448 (La_x32_regs): New macro.
38449 (La_x32_retval): Likewise.
38450 (la_x32_gnu_pltenter): New function prototype.
38451 (la_x32_gnu_pltexit): Likewise.
38453 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38455 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38460 * configure.in (libc_cv_cc_nofma): Check for option to disable
38461 generation of FMA instructions.
38462 * configure: Regenerate.
38463 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38464 * sysdeps/ieee754/dbl-64/Makefile: New file.
38465 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38466 Remove brandred-fma4.
38467 (CFLAGS-brandred-fma4.c): Remove.
38468 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38469 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38471 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38474 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38476 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38477 LLONG_MAX != LONG_MAX.
38478 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38479 (_fitoa_word): Likewise.
38480 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38481 LLONG_MAX != LONG_MAX.
38482 * stdio-common/_itowa.h: Include <_itoa.h>.
38483 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38484 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38485 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38486 only if not defined.
38487 (_ITOA_WORD_TYPE): Likewise.
38488 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38489 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38491 2012-03-21 David S. Miller <davem@davemloft.net>
38493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38495 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38497 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38498 of x86_64 when setting libc_cv_slibdir, libdir and
38500 * sysdeps/unix/sysv/linux/configure: Regenerated.
38502 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38504 * manual/lang.texi (Old Varargs): Remove section.
38505 (How Variadic): Update menu.
38506 (va_start): Do not mention varargs.h.
38508 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38509 Joseph Myers <joseph@codesourcery.com>
38511 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38513 * configure: Regenerated.
38515 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38517 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38518 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38521 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38524 * Makefile (files-for-dist): Remove NOTES.
38525 (NOTES): Remove rule.
38526 * README: Don't refer to NOTES.
38527 * manual/creature.texi: Don't include macros.texi.
38528 * manual/intro.texi (creature.texi): Remove comment referring to
38531 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38532 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38533 * configure: Regenerated.
38534 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38535 LIBC_TRY_CC_OPTION.
38536 (libc_cv_as_i686): Likewise.
38537 (libc_cv_cc_avx): Likewise.
38538 (libc_cv_cc_sse2avx): Likewise.
38539 (libc_cv_cc_fma4): Likewise.
38540 (libc_cv_cc_novzeroupper): Likewise.
38541 * sysdeps/i386/configure: Regenerated.
38544 * sysdeps/i386/fpu/s_cexp.S: Remove.
38545 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38546 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38547 * math/libm-test.inc (cexp_test): Add more tests.
38548 * sysdeps/i386/fpu/libm-test-ulps: Update.
38549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38551 2012-03-21 Allan McRae <allan@archlinux.org>
38553 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38555 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38558 * math/w_exp2.c: Do not include <float.h>.
38559 (o_threshold, u_threshold): Remove.
38560 (__exp2): Calculate result before checking finiteness and calling
38562 * math/w_exp2f.c: Likewise.
38563 * math/w_exp2l.c: Likewise.
38564 * math/libm-test.inc (exp2_test): Require overflow exception for
38568 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38569 range of signed 64-bit integers before using fistpll. Remove
38570 checks for whether integers fit in mantissa bits.
38571 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38572 the range of signed 32-bit integers before using fistpl. Remove
38573 checks for whether integers fit in mantissa bits.
38574 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38575 (__ieee754_powl): Test for y outside the range of signed 64-bit
38576 integers before using fistpll. Reduce 64-bit values to 63-bit
38578 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38579 divide-by-zero is raised for zero to large negative powers.
38580 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38581 (__ieee754_powl): Test for y outside the range of signed 64-bit
38582 integers before using fistpll. Reduce 64-bit values to 63-bit
38584 * math/libm-test.inc (pow_test): Add more tests.
38586 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38588 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38589 <stdio-common/_itoa.h>.
38590 * debug/segfault.c: Likewise.
38591 * elf/dl-cache.c: Likewise.
38592 * elf/dl-minimal.c: Likewise.
38593 * elf/dl-misc.c: Likewise.
38594 * elf/dl-sysdep.c: Likewise.
38595 * elf/dl-version.c: Likewise.
38596 * elf/rtld.c: Likewise.
38597 * hurd/hurdsock.c: Likewise.
38598 * hurd/lookup-retry.c: Likewise.
38599 * malloc/malloc.c: Likewise.
38600 * malloc/mtrace.c: Likewise.
38601 * nscd/nscd_getgr_r.c: Likewise.
38602 * nscd/nscd_getpw_r.c: Likewise.
38603 * nscd/nscd_getserv_r.c: Likewise.
38604 * posix/getopt_init.c: Likewise.
38605 * posix/wordexp.c: Likewise.
38606 * stdio-common/_itoa.c: Likewise.
38607 * stdio-common/printf_fphex.c: Likewise.
38608 * stdio-common/vfprintf.c: Likewise.
38609 * string/_strerror.c: Likewise.
38610 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38611 * sysdeps/i386/i686/hp-timing.h: Likewise.
38612 * sysdeps/mach/_strerror.c: Likewise.
38613 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38614 * sysdeps/mach/hurd/sethostid.c: Likewise.
38615 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38616 * sysdeps/mach/xpg-strerror.c: Likewise.
38617 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38618 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38619 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38620 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38621 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38622 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38623 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38624 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38625 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38626 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38627 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38628 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38629 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38630 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38631 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38632 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38633 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38634 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38635 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38636 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38637 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38639 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38641 * stdio-common/_itoa.h: Moved to ...
38642 * sysdeps/generic/_itoa.h: Here.
38644 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38646 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38647 instead of "_itoa.h" and "_itowa.h".
38648 * stdio-common/vfprintf.: Likewise.
38650 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38652 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38654 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38655 (__signbit): Likwise.
38656 (llrintf): Likwise.
38659 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38661 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38664 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38666 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38667 OVERFLOW_EXCEPTION_OK.
38668 * math/libm-test.inc ("Philosophy"): Update comment about
38670 (OVERFLOW_EXCEPTION): Define.
38671 (OVERFLOW_EXCEPTION_OK): Likewise.
38672 (INVALID_EXCEPTION_OK): Renumber.
38673 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38674 (IGNORE_ZERO_INF_SIGN): Likewise.
38675 (test_exceptions): Handle FE_OVERFLOW.
38676 (exp10_test): Expect overflow exceptions.
38677 (exp2_test): Likewise.
38678 (expm1_test): Likewise.
38679 (nextafter_test): Likewise.
38680 (pow_test): Likewise.
38681 (scalbn_test): Likewise.
38682 (scalbln_test): Likewise.
38684 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38686 * sysdeps/x86_64/bits/atomic.h
38687 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38689 (atomic_exchange_acq): Likewise.
38690 (__arch_exchange_and_add_body): Likewise.
38691 (__arch_add_body): Likewise.
38692 (atomic_add_negative): Likewise.
38693 (atomic_add_zero): Likewise.
38695 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38697 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38698 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38700 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38702 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38703 Check __x86_64__ instead of __WORDSIZE.
38705 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38707 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38709 2012-03-19 David S. Miller <davem@davemloft.net>
38711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38713 * sysdeps/sparc/fpu/fenv_private.h: New file.
38714 * sysdeps/sparc/fpu/math_private.h: Use it.
38715 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38717 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38718 (libc_feholdexcept_setroundl): Remove.
38719 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38721 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38722 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38724 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38726 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38727 int64_t instead of long int.
38728 (INSERT_WORDS64): Likwise.
38730 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38732 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38733 _Unwind_GetCFA return to _Unwind_Ptr first.
38735 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38738 * math/s_clog.c: Include <float.h>.
38739 (__clog): Scale large or subnormal inputs.
38740 * math/s_clogf.c: Likewise.
38741 * math/s_clogl.c: Likewise.
38742 * math/s_clog10.c: Include <float.h>.
38743 (M_LOG10_2): Define.
38744 (__clog10): Scale large or subnormal inputs.
38745 * math/s_clog10f.c: Likewise.
38746 * math/s_clog10l.c: Likewise.
38747 * math/libm-test.inc (clog_test): Add more tests.
38748 (clog10_test): Likewise.
38749 * sysdeps/i386/fpu/libm-test-ulps: Update.
38750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38753 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38755 * math/libm-test.inc (atan2_test): Add another test.
38757 * Makerules (common-objdir-compile): Remove.
38758 * sysdeps/unix/Makefile (config-generated): Do not add
38759 $(unix-generated) to variable.
38760 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38761 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38763 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38765 [generic bits/local_lim.h] (before-compile): Do not append to
38767 [generic bits/local_lim.h] (common-generated): Likewise.
38768 [generic sys/param.h] (before-compile): Do not append to variable.
38769 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38770 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38771 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38772 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38774 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38775 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38776 [generic sys/param.h] ($(addprefix
38777 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38778 [generic sys/param.h] (common-generated): Do not append to
38780 [generic sys/param.h] (sysdep_headers): Likewise.
38781 [generic bits/errno.h] (before-compile): Do not append to
38783 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38785 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38786 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38787 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38788 [generic bits/errno.h] (common-generated): Do not append to
38790 [generic bits/ioctls.h] (before-compile): Do not append to
38792 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38794 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38795 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38796 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38798 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38799 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38800 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38801 [generic bits/ioctls.h] (common-generated): Do not append to
38803 [generic sys/syscall.h] (syscall.h): Remove variable.
38804 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38806 [generic sys/syscall.h] (before-compile): Do not append to
38808 [generic sys/syscall.h] (common-generated): Likewise.
38809 * sysdeps/unix/errnos-tmpl.c: Remove file.
38810 * sysdeps/unix/errnos.awk: Likewise.
38811 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38812 * sysdeps/unix/ioctls.awk: Likewise.
38813 * sysdeps/unix/mk-local_lim.c: Likewise.
38814 * sysdeps/unix/snarf-ioctls: Likewise.
38816 2012-03-19 Richard Henderson <rth@twiddle.net>
38818 * sysdeps/i386/fpu/fenv_private.h: New file.
38819 * sysdeps/i386/fpu/math_private.h: Use it.
38820 (math_opt_barrier, math_force_eval): Remove.
38821 (libc_feholdexcept_setround_53bit): Remove.
38822 (libc_feupdateenv_53bit): Remove.
38823 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38824 (math_opt_barrier, math_force_eval): Remove.
38825 (libc_feholdexcept): Remove.
38826 (libc_feholdexcept_setround): Remove.
38827 (libc_fetestexcept, libc_fesetenv): Remove.
38828 (libc_feupdateenv_test): Remove.
38829 (libc_feupdateenv, libc_feholdsetround): Remove.
38830 (libc_feresetround): Remove.
38832 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38833 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38835 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38836 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38837 (libc_feupdateenv_testl): New.
38838 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38839 (libc_feupdateenv_testf): New.
38840 (libc_feupdateenv): Use libc_feupdateenv_test.
38841 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38842 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38844 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38845 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38846 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38847 (libc_feresetround_noex): New.
38848 (libc_feresetround_noexf): New.
38849 (libc_feresetround_noexl): New.
38850 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38851 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38852 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38853 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38856 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38858 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38859 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38860 SET_RESTORE_ROUND_NOEX.
38861 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38862 SET_RESTORE_ROUND_NOEXF.
38863 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38864 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38865 (libc_feholdsetroundf): New.
38866 (libc_feresetround, libc_feresetroundf): New.
38868 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38869 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38870 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38872 * sysdeps/generic/math_private.h: Include <fenv.h>.
38873 (default_libc_feholdexcept): New.
38874 (default_libc_feholdexcept_setround): New.
38875 (default_libc_fesetenv, default_libc_feupdateenv): New.
38876 (libc_feholdexcept): Only define if undefined.
38877 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38878 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38879 (libc_feholdexcept_setroundl): Likewise.
38880 (libc_feholdexcept_setround_53bit): Likewise.
38881 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38882 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38883 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38884 (libc_feupdateenv_53bit): Likewise.
38885 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38886 (libc_feholdexcept): Convert from macro to inline function.
38887 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38888 (libc_fesetenv, libc_feupdateenv): Likewise.
38890 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38891 not previously defined.
38892 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38893 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38894 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38895 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38896 * sysdeps/ieee754/flt-32/math_private.h: New file.
38897 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38898 math_private.h below SET_FLOAT_WORD.
38899 (__isnan, __isinf_ns, __finite): Remove.
38900 (__isnanf, __isinf_nsf, __finitef): Remove.
38902 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38906 2012-03-17 David S. Miller <davem@davemloft.net>
38909 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38912 2012-03-16 David S. Miller <davem@davemloft.net>
38914 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38918 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38920 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38921 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38922 sysdep_routines when subdir is sysvipc.
38923 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38924 __getshmlba helper.
38926 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38928 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38930 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38933 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38935 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38936 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38937 (__lround): Renamed to ...
38938 (__llround): This. Replace long int with long long int.
38939 Define lround functions as aliases of llround functions.
38940 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38942 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38944 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38945 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38946 adresses to uintptr_t. Replace "long int" and "unsigned long
38947 int" with "greg_t" on va_arg.
38949 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38951 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38952 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38954 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38955 Move e_machine check before EI_CLASS check. Handle x32
38956 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38957 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38958 SKIP_EM_IA_64 and include
38959 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38961 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38962 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38963 (add_system_dir): New macro.
38965 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38966 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38968 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38979 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38981 * math/w_j0f.c (j0f): Likewise.
38983 * math/w_j0l.c (__j0l): Likewise.
38985 * math/w_j1.c (j1): Likewise.
38987 * math/w_j1f.c (j1f): Likewise.
38989 * math/w_j1l.c (__j1l): Likewise.
38991 * math/w_jn.c (jn): Likewise.
38993 * math/w_jnf.c (jnf): Likewise.
38995 * math/w_jnl.c (__jnl): Likewise.
38997 * math/libm-test.inc (j0_test): Add more tests.
38998 (j1_test): Likewise.
38999 (jn_test): Likewise. Add trailing semicolon to existing test.
39000 (y0_test): Likewise.
39001 (y1_test): Likewise.
39002 * sysdeps/i386/fpu/libm-test-ulps: Update.
39003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39007 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39008 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39009 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39010 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39011 (__tanl): Set errno for infinite argument.
39012 * sysdeps/i386/fpu/mptan.c: Remove.
39013 * sysdeps/i386/fpu/s_tan.S: Likewise.
39014 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39015 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39016 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39017 * math/libm-test.inc (tan_test): Add more tests and enable more
39018 tests for double and long double.
39019 * sysdeps/i386/fpu/libm-test-ulps: Update.
39020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39022 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39024 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39025 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39027 2012-03-16 Roland McGrath <roland@hack.frob.com>
39029 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39030 * configure.in: Use it for both main tree and add-ons.
39031 * configure: Regenerated.
39033 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39035 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39037 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39039 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39043 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39044 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39045 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39046 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39047 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39049 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39051 != 0 for prec == 2.
39052 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39053 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39054 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39055 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39056 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39057 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39058 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39059 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39060 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39061 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39062 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39063 * math/libm-test.inc (cos_test): Add more tests and enable more
39064 tests for long double.
39065 (sin_test): Likewise.
39066 (sincos_test): Likewise.
39067 * sysdeps/i386/fpu/libm-test-ulps: Update.
39068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39070 2012-03-16 David S. Miller <davem@davemloft.net>
39072 * sysdeps/sparc/fpu/math_private.h: New file.
39074 2012-03-15 David S. Miller <davem@davemloft.net>
39076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39086 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39090 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39091 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39093 * sysdeps/sparc/sparc-ifunc.h: New file.
39094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39120 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39121 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39128 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39132 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39136 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39137 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39139 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39141 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39145 2012-03-15 Andreas Jaeger <aj@suse.de>
39148 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39149 ieee754/flt-32 implementation for sin, cos and sincos.
39150 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39151 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39152 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39153 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39154 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39155 ieee754/flt-32 implementation for tan.
39157 * math/libm-test.inc (cos_test): Enable some large input tests for
39159 (sin_test): Likewise.
39160 (sincos_test): Likewise.
39161 (tan_test): Add tests for large input.
39163 * sysdeps/i386/fpu/libm-test-ulps: Update.
39165 2012-03-15 Andreas Jaeger <aj@suse.de>
39168 * math/libm-test.inc (cos_test): Add more test cases.
39169 (sin_test): Likewise.
39170 (sincos_test): Likewise.
39172 2012-03-15 Andreas Jaeger <aj@suse.de>
39175 * math/libm-test.inc (cos_test): Add a test case for large input
39177 (sin_test): Likewise.
39178 (sincos_test): Likewise.
39180 2012-03-15 Andreas Jaeger <aj@suse.de>
39181 Joseph Myers <joseph@codesourcery.com>
39184 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39185 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39186 * sysdeps/i386/fpu/branred.c: Likewise.
39187 * sysdeps/i386/fpu/dosincos.c: Likewise.
39188 * sysdeps/i386/fpu/mpa.c: Likewise.
39189 * sysdeps/i386/fpu/s_cos.S: Likewise.
39190 * sysdeps/i386/fpu/s_sin.S: Likewise.
39191 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39192 * sysdeps/i386/fpu/sincos32.c: Likewise.
39194 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39196 (libc_feupdateenv_53bit): Define.
39197 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39199 (libc_feupdateenv_53bit): Define.
39201 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39202 53 bit (without extend i386 double precision).
39204 * math/libm-test.inc (sincos_test): Add tests for large input.
39208 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39210 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39214 2012-03-15 David S. Miller <davem@davemloft.net>
39216 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39217 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39218 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39219 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39243 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39244 fmin/fmax sysdep routines.
39245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39247 2012-03-14 David S. Miller <davem@davemloft.net>
39249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39253 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39254 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39269 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39270 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39274 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39277 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39321 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39326 * sysdeps/sparc/configure.in: New file.
39327 * sysdeps/sparc/configure: Generate.
39328 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39329 * configure: Regenerate.
39330 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39331 * config.make.in (have-as-vis3): New.
39332 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39333 available use -Av9d instead of -Av9a.
39334 * sysdeps/sparc/sparc64/Makefile: Likewise.
39335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39344 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39345 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39346 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39350 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39351 fzeros/fnegs to load 0x80000000 into a float register instead of
39353 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39355 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39359 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39360 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39361 ($(inst_includedir)/bits/syscall.h): Remove rule.
39362 ($(objpfx)bits/syscall.d): Include instead of
39363 $(objpfx)syscall-list.d.
39364 (generated): Change syscall-list.h and syscall-list.d to
39365 bits/syscall.h and bits/syscall.d.
39367 2012-03-14 Roland McGrath <roland@hack.frob.com>
39370 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39372 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39375 * math/s_csqrt.c: Include <float.h>.
39376 (__csqrt): Scale large or subnormal inputs.
39377 * math/s_csqrtf.c: Likewise.
39378 * math/s_csqrtl.c: Likewise.
39379 * math/libm-test.inc (csqrt_test): Add more tests.
39380 * sysdeps/i386/fpu/libm-test-ulps: Update.
39381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39384 * math/libm-test.inc (hypot_test): Add more tests.
39386 2012-03-13 David S. Miller <davem@davemloft.net>
39389 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39390 double-precision for the calculation instead of scaling.
39392 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39394 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39395 manipulate bits before adding and subtracting TWO52[sx].
39396 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39397 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39399 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39401 2012-03-13 David S. Miller <davem@davemloft.net>
39403 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39404 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39406 rtld-global-offsets.h
39407 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39409 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39412 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39414 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39415 'err' in the ifdef scope in which it is actually used.
39417 * nss/nss_db/db-init.c: Include string.h
39419 2012-03-12 David S. Miller <davem@davemloft.net>
39421 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39422 masking out of the most significant byte of random value used.
39423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39424 Fix coding style in previous change.
39426 * sysdeps/unix/sysv/linux/kernel-features.h
39427 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39428 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39430 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39433 2012-03-11 David S. Miller <davem@davemloft.net>
39435 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39436 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39437 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39438 for 'resultvar' otherwise things get truncated on 64-bit.
39440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39441 Fix masking out of the most significant byte of random value used.
39443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39445 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39449 2012-03-09 David S. Miller <davem@davemloft.net>
39451 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39452 variables with appropriate CPP guards.
39453 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39454 from the frame pointer, not the stack pointer. Correct layout
39455 comments. Fix test on resulting framesize and the management of
39456 the outregs buffer for pltexit. Preserve floating point return
39457 values across _dl_call_pltexit call.
39458 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39459 framesize and the management of the outregs buffer for pltexit.
39460 Preserve floating point return values across _dl_call_pltexit
39462 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39463 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39464 (la_sparc64_gnu_pltexit): New functions.
39465 (print_exit): Fix format string for return register value.
39467 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39469 * sunrpc/Makefile (others): Add rpcgen.
39470 ($(objpfx)rpcgen): Remove special build rule and dependency on
39472 * sunrpc/rpcgen.c: New file.
39474 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39477 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39478 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39479 * sysdeps/i386/crti.S: Likewise.
39480 * sysdeps/i386/crtn.S: Likewise.
39481 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39482 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39483 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39484 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39485 * sysdeps/sh/crti.S: Likewise.
39486 * sysdeps/sh/crtn.S: Likewise.
39487 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39490 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39492 * locale/programs/locfile-kw.gperf: Likewise.
39493 * locale/programs/charmap-kw.h: Regenerated.
39494 * locale/programs/locfile-kw.h: Likewise.
39497 * intl/plural.y: Replace FSF snail mail address with URL.
39498 * intl/plural.c: Regenerated.
39500 2012-03-09 Richard Henderson <rth@twiddle.net>
39502 * include/math_private.h: Remove file.
39503 * math/math_private.h: Move file ...
39504 * sysdeps/generic/math_private.h: ... here.
39506 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39507 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39508 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39510 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39511 and <math_private.h>.
39512 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39513 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39514 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39515 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39516 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39517 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39520 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39523 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39524 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39526 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39527 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39528 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39530 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39531 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39533 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39534 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39536 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39537 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39538 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39544 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39545 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39546 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39552 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39553 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39555 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39556 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39557 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39558 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39559 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39561 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39562 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39563 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39564 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39565 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39566 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39567 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39568 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39571 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39572 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39573 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39575 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39576 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39577 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39578 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39579 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39580 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39583 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39584 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39586 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39592 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39593 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39594 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39595 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39596 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39597 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39599 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39600 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39603 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39605 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39606 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39607 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39609 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39612 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39613 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39614 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39615 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39616 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39617 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39618 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39619 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39620 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39622 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39623 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39624 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39625 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39626 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39627 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39628 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39629 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39630 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39631 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39632 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39633 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39635 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39639 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39640 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39641 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39642 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39644 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39645 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39646 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39647 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39649 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39650 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39651 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39652 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39653 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39654 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39655 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39656 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39660 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39661 * sysdeps/ieee754/k_standard.c: Likewise.
39662 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39663 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39665 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39666 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39667 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39668 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39669 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39670 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39674 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39675 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39676 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39677 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39679 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39680 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39681 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39682 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39683 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39684 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39685 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39687 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39688 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39689 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39690 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39692 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39693 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39694 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39695 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39696 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39697 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39698 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39699 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39700 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39701 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39702 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39703 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39704 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39705 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39706 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39707 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39708 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39710 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39711 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39713 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39714 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39715 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39718 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39719 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39720 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39721 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39722 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39723 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39724 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39725 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39726 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39729 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39735 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39736 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39737 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39739 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39743 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39744 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39745 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39746 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39747 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39748 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39749 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39753 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39754 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39758 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39759 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39760 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39761 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39766 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39769 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39770 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39771 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39773 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39774 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39775 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39776 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39778 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39787 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39788 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39789 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39790 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39792 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39793 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39794 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39795 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39798 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39799 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39801 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39802 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39803 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39804 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39805 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39806 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39808 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39811 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39812 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39813 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39816 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39817 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39818 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39819 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39822 * sysdeps/ieee754/s_lib_version.c: Likewise.
39823 * sysdeps/ieee754/s_matherr.c: Likewise.
39824 * sysdeps/ieee754/s_signgam.c: Likewise.
39825 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39826 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39828 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39829 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39830 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39831 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39832 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39833 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39834 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39835 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39836 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39837 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39838 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39839 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39840 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39841 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39842 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39843 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39847 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39849 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39850 * sunrpc/rpc_main.c: Likewise.
39851 * sunrpc/rpc_svcout.c: Likewise.
39853 2012-03-09 David S. Miller <davem@davemloft.net>
39855 * include/math_private.h: New file.
39857 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39859 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39860 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39861 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39862 from <bits/socket_type.h>.
39863 (enum __socket_type): Don't define here.
39864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39866 bits/socket_type.h.
39869 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39870 checking __USE_GNU.
39872 * Makerules ($(inst_includedir)/%.h): New rule.
39873 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39874 (install-others): Remove variable setting.
39875 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39877 2012-03-08 Richard Henderson <rth@twiddle.net>
39879 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39880 from macro to inline function; merge with the
39881 !__LIBC_INTERNAL_MATH_INLINES version.
39882 (__ieee754_sqrtf): Likewise.
39884 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39885 to inline function.
39886 (__rintf, __floor, __floorf): Likewise.
39888 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39889 macro to inline function.
39890 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39893 not <math/math_private.h>.
39895 2012-03-08 David S. Miller <davem@davemloft.net>
39897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39899 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39901 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39903 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39905 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39906 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39908 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39910 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39911 be defined individually, they must be defined as a block. Define
39912 S for printing a string instead of hidint the different by using a
39913 macro for adding the 'l'.
39914 * stdio-common/tst-fphex-wide.c: Adjust.
39916 2012-03-07 Marek Polacek <polacek@redhat.com>
39918 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39920 2012-03-08 Marek Polacek <polacek@redhat.com>
39923 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39924 * stdio-common/tst-fphex.c: Define a few macros to make the
39925 test reusable. Use them.
39926 * stdio-common/tst-fphex-wide.c: New file.
39928 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39931 * manual/macros.texi (gnusystems): New macro.
39932 (nongnusystems): Likewise.
39933 (gnulinuxhurdsystems): Likewise.
39934 (gnuhurdsystems): Likewise..
39935 (gnulinuxsystems): Likewise.
39936 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39937 variants of the GNU system, not "GNU system".
39938 * manual/conf.texi: Likewise.
39939 * manual/errno.texi: Likewise. Update example of errno macro
39941 * manual/filesys.texi: Likewise.
39942 (getumask): Document as specific to GNU/Hurd.
39943 * manual/install.texi: Likewise. Reword some references to
39945 * manual/intro.texi: Likewise.
39946 * manual/io.texi: Likewise.
39947 (File Name Portability): Detail which constraints are inapplicable
39948 to all GNU systems and which are only inapplicable to GNU/Hurd.
39949 * manual/job.texi: Likewise.
39950 * manual/llio.texi: Likewise.
39951 (O_NOCTTY): Document as present on GNU/Linux.
39952 * manual/maint.texi: Likewise.
39953 * manual/memory.texi: Likewise.
39954 * manual/pattern.texi: Likewise.
39955 * manual/pipe.texi: Likewise.
39956 * manual/process.texi: Likewise.
39957 * manual/resource.texi: Likewise.
39958 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39960 * manual/setjmp.texi: Likewise.
39961 * manual/signal.texi: Likewise.
39962 * manual/startup.texi: Likewise.
39963 * manual/stdio.texi: Likewise.
39964 * manual/terminal.texi: Likewise.
39965 (ONLCR): Document as POSIX.
39966 (OXTABS): Document availability on GNU/Linux as XTABS.
39967 (ONOEOT): Document availability separately from other bits.
39968 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39969 * manual/time.texi: Likewise.
39970 * manual/users.texi: Likewise.
39971 * INSTALL: Regenerated.
39972 * sysdeps/gnu/errlist.c: Regenerated.
39974 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39975 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39976 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39978 * configure: Regenerated.
39980 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39982 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39983 default includes instead of AC_HEADER_CHECK.
39984 * sysdeps/i386/configure: Regenerated.
39987 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39988 * math/s_cacoshf.c (__cacoshf): Likewise.
39989 * math/s_cacoshl.c (__cacoshl): Likewise.
39990 * math/s_casinh.c (__casinh): Set signs of result from argument.
39991 * math/s_casinhf.c (__casinhf): Likewise.
39992 * math/s_casinhl.c (__casinhl): Likewise.
39993 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39994 (casinh_test): Add more tests.
39995 * sysdeps/i386/fpu/libm-test-ulps: Update.
39996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39998 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40000 * po/zh_TW.po: Update from translation team.
40002 * login/Makefile (distribute): Remove variable.
40003 * catgets/Makefile: Likewise.
40004 * mach/Makefile: Likewise.
40005 * malloc/Makefile: Likewise.
40006 * misc/Makefile: Likewise.
40007 * iconv/Makefile: Likewise.
40008 * nscd/Makefile: Likewise.
40009 * hurd/Makefile: Likewise.
40010 * manual/Makefile: Likewise.
40011 * locale/Makefile: Likewise.
40012 * intl/Makefile: Likewise.
40013 * conform/Makefile: Likewise.
40014 * nss/Makefile: Likewise.
40015 * time/Makefile: Likewise.
40016 * soft-fp/Makefile: Likewise.
40017 * dirent/Makefile: Likewise.
40018 * gmon/Makefile: Likewise.
40019 * po/Makefile: Likewise.
40020 * rt/Makefile: Likewise.
40021 * socket/Makefile: Likewise.
40022 * math/Makefile: Likewise.
40023 * signal/Makefile: Likewise.
40024 * debug/Makefile: Likewise.
40025 * elf/Makefile: Likewise.
40026 * timezone/Makefile: Likewise.
40027 * stdlib/Makefile: Likewise.
40028 * iconvdata/Makefile: Likewise.
40029 * sunrpc/Makefile: Likewise.
40030 * io/Makefile: Likewise.
40031 * argp/Makefile: Likewise.
40032 * inet/Makefile: Likewise.
40033 * hesiod/Makefile: Likewise.
40034 * grp/Makefile: Likewise.
40035 * csu/Makefile: Likewise.
40036 * wctype/Makefile: Likewise.
40037 * crypt/Makefile: Likewise.
40038 * libio/Makefile: Likewise.
40039 * string/Makefile: Likewise.
40040 * nis/Makefile: Likewise.
40041 * resolv/Makefile: Likewise.
40042 * stdio-common/Makefile: Likewise.
40043 * wcsmbs/Makefile: Likewise.
40044 * dlfcn/Makefile: Likewise.
40045 * posix/Makefile: Likewise.
40048 * timezone/Makefile: Don't install timezone files, just the programs
40051 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40053 * nss/databases.def: Add missing gshadow entry.
40055 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40057 2012-03-06 Marek Polacek <polacek@redhat.com>
40060 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40061 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40062 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40063 * stdio-common/tst-long-dbl-fphex.c: New file.
40065 2012-03-06 David S. Miller <davem@davemloft.net>
40067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40068 (set_obp_int): New function.
40069 (get_obp_int): New function.
40070 (__get_clockfreq_via_dev_openprom): Likewise.
40071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40072 Avoid unused variable warnings on 'val' and use builtin_expect.
40073 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40075 (INLINE_CLONE_SYSCALL): Likewise.
40077 2012-03-05 David S. Miller <davem@davemloft.net>
40079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40081 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40086 only for |x| >= 40.
40087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40089 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40092 Replace gettimeofday with __vdso_gettimeofday.
40094 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40095 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40096 __vdso_clock_gettime and __vdso_getcpu.
40098 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40099 time with __vdso_time.
40101 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40103 * manual/lang.texi (size_t): Note types to which size_t may be
40104 equivalent with the GNU C Library, but do not describe when
40105 differences between them are significant.
40107 2012-03-05 Andreas Jaeger <aj@suse.de>
40109 * sysdeps/i386/fpu/libm-test-ulps: Update.
40111 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40114 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40115 (__ieee754_pow): Save and restore rounding mode and use
40116 round-to-nearest for main computations.
40117 * math/libm-test.inc (pow_test_tonearest): New function.
40118 (pow_test_towardzero): Likewise.
40119 (pow_test_downward): Likewise.
40120 (pow_test_upward): Likewise.
40121 (main): Call the new functions.
40122 * sysdeps/i386/fpu/libm-test-ulps: Update.
40123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40126 * math/libm-test.inc (cosh_test_tonearest): New function.
40127 (cosh_test_towardzero): Likewise.
40128 (cosh_test_downward): Likewise.
40129 (cosh_test_upward): Likewise.
40130 (sinh_test_tonearest): Likewise.
40131 (sinh_test_towardzero): Likewise.
40132 (sinh_test_downward): Likewise.
40133 (sinh_test_upward): Likewise.
40134 (main): Call the new functions.
40135 * sysdeps/i386/fpu/libm-test-ulps: Update.
40136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40138 2012-03-05 Tom de Vries <tom@codesourcery.com>
40140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40141 default stack guard is set in last bytes.
40142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40144 2012-03-05 Kees Cook <keescook@chromium.org>
40146 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40149 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40150 possibly allocate from heap instead of stack.
40151 * stdio-common/bug-vfprintf-nargs.c: New file.
40152 * stdio-common/Makefile (tests): Add nargs overflow test.
40154 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40158 2012-03-03 Marek Polacek <polacek@redhat.com>
40160 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40161 * math/math_private.h: Likewise.
40162 * stdlib/tst-strtod.c: Likewise.
40163 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40164 * sysdeps/x86_64/bits/atomic.h: Likewise.
40166 2012-03-02 David S. Miller <davem@davemloft.net>
40168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40172 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40173 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40174 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40175 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40177 2012-03-02 Roland McGrath <roland@hack.frob.com>
40180 * manual/examples/README: New file, says the example source files
40181 can be used under GPL>=2.
40182 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40183 line containing just "*/".
40184 * manual/examples/add.c: Add copyright header (GPL>=2).
40185 * manual/examples/argp-ex1.c: Likewise.
40186 * manual/examples/argp-ex2.c: Likewise.
40187 * manual/examples/argp-ex3.c: Likewise.
40188 * manual/examples/argp-ex4.c: Likewise.
40189 * manual/examples/atexit.c: Likewise.
40190 * manual/examples/db.c: Likewise.
40191 * manual/examples/dir.c: Likewise.
40192 * manual/examples/dir2.c: Likewise.
40193 * manual/examples/execinfo.c: Likewise.
40194 * manual/examples/filecli.c: Likewise.
40195 * manual/examples/filesrv.c: Likewise.
40196 * manual/examples/fmtmsgexpl.c: Likewise.
40197 * manual/examples/genpass.c: Likewise.
40198 * manual/examples/inetcli.c: Likewise.
40199 * manual/examples/inetsrv.c: Likewise.
40200 * manual/examples/isockad.c: Likewise.
40201 * manual/examples/longopt.c: Likewise.
40202 * manual/examples/memopen.c: Likewise.
40203 * manual/examples/memstrm.c: Likewise.
40204 * manual/examples/mkfsock.c: Likewise.
40205 * manual/examples/mkisock.c: Likewise.
40206 * manual/examples/mygetpass.c: Likewise.
40207 * manual/examples/pipe.c: Likewise.
40208 * manual/examples/popen.c: Likewise.
40209 * manual/examples/rprintf.c: Likewise.
40210 * manual/examples/search.c: Likewise.
40211 * manual/examples/select.c: Likewise.
40212 * manual/examples/setjmp.c: Likewise.
40213 * manual/examples/sigh1.c: Likewise.
40214 * manual/examples/sigusr.c: Likewise.
40215 * manual/examples/stpcpy.c: Likewise.
40216 * manual/examples/strdupa.c: Likewise.
40217 * manual/examples/strftim.c: Likewise.
40218 * manual/examples/strncat.c: Likewise.
40219 * manual/examples/subopt.c: Likewise.
40220 * manual/examples/swapcontext.c: Likewise.
40221 * manual/examples/termios.c: Likewise.
40222 * manual/examples/testopt.c: Likewise.
40223 * manual/examples/testpass.c: Likewise.
40224 * manual/examples/timeval_subtract.c: Likewise.
40227 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40229 * manual/timeval_subtract.c.texi: ... here, new file.
40231 2012-03-02 David S. Miller <davem@davemloft.net>
40233 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40235 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40238 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40239 (__sin): Save and restore rounding mode and use round-to-nearest
40240 for all computations.
40241 (__cos): Save and restore rounding mode and use round-to-nearest
40242 for all computations.
40243 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40245 (tan): Save and restore rounding mode and use round-to-nearest for
40247 * math/libm-test.inc (cos_test_tonearest): New function.
40248 (cos_test_towardzero): Likewise.
40249 (cos_test_downward): Likewise.
40250 (cos_test_upward): Likewise.
40251 (sin_test_tonearest): Likewise.
40252 (sin_test_towardzero): Likewise.
40253 (sin_test_downward): Likewise.
40254 (sin_test_upward): Likewise.
40255 (tan_test_tonearest): Likewise.
40256 (tan_test_towardzero): Likewise.
40257 (tan_test_downward): Likewise.
40258 (tan_test_upward): Likewise.
40259 (main): Call the new functions.
40260 * sysdeps/i386/fpu/libm-test-ulps: Update.
40261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40264 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40265 small n, then large n, before computing and testing k+n.
40266 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40271 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40272 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40279 * math/libm-test.inc (scalbn_test): Add more tests.
40280 (scalbln_test): Likewise.
40282 * manual/filesys.texi (mode_t): Describe constraints on size and
40283 signedness, not exact equivalence to a particular type.
40285 (ino64_t): Likewise.
40287 (nlink_t): Likewise.
40288 (blkcnt_t): Likewise.
40289 (blkcnt64_t): Likewise.
40290 * manual/llio.texi (off_t): Likewise.
40293 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40294 (__ieee754_exp): Save and restore rounding mode and use
40295 round-to-nearest for all computations.
40296 * math/libm-test.inc (exp_test_tonearest): New function.
40297 (exp_test_towardzero): Likewise.
40298 (exp_test_downward): Likewise.
40299 (exp_test_upward): Likewise.
40300 (main): Call the new functions.
40301 * sysdeps/i386/fpu/libm-test-ulps: Update.
40302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40304 2012-03-01 Chris Demetriou <cgd@google.com>
40306 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40307 have predictable order.
40309 2012-03-01 David S. Miller <davem@davemloft.net>
40311 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40313 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40314 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40315 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40316 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40318 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40319 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40320 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40322 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40323 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40324 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40325 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40326 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40331 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40334 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40335 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40337 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40338 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40343 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40344 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40347 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40350 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40351 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40352 * sysdeps/sparc/elf/configure: Regenerated.
40354 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40356 * configure.in (AS, LD): Require binutils 2.20 or later.
40357 * configure: Regenerated.
40358 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40359 as required minimum version.
40360 * INSTALL: Regenerated.
40364 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40365 before squaring exponent.
40366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40367 bottom long double and 27 bits of top long double before squaring
40369 * math/libm-test.inc (erfc_test): Add more tests.
40370 * sysdeps/i386/fpu/libm-test-ulps: Update.
40371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40374 2012-03-01 Kai Tietz <ktietz@redhat.com>
40376 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40377 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40378 containing bit-fields.
40379 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40380 * soft-fp/single.h (_FP_UNION_S): Likewise.
40381 * soft-fp/double.h (_FP_UNION_D): Likewise.
40383 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40386 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40387 not include ../strcmp.S.
40388 [USE_AS_STRNCASECMP_L]: Likewise.
40389 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40390 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40391 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40392 (__strncasecmp_l_ia32): Define as alias to
40393 __strncasecmp_l_nonascii.
40396 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40397 * sysdeps/i386/fpu/libm-test-ulps: Update.
40398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40400 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40403 2012-02-29 Jeff Law <law@redhat.com>
40405 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40406 out of bounds read.
40408 2012-02-29 Marek Polacek <polacek@redhat.com>
40411 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40412 * elf/Makefile: Add rules to run tst-unused-dep.out.
40414 2012-02-28 David S. Miller <davem@davemloft.net>
40416 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40417 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40420 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40421 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40423 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40425 * math/libm-test.inc (llround_test): Move one test from
40426 lround_test. Use TEST_f_L in moved test.
40427 (lround_test): Move misplaced test to llround_test. Add testcase
40430 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40432 * sysdeps/x86_64/fpu/e_expf.S: New file.
40433 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40435 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40438 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40439 of remain_len that may cause incomplete multi-byte character and
40441 * posix/bug-regex33.c: New file.
40442 * posix/Makefile (tests): Add bug-regex33.
40444 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40446 * manual/macros.texi: New file.
40447 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40448 * manual/libc.texinfo: Include macros.texi.
40449 * manual/creatute.texi: Likewise.
40450 * manual/install.texi: Likewise.
40451 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40452 @glibcadj{} in references to the GNU C Library.
40453 * manual/charset.texi: Likewise.
40454 * manual/conf.texi: Likewise.
40455 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40456 when not using those macros.
40457 * manual/creature.texi: Likewise.
40458 * manual/crypt.texi: Likewise.
40459 * manual/errno.texi: Likewise.
40460 * manual/filesys.texi: Likewise.
40461 * manual/header.texi: Likewise.
40462 * manual/install.texi: Likewise.
40463 * manual/intro.texi: Likewise.
40464 * manual/io.texi: Likewise.
40465 * manual/job.texi: Likewise.
40466 * manual/lang.texi: Likewise.
40467 * manual/libc.texiinfo: Likewise.
40468 * manual/llio.texi: Likewise.
40469 * manual/locale.texi: Likewise.
40470 * manual/maint.texi: Likewise.
40471 * manual/math.texi: Likewise.
40472 * manual/memory.texi: Likewise.
40473 * manual/message.texi: Likewise.
40474 * manual/nss.texi: Likewise.
40475 * manual/pattern.texi: Likewise.
40476 * manual/process.texi: Likewise.
40477 * manual/resource.texi: Likewise.
40478 * manual/search.texi: Likewise.
40479 * manual/setjmp.texi: Likewise.
40480 * manual/signal.texi: Likewise.
40481 * manual/socket.texi: Likewise.
40482 * manual/startup.texi: Likewise.
40483 * manual/stdio.texi: Likewise.
40484 * manual/string.texi: Likewise.
40485 * manual/sysinfo.texi: Likewise.
40486 * manual/syslog.texi: Likewise.
40487 * manual/terminal.texi: Likewise.
40488 * manual/time.texi: Likewise.
40489 * manual/users.texi: Likewise.
40490 * INSTALL: Regenerated.
40491 * NOTES: Regenerated.
40492 * sysdeps/gnu/errlist.c: Regenerated.
40494 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40496 * include/dirent.h: Include <dirstream.h> before
40499 2012-02-28 David S. Miller <davem@davemloft.net>
40501 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40502 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40503 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40504 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40506 2012-02-27 David S. Miller <davem@davemloft.net>
40508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40510 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40511 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40514 frame pointer instead of stack pointer relative arg slot.
40515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40516 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40517 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40519 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40522 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40524 2012-02-27 David S. Miller <davem@davemloft.net>
40526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40530 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40531 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40532 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40533 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40535 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40537 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40538 later. Allow versions 5-9.
40539 * configure: Regenerated.
40540 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40541 required minimum version and 4.6 as recommended version. Do not
40542 mention bugs in GCC 2.7 and 2.8.
40543 * INSTALL: Regenerated.
40545 2012-02-27 David S. Miller <davem@davemloft.net>
40547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40553 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40557 manipulate bits before adding and subtracting TWO112[sx].
40558 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40560 2012-02-27 Roland McGrath <roland@hack.frob.com>
40563 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40564 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40565 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40566 being in POSIX, because they are in 1003.1-2008.
40568 * rt/tst-aio.c: Include <fcntl.h>.
40569 * rt/tst-aio7.c: Likewise.
40570 * rt/tst-aio64.c: Likewise.
40572 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40574 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40576 * manual/install.texi (--with-headers): Describe headers as
40577 interface headers, not private headers.
40578 (Specific advice for GNU/Linux systems): Describe use of headers
40579 from "make headers_install", not private headers from older
40581 * INSTALL: Regenerated.
40582 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40584 * sysdeps/unix/sysv/linux/configure: Regenerated.
40586 * manual/llio.texi (fclean): Remove documentation.
40588 * manual/Makefile (libc-texi-generated): New variable. Include
40590 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40591 $(libc-texi-generated), not duplicated list of files.
40592 (version.texi, stamp-version): New rules.
40593 (realclean): Remove $(libc-texi-generated), not individual files
40594 from that list. Do not remove dir-add.texinfo.
40595 * manual/libc.texinfo: Comment out uses of edition numbers and
40596 references to printed manual. Remove last-updated dates.
40597 (EDITION): Comment out.
40599 (VERSION, UPDATED): Remove.
40600 (version.texi): Include.
40602 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40604 * sysdeps/posix/spawni.c: Include <signal.h>.
40605 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40606 * sysdeps/pthread/aio_fsync.c: Likewise.
40608 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40610 * conform/Makefile (tests): Run only when not cross-compiling and
40611 when fast-check is not defined.
40613 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40614 * conform/data/limits.h-data: Fixes for POSIX2008.
40615 * conform/run-conformtest.sh: Run all tests.
40616 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40618 * include/bits/dlfcn.h: Likewise.
40619 * include/langinfo.h: Likewise.
40620 * include/monetary.h: Likewise.
40621 * include/sys/poll.h: Likewise.
40623 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40625 * posix/spawn.h: Define __need_sigset_t.
40626 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40627 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40628 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40629 to get sigevent_t only.
40630 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40631 only for __USE_GNU.
40632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40633 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40634 process_vm_writev only for __USE_GNU.
40635 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40637 * conform/Makefile: For now ignore errors from run-conformtest.
40638 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40639 POSIX to avoid namespace pollution. Don't prepend headers.
40640 * conform/data/aio.h-data: Fixes for POSIX testing.
40641 * conform/data/fcntl.h-data: Likewise.
40642 * conform/data/glob.h-data: Likewise.
40643 * conform/data/grp.h-data: Likewise.
40644 * conform/data/pthread.h-data: Likewise.
40645 * conform/data/pwd.h-data: Likewise.
40646 * conform/data/signal.h-data: Likewise.
40647 * conform/data/spawn.h-data: Likewise.
40648 * conform/data/stdio.h-data: Likewise.
40649 * conform/data/stdlib.h-data: Likewise.
40650 * conform/data/stropts.h-data: Likewise.
40651 * conform/data/sys/mman.h-data: Likewise.
40652 * conform/data/sys/stat.h-data: Likewise.
40653 * conform/data/sys/types.h-data: Likewise.
40654 * conform/data/sys/wait.h-data: Likewise.
40655 * conform/data/time.h-data: Likewise.
40656 * conform/data/unistd.h-data: Likewise.
40657 * conform/data/utime.h-data: Likewise.
40659 * io/sys/stat.h: fchmod was always in POSIX.
40660 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40661 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40662 * rt/aio.h: Define __need_timespec before including <time.h>.
40663 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40664 struct. Add forward declaration of pthread_attr_t and use it in
40666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40667 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40668 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40669 always remove CLK_TCK definition.
40671 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40673 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40675 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40677 * conform/run-conformtest.sh: New file.
40678 * conform/Makefile: Run run-conformtest for tests.
40679 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40682 * conform/data/uchar.h-data: New file.
40683 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40684 * conform/data/arpa/inet.h-data: Likewise.
40685 * conform/data/assert.h-data: Likewise.
40686 * conform/data/complex.h-data: Likewise.
40687 * conform/data/cpio.h-data: Likewise.
40688 * conform/data/ctype.h-data: Likewise.
40689 * conform/data/dirent.h-data: Likewise.
40690 * conform/data/dlfcn.h-data: Likewise.
40691 * conform/data/errno.h-data: Likewise.
40692 * conform/data/fcntl.h-data: Likewise.
40693 * conform/data/float.h-data: Likewise.
40694 * conform/data/fmtmsg.h-data: Likewise.
40695 * conform/data/fnmatch.h-data: Likewise.
40696 * conform/data/ftw.h-data: Likewise.
40697 * conform/data/glob.h-data: Likewise.
40698 * conform/data/grp.h-data: Likewise.
40699 * conform/data/iconv.h-data: Likewise.
40700 * conform/data/inttypes.h-data: Likewise.
40701 * conform/data/langinfo.h-data: Likewise.
40702 * conform/data/libgen.h-data: Likewise.
40703 * conform/data/limits.h-data: Likewise.
40704 * conform/data/locale.h-data: Likewise.
40705 * conform/data/math.h-data: Likewise.
40706 * conform/data/monetary.h-data: Likewise.
40707 * conform/data/mqueue.h-data: Likewise.
40708 * conform/data/ndbm.h-data: Likewise.
40709 * conform/data/net/if.h-data: Likewise.
40710 * conform/data/netdb.h-data: Likewise.
40711 * conform/data/netinet/in.h-data: Likewise.
40712 * conform/data/nl_types.h-data: Likewise.
40713 * conform/data/poll.h-data: Likewise.
40714 * conform/data/pthread.h-data: Likewise.
40715 * conform/data/pwd.h-data: Likewise.
40716 * conform/data/regex.h-data: Likewise.
40717 * conform/data/sched.h-data: Likewise.
40718 * conform/data/search.h-data: Likewise.
40719 * conform/data/semaphore.h-data: Likewise.
40720 * conform/data/setjmp.h-data: Likewise.
40721 * conform/data/signal.h-data: Likewise.
40722 * conform/data/spawn.h-data: Likewise.
40723 * conform/data/stdarg.h-data: Likewise.
40724 * conform/data/stdio.h-data: Likewise.
40725 * conform/data/stdlib.h-data: Likewise.
40726 * conform/data/string.h-data: Likewise.
40727 * conform/data/strings.h-data: Likewise.
40728 * conform/data/stropts.h-data: Likewise.
40729 * conform/data/sys/ipc.h-data: Likewise.
40730 * conform/data/sys/mman.h-data: Likewise.
40731 * conform/data/sys/msg.h-data: Likewise.
40732 * conform/data/sys/resource.h-data: Likewise.
40733 * conform/data/sys/select.h-data: Likewise.
40734 * conform/data/sys/sem.h-data: Likewise.
40735 * conform/data/sys/shm.h-data: Likewise.
40736 * conform/data/sys/socket.h-data: Likewise.
40737 * conform/data/sys/stat.h-data: Likewise.
40738 * conform/data/sys/statvfs.h-data: Likewise.
40739 * conform/data/sys/time.h-data: Likewise.
40740 * conform/data/sys/timeb.h-data: Likewise.
40741 * conform/data/sys/times.h-data: Likewise.
40742 * conform/data/sys/types.h-data: Likewise.
40743 * conform/data/sys/uio.h-data: Likewise.
40744 * conform/data/sys/un.h-data: Likewise.
40745 * conform/data/sys/utsname.h-data: Likewise.
40746 * conform/data/sys/wait.h-data: Likewise.
40747 * conform/data/syslog.h-data: Likewise.
40748 * conform/data/tar.h-data: Likewise.
40749 * conform/data/termios.h-data: Likewise.
40750 * conform/data/utime.h-data: Likewise.
40751 * conform/data/utmpx.h-data: Likewise.
40752 * conform/data/varargs.h-data: Likewise.
40753 * conform/data/wchar.h-data: Likewise.
40754 * conform/data/wctype.h-data: Likewise.
40755 * conform/data/wordexp.h-data: Likewise.
40757 * include/stropts.h: New file.
40758 * include/uchar.h: New file.
40759 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40760 * include/assert.h: Likewise.
40761 * include/ctype.h: Likewise.
40762 * include/dirent.h: Likewise.
40763 * include/dlfcn.h: Likewise.
40764 * include/fcntl.h: Likewise.
40765 * include/fnmatch.h: Likewise.
40766 * include/glob.h: Likewise.
40767 * include/grp.h: Likewise.
40768 * include/libio.h: Likewise.
40769 * include/locale.h: Likewise.
40770 * include/math.h: Likewise.
40771 * include/net/if.h: Likewise.
40772 * include/netdb.h: Likewise.
40773 * include/netinet/in.h: Likewise.
40774 * include/pthread.h: Likewise.
40775 * include/pwd.h: Likewise.
40776 * include/regex.h: Likewise.
40777 * include/sched.h: Likewise.
40778 * include/search.h: Likewise.
40779 * include/setjmp.h: Likewise.
40780 * include/signal.h: Likewise.
40781 * include/stdio.h: Likewise.
40782 * include/stdlib.h: Likewise.
40783 * include/string.h: Likewise.
40784 * include/sys/cdefs.h: Likewise.
40785 * include/sys/mman.h: Likewise.
40786 * include/sys/msg.h: Likewise.
40787 * include/sys/resource.h: Likewise.
40788 * include/sys/select.h: Likewise.
40789 * include/sys/socket.h: Likewise.
40790 * include/sys/stat.h: Likewise.
40791 * include/sys/statvfs.h: Likewise.
40792 * include/sys/time.h: Likewise.
40793 * include/sys/times.h: Likewise.
40794 * include/sys/uio.h: Likewise.
40795 * include/sys/utsname.h: Likewise.
40796 * include/sys/wait.h: Likewise.
40797 * include/termios.h: Likewise.
40798 * include/time.h: Likewise.
40799 * include/ulimit.h: Likewise.
40800 * include/unistd.h: Likewise.
40801 * include/utime.h: Likewise.
40802 * include/wchar.h: Likewise.
40803 * include/wctype.h: Likewise.
40804 * include/wordexp.h: Likewise.
40806 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40808 * time/time.h: TIME_UTC must be a macro.
40809 Make timespec_get available for ISO C11 only as well.
40811 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40813 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40814 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40816 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40818 * configure.in: Use -o not -a in test for unsupported multi-arch.
40820 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40822 * manual/texinfo.tex: Update to version 2012-01-19.16.
40824 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40826 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40828 2012-02-24 Roland McGrath <roland@hack.frob.com>
40831 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40832 * manual/fdl-1.3.texi: New file.
40833 * manual/fdl-1.1.texi: File removed.
40836 * manual/libc.texinfo (FDL_VERSION): New @set.
40837 Use it for mention of FDL in cover text.
40838 (Documentation License): Use it in @include file name.
40840 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40841 Roland McGrath <roland@hack.frob.com>
40844 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40845 (not LONG_LONG_MAX and LONG_LONG_MIN.
40846 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40847 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40849 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40855 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40856 manipulate bits before adding and subtracting TWO23[sx].
40857 * math/libm-test.inc (nearbyint_test): Add more tests.
40859 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40862 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40863 bits before adding and subtracting TWO23[sx].
40864 * math/libm-test.inc (rint_test): Add more tests.
40865 (rint_test_tonearest): Likewise.
40866 (rint_test_towardzero): Likewise.
40867 (rint_test_downward): Likewise.
40868 (rint_test_upward: Likewise.
40870 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40873 * include/stdc-predef.h: New file. Extracted from features.h.
40874 * include/features.h: Include stdc-predef.h.
40875 * Makefile (headers): Add stdc-predef.h.
40876 * CONFORMANCE (Compiler limitations): Update.
40878 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40880 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40882 2012-02-21 David S. Miller <davem@davemloft.net>
40884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40887 2012-02-20 David S. Miller <davem@davemloft.net>
40889 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40890 using a normal save/restore sequence, rather than allocating a
40891 dummy stack frame just to store a frame pointer and restore.
40892 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40894 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40896 * manual/install.texi: Fix stray word in line-wrapped comment.
40898 2012-02-20 David S. Miller <davem@davemloft.net>
40900 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40901 both binutils and gcc support GOTDATA.
40903 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40904 "rd %pc" in the PIC register setup sequences.
40906 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40907 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40908 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40909 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40910 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40915 (SYSCALL_ERROR_HANDLER): Likewise.
40916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40917 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40919 (SYSCALL_ERROR_HANDLER): Likewise.
40921 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40922 (HAVE_GCC_GOTDATA): New.
40923 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40924 relocation support in both binutils and gcc.
40925 * sysdeps/sparc/elf/configure: Regenerate.
40927 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40928 * sysdeps/sparc/sparc32/elf/configure: Delete.
40929 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40930 * sysdeps/sparc/sparc64/elf/configure: Delete.
40931 * sysdeps/sparc/elf/configure.in: New file.
40932 * sysdeps/sparc/elf/configure: Generate.
40934 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40935 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40936 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40937 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40938 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40940 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40942 * manual/install.texi: Do not mention specific glibc version
40944 * manual/libc.texinfo (VERSION, UPDATED): Update.
40945 (@copying): Use @copyright{} and range of years.
40947 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40950 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40951 [crti.S not in sysdirs] (generated): Do not append.
40952 [crti.S not in sysdirs] (omit-deps): Likewise.
40953 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40954 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40955 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40956 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40957 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40959 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40960 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40961 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40962 * csu/defs.awk: Remove file.
40963 * sysdeps/generic/initfini.c: Likewise.
40964 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40966 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40969 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40971 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40972 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40973 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40976 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40978 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40979 (__EPOLL_PACKED): Define to empty if not defined by
40981 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40985 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40987 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40988 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40989 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40992 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40996 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40998 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41005 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41007 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41008 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41010 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41012 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41013 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41015 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41017 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41020 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41022 * math/w_acos.c: Use non-signaling floating-point comparisons.
41023 * math/w_acosf.c: Likewise.
41024 * math/w_acosh.c: Likewise.
41025 * math/w_acoshf.c: Likewise.
41026 * math/w_acoshl.c: Likewise.
41027 * math/w_acosl.c: Likewise.
41028 * math/w_asin.c: Likewise.
41029 * math/w_asinf.c: Likewise.
41030 * math/w_asinl.c: Likewise.
41031 * math/w_atanh.c: Likewise.
41032 * math/w_atanhf.c: Likewise.
41033 * math/w_atanhl.c: Likewise.
41034 * math/w_exp2.c: Likewise.
41035 * math/w_exp2f.c: Likewise.
41036 * math/w_exp2l.c: Likewise.
41037 * math/w_j0.c: Likewise.
41038 * math/w_j0f.c: Likewise.
41039 * math/w_j0l.c: Likewise.
41040 * math/w_j1.c: Likewise.
41041 * math/w_j1f.c: Likewise.
41042 * math/w_j1l.c: Likewise.
41043 * math/w_jn.c: Likewise.
41044 * math/w_jnf.c: Likewise.
41045 * math/w_log.c: Likewise.
41046 * math/w_log10.c: Likewise.
41047 * math/w_log10f.c: Likewise.
41048 * math/w_log10l.c: Likewise.
41049 * math/w_log2.c: Likewise.
41050 * math/w_log2f.c: Likewise.
41051 * math/w_log2l.c: Likewise.
41052 * math/w_logf.c: Likewise.
41053 * math/w_logl.c: Likewise.
41054 * math/w_sqrt.c: Likewise.
41055 * math/w_sqrtf.c: Likewise.
41056 * math/w_sqrtl.c: Likewise.
41057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41058 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41060 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41061 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41063 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41066 * manual/string.texi (strnlen): Use correct parameter name in
41067 equivalent expression.
41069 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41072 * manual/users.texi (seteuid): Consistently use neweuid for
41075 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41078 * manual/nss.texi (Services in the NSS configuration): Correct
41079 list of services in example configuration file.
41081 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41084 * manual/arith.texi: Remove statements about negative zero
41085 behaving identically to zero.
41087 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41090 * manual/install.texi: Do not document upgrading from libc5.
41092 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41095 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41097 2012-02-18 David S. Miller <davem@davemloft.net>
41099 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41100 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41101 %o7 across the call.
41102 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41105 SETUP_PIC_REG_LEAF.
41106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41107 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41108 * sysdeps/sparc/crtn.S: Likewise.
41110 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41112 * aout/Makefile: Remove.
41114 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41117 * manual/examples/argp-ex1.c (main): Format definition in GNU
41119 * manual/examples/argp-ex2.c (main): Likewise.
41120 * manual/examples/argp-ex3.c (main): Likewise.
41121 * manual/examples/argp-ex4.c (main): Likewise.
41122 * manual/examples/longopt.c (main): Use new-style prototype
41124 * manual/examples/strncat.c (main): Specify return type and use
41125 (void) for arguments.
41126 * manual/examples/subopt.c (main): Use char **argv argument.
41128 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41131 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41134 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41137 * manual/string.texi (strchr): Change when strchrnul is
41140 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41143 * manual/locale.texi (setlocale): Document LOCPATH.
41145 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41148 * manual/process.texi (execle): Move @dots{} before last argument.
41150 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41153 * manual/charset.texi (Generic Charset Conversion): Fix typo
41154 (LC_TYPE -> LC_CTYPE).
41156 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41159 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41160 (scalbnf): Likewise.
41161 (scalbnl): Likewise.
41162 (scalbln): Likewise.
41163 (scalblnf): Likewise.
41164 (scalblnl): Likewise.
41165 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41166 (vwarnx): Likewise.
41169 * manual/filesys.texi (telldir): Use braces around return type.
41170 * manual/llio.texi (mmap): Add space after comma.
41171 (mmap64): Likewise.
41172 * manual/math.texi (jn): Use @var{} on parameter names.
41178 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41180 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41182 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41183 (sched_get_priority_max): Likewise.
41184 * manual/signal.texi (sigvec): Add space after comma.
41185 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41187 (if_indextoname): Likewise.
41188 (if_freenameindex): Likewise.
41189 (sendto): Use ',' instead of '.' in prototype.
41190 * manual/startup.texi (syscall): Use @dots{} instead of literal
41192 * manual/stdio.texi (__fpending): Separate initial words of
41193 paragraph from @deftypefun line.
41194 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41196 (vsyslog): Use @var{} on parameter names.
41197 * manual/terminal.texi (stty): Use @var{} on parameter names.
41198 * manual/users.texi (getutmp): Use @var{} on parameter names.
41199 (getutmpx): Likewise.
41201 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41204 * manual/stdio.texi (fopen): Fix typos in description of
41207 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41210 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41211 get clock_id definition.
41213 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41216 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41217 (madvise): Cast every argument to void on its own.
41219 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41222 * manual/startup.texi (Exit Status): Fix typo.
41224 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41227 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41228 * manual/examples/argp-ex2.c: Likewise.
41229 * manual/examples/argp-ex3.c: Likewise.
41231 2012-02-16 Richard Henderson <rth@redhat.com>
41233 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41234 * sysdeps/s390/s390-32/initfini.c: Remove.
41235 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41236 * sysdeps/s390/s390-64/initfini.c: Remove.
41238 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41240 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41241 compiler output for sysdeps/generic/initfini.c.
41242 * sysdeps/sh/elf/initfini.c: Remove file.
41244 2012-02-16 David S. Miller <davem@davemloft.net>
41247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41249 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41250 * sysdeps/sparc/crti.S: New file.
41251 * sysdeps/sparc/crtn.S: New file.
41252 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41253 * sysdeps/sparc/sparc64/Makefile: Likewise.
41255 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41258 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41260 2012-02-15 Roland McGrath <roland@hack.frob.com>
41263 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41265 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41266 (write, read, close): Likewise.
41267 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41269 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41271 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41272 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41273 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41274 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41276 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41280 2012-02-14 Marek Polacek <polacek@redhat.com>
41282 * sysdeps/x86_64/crti.S: New file.
41283 * sysdeps/x86_64/crtn.S: New file.
41284 * sysdeps/x86_64/elf/initfini.c: Remove file.
41286 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41288 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41289 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41290 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41291 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41293 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41297 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41299 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41300 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41301 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41302 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41304 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41308 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41310 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41311 __feraiseexcept instead of feraiseexcept.
41313 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41314 nanosleep invocations.
41315 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41316 strings, and add error checking for a nanosleep invocations.
41318 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41320 Replace FSF snail mail address with URLs, as per GNU coding standards.
41321 Most of the snail mail addresses were wrong anyway, and omitting
41322 them makes the source code easier to maintain. Almost all of the
41323 changes are to license notices and to locale LC_IDENTIFICATION
41324 addresses, except for this one:
41325 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41326 not its snail mail address.
41328 2012-02-09 Richard Henderson <rth@twiddle.net>
41330 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41331 of kernel-features.h.
41333 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41335 2012-02-08 Marek Polacek <polacek@redhat.com>
41337 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41338 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41339 * sysdeps/gnu/_G_config.h: Likewise.
41340 * sysdeps/generic/_G_config.h: Likewise.
41342 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41344 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41348 * sysdeps/powerpc/powerpc32/crti.S: New file.
41349 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41350 * sysdeps/powerpc/powerpc64/crti.S: New file.
41351 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41353 * Makeconfig (have-initfini): Don't set.
41354 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41355 * configure.in (nopic_initfini): Don't substitute.
41356 * config.h.in (HAVE_INITFINI): Don't #undef.
41357 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41358 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41360 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41362 Support crti.S and crtn.S provided directly by architectures.
41363 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41364 [crti.S in sysdirs] (omit-deps): Likewise.
41365 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41366 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41367 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41368 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41369 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41370 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41371 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41372 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41373 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41374 compiler output for sysdeps/generic/initfini.c.
41375 * sysdeps/i386/elf/Makefile: Remove file.
41376 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41378 2012-02-07 Marek Polacek <polacek@redhat.com>
41380 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41381 * sysdeps/gnu/_G_config.h: Likewise.
41382 * sysdeps/mach/hurd/_G_config.h: Likewise.
41384 2012-02-07 Marek Polacek <polacek@redhat.com>
41386 * math/Makefile (tests): Add tst-CMPLX2.
41387 * math/tst-CMPLX2.c: New file.
41389 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41393 * math/libm-test.inc (jn_test): Add missing L suffix.
41395 2012-02-06 Marek Polacek <polacek@redhat.com>
41397 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41398 * sysdeps/i386/fpu/e_powf.S: Likewise.
41399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41400 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41402 * sysdeps/i386/fpu/e_pow.S: Likewise.
41403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41407 * sysdeps/i386/fpu/e_log2.S: Likewise.
41408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41410 * sysdeps/i386/fpu/e_powl.S: Likewise.
41411 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41414 * sysdeps/i386/fpu/e_logl.S: Likewise.
41415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41416 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41417 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41418 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41419 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41420 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41421 * sysdeps/i386/fpu/e_log.S: Likewise.
41422 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41424 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41425 * sysdeps/i386/fpu/e_logf.S: Likewise.
41426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41427 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41428 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41431 * sysdeps/i386/fpu/e_log10.S: Likewise.
41432 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41434 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41435 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41438 * sysdeps/i386/asm-syntax.h: Likewise.
41439 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41440 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41442 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41443 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41444 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41445 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41446 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41447 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41448 * sysdeps/powerpc/sysdep.h: Likewise.
41449 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41450 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41452 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41455 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41457 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41459 * sysdeps/i386/sysdep.h: Include <features.h>.
41460 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41463 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41465 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41467 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41470 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41472 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41473 (SETUP_PIC_REG): Use GET_PC_THUNK.
41474 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41477 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41479 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41480 for non-PIC compilation.
41481 (SETUP_PIC_REG): Add .p2align directive.
41482 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41483 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41487 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41490 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41491 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41492 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41493 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41494 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41495 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41496 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41503 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41514 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41515 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41516 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41517 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41518 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41519 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41520 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41521 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41522 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41524 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41526 * math/tst-CMPLX.c: Include <stdio.h>.
41528 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41530 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41532 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41533 * sysdeps/sparc/bits/mathdef.h: Likewise.
41535 2012-01-31 Marek Polacek <polacek@redhat.com>
41537 * libio/libio.h: Don't define _PARAMS.
41538 * locale/programs/config.h: Don't define PARAMS.
41539 * stdlib/strtol_l.c: Likewise.
41540 (__strtol_l): Remove PARAMS from the prototype.
41542 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41544 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41545 names. Just use the correct names. Remove unnecessary wrapper
41547 * malloc/arena.c: Likewise.
41548 * malloc/hooks.c: Likewise.
41550 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41551 ARENA_TEST says not to. Simplify test for creation of a new arena.
41552 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41554 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41556 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41558 (update_get_addr): New function.
41559 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41560 GET_ADDR_MODULE parameter.
41562 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41564 * crypt/cert.c: Remove __STDC__ conditionals.
41565 * crypt/crypt-entry.c: Likewise.
41566 * crypt/crypt_util.c: Likewise.
41567 * libio/filedoalloc.c: Likewise.
41568 * libio/fileops.c: Likewise.
41569 * libio/genops.c: Likewise.
41570 * libio/iofclose.c: Likewise.
41571 * libio/iofdopen.c: Likewise.
41572 * libio/iofopen.c: Likewise.
41573 * libio/iofopen64.c: Likewise.
41574 * libio/iogetdelim.c: Likewise.
41575 * libio/iopopen.c: Likewise.
41576 * libio/obprintf.c: Likewise.
41577 * libio/oldfileops.c: Likewise.
41578 * libio/oldiofclose.c: Likewise.
41579 * libio/oldiofdopen.c: Likewise.
41580 * libio/oldiofopen.c: Likewise.
41581 * libio/oldiopopen.c: Likewise.
41582 * libio/wfiledoalloc.c: Likewise.
41583 * libio/wgenops.c: Likewise.
41584 * locale/programs/xmalloc.c: Likewise.
41585 * misc/syslog.c: Likewise.
41586 * stdio-common/xbug.c: Likewise.
41587 * string/memchr.c: Likewise.
41588 * string/memcmp.c: Likewise.
41589 * string/memrchr.c: Likewise.
41590 * string/rawmemchr.c: Likewise.
41591 * sysdeps/posix/getcwd.c: Likewise.
41592 * time/strftime_l.c: Likewise.
41594 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41596 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41597 * config.make.in (config-cflags-sse2avx): Define.
41598 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41601 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41603 * scripts/config.guess: Update from upstream config git repository.
41604 * scripts/config.sub: Likewise.
41606 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41608 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41610 (R_TILEPRO_*, R_TILEGX_*): New macros.
41612 * scripts/firstversions.awk: Fix bug in version range handling.
41614 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41616 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41618 * include/sys/epoll.h: New file.
41619 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41622 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41624 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41625 Avoid unnecessary __WORDSIZE == 64 test.
41626 (fmaxf): Use VEX format if possible.
41631 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41632 * math/math_private.h: Remove libc_fegetround* and
41634 * sysdeps/i386/configure.in: Check for -msse2avx.
41635 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41636 also if SSE2AVX is defined.
41637 Remove libc_fegetround* and libc_fesetround*.
41638 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41639 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41648 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41650 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41656 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41659 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41661 * Makeconfig (libm): Define.
41662 * elf/Makefile: Add rules to build and run tst-relsort1.
41663 * elf/tst-relsort1.c: New file.
41664 * elf/tst-relsort1mod1.c: New file.
41665 * elf/tst-relsort1mod2.c: New file.
41667 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41669 * math/s_ldexp.c: Remove __STDC__ conditionals.
41670 * math/s_ldexpf.c: Likewise.
41671 * math/s_ldexpl.c: Likewise.
41672 * math/s_nextafter.c: Likewise.
41673 * math/s_nexttowardf.c: Likewise.
41674 * math/s_significand.c: Likewise.
41675 * math/s_significandf.c: Likewise.
41676 * math/s_significandl.c: Likewise.
41677 * math/w_jnl.c: Likewise.
41678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41684 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41687 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41688 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41690 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41694 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41697 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41698 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41705 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41706 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41709 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41712 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41713 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41714 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41715 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41716 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41718 * sysdeps/ieee754/k_standard.c: Likewise.
41719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41726 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41727 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41728 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41729 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41750 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41755 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41765 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41768 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41769 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41775 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41777 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41780 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41781 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41783 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41784 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41785 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41786 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41787 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41788 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41789 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41790 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41791 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41798 * sysdeps/ieee754/s_matherr.c: Likewise.
41799 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41800 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41804 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41806 * crypt/md5.h: Remove __STDC__ conditionals.
41807 * libio/libioP.h: Likewise.
41808 * locale/programs/config.h: Likewise.
41809 * sysdeps/generic/sysdep.h: Likewise.
41810 * sysdeps/i386/asm-syntax.h: Likewise.
41811 * sysdeps/s390/asm-syntax.h: Likewise.
41812 * sysdeps/unix/sysdep.h: Likewise.
41813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41816 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41818 * libio/libio.h: Remove __STDC__ conditionals.
41819 * malloc/obstack.h: Likewise.
41820 * math/complex.h: Likewise.
41821 * math/math.h: Likewise.
41822 * sysdeps/generic/_G_config.h: Likewise.
41823 * sysdeps/gnu/_G_config.h: Likewise.
41824 * sysdeps/mach/hurd/_G_config.h: Likewise.
41825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41827 * sysdeps/sparc/bits/mathdef.h: Likewise.
41829 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41832 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41833 Clean up HAS_* macros.
41834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41835 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41845 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41847 * elf/tst-unique3.cc (gets): Remove declaration.
41848 * elf/tst-unique3lib.cc (gets): Likewise.
41849 * elf/tst-unique3lib2.cc (gets): Likewise.
41850 * elf/tst-unique4.cc (gets): Likewise.
41852 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41854 * include/stdio.h: Add C++ protection. Add gets declarations and
41856 * debug/tst-chk1.c: Don't declare gets here.
41857 * stdio-common/tst-gets.c: Likewise.
41859 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41861 * posix/glob: Remove directory.
41863 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41865 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41867 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41869 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41870 of the non-standard EPFNOSUPPORT.
41872 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41874 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41875 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41876 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41878 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41880 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41882 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41884 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41886 * nscd/grpcache.c (cache_addgr): Likewise.
41887 * nscd/hstcache.c (cache_addhst): Likewise.
41888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41889 * nscd/pwdcache.c (cache_addpw): Likewise.
41890 * nscd/servicescache.c (cache_addserv): Likewise.
41892 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41894 * malloc/malloc.c: Various cleanups.
41895 * malloc/hooks.c: Likewise.
41897 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41898 * stdlib/bug-fmtmsg1.c: New file.
41900 * stdlib/fmtmsg.c (init): Add missing unlock.
41901 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41903 2012-01-12 Marek Polacek <polacek@redhat.com>
41905 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41908 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41910 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41911 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41912 macro to ensure uniqueness of label name.
41913 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41914 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41916 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41918 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41920 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41921 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41925 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41929 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41930 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41931 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41933 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41937 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41940 * math/bits/math-finite.h: Add ldexp support.
41942 2012-01-10 Marek Polacek <polacek@redhat.com>
41944 * locale/programs/localedef.h (show_archive_content): Add noreturn
41947 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41949 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41951 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41953 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41955 * io/Makefile (headers): Add bits/poll2.h.
41957 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41960 typo #include statement.
41962 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41964 * include/sys/cdefs.h: Define __attribute_alloc_size.
41965 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41966 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41967 * elf/pldd.c: Likewise.
41968 * iconv/iconv_charmap.c: Likewise.
41969 * iconv/iconvconfig.c: Likewise.
41970 * iconv/strtab.c: Likewise.
41971 * locale/programs/locale.c: Likewise.
41972 * locale/programs/localedef.h: Likewise.
41973 * locale/programs/simple-hash.c: Likewise.
41974 * nscd/nscd.h: Likewise.
41975 * nss/makedb.c: Likewise.
41976 * sysdeps/generic/ldconfig.h: Likewise.
41977 * locale/programs/localedef.c: Remove xmalloc prototype.
41978 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41980 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41982 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41985 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41987 * math/Makefile (tests): Add tst-CMPLX.
41988 * math/tst-CMPLX.c: New file.
41990 * math/complex.h (CMPLXL): Fix typo.
41992 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41993 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41995 * debug/tst-chk1.c: Add poll and ppoll tests.
41996 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41997 * include/sys/poll.h: Add hidden proto for ppoll.
41998 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41999 * sysdeps/mach/hurd/ppoll.c: Likewise.
42000 * io/ppoll.c: Likewise.
42001 * debug/poll_chk.c: New file.
42002 * debug/ppoll_chk.c: New file.
42003 * include/bits/poll2.h: New file.
42004 * io/bits/poll2.h: New file.
42007 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42009 * configure.in: static is always set to yes. Remove.
42010 * config.make.in: Don't set build-static.
42011 * Makeconfig: Remove use of build-static.
42012 * dlfcn/Makefile: Likewise.
42013 * elf/Makefile: Likewise.
42014 * math/Makefile: Likewise.
42015 * misc/Makefile: Likewise.
42016 * nptl/Makefile: Likewise.
42017 * sysdeps/mach/hurd/Makefile: Likewise.
42019 * configure.in: PWD_P is not used anymore.
42020 * config.make.in: Remove PWD_P entry.
42022 * configure.in: Remove last remnants of RANLIB.
42023 No need to check for signed size_t anymore.
42024 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42026 Remove __builtin_expect test because we require at least gcc 3.4.
42027 * aclocal.m4: Likewise.
42029 * wcsmbs/mbrtoc16.c: Implement using towc function.
42030 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42031 * wcsmbs/wcsmbsload.c: Likewise.
42032 * iconv/gconv_simple.c: Likewise.
42033 * iconv/gconv_int.h: Likewise.
42034 * iconv/gconv_builtin.h: Likewise.
42035 * iconv/iconv_prog.c: Remove CHAR16 handling.
42037 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42039 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42041 * configure.in: Remove --with-elf and --enable-bounded options.
42042 Dont set base_machine for ia64. More non-ELF conditions removed.
42043 Remove testing and setting of leading underscore information.
42044 * config.make.in (build-bounded): Set to no.
42045 * config.h.in: Remove NO_UNDERSCORES entry.
42046 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42048 * csu/start.c: Remove !NO_UNDERSCORE code.
42049 * locale/localeinfo.h: Likewise.
42050 * sysdeps/generic/machine-gmon.h: Likewise.
42051 * sysdeps/generic/sysdep.h: Likewise.
42052 * sysdeps/i386/sysdep.h: Likewise.
42053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42054 * sysdeps/mach/sysdep.h: Likewise.
42055 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42057 * sysdeps/sh/sysdep.h: Likewise.
42058 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42059 * sysdeps/unix/i386/sysdep.S: Likewise.
42060 * sysdeps/unix/sparc/start.c: Likewise.
42061 * sysdeps/unix/sparc/sysdep.S: Likewise.
42062 * sysdeps/unix/sparc/sysdep.h: Likewise.
42063 * sysdeps/unix/start.c: Likewise.
42064 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42065 * sysdeps/x86_64/sysdep.h: Likewise.
42067 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42070 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42072 * argp/argp-fmtstream.h: Use const instead __const.
42073 * argp/argp.h: Likewise.
42074 * assert/assert.h: Likewise.
42075 * bits/fenv.h: Likewise.
42076 * bits/sched.h: Likewise.
42077 * bits/sigset.h: Likewise.
42078 * bits/sigthread.h: Likewise.
42079 * catgets/nl_types.h: Likewise.
42080 * conform/data/pthread.h-data: Likewise.
42081 * crypt/crypt-private.h: Likewise.
42082 * crypt/crypt.h: Likewise.
42083 * crypt/crypt_util.c: Likewise.
42084 * ctype/ctype.h: Likewise.
42085 * debug/execinfo.h: Likewise.
42086 * debug/mbsnrtowcs_chk.c: Likewise.
42087 * debug/mbsrtowcs_chk.c: Likewise.
42088 * debug/wcsnrtombs_chk.c: Likewise.
42089 * debug/wcsrtombs_chk.c: Likewise.
42090 * debug/wcstombs_chk.c: Likewise.
42091 * dirent/dirent.h: Likewise.
42092 * dlfcn/dlfcn.h: Likewise.
42093 * elf/neededtest4.c: Likewise.
42094 * grp/grp.h: Likewise.
42095 * gshadow/gshadow.h: Likewise.
42096 * iconv/gconv.h: Likewise.
42097 * iconv/gconv_int.h: Likewise.
42098 * iconv/gconv_simple.c: Likewise.
42099 * iconv/iconv.h: Likewise.
42100 * iconv/loop.c: Likewise.
42101 * iconv/skeleton.c: Likewise.
42102 * include/aio.h: Likewise.
42103 * include/aliases.h: Likewise.
42104 * include/argz.h: Likewise.
42105 * include/arpa/inet.h: Likewise.
42106 * include/assert.h: Likewise.
42107 * include/dirent.h: Likewise.
42108 * include/dlfcn.h: Likewise.
42109 * include/execinfo.h: Likewise.
42110 * include/fcntl.h: Likewise.
42111 * include/fenv.h: Likewise.
42112 * include/glob.h: Likewise.
42113 * include/grp.h: Likewise.
42114 * include/libintl.h: Likewise.
42115 * include/mntent.h: Likewise.
42116 * include/netdb.h: Likewise.
42117 * include/pwd.h: Likewise.
42118 * include/rpc/netdb.h: Likewise.
42119 * include/sched.h: Likewise.
42120 * include/search.h: Likewise.
42121 * include/shadow.h: Likewise.
42122 * include/signal.h: Likewise.
42123 * include/stdio.h: Likewise.
42124 * include/stdlib.h: Likewise.
42125 * include/string.h: Likewise.
42126 * include/sys/socket.h: Likewise.
42127 * include/sys/stat.h: Likewise.
42128 * include/sys/statfs.h: Likewise.
42129 * include/sys/statvfs.h: Likewise.
42130 * include/sys/syslog.h: Likewise.
42131 * include/sys/time.h: Likewise.
42132 * include/sys/uio.h: Likewise.
42133 * include/time.h: Likewise.
42134 * include/unistd.h: Likewise.
42135 * include/utmp.h: Likewise.
42136 * include/wchar.h: Likewise.
42137 * include/wctype.h: Likewise.
42138 * inet/aliases.h: Likewise.
42139 * inet/arpa/inet.h: Likewise.
42140 * inet/netinet/ether.h: Likewise.
42141 * inet/netinet/in.h: Likewise.
42142 * intl/libintl.h: Likewise.
42143 * io/bits/fcntl2.h: Likewise.
42144 * io/fcntl.h: Likewise.
42145 * io/ftw.h: Likewise.
42146 * io/sys/poll.h: Likewise.
42147 * io/sys/stat.h: Likewise.
42148 * io/sys/statfs.h: Likewise.
42149 * io/sys/statvfs.h: Likewise.
42150 * io/utime.h: Likewise.
42151 * libio/bits/stdio.h: Likewise.
42152 * libio/bits/stdio2.h: Likewise.
42153 * libio/libio.h: Likewise.
42154 * libio/libioP.h: Likewise.
42155 * libio/stdio.h: Likewise.
42156 * locale/lc-ctype.c: Likewise.
42157 * locale/locale.h: Likewise.
42158 * login/utmp.h: Likewise.
42159 * malloc/arena.c: Likewise.
42160 * malloc/malloc.c: Likewise.
42161 * malloc/malloc.h: Likewise.
42162 * malloc/mcheck.c: Likewise.
42163 * malloc/mtrace.c: Likewise.
42164 * math/bits/mathcalls.h: Likewise.
42165 * math/fenv.h: Likewise.
42166 * math/math_private.h: Likewise.
42167 * misc/bits/error.h: Likewise.
42168 * misc/bits/syslog.h: Likewise.
42169 * misc/err.h: Likewise.
42170 * misc/error.h: Likewise.
42171 * misc/fstab.h: Likewise.
42172 * misc/mntent.h: Likewise.
42173 * misc/regexp.h: Likewise.
42174 * misc/search.h: Likewise.
42175 * misc/sgtty.h: Likewise.
42176 * misc/sys/mman.h: Likewise.
42177 * misc/sys/syslog.h: Likewise.
42178 * misc/sys/uio.h: Likewise.
42179 * misc/sys/xattr.h: Likewise.
42180 * misc/ttyent.h: Likewise.
42181 * nis/rpcsvc/ypclnt.h: Likewise.
42182 * nss/nss.h: Likewise.
42183 * posix/bits/unistd.h: Likewise.
42184 * posix/fnmatch.h: Likewise.
42185 * posix/glob.h: Likewise.
42186 * posix/sched.h: Likewise.
42187 * posix/spawn.h: Likewise.
42188 * posix/sys/wait.h: Likewise.
42189 * posix/unistd.h: Likewise.
42190 * posix/wordexp.h: Likewise.
42191 * pwd/pwd.h: Likewise.
42192 * resolv/netdb.h: Likewise.
42193 * resource/sys/resource.h: Likewise.
42194 * rt/aio.h: Likewise.
42195 * rt/bits/mqueue2.h: Likewise.
42196 * rt/mqueue.h: Likewise.
42197 * shadow/shadow.h: Likewise.
42198 * signal/signal.h: Likewise.
42199 * socket/send.c: Likewise.
42200 * socket/sendto.c: Likewise.
42201 * socket/sys/socket.h: Likewise.
42202 * stdio-common/printf.h: Likewise.
42203 * stdlib/bits/stdlib.h: Likewise.
42204 * stdlib/fmtmsg.h: Likewise.
42205 * stdlib/monetary.h: Likewise.
42206 * stdlib/stdlib.h: Likewise.
42207 * stdlib/ucontext.h: Likewise.
42208 * streams/stropts.h: Likewise.
42209 * string/argz.h: Likewise.
42210 * string/bits/string2.h: Likewise.
42211 * string/string.h: Likewise.
42212 * string/strings.h: Likewise.
42213 * sunrpc/rpc/auth.h: Likewise.
42214 * sunrpc/rpc/auth_des.h: Likewise.
42215 * sunrpc/rpc/clnt.h: Likewise.
42216 * sunrpc/rpc/netdb.h: Likewise.
42217 * sunrpc/rpc/pmap_clnt.h: Likewise.
42218 * sunrpc/rpc/xdr.h: Likewise.
42219 * sysdeps/generic/inttypes.h: Likewise.
42220 * sysdeps/generic/net/if.h: Likewise.
42221 * sysdeps/generic/sys/swap.h: Likewise.
42222 * sysdeps/gnu/net/if.h: Likewise.
42223 * sysdeps/gnu/utmpx.h: Likewise.
42224 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42225 * sysdeps/i386/i486/bits/string.h: Likewise.
42226 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42227 * sysdeps/s390/bits/string.h: Likewise.
42228 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42229 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42230 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42231 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42232 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42233 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42234 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42235 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42236 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42237 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42238 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42239 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42240 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42241 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42242 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42243 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42244 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42247 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42249 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42250 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42251 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42252 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42253 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42256 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42258 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42259 * sysvipc/sys/ipc.h: Likewise.
42260 * sysvipc/sys/msg.h: Likewise.
42261 * sysvipc/sys/sem.h: Likewise.
42262 * sysvipc/sys/shm.h: Likewise.
42263 * termios/termios.h: Likewise.
42264 * time/sys/time.h: Likewise.
42265 * time/time.h: Likewise.
42266 * wcsmbs/bits/wchar2.h: Likewise.
42267 * wcsmbs/uchar.h: Likewise.
42268 * wcsmbs/wchar.h: Likewise.
42269 * wctype/wctype.h: Likewise.
42272 * Makeconfig: Remove all but ELF support including AIX support.
42273 * Makerules: Likewise.
42274 * config.h.in: Likewise.
42275 * config.make.in: Likewise.
42276 * configure: Likewise.
42277 * configure.in: Likewise.
42278 * csu/Makefile: Likewise.
42279 * csu/version.c: Likewise.
42280 * debug/Makefile: Likewise.
42281 * dlfcn/Makefile: Likewise.
42282 * elf/Makefile: Likewise.
42283 * extra-lib.mk: Likewise.
42284 * iconv/Makefile: Likewise.
42285 * include/libc-symbols.h: Likewise.
42286 * include/shlib-compat.h: Likewise.
42287 * resolv/Makefile: Likewise.
42288 * resolv/res_libc.c: Likewise.
42289 * rt/Makefile: Likewise.
42290 * sysdeps/i386/asm-syntax.h: Likewise.
42291 * sysdeps/i386/sysdep.h: Likewise.
42292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42293 * sysdeps/mach/sysdep.h: Likewise.
42294 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42295 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42296 * sysdeps/s390/asm-syntax.h: Likewise.
42297 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42299 * sysdeps/sh/sysdep.h: Likewise.
42300 * sysdeps/unix/sparc/sysdep.h: Likewise.
42301 * sysdeps/wordsize-32/divdi3.c: Likewise.
42302 * sysdeps/x86_64/sysdep.h: Likewise.
42304 * argp/Versions: Remove _argp_unlock_xxx.
42307 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42308 * abilist/libBrokenLocale.abilist: Likewise.
42309 * abilist/libanl.abilist: Likewise.
42310 * abilist/libc.abilist: Likewise.
42311 * abilist/libcrypt.abilist: Likewise.
42312 * abilist/libdl.abilist: Likewise.
42313 * abilist/libm.abilist: Likewise.
42314 * abilist/libnsl.abilist: Likewise.
42315 * abilist/libpthread.abilist: Likewise.
42316 * abilist/libresolv.abilist: Likewise.
42317 * abilist/librt.abilist: Likewise.
42318 * abilist/libthread_db.abilist: Likewise.
42319 * abilist/libutil.abilist: Likewise.
42320 * abilist/libnss_db.abilist: New file.
42322 * scripts/abilist.awk: Add support for indirect functions.
42324 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42326 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42328 * shlib-versions: Remove entries for ports architectures.
42330 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42332 * elf/stackguard-macros.h: Remove support for IA-64.
42333 * elf/tst-auditmod1.c: Likewise.
42334 * sysdeps/generic/ldsodefs.h: Likewise.
42336 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42337 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42341 * configure.in: Remove --enable-omitfp support.
42343 * config.make.in: Likewise.
42344 * Makeconfig: Likewise.
42345 * manual/install.texi: Likewise.
42347 In case anyone cares, the IA-64 architecture could move to ports.
42348 * sysdeps/ia64/*: Removed.
42349 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42350 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42353 * configure.in: Remove entries for unsupported architectures.
42356 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42357 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42359 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42360 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42361 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42362 fall back to using wcrtomb.
42363 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42364 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42366 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42367 * wcsmbs/tst-c16c32-1.c: New file.
42369 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42372 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42374 * elf/tst-unique3.cc: Add explicit declaration of gets.
42375 * elf/tst-unique3lib.cc: Likewise.
42376 * elf/tst-unique3lib2.cc: Likewise.
42377 * elf/tst-unique4.cc: Likewise.
42379 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42381 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42384 * assert/assert.h (static_assert): Don't define for C++.
42385 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42386 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42388 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42390 * iconv/loop.c (single loop): Fix assertion in storing of
42393 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42395 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42397 * posix/getconf.c: Update copyright year.
42398 * nss/getent.c: Likewise.
42399 * nss/makedb.c: Likewise.
42400 * iconv/iconvconfig.c: Likewise.
42401 * iconv/iconv_prog.c: Likewise.
42402 * elf/ldconfig.c: Likewise.
42403 * elf/pldd.c: Likewise.
42404 * elf/sotruss.ksh: Likewise.
42405 * catgets/gencat.c: Likewise.
42406 * csu/version.c: Likewise.
42407 * elf/ldd.bash.in: Likewise.
42408 * elf/sprof.c (print_version): Likewise.
42409 * locale/programs/locale.c: Likewise.
42410 * locale/programs/localedef.c: Likewise.
42411 * login/programs/pt_chown.c: Likewise.
42412 * nscd/nscd.c (print_version): Likewise.
42413 * debug/xtrace.sh: Likewise.
42414 * malloc/memusage.sh: Likewise.
42415 * malloc/mtrace.pl: Likewise.
42416 * debug/catchsegv.sh: Likewise.
42418 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42420 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42423 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42426 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42427 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42429 * iconv/gconv_int.h: Likewise.
42430 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42431 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42432 from libc for GLIBC_2.16.
42433 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42434 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42435 * wcsmbs/uchar.h: Really define mbstate_t.
42436 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42437 * wcsmbs/c16rtomb.c: New file.
42438 * wcsmbs/mbrtoc16.c: New file.
42439 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42440 for C/POSIX locale.
42441 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42442 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42444 * wcsmbs/wchar.h: Add missing __restrict.
42446 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42449 * time/Makefile (routines): Add timespec_get.
42450 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42451 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42452 timespec for ISO C11.
42453 * time/timespec_get.c: New file.
42454 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42455 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42458 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42459 * stdlib/stdlib.h: Declare aligned_alloc.
42460 * Versions.def: Add GLIBC_2.16 for libc.
42461 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42464 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42467 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42471 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42474 * assert/assert.h (static_assert): Define.
42476 * version.h: Update for 2.16 development version.
42479 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42482 * version.h (RELEASE): Bump for 2.15 release.
42483 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42485 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42486 Patch by Marek Polacek <mpolacek@redhat.com>.
42488 * bits/byteswap.h: Protect long long constants with __extension__.
42489 * sysdeps/i386/bits/byteswap.h: Likewise.
42490 * sysdeps/ia64/bits/byteswap.h: Likewise.
42491 * sysdeps/s390/bits/byteswap.h: Likewise.
42492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42494 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42498 destination buffer.
42499 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42501 2011-12-23 Marek Polacek <polacek@redhat.com>
42503 * elf/dl-addr.c (determine_info): Add inline keyword.
42504 * elf/tst-auditmod4b.c (check_avx): Likewise.
42505 * elf/tst-auditmod6b.c (check_avx): Likewise.
42506 * elf/tst-auditmod6c.c (check_avx): Likewise.
42507 * elf/tst-auditmod7b.c (check_avx): Likewise.
42509 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42511 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42514 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42518 processing for last bytes.
42520 2011-08-06 Bruno Haible <bruno@clisp.org>
42523 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42524 U+0385, not to U+1FEE.
42527 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42528 entry for U+00A5 U+0301.
42530 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42533 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42534 buffer for the output is too small.
42536 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42540 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42541 SSE flags if possible.
42543 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42547 processing for last bytes.
42549 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42551 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42552 (syscall-list-default-options, syscall-list-default-condition)
42553 (syscall-list-includes): Define.
42554 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42555 list of ABIs and options and #if conditions for each ABI. Do not
42556 handle common syscalls between ABIs specially.
42557 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42559 (syscall-list-variants, syscall-list-32bit-options)
42560 (syscall-list-32bit-condition, syscall-list-64bit-options)
42561 (syscall-list-64bit-condition): Define.
42562 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42563 (syscall-list-variants, syscall-list-32bit-options)
42564 (syscall-list-32bit-condition, syscall-list-64bit-options)
42565 (syscall-list-64bit-condition): Define.
42566 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42568 (syscall-list-variants, syscall-list-32bit-options)
42569 (syscall-list-32bit-condition, syscall-list-64bit-options)
42570 (syscall-list-64bit-condition): Define.
42571 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42573 (syscall-list-variants, syscall-list-32bit-options)
42574 (syscall-list-32bit-condition, syscall-list-64bit-options)
42575 (syscall-list-64bit-condition): Define.
42577 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42579 * locale/iso-639.def: Add brx entry.
42582 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42583 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42585 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42586 __feraiseexcept_renamed.
42588 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42591 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42592 EPOLLET with unsigned values.
42593 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42596 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42597 to large cancellation.
42598 * math/s_cacoshf.c: Likewise.
42599 * math/s_cacoshl.c: Likewise.
42601 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42605 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42606 * math/s_cacoshf.c: Likewise.
42607 * math/s_cacoshl.c: Likewise.
42609 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42612 * iconv/gconv.h: Define __GCONV_SWAP.
42613 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42614 * iconvdata/utf-16.c: Likewise.
42615 * iconvdata/utf-32.c: Likewise.
42617 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42620 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42621 numerator after shifting it by one limb.
42623 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42626 under [__USE_EXTERN_INLINES].
42628 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42631 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42633 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42635 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42636 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42638 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42639 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42640 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42641 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42642 for strncasecmp/strncasecmp_l compilation.
42643 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42644 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42646 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42649 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42652 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42655 * time/tzfile.c (__tzfile_read): Check values from file header.
42657 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42659 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42660 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42661 * powerpc/powerpc32/dl-start.S: Likewise.
42662 * powerpc/powerpc32/elf/start.S: Likewise.
42663 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42664 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42665 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42666 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42667 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42668 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42669 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42670 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42671 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42672 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42673 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42674 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42675 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42676 * powerpc/powerpc32/memset.S: Likewise.
42677 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42678 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42679 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42680 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42681 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42682 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42683 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42684 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42685 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42686 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42687 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42688 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42689 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42691 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42693 * math/libm-test.inc: Added more nearbyint tests.
42694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42699 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42701 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42704 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42706 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42707 Add wcscpy-ssse3 wcscpy-c.
42708 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42709 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42710 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42711 * sysdeps/x86_64/wcschr.S: New file.
42712 * sysdeps/x86_64/wcsrchr.S: New file.
42713 * string/test-strcmp.c: Remove checking of wcscmp function for
42715 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42716 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42717 wcsrchr-sse2 wcsrchr-c.
42718 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42719 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42720 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42721 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42722 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42723 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42724 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42725 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42726 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42727 * wcsmbc/wcschr.c (WCSCHR): New macro.
42729 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42731 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42732 * wcsmbs/test-wcsrchr.c: New file.
42733 * string/test-strrchr.c: Add wcsrchr support.
42735 * wcsmbs/test-wcscpy.c: New file.
42736 * string/test-strcpy.c: Add wcscpy support.
42739 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42744 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42747 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42749 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42752 Minor optimizations.
42754 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42755 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42756 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42758 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42760 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42761 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42762 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42763 for gcc to avoid warnings.
42764 * inet/Makefile (tests): Add tst-checks.
42765 * inet/tst-checks.c: New file.
42767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42770 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42773 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42774 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42776 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42778 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42780 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42783 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42785 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42787 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42788 conditional on GCC version.
42789 (__arch_compare_and_exchange_val_8_acq)
42790 (__arch_compare_and_exchange_val_16_acq)
42791 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42792 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42793 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42795 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42797 * sysdeps/sh/backtrace.c: New file.
42799 2011-12-02 Andreas Schwab <schwab@redhat.com>
42801 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42804 2011-12-01 Andreas Schwab <schwab@redhat.com>
42806 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42807 falling back to utime.
42809 2011-11-30 Andreas Schwab <schwab@redhat.com>
42811 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42812 expectations for float.
42814 2011-11-29 Andreas Schwab <schwab@redhat.com>
42816 * locale/weight.h (findidx): Add parameter len.
42817 * locale/weightwc.h (findidx): Likewise.
42818 * posix/fnmatch_loop.c (FCT): Adjust caller.
42819 * posix/regcomp.c (build_equiv_class): Likewise.
42820 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42821 * posix/regexec.c (check_node_accept_bytes): Likewise.
42822 * string/strcoll_l.c (STRCOLL): Likewise.
42823 * string/strxfrm_l.c (STRXFRM): Likewise.
42825 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42827 * Makefile.in: Remove CVSOPT handling.
42828 * configure.in: Remove use of AC_REVISION.
42829 * iconvdata/Makefile (distribute): No need to filter out CVS.
42830 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42833 2011-11-16 Andreas Schwab <schwab@redhat.com>
42835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42836 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42837 [USE_AS_STRNCASECMP_L]: Likewise.
42838 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42839 NO_TLS_DIRECT_SEG_REFS.
42840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42841 Fix argument offsets for non-PIC.
42842 [USE_AS_STRNCASECMP_L]: Likewise.
42843 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42844 NO_TLS_DIRECT_SEG_REFS.
42846 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42848 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42850 * locale/loadlocale.c (_nl_load_locale): Likewise.
42852 2011-11-15 Andreas Schwab <schwab@redhat.com>
42854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42855 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42856 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42857 (SYSCALL_GETTIME): Set errno on error.
42859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42860 count references to noai6ai_cached.
42862 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42864 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42866 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42867 FD_CLOEXEC for /proc/self/maps.
42869 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42870 FD_CLOEXEC for /proc/meminfo.
42872 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42875 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42876 FD_CLOEXEC for given file.
42878 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42880 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42881 FD_CLOEXEC for /etc/hosts.
42882 (_gethtent): Likewise.
42884 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42886 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42887 cancellation and set FD_CLOEXEC for /etc/netgroup.
42889 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42890 reading /etc/publickey.
42892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42893 allow cancellation when reading /etc/group.
42895 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42897 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42899 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42900 when using data file.
42902 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42904 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42905 (write_nis_obj): Use "c" and "e" in fopen.
42907 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42909 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42911 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42913 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42915 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42918 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42920 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42922 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42924 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42925 file parsing and set FD_CLOEXEC.
42927 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42929 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42931 2011-11-14 Andreas Schwab <schwab@redhat.com>
42933 * malloc/arena.c (arena_get2): Don't call reused_arena when
42934 _int_new_arena failed.
42936 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42938 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42939 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42941 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42942 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42944 to compile strcasecmp and strncasecmp.
42945 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42946 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42950 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42952 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42953 locale-defines.sym to gen-as-const-headers.
42954 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42955 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42957 to compile strcasecmp and strncasecmp.
42958 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42959 strcasecmp_l and strncasecmp_l.
42960 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42961 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42962 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42963 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42964 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42965 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42966 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42967 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42968 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42969 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42970 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42972 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42974 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42975 result of SYSDEP_GETTIME_CPU to retval.
42976 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42977 parameter list to macro. Remove trailing semicolon. Adjust users.
42979 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42982 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42984 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42986 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42987 from unused variable.
42989 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42991 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42994 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42997 * sunrpc/rpc_prot.c (rejected): Fix case value.
42999 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43000 unsigned long long int to avoid warnings in shift.
43002 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43004 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43008 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43009 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43011 * nis/nis_table.c (nis_list): Use variable of correct type for
43012 result of __follow_path call.
43014 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43016 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43017 of math functions ceil, trunc, floor, round, and sqrt, when
43018 avaliable on the platform.
43019 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43022 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43023 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43025 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43027 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43030 2011-11-11 Roland McGrath <roland@hack.frob.com>
43032 * include/unistd.h: Fix __readlink return type.
43033 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43035 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43037 * stdlib/ucontext.h: Undo last change for makecontext.
43039 2011-11-11 Andreas Schwab <schwab@redhat.com>
43041 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43043 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43044 * setjmp/setjmp.h: Mark functions as non-leaf.
43045 * setjmp/bits/setjmp2.h: Likewise.
43046 * stdlib/ucontext.h: Likewise.
43048 2011-11-10 Andreas Schwab <schwab@redhat.com>
43050 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43051 (reused_arena): Don't check arena limit.
43052 (arena_get2): Atomically check arena limit.
43054 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43056 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43057 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43062 2011-11-07 Andreas Schwab <schwab@redhat.com>
43064 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43065 handler when locking.
43067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43068 Fix size of allocated buffer.
43070 2011-11-04 Andreas Schwab <schwab@redhat.com>
43073 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43074 declarations for long double functions.
43075 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43077 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43079 2011-11-03 Andreas Schwab <schwab@redhat.com>
43081 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43084 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43087 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43089 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43091 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43093 * include/alloca.h (stackinfo_alloca_round): Define.
43094 (extend_alloca): Use it.
43095 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43096 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43099 * scripts/check-local-headers.sh: Ignore libaudit.h.
43101 * nscd/Makefile (extra-objs): Make recursively expanded.
43103 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43105 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43108 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43109 * posix/tst-rfc3484-2.c: Likewise.
43110 * posix/tst-rfc3484-3.c: Likewise.
43112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43114 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43116 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43117 process_vm_writev from libc using GLIBC_2.15 version.
43119 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43121 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43123 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43126 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43129 * nss/getent.c (initgroups_keys): Show error message in case no group
43132 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43133 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43134 __bump_nl_timestamp.
43135 * nscd/connections (nscd_init): When host database is served open
43136 netlink socket and request notification about configuration changes.
43137 (main_loop_poll): Track netlink file descriptor and bump timestamp
43138 in case data becomes available.
43139 (main_loop_epoll): Likewise.
43140 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43141 (database_pers_head): Add extra_data fileds.
43142 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43143 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43144 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43147 in6ai data, call __free_in6ai.
43148 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43149 Add -DHAVE_NETLINK.
43150 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43151 interface information. Reuse previous data if netlink timestamp
43153 (__bump_nl_timestamp): New function.
43154 (__free_in6ai): New function.
43156 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43159 close_not_cancel_no_status here.
43160 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43162 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43165 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43168 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43169 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43170 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43172 2011-07-03 Andreas Jaeger <aj@suse.de>
43175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43176 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43177 * math/libm-test.inc (sin_test): Add test case.
43179 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43182 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43185 * elf/chroot_canon.c (chroot_canon): Cleanups.
43187 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43190 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43191 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43193 * string/test-strchr.c: Make usable for strchrnul testing.
43194 * string/test-strchrnul.c: New file.
43195 * string/Makefile (strop-tests): Add strchrnul.
43197 * po/it.po: Update from translation team.
43198 * po/es.po: Likewise.
43200 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43202 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43203 the three constants needed as parameters. Drop the others.
43204 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43205 __m128i_strloadu_tolower.
43206 Create and initialize variable zero and use it in all the places
43207 where _mm_setzero_si128 was used.
43209 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43210 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43211 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43214 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43216 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43217 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43218 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43219 __mpranred, __mptan.
43220 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43221 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43222 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43223 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43227 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43228 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43230 2011-10-28 Andreas Schwab <schwab@redhat.com>
43232 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43233 redefine if SHARED.
43234 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43237 wide char related routines to wcsmbs subdir.
43239 2011-10-27 Andreas Schwab <schwab@redhat.com>
43242 * misc/sys/cdefs.h (__THROWNL): Define.
43243 * posix/unistd.h: Use __THREADNL instead of __THREAD
43244 for memory synchronization functions.
43246 2011-10-26 Roland McGrath <roland@hack.frob.com>
43249 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43251 * manual/stdio.texi (Obstack Streams): Node removed.
43253 2011-10-26 Andreas Schwab <schwab@redhat.com>
43255 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43256 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43259 * math/math_private.h (math_force_eval): Allow non-addressable
43261 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43263 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43265 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43266 file is not needed.
43268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43271 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43275 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43277 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43278 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43279 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43280 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43282 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43283 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43285 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43286 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43287 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43288 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43291 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43292 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43293 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43294 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43295 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43297 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43298 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43301 place. Use VEX encoding when compiling for AVX.
43303 2011-10-25 Andreas Schwab <schwab@redhat.com>
43305 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43306 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43308 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43310 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43312 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43313 useless if() expression.
43314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43318 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43321 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43322 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43324 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43325 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43326 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43327 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43328 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43329 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43331 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43334 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43336 2011-10-25 Andreas Schwab <schwab@redhat.com>
43338 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43340 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43342 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43344 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43345 .text section. Avoid duplicate constants.
43346 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43354 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43355 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43356 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43357 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43358 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43359 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43360 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43362 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43364 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43366 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43367 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43368 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43369 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43370 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43371 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43372 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43373 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43376 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43386 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43387 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43388 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43389 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43390 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43392 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43394 * sysdeps/x86_64/dla.h: Move to ...
43395 * sysdeps/x86_64/fpu/dla.h: ...here.
43396 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43397 situations. Use __builtin_fma only for gcc 4.6 and up.
43399 * config.make.in: Add have-mfma4 entry.
43400 * configure.in: Substitute libc_cv_cc_fma4.
43401 * math/Makefile (dbl-only-routines): Add sincostab.
43402 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43403 Use __sincostab not sincos.
43404 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43411 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43412 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43413 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43414 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43417 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43419 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43420 define aliases when function name is a macro.
43421 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43422 sysdeps/ieee754/dbl-64/sincos.tbl.
43423 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43424 fma4-enabled routines.
43425 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43426 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43427 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43428 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43430 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43432 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43434 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43435 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43436 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43437 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43438 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43443 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43445 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43456 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43467 2011-10-24 Andreas Schwab <schwab@redhat.com>
43469 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43471 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43475 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43479 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43480 Remove unused variable magic_bits.
43481 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43483 * string/strnlen.c: Define and use STRNLEN macro.
43484 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43485 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43487 * wcsmbs/wcslen.c: Define and use WCSLEN.
43488 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43489 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43490 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43491 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43492 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43493 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43494 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43496 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43499 strnlen-sse2-no-bsf.
43500 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43502 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43503 Add strnlen support.
43504 (USE_AS_STRNLEN): New macro.
43505 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43507 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43508 * sysdeps/x86_64/wcslen.S: New file.
43510 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43513 XMM-moves are used for copying on small sizes.
43515 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43517 * wcsmbs/Makefile (strop-tests): Add wcschr.
43518 * wcsmbs/test-wcschr.c: New file.
43519 * string/test-strchr.c: Update.
43520 Add wcschr support.
43523 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43525 * wcsmbs/Makefile (strop-tests): Add wcslen.
43526 * wcsmbs/test-wcslen.c: New file.
43527 * string/test-strlen.c: Update.
43528 Add wcslen support.
43531 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43533 * po/it.po: Update from translation team.
43535 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43537 * sysdeps/x86_64/wcscmp.S: Update.
43538 Fix wrong comparison semantics.
43539 wcscmp shall use signed comparison not unsigned.
43540 Don't use substraction to avoid overflow bug.
43541 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43542 * wcsmbc/wcscmp.c: Likewise.
43543 * string/test-strcmp.c: Likewise.
43544 Add new tests to check cases with negative values.
43546 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43548 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43549 * sysdeps/x86_64/dla.h: ...here. New file.
43550 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43560 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43563 __ynl_finite aliases.
43565 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43569 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43571 [DLA_FMA] (EMULV): Use DLA_FMA.
43572 [DLA_FMA] (MUL12): Use EMULV.
43573 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43574 that are not needed.
43575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43583 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43585 * math/s_nan.c: Undef __nan.
43586 * math/s_nanf.c: Undef __nanf.
43587 * math/s_nanl.c: Undef __nanl.
43588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43591 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43593 * math/s_catan.c: Add branch predictions.
43594 * math/s_catanf.c: Likewise.
43595 * math/s_catanh.c: Likewise.
43596 * math/s_catanhf.c: Likewise.
43597 * math/s_catanhl.c: Likewise.
43598 * math/s_catanl.c: Likewise.
43599 * math/s_cexp.c: Likewise.
43600 * math/s_cexpf.c: Likewise.
43601 * math/s_cexpl.c: Likewise.
43602 * math/s_clog.c: Likewise.
43603 * math/s_clog10.c: Likewise.
43604 * math/s_clog10f.c: Likewise.
43605 * math/s_clog10l.c: Likewise.
43606 * math/s_clogf.c: Likewise.
43607 * math/s_clogl.c: Likewise.
43608 * math/s_csqrt.c: Likewise.
43609 * math/s_csqrtf.c: Likewise.
43610 * math/s_csqrtl.c: Likewise.
43611 * math/s_ctanf.c: Likewise.
43612 * math/s_ctanh.c: Likewise.
43613 * math/s_ctanhf.c: Likewise.
43614 * math/s_ctanhl.c: Likewise.
43615 * math/s_ctanl.c: Likewise.
43617 * math/math_private.h: Define __nan, __nanf, __nanl.
43618 * math/s_cacosh.c: Include <math_private.h>.
43619 * math/s_cacoshl.c: Likewise.
43620 * math/s_casinh.c: Likewise.
43621 * math/s_casinhf.c: Likewise.
43622 * math/s_casinhl.c: Likewise.
43623 * math/s_ccos.c: Rely entire on ccosh.
43624 * math/s_ccosf.c: Rely entire on ccoshf.
43625 * math/s_ccosl.c: Rely entirely on ccoshl.
43626 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43627 Remove tests for FE_INVALID.
43628 * math/s_ccoshf.c: Likewise.
43629 * math/s_ccoshl.c: Likewise.
43630 * math/s_csin.c: Likewise.
43631 * math/s_csinf.c: Likewise.
43632 * math/s_csinh.c Likewise.
43633 * math/s_csinhf.c: Likewise.
43634 * math/s_csinhl.c: Likewise.
43635 * math/s_csinl.c: Likewise.
43636 * math/s_ctan.c: Likewise.
43637 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43638 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43641 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43644 compilation problems.
43646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43649 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43651 * sysdeps/i386/configure.in: Test for -mfma4 option.
43652 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43653 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43654 COMMON_CPUID_INDEX_80000001.
43655 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43656 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43657 use it if FMA3 is not supported.
43658 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43660 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43661 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43663 2011-10-20 Andreas Schwab <schwab@redhat.com>
43666 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43667 it would create a cycle with a link time dependency.
43669 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43671 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43673 * string/Makefile (strop-tests): Add rawmemchr.
43674 * string/test-rawmemchr.c: New file.
43676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43678 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43679 when compiling str{,n}casecmp and when AVX is available. Hook up
43680 new optimized code in initializers.
43682 2011-10-19 Andreas Schwab <schwab@redhat.com>
43684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43685 __feraiseexcept instead of feraiseexcept.
43687 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43689 * math/math_private.h: Define defaults for libc_fetestexcept and
43691 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43692 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43693 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43694 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43697 libc_fetestexcept and libc_feupdateenv.
43699 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43700 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43701 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43702 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43703 libc_feholdexcept_setround.
43705 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43706 Add s_nearbyint-c and s_nearbyintf-c.
43707 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43708 nearbyintf inlines.
43709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43711 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43714 * math/math_private.h: Define defaults for libc_fegetround,
43715 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43716 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43717 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43719 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43720 standard functions.
43721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43722 Remove comments and hacks for old compiler versions.
43723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43724 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43725 libc_feholdexceptl.
43727 2011-10-18 Andreas Schwab <schwab@redhat.com>
43729 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43730 (__feraiseexcept_renamed): Add __NTH.
43731 (feraiseexcept): Add __NTH. Rename local variables to fix
43732 namespace violations.
43734 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43736 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43738 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43740 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43741 recently added interfaces.
43742 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43744 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43745 about macro parameter expansion.
43747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43748 __NO_MATH_INLINES is defined. Cleanups.
43750 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43751 and __floorf is target has SSE4.1.
43752 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43754 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43755 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43757 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43759 (floorf): Likewise.
43761 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43763 2011-10-17 Andreas Schwab <schwab@redhat.com>
43765 * misc/sys/cdefs.h: Fix last change.
43767 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43770 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43772 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43774 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43782 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43783 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43784 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43785 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43786 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43787 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43789 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43790 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43791 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43792 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43793 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43794 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43795 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43797 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43798 ceil, ceilf, floor, floorf.
43800 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43801 Perform IRELATIVE relocations last.
43803 * elf/do-rel.h: Add another parameter nrelative, replacing the
43804 local variable with the same name. Change name of the function
43805 to end in Rel or Rela (uppercase).
43806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43807 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43808 elf_dynamic_do_##reloc function.
43810 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43812 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43813 is sufficient, at least on modern CPUs.
43815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43817 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43820 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43822 * math/bits/math-finite.h: Add entries for exp.
43823 * math/e_expl.c: Add __*_finite alias.
43824 * sysdeps/i386/fpu/e_exp.S: Likewise.
43825 * sysdeps/i386/fpu/e_expf.S: Likewise.
43826 * sysdeps/i386/fpu/e_expl.c: Likewise.
43827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43828 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43829 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43831 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43832 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43833 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43835 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43836 is sufficient, at least on modern CPUs.
43838 * ctype/ctype-info.c (__ctype_init): Define.
43839 * include/ctype.h (__ctype_init): Declare.
43840 (__ctype_b_loc): The variable is always initialized.
43841 (__ctype_toupper_loc): Likewise.
43842 (__ctype_tolower_loc): Likewise.
43843 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43844 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43846 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43848 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43850 * configure.in: Also look in $cxxmachine/include for C++ system
43853 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43855 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43856 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43857 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43858 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43859 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43860 (USE_AS_WMEMCMP): New macro.
43862 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43863 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43864 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43865 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43867 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43868 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43870 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43871 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43873 (USE_AS_WMEMCMP): New macro.
43874 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43875 * sysdeps/string/test-memcmp.c: Update.
43876 Fix simple_wmemcmp.
43878 * wcsmbs/wmemcmp.c: Update.
43879 (WMEMCMP): New macro.
43882 2011-10-12 Andreas Jaeger <aj@suse.de>
43885 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43887 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43889 * libio/iofwide.c (do_length): Avoid warning.
43891 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43893 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43895 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43897 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43898 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43899 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43900 * sysdeps/i386/i686/fpu/e_log.S: New file.
43901 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43902 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43904 * ctype/ctype.h: Add support for inlined isXXX functions when
43905 compiling C++ code.
43907 2011-10-14 Andreas Schwab <schwab@redhat.com>
43909 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43913 2011-10-13 Roland McGrath <roland@hack.frob.com>
43916 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43918 2011-10-13 Andreas Schwab <schwab@redhat.com>
43920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43921 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43924 * sysdeps/x86_64/memrchr.S: Check for zero size.
43926 * string/stratcliff.c: Add memrchr tests.
43928 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43931 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43932 rawmemchr-sse2 rawmemchr-sse2-bsf.
43933 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43934 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43935 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43936 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43937 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43938 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43939 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43940 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43941 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43943 * string/memrchr.c (MEMRCHR): New macro.
43945 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43947 Add integration with gcc's -ffinite-math-only and optimize wrapper
43949 * Versions.def: Define GLIBC_2.15 version for libm.
43950 * math/Makefile (headers): Add bits/math-finite.h.
43951 * math/bits/math-finite.h: New file.
43952 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43953 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43954 * math/e_acoshl.c: Add __*_finite alias.
43955 * math/e_acosl.c: Likewise.
43956 * math/e_asinl.c: Likewise.
43957 * math/e_atan2l.c: Likewise.
43958 * math/e_atanhl.c: Likewise.
43959 * math/e_coshl.c: Likewise.
43960 * math/e_exp10.c: Likewise.
43961 * math/e_exp10f.c: Likewise.
43962 * math/e_exp10l.c: Likewise.
43963 * math/e_exp2l.c: Likewise.
43964 * math/e_fmodl.c: Likewise.
43965 * math/e_gammal_r.c: Likewise.
43966 * math/e_hypotl.c: Likewise.
43967 * math/e_j0l.c: Likewise.
43968 * math/e_j1l.c: Likewise.
43969 * math/e_jnl.c: Likewise.
43970 * math/e_lgammal_r.c: Likewise.
43971 * math/e_log10l.c: Likewise.
43972 * math/e_log2l.c: Likewise.
43973 * math/e_logl.c: Likewise.
43974 * math/e_powl.c: Likewise.
43975 * math/e_sinhl.c: Likewise.
43976 * math/e_sqrtl.c: Likewise.
43977 * math/e_scalb.c: Completely rewritten and optimized.
43978 * math/e_scalbf.c: Likewise.
43979 * math/e_scalbl.c: Likewise.
43980 * math/w_acos.c: Likewise.
43981 * math/w_acosf.c: Likewise.
43982 * math/w_acosl.c: Likewise.
43983 * math/w_acosh.c: Likewise.
43984 * math/w_acoshf.c: Likewise.
43985 * math/w_acoshl.c: Likewise.
43986 * math/w_asin.c: Likewise.
43987 * math/w_asinf.c: Likewise.
43988 * math/w_asinl.c: Likewise.
43989 * math/w_atan2.c: Likewise.
43990 * math/w_atan2f.c: Likewise.
43991 * math/w_atan2l.c: Likewise.
43992 * math/w_atanh.c: Likewise.
43993 * math/w_atanhf.c: Likewise.
43994 * math/w_atanhl.c: Likewise.
43995 * math/w_exp10.c: Likewise.
43996 * math/w_exp10f.c: Likewise.
43997 * math/w_exp10l.c: Likewise.
43998 * math/w_fmod.c: Likewise.
43999 * math/w_fmodf.c: Likewise.
44000 * math/w_fmodl.c: Likewise.
44001 * math/w_j0.c: Likewise.
44002 * math/w_j0f.c: Likewise.
44003 * math/w_j0l.c: Likewise.
44004 * math/w_j1.c: Likewise.
44005 * math/w_j1f.c: Likewise.
44006 * math/w_j1l.c: Likewise.
44007 * math/w_jn.c: Likewise.
44008 * math/w_jnf.c: Likewise.
44009 * math/w_log.c: Likewise.
44010 * math/w_logf.c: Likewise.
44011 * math/w_logl.c: Likewise.
44012 * math/w_log10.c: Likewise.
44013 * math/w_log10f.c: Likewise.
44014 * math/w_log10l.c: Likewise.
44015 * math/w_log2.c: Likewise.
44016 * math/w_log2f.c: Likewise.
44017 * math/w_log2l.c: Likewise.
44018 * math/w_pow.c: Likewise.
44019 * math/w_powf.c: Likewise.
44020 * math/w_powl.c: Likewise.
44021 * math/w_remainder.c: Likewise.
44022 * math/w_remainderf.c: Likewise.
44023 * math/w_remainderl.c: Likewise.
44024 * math/w_scalb.c: Likewise.
44025 * math/w_scalbf.c: Likewise.
44026 * math/w_scalbl.c: Likewise.
44027 * math/w_sqrt.c: Likewise.
44028 * math/w_sqrtf.c: Likewise.
44029 * math/w_sqrtl.c: Likewise.
44030 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44031 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44033 * math/math_private.h: Declare __kernel_standard_f.
44034 * math/w_cosh.c: Remove cruft and optimize a bit.
44035 * math/w_coshf.c: Likewise.
44036 * math/w_coshl.c: Likewise.
44037 * math/w_exp2.c: Likewise.
44038 * math/w_exp2f.c: Likewise.
44039 * math/w_exp2l.c: Likewise.
44040 * math/w_hypot.c: Likewise.
44041 * math/w_hypotf.c: Likewise.
44042 * math/w_hypotl.c: Likewise.
44043 * math/w_lgamma.c: Likewise.
44044 * math/w_lgamma_r.c: Likewise.
44045 * math/w_lgammaf.c: Likewise.
44046 * math/w_lgammaf_r.c: Likewise.
44047 * math/w_lgammal.c: Likewise.
44048 * math/w_lgammal_r.c: Likewise.
44049 * math/w_sinh.c: Likewise.
44050 * math/w_sinhf.c: Likewise.
44051 * math/w_sinhl.c: Likewise.
44052 * math/w_tgamma.c: Likewise.
44053 * math/w_tgammaf.c: Likewise.
44054 * math/w_tgammal.c: Likewise.
44055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44056 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44057 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44058 Minor optimizations. Pretty printing. Remove cruft.
44059 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44060 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44061 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44063 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44064 * sysdeps/i386/fpu/e_asin.S: Likewise.
44065 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44066 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44067 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44068 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44070 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44072 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44073 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44074 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44075 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44076 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44077 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44078 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44079 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44080 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44081 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44082 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44083 * sysdeps/i386/fpu/e_log.S: Likewise.
44084 * sysdeps/i386/fpu/e_log10.S: Likewise.
44085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44086 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44087 * sysdeps/i386/fpu/e_log2.S: Likewise.
44088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44090 * sysdeps/i386/fpu/e_logf.S: Likewise.
44091 * sysdeps/i386/fpu/e_logl.S: Likewise.
44092 * sysdeps/i386/fpu/e_pow.S: Likewise.
44093 * sysdeps/i386/fpu/e_powf.S: Likewise.
44094 * sysdeps/i386/fpu/e_powl.S: Likewise.
44095 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44096 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44097 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44099 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44100 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44101 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44102 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44103 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44125 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44128 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44130 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44131 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44132 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44133 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44138 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44139 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44140 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44141 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44142 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44144 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44145 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44146 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44147 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44149 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44150 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44151 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44152 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44154 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44159 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44160 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44161 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44162 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44163 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44164 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44172 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44178 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44179 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44182 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44183 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44184 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44185 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44189 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44192 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44193 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44194 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44195 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44196 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44197 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44198 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44200 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44201 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44202 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44203 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44204 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44205 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44206 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44207 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44210 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44212 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44214 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44215 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44216 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44217 (__isnanf): Likewise.
44218 (__isinf_ns): Likewise.
44219 (__isinf_nsf): Likewise.
44220 (__finite): Likewise.
44221 (__finitef): Likewise.
44222 (__ieee754_sqrt): Define as macro.
44223 (__ieee754_sqrtf): Define as macro.
44224 (__ieee754_sqrtl): Define as macro.
44225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44227 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44228 __FINITE_MATH_ONLY__ consistent.
44229 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44231 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44233 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44238 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44240 * po/ja.po: Update from translation team.
44242 2011-10-08 Roland McGrath <roland@hack.frob.com>
44244 * locale/programs/locarchive.c (prepare_address_space): New function.
44245 (create_archive, enlarge_archive, open_archive): Use it.
44247 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44248 inside [SHARED], where it is used.
44250 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44252 * nss/getent.c (netgroup_keys): Remove unused variable.
44253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44255 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44257 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44258 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44261 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44263 * math/Makefile (libm-calls): Add s_isinf_ns.
44264 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44265 * math/multc3.c: Likewise.
44266 * math/s_casin.c: Likewise.
44267 * math/s_casinf.c: Likewise.
44268 * math/s_casinl.c: Likewise.
44269 * math/s_ccos.c: Likewise.
44270 * math/s_ccosf.c: Likewise.
44271 * math/s_ccosl.c: Likewise.
44272 * math/s_ctan.c: Likewise.
44273 * math/s_ctanf.c: Likewise.
44274 * math/s_ctanh.c: Likewise.
44275 * math/s_ctanhf.c: Likewise.
44276 * math/s_ctanhl.c: Likewise.
44277 * math/s_ctanl.c: Likewise.
44278 * math/w_fmod.c: Likewise.
44279 * math/w_fmodf.c: Likewise.
44280 * math/w_fmodl.c: Likewise.
44281 * math/w_remainder.c: Likewise.
44282 * math/w_remainderf.c: Likewise.
44283 * math/w_remainderl.c: Likewise.
44284 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44285 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44288 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44289 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44290 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44291 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44293 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44295 * stdio-common/printf_fphex.c: Likewise.
44296 * stdio-common/printf_size.c: Likewise.
44298 * math/e_exp10.c: Include math_private.h using <...> not "...".
44299 * math/e_exp10f.c: Likewise.
44300 * math/e_exp10l.c: Likewise.
44301 * math/e_exp2l.c: Likewise.
44302 * math/e_j0l.c: Likewise.
44303 * math/e_j1l.c: Likewise.
44304 * math/e_jnl.c: Likewise.
44305 * math/e_lgammal_r.c: Likewise.
44306 * math/e_rem_pio2l.c: Likewise.
44307 * math/e_scalb.c: Likewise.
44308 * math/e_scalbf.c: Likewise.
44309 * math/e_scalbl.c: Likewise.
44310 * math/k_cosl.c: Likewise.
44311 * math/k_sinl.c: Likewise.
44312 * math/k_tanl.c: Likewise.
44313 * math/s_cacoshf.c: Likewise.
44314 * math/s_catan.c: Likewise.
44315 * math/s_catanf.c: Likewise.
44316 * math/s_catanh.c: Likewise.
44317 * math/s_catanhf.c: Likewise.
44318 * math/s_catanhl.c: Likewise.
44319 * math/s_catanl.c: Likewise.
44320 * math/s_ccosh.c: Likewise.
44321 * math/s_ccoshf.c: Likewise.
44322 * math/s_ccoshl.c: Likewise.
44323 * math/s_cexp.c: Likewise.
44324 * math/s_cexpf.c: Likewise.
44325 * math/s_cexpl.c: Likewise.
44326 * math/s_clog.c: Likewise.
44327 * math/s_clog10.c: Likewise.
44328 * math/s_clog10f.c: Likewise.
44329 * math/s_clog10l.c: Likewise.
44330 * math/s_clogf.c: Likewise.
44331 * math/s_clogl.c: Likewise.
44332 * math/s_csin.c: Likewise.
44333 * math/s_csinf.c: Likewise.
44334 * math/s_csinh.c: Likewise.
44335 * math/s_csinhf.c: Likewise.
44336 * math/s_csinhl.c: Likewise.
44337 * math/s_csinl.c: Likewise.
44338 * math/s_csqrt.c: Likewise.
44339 * math/s_csqrtf.c: Likewise.
44340 * math/s_csqrtl.c: Likewise.
44341 * math/s_ctan.c: Likewise.
44342 * math/s_ctanf.c: Likewise.
44343 * math/s_ctanh.c: Likewise.
44344 * math/s_ctanhf.c: Likewise.
44345 * math/s_ctanhl.c: Likewise.
44346 * math/s_ctanl.c: Likewise.
44347 * math/s_ldexp.c: Likewise.
44348 * math/s_ldexpf.c: Likewise.
44349 * math/s_ldexpl.c: Likewise.
44350 * math/s_significand.c: Likewise.
44351 * math/s_significandf.c: Likewise.
44352 * math/s_significandl.c: Likewise.
44353 * math/w_acos.c: Likewise.
44354 * math/w_acosf.c: Likewise.
44355 * math/w_acosh.c: Likewise.
44356 * math/w_acoshf.c: Likewise.
44357 * math/w_acoshl.c: Likewise.
44358 * math/w_acosl.c: Likewise.
44359 * math/w_asin.c: Likewise.
44360 * math/w_asinf.c: Likewise.
44361 * math/w_asinl.c: Likewise.
44362 * math/w_atan2.c: Likewise.
44363 * math/w_atan2f.c: Likewise.
44364 * math/w_atan2l.c: Likewise.
44365 * math/w_atanh.c: Likewise.
44366 * math/w_atanhf.c: Likewise.
44367 * math/w_atanhl.c: Likewise.
44368 * math/w_cosh.c: Likewise.
44369 * math/w_coshf.c: Likewise.
44370 * math/w_coshl.c: Likewise.
44371 * math/w_dremf.c: Likewise.
44372 * math/w_exp10.c: Likewise.
44373 * math/w_exp10f.c: Likewise.
44374 * math/w_exp10l.c: Likewise.
44375 * math/w_exp2.c: Likewise.
44376 * math/w_exp2f.c: Likewise.
44377 * math/w_fmod.c: Likewise.
44378 * math/w_fmodf.c: Likewise.
44379 * math/w_fmodl.c: Likewise.
44380 * math/w_hypot.c: Likewise.
44381 * math/w_hypotf.c: Likewise.
44382 * math/w_hypotl.c: Likewise.
44383 * math/w_j0.c: Likewise.
44384 * math/w_j0f.c: Likewise.
44385 * math/w_j0l.c: Likewise.
44386 * math/w_j1.c: Likewise.
44387 * math/w_j1f.c: Likewise.
44388 * math/w_j1l.c: Likewise.
44389 * math/w_jn.c: Likewise.
44390 * math/w_jnf.c: Likewise.
44391 * math/w_jnl.c: Likewise.
44392 * math/w_lgamma.c: Likewise.
44393 * math/w_lgamma_r.c: Likewise.
44394 * math/w_lgammaf.c: Likewise.
44395 * math/w_lgammaf_r.c: Likewise.
44396 * math/w_lgammal.c: Likewise.
44397 * math/w_lgammal_r.c: Likewise.
44398 * math/w_log.c: Likewise.
44399 * math/w_log10.c: Likewise.
44400 * math/w_log10f.c: Likewise.
44401 * math/w_log10l.c: Likewise.
44402 * math/w_log2.c: Likewise.
44403 * math/w_log2f.c: Likewise.
44404 * math/w_log2l.c: Likewise.
44405 * math/w_logf.c: Likewise.
44406 * math/w_logl.c: Likewise.
44407 * math/w_pow.c: Likewise.
44408 * math/w_powf.c: Likewise.
44409 * math/w_powl.c: Likewise.
44410 * math/w_remainder.c: Likewise.
44411 * math/w_remainderf.c: Likewise.
44412 * math/w_remainderl.c: Likewise.
44413 * math/w_scalb.c: Likewise.
44414 * math/w_scalbf.c: Likewise.
44415 * math/w_scalbl.c: Likewise.
44416 * math/w_sinh.c: Likewise.
44417 * math/w_sinhf.c: Likewise.
44418 * math/w_sinhl.c: Likewise.
44419 * math/w_sqrt.c: Likewise.
44420 * math/w_sqrtf.c: Likewise.
44421 * math/w_sqrtl.c: Likewise.
44422 * math/w_tgamma.c: Likewise.
44423 * math/w_tgammaf.c: Likewise.
44424 * math/w_tgammal.c: Likewise.
44426 * po/ja.po: Update from translation team.
44428 2011-09-29 Andreas Jaeger <aj@suse.de>
44431 * sunrpc/netname.c (netname2host): Fix logic.
44435 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44437 * math/w_remainder.c (__remainder): Likewise.
44438 * math/w_remainderf.c (__remainderf): Likewise.
44439 * math/libm-test.inc (remainder_test): Add test cases.
44441 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44443 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44446 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44448 * string/test-memcmp.c: Avoid unncessary #defines.
44449 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44451 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44453 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44454 Use new sse2 version for core i3 - i7 as it's faster
44455 than sse42 version.
44456 (bit_Prefer_PMINUB_for_stringop): New.
44457 * sysdeps/x86_64/rawmemchr.S: Update.
44458 Replace with faster SSE2 version.
44459 * sysdeps/x86_64/memrchr.S: New file.
44460 * sysdeps/x86_64/memchr.S: Update.
44461 Replace with faster SSE2 version.
44463 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44465 * elf/dl-load.c (lose): Add cast to avoid warning.
44467 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44469 * po/ca.po: Update from translation team.
44471 * inet/getnetgrent_r.c: Hook up nscd.
44472 * nscd/Makefile (routines): Add nscd_netgroup.
44473 (nscd-modules): Add netgroupcache.
44474 (CFLAGS-netgroupcache.c): Define.
44475 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44476 (cache_search): Add const to second parameter.
44477 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44479 (dbs): Add netgrdb entry.
44480 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44481 (verify_persistent_db): Handle netgrdb.
44482 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44483 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44485 (netgroup_response_header): Define.
44486 (innetgroup_response_header): Define.
44487 (datahead): Add netgroup_response_header and innetgroup_response_header
44489 * nscd/nscd.conf: Add entries for netgroup cache.
44490 * nscd/nscd.h (dbtype): Add netgrdb.
44491 (_PATH_NSCD_NETGROUP_DB): Define.
44492 (netgroup_iov_disabled): Declare.
44493 (xmalloc, xcalloc, xrealloc): Move declarations here.
44494 (cache_search): Adjust prototype.
44495 Add netgroup-related prototypes.
44496 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44497 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44498 (__nscd_innetgr): Declare.
44499 * nscd/selinux.c (perms): Use access_vector_t as element type and
44500 add netgroup-related initializers.
44501 * nscd/netgroupcache.c: New file.
44502 * nscd/nscd_netgroup.c: New file.
44503 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44504 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44505 For four parameters use innetgr.
44506 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44507 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44508 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44509 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44511 * nscd/connections.c (register_traced_file): Don't register file
44512 for disabled databases.
44514 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44516 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44518 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44519 from tree and freeing node.
44521 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44523 * nss/nsswitch.c (__nss_database_lookup): Handle
44524 nss_parse_service_list out of memory case.
44526 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44528 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44529 out of memory case.
44531 2011-10-04 Andreas Schwab <schwab@redhat.com>
44533 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44534 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44536 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44537 elf_machine_rela, elf_machine_lazy_rel.
44538 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44539 (ELF_DYNAMIC_DO_REL): Likewise.
44540 (ELF_DYNAMIC_DO_RELA): Likewise.
44541 (ELF_DYNAMIC_RELOCATE): Likewise.
44542 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44543 to ELF_DYNAMIC_DO_REL.
44544 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44545 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44546 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44549 skip_ifunc, don't call ifunc function if non-zero.
44550 (elf_machine_rela): Likewise.
44551 (elf_machine_lazy_rel): Likewise.
44552 (elf_machine_lazy_rela): Likewise.
44553 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44554 (elf_machine_lazy_rel): Likewise.
44555 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44557 (elf_machine_lazy_rel): Likewise.
44558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44560 (elf_machine_lazy_rel): Likewise.
44561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44562 (elf_machine_lazy_rel): Likewise.
44563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44564 (elf_machine_lazy_rel): Likewise.
44565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44566 (elf_machine_lazy_rel): Likewise.
44567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44568 (elf_machine_lazy_rel): Likewise.
44569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44570 (elf_machine_lazy_rel): Likewise.
44571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44572 (elf_machine_lazy_rel): Likewise.
44574 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44576 * nss/nss_files/files-init.c (_nss_files_init): Use static
44577 initialization for all the *_traced_file variables.
44579 2011-09-28 Andreas Schwab <schwab@redhat.com>
44581 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44583 2011-09-27 Roland McGrath <roland@hack.frob.com>
44586 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44588 2011-09-27 Andreas Schwab <schwab@redhat.com>
44590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44591 Reread the line before reparsing it.
44593 2011-09-26 Andreas Schwab <schwab@redhat.com>
44595 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44597 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44598 Maxim Kuvyrkov <maxim@codesourcery.com>
44599 Joseph Myers <joseph@codesourcery.com>
44601 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44602 if needed for __stack_chk_guard.
44604 2011-09-19 Roland McGrath <roland@hack.frob.com>
44606 * sysdeps/posix/spawni.c (script_execute): Always define it.
44607 It will be optimized away if unused.
44608 (maybe_script_execute): New function.
44609 (__spawni): Call it.
44611 * Makerules: Don't include tls.make.
44612 (config-tls): Always set to thread.
44613 * tls.make.c: File removed.
44615 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44617 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44618 * config.make.in (CPPFLAGS-config): New substituted variable.
44620 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44625 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44626 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44628 2011-09-15 Roland McGrath <roland@hack.frob.com>
44630 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44631 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44633 (CALL_FAIL): Likewise.
44634 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44635 (CALL_FAIL): Macro removed.
44636 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44638 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44641 for __FINITE_MATH_ONLY__ == 1.
44643 2011-09-15 Andreas Schwab <schwab@redhat.com>
44645 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44646 __ieee754_sqrt instead of sqrt.
44647 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44648 __ieee754_sqrtf instead of sqrtf.
44649 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44650 __floorf instead of floorf.
44651 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44652 __floorf, __truncf instead of floorf, truncf.
44654 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44656 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44658 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44659 __extern_always_inline.
44660 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44663 2011-09-14 Andreas Schwab <schwab@redhat.com>
44665 * elf/rtld.c (dl_main): Also relocate in dependency order when
44666 doing symbol dependency testing.
44668 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44671 Always define `refsym'.
44673 2011-09-13 Andreas Schwab <schwab@redhat.com>
44675 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44676 (__FD_ELT): Renamed from __FDELT.
44677 * misc/bits/select2.h (__FD_ELT): Likewise.
44678 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44679 __FD_MASK instead of __FDELT, __FDMASK.
44680 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44682 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44685 * elf/Makefile (gen-ldd): Fix pattern.
44687 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44688 (init_tls): Likewise.
44690 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44694 2011-09-12 Andreas Schwab <schwab@redhat.com>
44696 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44697 `struct cmsghdr *' instead of `void *'.
44698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44701 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44703 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44705 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44706 ldd_rewrite_script.
44708 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44710 * configure.in: Remove --with-tls option.
44711 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44712 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44713 out in case it is missing.
44714 * sysdeps/ia64/elf/configure.in: Likewise.
44715 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44716 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44717 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44718 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44719 * sysdeps/sh/elf/configure.in: Likewise.
44720 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44721 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44722 * sysdeps/x86_64/elf/configure.in: Likewise.
44723 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44724 * sysdeps/mach/hurd/tls.h: Likewise.
44727 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44730 * configure.in: Fix use of AC_INIT.
44732 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44734 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44736 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44738 * malloc/hooks.c: Likewise.
44741 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44742 variables statically.
44743 (narenas): Initialize.
44744 (list_lock): Initialize.
44745 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44746 initializtion of main_arena and list_lock. Small cleanups.
44747 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44748 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44749 Add initializers to main_arena and mp_.
44750 (malloc_state): Remove pagesize member. Change all users to use
44753 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44754 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44755 is always initialized.
44757 * malloc/malloc.c: Removed unused configurations and dead code.
44758 * malloc/arena.c: Likewise.
44759 * malloc/hooks.c: Likewise.
44760 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44762 * include/tls.h: Removed. USE___THREAD must always be defined.
44763 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44764 * elf/dl-libc.c: Likewise.
44765 * elf/dl-tsd.c: Likewise.
44766 * include/errno.h: Likewise.
44767 * include/netdb.h: Likewise.
44768 * include/resolv.h: Likewise.
44769 * inet/herrno-loc.c: Likewise.
44770 * inet/herrno.c: Likewise.
44771 * malloc/arena.c: Likewise.
44772 * malloc/hooks.c: Likewise.
44773 * malloc/malloc.c: Likewise.
44774 * resolv/res-state.c: Likewise.
44775 * resolv/res_libc.c: Likewise.
44776 * sysdeps/i386/dl-machine.h: Likewise.
44777 * sysdeps/ia64/dl-machine.h: Likewise.
44778 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44779 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44780 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44781 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44782 * sysdeps/sh/dl-machine.h: Likewise.
44783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44785 * sysdeps/unix/i386/sysdep.S: Likewise.
44786 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44787 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44792 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44797 * sysdeps/x86_64/dl-machine.h: Likewise.
44798 * tls.make.c: Likewise.
44800 * configure.in: Remove --with-__thread option. Make tests for
44801 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44802 tls_model attribute fail if no support is available. Remove
44804 * Makeconfig: Adjust for dropped configure option. All features are
44806 * Makerules: Likewise.
44807 * Versions.def: Likewise.
44808 * argp/argp-fmtstream.c: Likewise.
44809 * argp/argp-fmtstream.h: Likewise.
44810 * argp/argp-help.c: Likewise.
44811 * assert/assert.c: Likewise.
44812 * config.h.in: Likewise.
44813 * config.make.in: Likewise.
44814 * configure: Likewise.
44815 * configure.in: Likewise.
44816 * csu/Versions: Likewise.
44817 * csu/init.c: Likewise.
44818 * elf/tst-audit2.c: Likewise.
44819 * elf/tst-tls10.c: Likewise.
44820 * elf/tst-tls10.h: Likewise.
44821 * elf/tst-tls11.c: Likewise.
44822 * elf/tst-tls12.c: Likewise.
44823 * elf/tst-tls14.c: Likewise.
44824 * elf/tst-tlsmod11.c: Likewise.
44825 * elf/tst-tlsmod12.c: Likewise.
44826 * elf/tst-tlsmod13.c: Likewise.
44827 * elf/tst-tlsmod13a.c: Likewise.
44828 * elf/tst-tlsmod14a.c: Likewise.
44829 * elf/tst-tlsmod15b.c: Likewise.
44830 * elf/tst-tlsmod16a.c: Likewise.
44831 * elf/tst-tlsmod16b.c: Likewise.
44832 * elf/tst-tlsmod7.c: Likewise.
44833 * elf/tst-tlsmod8.c: Likewise.
44834 * elf/tst-tlsmod9.c: Likewise.
44835 * gmon/gmon.c: Likewise.
44836 * grp/fgetgrent_r.c: Likewise.
44837 * grp/putgrent.c: Likewise.
44838 * hurd/fopenport.c: Likewise.
44839 * include/libc-symbols.h: Likewise.
44840 * include/tls.h: Likewise.
44841 * intl/gettextP.h: Likewise.
44842 * intl/loadinfo.h: Likewise.
44843 * locale/global-locale.c: Likewise.
44844 * locale/localeinfo.h: Likewise.
44845 * mach/devstream.c: Likewise.
44846 * malloc/arena.c: Likewise.
44847 * malloc/set-freeres.c: Likewise.
44848 * misc/err.c: Likewise.
44849 * misc/getttyent.c: Likewise.
44850 * misc/mntent_r.c: Likewise.
44851 * posix/getopt.c: Likewise.
44852 * posix/wordexp.c: Likewise.
44853 * pwd/fgetpwent_r.c: Likewise.
44854 * resolv/Versions: Likewise.
44855 * resolv/res_hconf.c: Likewise.
44856 * shadow/fgetspent_r.c: Likewise.
44857 * shadow/putspent.c: Likewise.
44858 * stdio-common/printf_fphex.c: Likewise.
44859 * stdio-common/tmpfile.c: Likewise.
44860 * stdlib/abort.c: Likewise.
44861 * stdlib/fmtmsg.c: Likewise.
44862 * sunrpc/auth_unix.c: Likewise.
44863 * sunrpc/clnt_perr.c: Likewise.
44864 * sunrpc/clnt_tcp.c: Likewise.
44865 * sunrpc/clnt_udp.c: Likewise.
44866 * sunrpc/clnt_unix.c: Likewise.
44867 * sunrpc/openchild.c: Likewise.
44868 * sunrpc/svc_simple.c: Likewise.
44869 * sunrpc/svc_tcp.c: Likewise.
44870 * sunrpc/svc_udp.c: Likewise.
44871 * sunrpc/svc_unix.c: Likewise.
44872 * sunrpc/xdr.c: Likewise.
44873 * sunrpc/xdr_array.c: Likewise.
44874 * sunrpc/xdr_rec.c: Likewise.
44875 * sunrpc/xdr_ref.c: Likewise.
44876 * sunrpc/xdr_stdio.c: Likewise.
44878 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44880 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44882 2011-07-03 Andreas Jaeger <aj@suse.de>
44884 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44885 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44886 regenerate with gen-libm-tests.pl.
44888 2010-05-12 Petr Baudis <pasky@suse.cz>
44891 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44892 around j0() zero points by switching to j1().
44893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44896 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44898 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44900 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44902 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44905 Patch in part by Pavel Roskin <proski@gnu.org>.
44908 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44910 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44911 Free memory block if necessary.
44914 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44915 be NULL. Don't lock in this case.
44917 2011-09-09 Roland McGrath <roland@hack.frob.com>
44919 * elf/elf.h (ELFOSABI_GNU): New macro.
44920 (ELFOSABI_LINUX): Define to that.
44922 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44924 * string/strncat.c (strncat): Undef the symbol in case it has been
44925 defined in bits/string.h.
44927 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44929 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44931 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44934 2011-08-17 Andreas Jaeger <aj@suse.de>
44936 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44938 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44939 Ian Lance Taylor <iant@google.com>
44941 * math/libm-test.inc (lround_test): New testcase.
44942 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44944 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44946 * Makefile: Remove support for automatic cvs check-ins.
44947 * Makerules: Likewise.
44948 * config.make.in: Likewise.
44949 * configure.in: Likewise.
44950 * intl/Makefile: Likewise.
44951 * locale/Makefile: Likewise.
44952 * po/Makefile: Likewise.
44953 * posix/Makefile: Likewise.
44954 * sysdeps/gnu/Makefile: Likewise.
44955 * sysdeps/mach/hurd/Makefile: Likewise.
44956 * sysdeps/sparc/sparc32/Makefile: Likewise.
44959 * posix/Makefile (bug-regex32-ENV): Define.
44960 Patch by John Stanley <jpsinthemix@verizon.net>.
44962 * misc/Makefile (headers): Add bits/select2.h.
44963 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44964 * misc/bits/select2.h: New file.
44965 * include/bits/select2.h: New file.
44966 * debug/Makefile (routines): Add fdelt_chk.
44967 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44968 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44970 * debug/fdelt_chk.c: New file.
44972 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44973 * wcsmbs/test-wmemcmp.c: Likewise.
44974 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44975 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44977 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44979 * string/Makefile (strop-tests): Add memcmp.
44980 * string/test-wmemcmp.c: New file.
44981 * string/test-memcmp.c: Add wmemcmp support.
44983 2011-09-08 Roland McGrath <roland@hack.frob.com>
44986 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44989 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44990 garbage value in a __mach_port_mod_refs call in the cases of the
44991 task-self and thread-self ports.
44993 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44995 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44997 2011-09-08 Andreas Schwab <schwab@redhat.com>
44999 * elf/dl-load.c (lose): Check for non-null L.
45001 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45003 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45005 * elf/dl-libc.c (dlerror_run): Pass back error code from
45009 * elf/dl-load.c (lose): Free l_origin if it is valid.
45011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45013 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45018 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45020 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45022 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45023 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45024 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45026 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45027 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45028 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45029 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45030 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45031 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45033 2011-08-15 Alan Modra <amodra@gmail.com>
45036 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45037 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45038 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45039 ppc_mcount to static-only-routines.
45040 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45042 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45043 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45045 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45048 for finite and infinity parameters.
45050 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45053 and add nop instructions for throughput optimization.
45054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45056 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45058 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45059 aligned copy for power7 with vector-scalar instructions.
45060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45062 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45067 2011-09-07 Andreas Schwab <schwab@redhat.com>
45070 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45073 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45075 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45076 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45077 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45078 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45081 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45084 Forgot to demangle the pointer.
45086 * sysdeps/i386/sysdep.h: Define atom_text_section.
45087 * sysdeps/x86_64/sysdep.h: Likewise.
45088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45089 section with atom_text_section.
45090 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45094 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45096 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45098 already be defined. Change to take two parameters and don't assign
45099 result to variable. Adjust all users.
45100 Define INTERNAL_GETTIME if not already defined.
45101 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45104 HAVE_CLOCK_GETTIME_VSYSCALL.
45105 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45108 gettimeofday vsyscall, just use time.
45110 2011-09-06 Andreas Schwab <schwab@redhat.com>
45112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45115 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45117 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45121 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45123 syscall if possible.
45125 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45127 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45128 e_ident. Don't pass to find_mapsXX.
45129 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45131 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45134 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45135 * sysdeps/x86_64/multiarch/strchr.S: Update.
45136 Check bit_slow_BSF bit.
45137 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45138 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45139 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45141 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45144 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45146 (tryshell): Define.
45147 (__spawni): Change last parameter to be flag. Test
45148 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45149 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45150 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45151 * posix/spawni.c: Likewise.
45152 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45153 * posix/spawnp.c: Likewise. Change normal version to use
45154 SPAWN_XFLAGS_USE_PATH.
45155 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45156 SPAWN_XFLAGS_TRY_SHELL.
45159 * posix/glob.h: Remove gcc 1.x support.
45162 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45164 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45167 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45169 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45170 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45171 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45173 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45176 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45178 * sysdeps/x86_64/wcscmp.S: New file.
45180 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45181 wcscmp-c wcscmp-sse2
45182 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45183 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45184 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45185 * wcsmbs/wcscmp.c: Allow renaming.
45187 2011-09-05 David S. Miller <davem@davemloft.net>
45189 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45190 stack slot, rather than the struct return pointer slot.
45191 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45192 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45194 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45196 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45198 * po/ja.po: Update from translation team.
45201 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45202 kernel in 64-bit binaries.
45204 2011-09-01 David S. Miller <davem@davemloft.net>
45206 * elf/elf.h (HWCAP_SPARC_*): Move to..
45207 * sysdeps/sparc/sysdep.h: this new file and add new values.
45208 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45209 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45210 _DL_HWCAP_COUNT to 24.
45211 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45213 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45214 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45215 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45217 instead of magic constants.
45218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45220 2011-08-31 David S. Miller <davem@davemloft.net>
45222 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45224 Reimplement to do errno handling inline.
45225 (SYSCALL_ERROR_HANDLER): New macro.
45226 (__SYSCALL_STRING): Do not do errno handling in asm.
45227 (__CLONE_SYSCALL_STRING): Delete.
45228 (__INTERNAL_SYSCALL_STRING): Delete.
45229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45230 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45231 (PSEUDO): Reimplement to do errno handling inline.
45232 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45233 (SYSCALL_ERROR_HANDLER): New macro.
45234 (__SYSCALL_STRING): Do not do errno handling in asm.
45235 (__CLONE_SYSCALL_STRING): Delete.
45236 (__INTERNAL_SYSCALL_STRING): Delete.
45237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45238 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45240 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45241 (inline_syscall*): Add 'err' argument.
45242 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45243 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45244 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45245 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45247 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45248 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45250 2011-08-30 Andreas Schwab <schwab@redhat.com>
45252 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45254 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45256 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45259 2011-08-24 David S. Miller <davem@davemloft.net>
45261 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45263 2011-08-24 Andreas Schwab <schwab@redhat.com>
45265 * elf/Makefile: Add rules to build and run unload8 test.
45266 * elf/unload8.c: New file.
45267 * elf/unload8mod1.c: New file.
45268 * elf/unload8mod1x.c: New file.
45269 * elf/unload8mod2.c: New file.
45270 * elf/unload8mod3.c: New file.
45272 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45275 2011-08-23 David S. Miller <davem@davemloft.net>
45277 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45278 subtract stack bias.
45279 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45280 %sp not %fp in calculations.
45281 (_JMPBUF_UNWINDS_ADJ): Likewise.
45283 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45284 (aio_suspend): Call it to force an exception region around the
45285 AIO_MISC_WAIT() invocation.
45287 2011-08-23 Andreas Schwab <schwab@redhat.com>
45289 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45292 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45294 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45296 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45297 and <dl-machine.h>.
45298 (Elf64_FuncDesc): Remove.
45300 2011-08-22 David S. Miller <davem@davemloft.net>
45302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45303 sigaltstack check, add missing cfi directives.
45304 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45305 missing cfi directives, and sigaltstack handling.
45307 2011-08-16 Andreas Schwab <schwab@redhat.com>
45310 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45311 object is seen twice.
45312 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45314 * elf/Makefile (distribute): Add tst-initorder2.c.
45315 (tests): Add tst-initorder2.
45316 (modules-names): Add tst-initorder2a tst-initorder2b
45317 tst-initorder2c tst-initorder2d. Add rules to build them.
45318 ($(objpfx)tst-initorder2.out): New rule.
45319 * elf/tst-initorder2.c: New file.
45320 * elf/tst-initorder2.exp: New file.
45322 2011-08-22 Andreas Schwab <schwab@redhat.com>
45324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45326 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45327 dependencies back to end of function.
45329 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45330 $(elfobjdir)/ld.so.
45332 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45335 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45337 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45338 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45339 of __vdso_gettimeofday.
45340 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45341 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45343 (_libc_vdso_platform_setup): Remove initialization of
45344 __vdso_gettimeofday and __vdso_time.
45346 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45348 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45349 and fgetc_unlocked.
45350 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45353 * elf/dl-open.c (add_to_global): Report additions to the global scope
45354 for LD_DEBUG=scopes.
45355 (dl_open_worker): Also print scope of newly loaded dependencies.
45356 (_dl_show_scope): Indicate if there is no scope.
45359 * stdio-common/Makefile (tests): Add bug24.
45360 * stdio-common/bug24.c: New file.
45362 2011-08-19 Andreas Jaeger <aj@suse.de>
45365 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45366 non-existant file when using close-on-exec mode.
45368 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45371 the very first instruction.
45373 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45374 the CFI state in the end.
45375 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45376 inclusion of dl-trampoline.h.
45377 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45379 2011-08-19 Andreas Schwab <schwab@redhat.com>
45381 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45382 expectations for long double.
45384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45385 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45387 2011-08-14 David S. Miller <davem@davemloft.net>
45389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45390 artificual limit depends upon the system page size.
45392 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45394 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45395 * resolv/Makefile: Define CFLAGS-libresolv.
45397 2011-08-17 Andreas Schwab <schwab@redhat.com>
45399 * nss/makedb.c (compute_tables): Make variables used in nested
45402 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45404 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45405 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45406 if buffer was too small.
45408 * elf/pldd.c (main): Attach to all threads in the process.
45409 Rewrite /proc handling to use *at functions.
45411 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45413 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45414 specifies first scope to show.
45415 (dl_open_worker): Update callers. Move printing scope of new
45416 object to before the relocation.
45417 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45418 * sysdeps/generic/ldsodefs.h: Update declaration.
45420 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45421 string for the scope number.
45423 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45425 * nscd/servicescache.c (cache_addserv): Make sure written is always
45428 2011-08-14 Roland McGrath <roland@hack.frob.com>
45430 * sysdeps/i386/i486/bits/atomic.h
45431 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45432 statement expression, so as to suppress "set but not used" warning.
45433 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45435 * string/strncat.c (STRNCAT): Use prototype definition.
45437 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45438 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45440 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45441 (localedef-modules): Add localedef.
45442 (locale-modules): Add locale.
45444 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45445 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45446 to avoid a warning.
45448 2011-08-14 David S. Miller <davem@davemloft.net>
45450 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45451 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45453 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45455 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45456 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45457 * elf/rtld.c (dl_main): Set l_name of vDSO.
45458 Call _dl_show_scope when DL_DEBUG_SCOPES.
45459 (process_dl_debug): Recognize scopes flag and also set it for all.
45460 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45461 Declare _dl_show_scope.
45463 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45464 (do_dlopen): Pass caller_dlopen to dl_open.
45465 (__libc_dlopen_mode): Initialize caller_dlopen.
45467 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45468 of libc. Make tolower call locale-independent. Optimize a bit by
45469 using isdigit instead of isalnum.
45470 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45472 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45474 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45475 was a dependency or dynamically loaded.
45477 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45479 * intl/l10nflist.c: Allow architecture-specific pop function.
45480 * sysdeps/x86_64/l10nflist.c: New file.
45482 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45485 2011-08-10 Andreas Schwab <schwab@redhat.com>
45487 * include/dirent.h: Add libc_hidden_proto for scandirat and
45488 scandirat64. Don't declare __scandirat64.
45489 * dirent/scandirat.c: Add libc_hidden_def.
45490 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45491 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45493 2011-08-10 David S. Miller <davem@davemloft.net>
45495 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45501 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45503 * Versions.def [libc]: Add GLIBC_2.15.
45504 * dirent/Makefile (routines): Add scandirat and scandirat64.
45505 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45507 * dirent/dirent.h: Declare scandirat and scandirat64.
45508 * dirent/scandirat.c: New file.
45509 * dirent/scandirat64.c: New file.
45510 * sysdeps/wordsize-64/scandirat.c: New file.
45511 * sysdeps/wordsize-64/scandirat64.c: New file.
45512 * dirent/opendir.c: Define opendirat.
45513 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45515 * dirent/scandir64.c: Adjust for scandir.c change.
45516 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45517 __scandirat64, and __scandir_cancel_handler.
45518 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45519 additional parameter and use openat instead of open (outside of ld.so).
45520 Add new __opendir as wrapper around __opendirat.
45521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45522 here without requiring old scandirat implementation.
45524 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45526 * dirent/scandir.c (cancel_handler): Renamed to
45527 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45528 defined. Adjust users.
45529 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45530 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45532 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45534 * string/test-string.h (IMPL): Use __STRING to expand name and then
45537 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45540 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45542 * string/Makefile: Update.
45543 (strop-tests): Append strncat.
45544 * string/test-wcscmp.c: New file.
45545 New comprehensive test for wcscmp.
45546 * string/test-strcmp.c: Update.
45547 (WIDE): New define.
45549 2011-07-22 Andreas Schwab <schwab@redhat.com>
45551 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45554 2011-07-26 Andreas Schwab <schwab@redhat.com>
45556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45557 encoding to ACE if AI_IDN.
45559 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45562 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45564 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45567 Fix overflow bug in strncat.
45568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45570 * string/test-strncat.c: Update.
45571 Add new tests for checking overflow bugs.
45573 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45576 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45577 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45578 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45580 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45581 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45582 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45583 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45586 (USE_AS_STRCAT): Define.
45587 Add strcat and strncat support.
45588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45590 2011-07-25 Andreas Schwab <schwab@redhat.com>
45592 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45593 __n bigger than INT_MAX+1.
45594 (__strncmp_g): Likewise.
45596 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45598 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45599 * libio/stido.h: Likewise.
45601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45606 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45609 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45613 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45618 (_dl_x86_64_save_sse): Likewise.
45620 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45624 (_dl_x86_64_save_sse): Likewise.
45626 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45628 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45630 2011-07-21 Andreas Schwab <schwab@redhat.com>
45632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45634 (_dl_x86_64_save_sse): Use correct AVX check.
45636 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45639 bug in strncpy/strncat.
45640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45642 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45644 * string/tester.c (test_strcat): Add tests for different alignments
45645 of source and destination.
45646 (test_strncat): Likewise.
45648 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45651 * posix/glob.c (glob): Check passed in values before using them in
45652 expressions to avoid some overflows.
45653 (glob_in_dir): Likewise.
45656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45657 check for AVX enablement so that we don't crash with old kernels and
45659 * elf/tst-audit4.c: Add same checks here.
45660 * elf/tst-audit6.c: Likewise.
45662 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45664 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45666 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45668 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45670 * po/cs.po: Update from translation team.
45671 * po/bg.po: Likewise.
45673 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45675 * misc/sys/cdefs.h: Add support for const attribute.
45676 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45677 to gnu_dev_{major,minor,makedev} functions.
45679 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45681 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45683 2011-07-20 Andreas Schwab <schwab@redhat.com>
45685 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45688 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45691 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45692 register in order to avoid conflicts with the soft frame pointer
45693 being held in r11 when necessary.
45694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45695 (INTERNAL_VSYSCALL_NCS): Likewise.
45697 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45699 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45700 * elf/dl-fini.c (_dl_fini): Adjust caller.
45701 * elf/dl-close.c (_dl_close_worker): Likewise.
45702 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45704 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45706 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45707 "aux_cache->nlibs < 0".
45709 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45710 in the reload-count case.
45712 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45715 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45716 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45717 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45718 * sysdeps/x86_64/multiarch/strcat.S: New file.
45719 * sysdeps/x86_64/multiarch/strncat.S: New file.
45720 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45721 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45722 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45723 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45725 (USE_AS_STRCAT): Define.
45726 Add strcat and strncat support.
45727 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45729 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45730 * string/strncat.c: Update.
45731 (USE_AS_STRNCAT): Define.
45732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45733 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45735 * sysdeps/x86_64/multiarch/init-arch.h
45736 (bit_Prefer_PMINUB_for_stringop): New.
45737 (index_Prefer_PMINUB_for_stringop): Likewise.
45738 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45739 bit_Prefer_PMINUB_for_stringop.
45741 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45743 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45745 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45746 of casting of buffer.
45747 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45748 buffer32 and buffer64.
45749 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45750 writes instead of casting of buffer.
45751 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45753 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45756 2011-07-19 Andreas Schwab <schwab@redhat.com>
45758 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45760 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45762 * nscd/nscd.c (termination_handler): Don't do anything for a database
45763 if it has not yet been initialized.
45765 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45767 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45769 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45771 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45773 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45775 * po/nl.po: Update from translation team.
45776 * po/sv.po: Likewise.
45778 2011-07-16 Roland McGrath <roland@hack.frob.com>
45780 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45781 now disallowed by GCC.
45783 * configure.in (use-default-link): Default to yes if a test -shared
45784 link meets our qualifications.
45785 * configure: Regenerated.
45787 * config.make.in (output-format): New variable.
45788 * configure.in: Check for ld --print-output-format support.
45789 * configure: Regenerated.
45790 * Makerules ($(common-objpfx)format.lds)
45791 [$(output-format) != unknown]: Just use $(output-format),
45792 instead of the linker-script munging.
45794 2011-07-14 Roland McGrath <roland@hack.frob.com>
45796 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45797 of $(common-objpfx)shlib.lds.
45798 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45800 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45801 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45803 * configure.in (-z relro check): Adjust test code to add a large
45804 writable data section after it.
45805 * configure: Regenerated.
45807 2011-07-11 Roland McGrath <roland@hack.frob.com>
45809 * configure.in (-z relro check): Fix test code to make the variable
45811 * configure: Regenerated.
45813 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45815 * nscd/nscd.h (struct traced_file): Define.
45816 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45817 elements. Add traced_files.
45818 (inotify_fd): Declare.
45819 (register_traced_file): Declare.
45820 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45821 (inotify_fd): Export.
45822 (resolv_conf_descr): Remove.
45823 (nscd_init): Move inotify descriptor creation to main.
45824 Don't register files for notification here.
45825 (register_traced_file): New function.
45826 (invalidate_cache): Don't use reset_res to determine whether to call
45827 res_init, go through the list of registered files.
45828 (main_loop_poll): The inotify descriptors are now stored in the
45829 structures for the traced files.
45830 (main_loop_epoll): Likewise
45831 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45832 to __nss_disable_nscd.
45833 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45834 for a database anymore. Check the records for all the registered
45836 * nss/Makefile (libnss_files-routines): Add files-init.
45837 (libnss_db-routines): Add db-init.
45838 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45839 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45840 * nss/nss_db/db-init.c: New file.
45841 * nss/nss_files/files-init.c: New file.
45842 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45843 __nss_lookup_function.
45844 (__nss_lookup_function): Call nss_load_library.
45845 (nss_load_all_libraries): New function.
45846 (__nss_disable_nscd): Take parameter with callback function for files
45847 to register. Set is_nscd. Load all the DSOs for the NSS modules
45848 used for the cached services.
45849 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45850 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45851 options for features to all the files in nscd.
45853 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45855 2011-07-10 Roland McGrath <roland@hack.frob.com>
45857 * csu/elf-init.c (__libc_csu_init): Comment typo.
45859 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45861 * po/pl.po: Update from translation team.
45862 * po/ja.po: Likewise.
45863 * po/ru.po: Likewise.
45864 * po/ko.po: Likewise.
45865 * po/fr.po: Likewise.
45867 2011-07-09 Roland McGrath <roland@hack.frob.com>
45869 * configure.in (.ctors/.dtors header and trailer check):
45870 Use an empirical test on a built program.
45871 * configure: Regenerated.
45873 * configure.in (-z relro check): Use an empirical test on a built DSO.
45874 Detect, but do not require, on ia64.
45875 * configure: Regenerated.
45877 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45878 Update tests that use readelf to use $READELF instead.
45879 * configure: Regenerated.
45881 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45883 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45884 if the result is not used.
45886 2011-07-05 Andreas Jaeger <aj@suse.de>
45889 * stdlib/tst-strtod.c: Add testcase.
45891 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45893 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45894 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45895 The latter has a higher limit. Take additional parameter to pass to
45897 (__pathconf): Pass file to __statfs_link_max.
45898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45900 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45904 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45908 (__statfs_filesize_max): Likewise.
45909 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45911 2011-07-05 Andreas Jaeger <aj@suse.de>
45913 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45915 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45917 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45919 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45922 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45924 * Makefile (strop-tests): Add strncat.
45925 * string/test-strncat.c: New file.
45927 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45929 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45931 2011-06-21 Andreas Jaeger <aj@suse.de>
45933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45934 Copy rule from iconvdata/Makefile.
45936 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45939 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45940 but no long options are defined, just return 'W'.
45942 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45945 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45947 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45949 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45951 (innetgr): Likewise.
45953 2011-07-05 Roland McGrath <roland@hack.frob.com>
45955 * config.make.in (install_root): Default to $(DESTDIR).
45957 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45961 2011-07-02 Roland McGrath <roland@hack.frob.com>
45963 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45965 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45966 containing directory rather than embedding absolute directory names.
45968 * scripts/check-local-headers.sh: Rewritten using awk.
45969 Match by word, not by line. Print error messages for matches.
45970 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45972 * Makerules [shlib-lds-flags empty]:
45973 ($(common-objpfx)libc_pic.opts): New target.
45974 ($(common-objpfx)libc_pic.os.clean): New target.
45975 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45977 * config.make.in (OBJCOPY): New variable.
45978 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45979 * configure: Regenerated.
45981 * config.make.in (use-default-link): New variable.
45982 * configure.in (use_default_link): Grok --with-default-link to set it.
45983 * configure: Regenerated.
45984 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45985 (shlib-lds, shlib-lds-flags): Define to empty.
45987 * Makerules (shlib-lds): New variable.
45988 (shlib-lds-flags): New variable.
45989 (build-shlib, build-moduile, build-module-asneeded): Use it.
45990 ($(common-objpfx)libc.so): Use $(shlib-lds).
45991 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45992 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45994 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45995 DT_FLAGS/DT_FLAGS_1 with zero flags.
45997 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45998 linker script munging.
46000 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46002 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46004 * crypt/sha512.c (sha512_process_block): Perform total addition using
46005 128-bit if possible.
46006 (__sha512_finish_ctx): Likewise.
46007 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46009 * crypt/sha256.c (SWAP64): Define.
46010 (sha256_process_block): Perform total addition using 64-bit if
46012 (__sha256_finish_ctx): Likewise.
46014 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46016 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46018 * nscd/hstcache.c (cache_addhst): Likewise.
46019 * nscd/grpcache.c (cache_addgr): Likewise.
46020 * nscd/aicache.c (addhstaiX): Likewise
46021 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46023 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46025 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46027 * nscd/hstcache.c (cache_addhst): Likewise.
46028 * nscd/grpcache.c (cache_addgr): Likewise.
46029 * nscd/aicache.c (addhstaiX): Likewise
46031 2011-07-01 Andreas Schwab <schwab@redhat.com>
46033 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46034 domain only when needed.
46036 2011-06-30 Andreas Schwab <schwab@redhat.com>
46038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46039 is always restored.
46041 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46043 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46044 are re-adding the entry.
46045 * nscd/servicescache.c (cache_addserv): Likewise.
46047 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46049 * sysdeps/generic/dl-irel.h: fix protection against multiple
46051 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46053 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46056 * malloc/memusage.sh: Fix quoting in message.
46057 * debug/xtrace.sh: Likewise.
46059 * configure.in: Remove support for --experimental-malloc option, make
46061 * config.make.in: Likewise.
46062 * malloc/Makefile: Likewise.
46064 2011-06-27 Andreas Schwab <schwab@redhat.com>
46066 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46067 two-byte characters.
46069 2011-06-27 Roland McGrath <roland@hack.frob.com>
46071 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46072 AC_CACHE_CHECK invocation.
46073 * configure: Regenerated.
46075 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46077 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46080 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46081 bit from old_res_options.
46083 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46085 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46086 value type for setfct.
46088 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46091 __gettimeofday instead of gettimeofday.
46093 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46095 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46097 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46099 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46104 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46107 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46108 strcpy-sse2-unaligned strncpy-sse2-unaligned
46109 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46110 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46111 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46112 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46113 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46116 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46117 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46118 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46119 (STRCPY): Support SSE2 and SSSE3 versions.
46121 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46125 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46126 kernels which artificially limit size of requests.
46128 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46131 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46132 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46133 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46134 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46135 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46136 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46137 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46140 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46141 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46142 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46143 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46144 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46146 Enable unaligned load optimization for Intel Core i3, i5 and i7
46148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46150 (index_Fast_Unaligned_Load): Define.
46151 (HAS_FAST_UNALIGNED_LOAD): Define.
46153 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46155 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46157 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46161 until it is clear that the information is realy needed.
46162 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46164 2011-06-22 Andreas Schwab <schwab@redhat.com>
46166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46168 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46171 /sys/devices/system/cpu/online if it is usable.
46173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46174 reading the information from the /proc filesystem to once a second.
46176 2011-06-21 Andreas Jaeger <aj@suse.de>
46178 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46179 NULL after inclusion of kernel headers.
46181 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46183 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46184 calls to internal_setent.
46187 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46188 addresses using gethostbyname4_r ignore IPv4 addresses.
46190 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46191 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46193 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46195 2011-06-20 David S. Miller <davem@davemloft.net>
46197 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46199 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46201 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46202 (elf_irel): Use it.
46203 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46204 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46205 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46206 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46207 * sysdeps/x86_64/dl-irel.h: Likewise.
46209 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46210 * elf/dl-sym.c: Likewise.
46212 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46214 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46215 need to dereference resplen2.
46217 2011-06-14 Andreas Schwab <schwab@redhat.com>
46219 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46221 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46223 * Makeconfig: Define vardbdir and inst_vardbdir.
46224 * nss/Makefile: Add rules to install db-Makefile.
46226 * nss/nss_db/db-XXX.c: Cleanup.
46228 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46229 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46231 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46232 * nss/makedb.c: Implement -g option to specify that value strings
46233 are generated and should not be added to table iterated over for
46235 * nss/nss_db/db-initgroups.c: New file.
46237 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46240 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46241 (internal_getgrouplist): Adjust to name change.
46242 Update use_initgroups_entry if this is not the first call.
46243 * nss/databases.def: Add initgroups entry.
46245 * nss/makedb.c (compute_tables): Check result of multiple hash table
46246 sizes to minimize maximum chain length.
46248 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46250 * Versions.def: Add entry for libnss_db.
46251 * shlib-versions: Likewise.
46252 * nss/Makefile: Add rules to build libnss_db.
46253 * nss/Versions: Add libnss_db information. Organize libnss_files
46255 * nss/db-Makefile: Add gshadow support. Change rules for the new
46256 makedb progra. Some minor improvements to generate smaller files.
46257 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46259 * nss/makedb.c: ...here.
46260 Improve database format to be smaller and require less memory at
46262 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46264 * nss/nss_db/db-netgrp.c: Likewise.
46265 * nss/nss_db/db-open.c: Likewise.
46266 * nss/nss_files/flies-XXX.x: Adjust comments.
46267 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46268 * nss/nss_files/files-grp.c: Likewise.
46269 * nss/nss_files/files-hosts.c: Likewise.
46270 * nss/nss_files/files-network.c: Likewise.
46271 * nss/nss_files/files-proto.c: Likewise.
46272 * nss/nss_files/files-pwd.c: Likewise.
46273 * nss/nss_files/files-rpc.c: Likewise.
46274 * nss/nss_files/files-service.c: Likewise.
46275 * nss/nss_files/files-sgrp.c: Likewise.
46276 * nss/nss_files/files-spwd.c: Likewise.
46277 * nss/nss_db/db-alias.c: Removed.
46278 * nss/nss_db/dummy-db.h: Removed.
46280 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46282 * nss/makedb.c: Rewritten to not use database library.
46283 * nss/Makefile: Update to build new makedb program.
46285 2011-06-14 Andreas Jaeger <aj@suse.de>
46287 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46288 memset declaration.
46290 2011-06-10 Andreas Schwab <schwab@redhat.com>
46292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46295 2011-06-10 Roland McGrath <roland@hack.frob.com>
46297 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46298 * elf/Makefile ($(objpfx)ld.so): Likewise.
46300 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46301 Don't list ld.so twice in dependencies.
46303 * posix/bug-regex31.c: Include <stdlib.h>.
46305 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46307 * nis/nss_compat/compat-spwd.c
46308 (getspent_next_nss_netgr): Remove unused variable.
46309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46311 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46312 nonmembers" output to use the right array.
46314 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46316 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46318 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46319 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46320 * catgets/gencat.c (read_input_file): Likewise.
46321 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46323 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46324 variable definition inside #if's controlling its use.
46326 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46328 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46330 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46332 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46335 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46337 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46338 * configure: Regenerated.
46340 * Makerules: Revert last change.
46341 * elf/Makefile: Likewise.
46343 2011-06-09 Roland McGrath <roland@hack.frob.com>
46345 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46346 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46347 (reloc-link): Likewise.
46349 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46351 * elf/Makefile: Add rules to build pldd.
46352 * elf/pldd.c: New file.
46353 * elf/pldd-xx.c: New file.
46355 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46357 * version.h: Update for 2.15 development version.
46359 2011-06-07 David S. Miller <davem@davemloft.net>
46361 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46364 elf_machine_lazy_rel): Likewise.
46365 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46367 elf_machine_lazy_rel): Likewise.
46368 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46369 dl_hwcap via passed in argument.
46370 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46373 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46375 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46377 2011-06-06 Roland McGrath <roland@hack.frob.com>
46380 * manual/fdl-1.1.texi: New file, verbatim from:
46381 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46382 * manual/lgpl-2.1.texi: New file, verbatim from:
46383 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46384 * manual/Makefile (licenses): New variable, list those new file names.
46386 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46388 * manual/fdl.texi: File removed.
46389 * manual/lesser.texi: File removed.
46390 * manual/libc.texinfo (Copying, Documentation License):
46391 Use new @include file names, put @appendix directive before @include.
46393 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46396 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46397 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46398 (mq_open): Add __NTH.
46400 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46403 Assume Intel Core i3/i5/i7 processor if AVX is available.
46405 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46410 2011-05-31 Andreas Schwab <schwab@redhat.com>
46412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46413 memory. Use alloca_account. Fix memory leak when retrying.
46415 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46417 * version.h (RELEASE): Bump for 2.14 release.
46418 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46420 * config.make.in (RANLIB): Remove entry.
46422 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46424 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46425 (libc.pot): Work around missing support for .ksh extension in xgettext.
46428 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46429 if both request failed.
46430 (send_dg): In case of server errors clear resplen or *resplen2.
46433 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46434 when there are multiple maps.
46435 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46436 (_dl_fini): Remove test here.
46438 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46440 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46443 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46444 bit from old_res_options.
46445 (gaih_inet): Likewise.
46448 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46451 * resolv/res_init.c (res_setoptions): Make the code more compact.
46454 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46458 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46460 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46463 * malloc/malloc.h: Declare malloc hook variables as volatile.
46465 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46469 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46470 raise in the comment.
46471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46473 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46475 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46478 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46479 grow the buffers more if it already has to be sufficient.
46480 (build_wcs_upper_buffer): Likewise.
46481 * posix/regexec.c (check_matching): Likewise.
46482 (clean_state_log_if_needed): Likewise.
46483 (extend_buffers): Don't enlarge buffers beyond size of the input
46485 Patches mostly by Emil Wojak <emil@wojak.eu>.
46486 * posix/bug-regex32.c: New file.
46487 * posix/Makefile (tests): Add bug-regex32.
46489 * locale/findlocale.c (_nl_find_locale): Return right away if
46490 _nl_explode_name failed.
46491 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46493 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46495 * debug/xtrace.sh: Unify messages.
46496 * malloc/memusage.sh: Likewise.
46499 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46500 time symbol from vDSO. Substitute with vsyscall if not available.
46501 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46504 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46505 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46506 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46507 Add sendmmsg and internal_sendmmsg.
46508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46509 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46512 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46513 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46516 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46520 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46526 * iconvdata/Makefile (tests): Add bug-iconv9.
46527 * iconvdata/bug-iconv9.c: New file.
46529 2011-05-27 Andreas Schwab <schwab@redhat.com>
46532 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46534 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46537 (struct user_regs_struct): Change intcs field back to cs.
46539 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46541 * po/ja.po: Update from translation team.
46543 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46547 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46549 2011-05-20 Andreas Schwab <schwab@redhat.com>
46551 * stdlib/longlong.h: Update from GCC.
46553 2011-05-23 Andreas Schwab <schwab@redhat.com>
46555 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46557 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46558 Add parameter name.
46559 (__sysconf): Pass it down.
46561 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46564 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46567 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46568 add in in __libc_use_alloca calls. Adjust callers.
46569 (glob): Use malloc in some situations.
46571 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46572 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46575 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46577 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46578 and CLOCK_BOOTTIME_ALARM.
46581 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46584 * string/_strerror.c (__strerror_r): Print negative errors as signed
46588 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46589 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46590 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46592 * configure.in: Fix typo in redirection and correct removal of test
46593 files in two cases.
46596 * locale/setlocale.c (new_composite_name): Fix test to check for
46597 identical name of all categories.
46600 * libio/filedoalloc.c (local_isatty): New function.
46601 (_IO_file_doallocate): Use local_isatty.
46602 * stdio-common/perror.c (perror): In case a new stream is used
46603 forward the stream error.
46604 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46607 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46612 * include/alloca.h (extend_alloca_account): Define.
46615 * posix/regex.h: Fix comments with documentation of user-accessible
46616 fields after compilation and describe correct free'ing of pattern
46617 after re_compile_pattern.
46618 Patch by Reuben Thomas <rrt@sc3d.org>.
46620 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46622 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46623 and -mno-altivec to prevent the compiler from using Altivec and/or
46624 VSX instructions when the corresponding registers are not available.
46626 2011-05-19 Andreas Schwab <schwab@redhat.com>
46628 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46630 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46632 * libio/freopen.c (freopen): Use __dup2, not dup2.
46633 * libio/freopen64.c (freopen64): Likewise.
46635 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46638 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46639 * math/Makefile (tests): Add test-powl.
46640 (CFLAGS-test-powl.c): Define.
46641 * math/test-powl.c: New file.
46643 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46645 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46647 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46650 * iconvdata/gb18030.c: Update to GB18020-2005.
46652 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46654 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46655 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46656 Patch by Aharon Robbins <arnold@skeeve.com>.
46659 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46663 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46664 through underflows.
46667 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46668 point to strings before performing equality test for error_one_per_line
46672 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46676 (struct user_fpregs_struct): Avoid __uint*_t types.
46679 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46680 symbol info. Use it instead of calling _dl_addr locally.
46681 (lock_and_info): New function.
46682 (tr_freehook): Call lock_and_info and pass symbol info as additional
46683 parameter to tr_where.
46684 (tr_mallochook): Likewise.
46685 (tr_reallochook): Likewise.
46686 (tr_memalignhook): Likewise.
46688 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46689 used and couldn't be at all thread-safe.
46691 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46693 * libio/freopen.c (freopen): Don't close old file descriptor
46694 before the new one is opened. Instead dup the new file descriptor
46695 to the old one after the new stream is created.
46696 * libio/freopen64.c (freopen64): Likewise.
46697 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46698 * libio/fileops.c (_IO_new_file_close_it): Handle new
46699 _IO_FLAGS2_NOCLOSE flag.
46700 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46701 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46702 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46703 _IO_FLAGS2_NOCLOSE flag.
46704 * include/unistd.h: Add hidden_proto for dup3.
46705 Define __have_dup3.
46706 * io/dup3.c: Define hidden symbol.
46707 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46710 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46711 when an incomplete long option is used.
46712 * posix/tst-getopt_long1.c: New file.
46713 * posix/Makefile (tests): Add tst-getopt_long1.
46716 * scripts/config.guess: Update from autoconf-2.68.
46717 * scripts/config.sub: Likewise.
46720 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46722 (has_cpuclock): ...this. New function.
46723 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46724 macro here based on has_cpuclock code.
46727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46728 First byte (not low byte) is now always NUL.
46729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46732 Use non-cancelable interfaces.
46735 * locale/iso-639.def: Add entry for Sorani.
46738 * include/stdlib.h: Move include protection to the right place.
46739 Define abort_msg_s. Declare __abort_msg with it.
46740 * stdlib/abort.c (__abort_msg): Adjust type.
46741 * assert/assert.c (__assert_fail_base): New function. Majority
46742 of code from __assert_fail. Allocate memory for __abort_msg with
46744 (__assert_fail): Now call __assert_fail_base.
46745 * assert/assert-perr.c: Remove bulk of implementation. Use
46746 __assert_fail_base.
46747 * include/assert.hL Declare __assert_fail_base.
46748 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46750 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46752 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46756 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46757 until all modules are registered in the DTV.
46758 * elf/Makefile: Add rules to build and run tst-tls19.
46759 * elf/tst-tls19.c: New file.
46760 * elf/tst-tls19mod1.c: New file.
46761 * elf/tst-tls19mod2.c: New file.
46762 * elf/tst-tls19mod3.c: New file.
46763 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46766 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46770 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46771 two-byte sequence errors.
46772 * iconvdata/Makefile (tests): Add bug-iconv8.
46773 * iconvdata/bug-iconv8.c: New file.
46776 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46779 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46782 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46783 (dummy_getcfa): New function.
46784 (init): Get _Unwind_GetCFA address, use dummy if not found.
46785 (backtrace_helper): In recursion check, also check whether CFA changes.
46786 (__backtrace): Completely initialize arg.
46788 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46789 storing incomplete byte sequence in state object. Avoid testing for
46790 guaranteed too small input if we know there is enough data available.
46792 2011-05-11 Andreas Schwab <schwab@redhat.com>
46794 * Makeconfig (+link-pie): Indent.
46795 * Rules (binaries-pie): Define if $(have-fpie) and
46797 (binaries-shared): Also filter out $(binaries-pie).
46798 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46799 * nscd/Makefile (others-pie): Add nscd.
46800 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46801 ($(objpfx)nscd): Remove command override.
46802 * login/Makefile (others-pie): Add pt_chown.
46803 ($(objpfx)pt_chown): Remove command override.
46804 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46805 remove command overrides.
46807 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46809 * libio/tst_putwc.c: Fix error messages.
46812 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46813 currently writing and seek to current position when not.
46814 * libio/Makefile (tests): Add bug-fclose1.
46815 * libio/bug-fclose1.c: New file.
46817 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46820 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46821 don't set DF_1_NODELETE here.
46822 (do_lookup_x): When entering new entry test for copy relocation
46823 and if necessary set DF_1_NODELETE flag.
46824 * elf/tst-unique4.cc: New file.
46825 * elf/tst-unique4.h: New file.
46826 * elf/tst-unique4lib.cc: New file.
46827 * elf/Makefile: Add rules to build and run tst-unique4.
46828 Patch by Piotr Bury <pbury@goahead.com>.
46830 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46833 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46836 * misc/mntent_r.c (addmntent): Flush the stream after the output
46839 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46840 (is_trusted_path_normalize): Skip initial colon. Append slash
46841 to empty buffer. Duplicate is_trusted_path code but allow
46842 constructed patch to be prefix.
46843 (is_dst): Allow $ORIGIN followed by /.
46844 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46845 Correct testing of result of is_trusted_path_normalize
46846 (decompose_rpath): Fix warning.
46848 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46851 * grp/initgroups.c (internal_getgrouplist): When we found the service
46852 list through the initgroups entry in nsswitch.conf do not always
46853 continue on a successful lookup. Don't always use the
46854 __nss_group_database value if it is set.
46855 * nss/nsswitch.conf (initgroups): Change action for successful db
46856 lookup to continue for compatibility.
46858 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46861 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46863 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46865 * iconvdata/tst-tables.sh: Likewise.
46866 * iconvdata/cp770.c: New file.
46867 * iconvdata/cp771.c: New file.
46868 * iconvdata/cp772.c: New file.
46869 * iconvdata/cp773.c: New file.
46870 * iconvdata/cp774.c: New file.
46871 * iconvdata/testdata/CP770: New file.
46872 * iconvdata/testdata/CP770..UTF8: New file.
46873 * iconvdata/testdata/CP771: New file.
46874 * iconvdata/testdata/CP771..UTF8: New file.
46875 * iconvdata/testdata/CP772: New file.
46876 * iconvdata/testdata/CP772..UTF8: New file.
46877 * iconvdata/testdata/CP773: New file.
46878 * iconvdata/testdata/CP773..UTF8: New file.
46879 * iconvdata/testdata/CP774: New file.
46880 * iconvdata/testdata/CP774..UTF8: New file.
46882 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46884 * iconvdata/gen-8bit-gap.sh: Likewise.
46885 * iconvdata/gen-8bit.sh: Likewise.
46887 * locale/iso-639.def: Add ary entry.
46890 * locale/C-translit.h.in: Add U20A1 transliteration.
46893 * locale/iso-639.def: Add wae entry.
46894 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46897 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46901 * locale/C-translit.h.in: Add entry for U20B9.
46902 Patch by pravin.d.s@gmail.com.
46904 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46907 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46908 ENAMETOOLONG use generic getcwd.
46909 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46910 in rtld. Use *stat64.
46911 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46912 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46913 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46914 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46915 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46916 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46917 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46918 __fstatat64 macros.
46919 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46920 * dirent/rewinddir.c: Add libc_hidden_def.
46921 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46922 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46924 * include/dirent.h (__alloc_dir): Add flags parameter.
46925 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46926 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46928 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46929 from fdopendir if O_CLOEXEC is already set.
46931 2011-03-15 Alan Modra <amodra@gmail.com>
46933 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46934 l_tls_firstbyte_offset non-zero. Save padding offset in
46935 l_tls_firstbyte_offset for later use.
46936 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46937 freeing static tls block.
46939 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46941 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46942 where #ifdef was intended. The intent is to prevent ARG_MAX from
46943 being defined by the kernel headers.
46945 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46948 * resolv/resolv.h: Define RES_NOTLDQUERY.
46949 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46950 no-tld-query and set RES_NOTLDQUERY.
46951 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46952 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46953 modern BIND to search name as TLD unless forbidden.
46955 2011-05-07 Petr Baudis <pasky@suse.cz>
46956 Ulrich Drepper <drepper@gmail.com>
46959 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46960 (is_trusted_path): ...to here.
46961 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46962 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46963 using is_trusted_path_normalize() in setuid scripts.
46965 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46967 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46968 __BEGIN/__END_DECLS.
46970 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46973 NSS_STATUS_NOTFOUND if no record was found.
46975 2011-05-05 Andreas Schwab <schwab@redhat.com>
46977 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46978 (headers-not-in-tirpc): Remove rpc/netdb.h
46979 * resolv/netdb.h: Revert last change.
46981 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46983 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46984 circular dependency between libgcc.a and libc.a.
46986 2011-05-05 Andreas Schwab <schwab@redhat.com>
46988 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46989 * nis/Makefile: Don't install rpcsvc/*.
46990 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46991 instead of <rpc/types.h>.
46992 (MAXHOSTNAMELEN): Define.
46994 2011-05-03 Andreas Schwab <schwab@redhat.com>
46996 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46998 2011-04-28 Maciej Babinski <mbabinski@google.com>
47001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47002 gethostbyname4_r when IPv6 results are possible.
47004 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47007 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47008 _PC_PIPE_BUF handling.
47010 2011-04-30 Bruno Haible <bruno@clisp.org>
47013 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47014 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47016 * inet/getnameinfo.c (getnameinfo): Likewise.
47018 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47020 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47021 to groups setting in database lookup.
47022 * nss/nsswitch.conf: Add initgroups entry.
47024 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47027 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47029 Patch by Eric Blake <eblake@redhat.com>.
47031 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47033 * sunrpc/Makefile (need-export-routines): Add svc_run.
47034 (routines): Remove svc_run.
47035 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47036 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47037 * sunrpc/svc_run.c (svc_run): Likewise.
47038 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47040 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47043 problem in reallocation in last patch.
47045 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47047 * sunrpc/Makefile: Move inclusion of Rules.
47049 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47051 * nss/nss_files/files-initgroups.c: New file.
47052 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47053 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47054 _nss_files_initgroups_dyn.
47056 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47058 * elf/elf.h (R_ARM_IRELATIVE): Define.
47060 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47062 * po/ru.po: Update from translation team.
47064 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47066 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47069 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47073 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47078 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47082 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47086 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47089 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47091 * stdlib/bug-getcontext.c: New file.
47092 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47094 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47096 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47097 instructions into .machine "z9-109".
47098 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47099 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47101 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47103 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47104 between environment variables and auxiliary vector.
47106 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47108 * Makefile: Add rules to build linkobj/libc.so.
47109 * include/libc-symbols.h: Define libc_hidden_nolink.
47110 * include/rpc/auth.h: Mark functions which are to be hidden.
47111 * include/rpc/auth_des.h: Likewise.
47112 * include/rpc/auth_unix.h: Likewise.
47113 * include/rpc/clnt.h: Likewise.
47114 * include/rpc/des_crypt.h: Likewise.
47115 * include/rpc/key_prot.h: Likewise.
47116 * include/rpc/pmap_clnt.h: Likewise.
47117 * include/rpc/pmap_prot.h: Likewise.
47118 * include/rpc/pmap_rmt.h: Likewise.
47119 * include/rpc/rpc_msg.h: Likewise.
47120 * include/rpc/svc.h: Likewise.
47121 * include/rpc/svc_auth.h: Likewise.
47122 * include/rpc/xdr.h: Likewise.
47123 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47124 * nss/Makefile: Likewise.
47125 * sunrpc/Makefile: Don't install headers. Build library with normal
47126 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47127 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47128 for the compat linking library. Remove use of INTDEF/INTUSE.
47129 * sunrpc/auth_none.c: Likewise.
47130 * sunrpc/auth_unix.c: Likewise.
47131 * sunrpc/authdes_prot.c: Likewise.
47132 * sunrpc/authuxprot.c: Likewise.
47133 * sunrpc/clnt_gen.c: Likewise.
47134 * sunrpc/clnt_perr.c: Likewise.
47135 * sunrpc/clnt_raw.c: Likewise.
47136 * sunrpc/clnt_simp.c: Likewise.
47137 * sunrpc/clnt_tcp.c: Likewise.
47138 * sunrpc/clnt_udp.c: Likewise.
47139 * sunrpc/clnt_unix.c: Likewise.
47140 * sunrpc/des_crypt.c: Likewise.
47141 * sunrpc/des_soft.c: Likewise.
47142 * sunrpc/get_myaddr.c: Likewise.
47143 * sunrpc/key_call.c: Likewise.
47144 * sunrpc/key_prot.c: Likewise.
47145 * sunrpc/netname.c: Likewise.
47146 * sunrpc/pm_getmaps.c: Likewise.
47147 * sunrpc/pm_getport.c: Likewise.
47148 * sunrpc/pmap_clnt.c: Likewise.
47149 * sunrpc/pmap_prot.c: Likewise.
47150 * sunrpc/pmap_prot2.c: Likewise.
47151 * sunrpc/pmap_rmt.c: Likewise.
47152 * sunrpc/publickey.c: Likewise.
47153 * sunrpc/rpc_cmsg.c: Likewise.
47154 * sunrpc/rpc_common.c: Likewise.
47155 * sunrpc/rpc_dtable.c: Likewise.
47156 * sunrpc/rpc_prot.c: Likewise.
47157 * sunrpc/rpc_thread.c: Likewise.
47158 * sunrpc/rtime.c: Likewise.
47159 * sunrpc/svc.c: Likewise.
47160 * sunrpc/svc_auth.c: Likewise.
47161 * sunrpc/svc_authux.c: Likewise.
47162 * sunrpc/svc_raw.c: Likewise.
47163 * sunrpc/svc_run.c: Likewise.
47164 * sunrpc/svc_simple.c: Likewise.
47165 * sunrpc/svc_tcp.c: Likewise.
47166 * sunrpc/svc_udp.c: Likewise.
47167 * sunrpc/svc_unix.c: Likewise.
47168 * sunrpc/svcauth_des.c: Likewise.
47169 * sunrpc/xcrypt.c: Likewise.
47170 * sunrpc/xdr.c: Likewise.
47171 * sunrpc/xdr_array.c: Likewise.
47172 * sunrpc/xdr_float.c: Likewise.
47173 * sunrpc/xdr_intXX_t.c: Likewise.
47174 * sunrpc/xdr_mem.c: Likewise.
47175 * sunrpc/xdr_rec.c: Likewise.
47176 * sunrpc/xdr_ref.c: Likewise.
47177 * sunrpc/xdr_sizeof.c: Likewise.
47178 * sunrpc/xdr_stdio.c: Likewise.
47180 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47183 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47184 * sysdeps/ia64/dl-tls.h: Likewise.
47185 * sysdeps/powerpc/dl-tls.h: Likewise.
47186 * sysdeps/s390/dl-tls.h: Likewise.
47187 * sysdeps/sh/dl-tls.h: Likewise.
47188 * sysdeps/sparc/dl-tls.h: Likewise.
47189 * sysdeps/x86_64/dl-tls.h: Likewise.
47190 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47192 2011-03-14 Andreas Schwab <schwab@redhat.com>
47194 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47195 rpath element also skip the following colon.
47196 (expand_dynamic_string_token): Add is_path parameter and pass
47197 down to DL_DST_REQUIRED and _dl_dst_substitute.
47198 (decompose_rpath): Call expand_dynamic_string_token with
47199 non-zero is_path. Ignore empty rpaths.
47200 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47203 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47208 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47211 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47212 Patch by Filipe David Manana <fdmanana@apache.org>.
47214 2011-04-07 Andreas Schwab <schwab@redhat.com>
47216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47217 Maintain aligned stack.
47218 (CHECK_RSP): Remove unused macro.
47220 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47222 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47225 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47227 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47229 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47231 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47234 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47235 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47236 * sysdeps/x86_64/memmove.c: New file.
47237 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47238 (memcpy): Renamed to ...
47239 (__new_memcpy): This.
47240 (memcpy): Provide GLIBC_2_14 memcpy.
47241 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47242 (memcpy): Provide GLIBC_2_2_5 memcpy.
47244 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47247 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47249 2011-03-30 Andreas Schwab <schwab@redhat.com>
47251 * misc/syncfs.c: New file.
47252 * misc/Makefile (routines): Add syncfs.
47253 * posix/unistd.h: Declare syncfs.
47254 * sysdeps/unix/syscalls.list: Add syncfs.
47256 2011-04-01 Andreas Schwab <schwab@redhat.com>
47258 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47265 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47268 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47272 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47278 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47279 sync_file_range.c with -fexceptions.
47280 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47281 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47282 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47283 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47284 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47287 sync_file_range as cancellation point
47288 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47289 now a wrapper around __call_sync_file_range with cancellation handling.
47290 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47291 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47292 function name to __call_sync_file_range.
47293 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47294 Add call_sync_file_range.
47296 2011-04-01 Andreas Schwab <schwab@redhat.com>
47298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47301 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47303 * iconv/iconv.h: Fix typo in comment.
47304 * io/fcntl.h: Likewise.
47305 * libio/stdio.h: Likewise.
47306 * posix/spawn.h: Likewise.
47307 * posix/unistd.h: Likewise.
47308 * stdlib/stdlib.h: Likewise.
47309 * time/time.h: Likewise.
47310 * wcsmbs/wchar.h: Likewise.
47312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47313 open_by_handle): Add.
47314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47315 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47316 Augment a few comments.
47317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47322 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47325 * io/fcntl.h (AT_EMPTY_PATH): Define.
47327 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47329 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47330 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47331 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47333 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47334 * Versions.def: Add GLIBC_2.14.
47335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47338 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47344 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47347 * string/test-strncmp.c (do_page_test): New function.
47348 (check2): Likewise.
47349 (test_main): Call check2.
47350 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47352 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47356 Handle cache information in CPU leaf 4.
47357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47359 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47362 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47363 character representation.
47364 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47366 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47368 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47369 END(__isnan) to END(__isnanf) to match function entry point/label
47370 EALIGN(__isnanf,...).
47372 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47374 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47376 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47379 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47380 copy from the symbol referenced in the relocation to initialize the
47382 Patch by Piotr Bury <pbury@goahead.com>.
47383 * elf/Makefile: Add rules to build and tst-unique3.
47384 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47385 * elf/tst-unique3.cc: New file.
47386 * elf/tst-unique3.h: New file.
47387 * elf/tst-unique3lib.cc: New file.
47388 * elf/tst-unique3lib2.cc: New file.
47390 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47392 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47394 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47395 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47398 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47400 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47401 to-be-loaded object along a path to loader is ld.so.
47403 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47404 Ulrich Drepper <drepper@gmail.com>
47406 * sysdeps/x86_64/memset.S: After aligning destination, code
47407 branches to different locations depending on the value of
47408 misalignment, when multiarch is enabled. Fix this.
47410 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47412 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47413 Set _x86_64_preferred_memory_instruction for AMD processsors.
47414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47415 Set bit_Prefer_SSE_for_memop for AMD processors.
47417 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47419 * libio/fmemopen.c (fmemopen): Optimize a bit.
47421 2011-03-03 Andreas Schwab <schwab@redhat.com>
47423 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47425 2011-03-03 Roland McGrath <roland@redhat.com>
47427 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47429 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47431 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47432 __bzero_ultra1 instead of __memset_ultra1.
47434 2011-02-23 Andreas Schwab <schwab@redhat.com>
47435 Ulrich Drepper <drepper@gmail.com>
47438 * include/link.h (struct link_map): Add l_orig_initfini.
47439 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47440 returning unsuccessfully.
47441 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47442 close of a file loaded at startup, restore the original l_initfini
47444 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47445 list, store the pointer.
47446 * elf/Makefile ($(objpfx)noload-mem): New rule.
47447 (noload-ENV): Define.
47448 (tests): Add $(objpfx)noload-mem.
47449 * elf/noload.c: Include <memcheck.h>.
47450 (main): Call mtrace. Close all opened handles.
47452 2011-02-17 Andreas Schwab <schwab@redhat.com>
47455 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47456 dependencies are missing.
47458 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47460 Fix __if_freereq crash: Unlike the generic version which uses free,
47462 * sysdeps/mach/hurd/ifreq.h: New file.
47464 2011-01-27 Petr Baudis <pasky@suse.cz>
47465 Ulrich Drepper <drepper@gmail.com>
47468 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47469 to extend_alloca().
47470 * stdio-common/bug23.c: New file.
47471 * stdio-common/Makefile (tests): Add bug23.
47473 2010-09-28 Andreas Schwab <schwab@redhat.com>
47474 Ulrich Drepper <drepper@gmail.com>
47477 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47478 before performing relro protection. At old place add assertion
47479 to make sure nothing changed.
47481 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47482 Glauber de Oliveira Costa <glommer@gmail.com>
47484 * elf/elf.h: Add new ARM TLS relocs.
47486 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47489 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47491 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47493 * sysdeps/wordsize-64/tst-writev.c: New file.
47495 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47497 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47498 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47499 insns in _dl_start to prevent a TOC reference before relocs are
47502 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47505 * Makeconfig: Remove RANLIB definition.
47506 * Makerules: Don't use RANLIB.
47507 * aclocal.m4: Remove ranlib test.
47508 * configure.in: No need to check for ranlib.
47509 * elf/rtld-Rules: Don't use RANLIB.
47511 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47513 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47515 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47516 inclusion protection macro.
47518 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47519 SIGRTMIN and SIGRTMAX and print information in that case only when
47520 SIGRTMIN is defined.
47522 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47524 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47525 arginfo fn returning -1.
47527 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47528 and thousands string is zero terminated.
47530 2011-02-03 Andreas Schwab <schwab@redhat.com>
47532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47533 sysdeps/unix/sysv/linux/bits/socket.h.
47535 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47537 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47538 (__CPU_COUNT): Remove old macros.
47539 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47540 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47541 (__CPU_ALLOC, __CPU_FREE): Add macros.
47542 (__sched_cpualloc, __sched_cpufree): Add declarations.
47544 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47546 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47547 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47548 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47549 (readdhstai): Return value of addhstaiX call.
47550 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47551 (addgrbyX): Return value returned by cache_addgr.
47552 (readdgrbyname): Return value returned by addgrbyX.
47553 (readdgrbygid): Likewise.
47554 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47555 (addpwbyX): Return value returned by cache_addpw.
47556 (readdpwbyname): Return value returned by addhstbyX.
47557 (readdpwbyuid): Likewise.
47558 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47559 (addservbyX): Return value returned by cache_addserv.
47560 (readdservbyname): Return value returned by addservbyX:
47561 (readdservbyport): Likewise.
47562 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47563 (addhstbyX): Return value returned by cache_addhst.
47564 (readdhstbyname): Return value returned by addhstbyX.
47565 (readdhstbyaddr): Likewise.
47566 (readdhstbynamev6): Likewise.
47567 (readdhstbyaddrv6): Likewise.
47568 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47569 (readdinitgroups): Return value returned by addinitgroupsX.
47570 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47571 (prune_cache): Keep track of timeout value of re-added entries.
47572 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47573 * nscd/nscd.h: Adjust prototypes of readd* functions.
47575 2011-02-04 Roland McGrath <roland@redhat.com>
47577 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47578 (nis_stats): Likewise.
47579 * nis/nis_modify.c (nis_modify): Likewise.
47580 * nis/nis_remove.c (nis_remove): Likewise.
47581 * nis/nis_add.c (nis_add): Likewise.
47583 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47585 * posix/fnmatch_loop.c: Add some consts.
47587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47589 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47592 * config.make.in (config-cflags-novzeroupper): Define.
47593 * configure.in: Substitute libc_cv_cc_novzeroupper.
47594 * elf/Makefile (AVX-CFLAGS): Define.
47595 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47596 (CFLAGS-tst-auditmod4a.c): Likewise.
47597 (CFLAGS-tst-auditmod4b.c): Likewise.
47598 (CFLAGS-tst-auditmod6b.c): Likewise.
47599 (CFLAGS-tst-auditmod6c.c): Likewise.
47600 (CFLAGS-tst-auditmod7b.c): Likewise.
47601 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47603 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47605 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47606 function to the callback.
47607 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47609 2011-02-02 Andreas Schwab <schwab@redhat.com>
47611 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47614 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47617 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47619 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47621 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47624 * elf/Makefile: Add rules to build and run new test.
47625 * elf/tst-initorder.c: New file.
47626 * elf/tst-initorder.exp: New file.
47627 * elf/tst-initordera1.c: New file.
47628 * elf/tst-initordera2.c: New file.
47629 * elf/tst-initordera3.c: New file.
47630 * elf/tst-initordera4.c: New file.
47631 * elf/tst-initorderb1.c: New file.
47632 * elf/tst-initorderb2.c: New file.
47633 * elf/tst-order-a1.c: New file.
47634 * elf/tst-order-a2.c: New file.
47635 * elf/tst-order-a3.c: New file.
47636 * elf/tst-order-a4.c: New file.
47637 * elf/tst-order-b1.c: New file.
47638 * elf/tst-order-b2.c: New file.
47639 * elf/tst-order-main.c: New file.
47640 New test case by George Gensure <werkt0@gmail.com>.
47642 2010-10-01 Andreas Schwab <schwab@redhat.com>
47644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47645 decoding ACE if AI_CANONIDN.
47647 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47649 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47651 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47653 * version.h (RELEASE): Bump for 2.13 release.
47654 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47656 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47660 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47662 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47667 * posix/getconf.c: Update copyright year.
47668 * catgets/gencat.c: Likewise.
47669 * csu/version.c: Likewise.
47670 * debug/catchsegv.sh: Likewise.
47671 * debug/xtrace.sh: Likewise.
47672 * elf/ldconfig.c: Likewise.
47673 * elf/ldd.bash.in: Likewise.
47674 * elf/sprof.c (print_version): Likewise.
47675 * iconv/iconv_prog.c: Likewise.
47676 * iconv/iconvconfig.c: Likewise.
47677 * locale/programs/locale.c: Likewise.
47678 * locale/programs/localedef.c: Likewise.
47679 * malloc/memusage.sh: Likewise.
47680 * malloc/mtrace.pl: Likewise.
47681 * nscd/nscd.c (print_version): Likewise.
47682 * nss/getent.c: Likewise.
47684 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47685 PF_CAIF, and PF_ALG.
47686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47688 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47690 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47691 (modules-names): Use them.
47692 (ifunc-test-modules, ifunc-pie-tests): Define.
47693 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47694 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47695 (test-extras): Likewise.
47696 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47697 $(compile-command.c).
47698 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47699 (all-built-dso): Define.
47700 (check-textrel.out, check-execstack.out): Depend on it.
47702 * configure.in: Don't override --enable-multi-arch.
47704 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47707 * nscd/hstcache.c (tryagain): Define.
47708 (cache_addhst): Return tryagain not notfound for temporary errors.
47709 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47712 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47716 to make the syscall.
47717 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47720 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47721 and fall back to matching as normal character if the string ends before
47722 the matching ']' is found. This is what POSIX requires.
47723 * posix/testfnm.c: Adjust test result.
47724 * posix/globtest.sh: Adjust test result. Add new test.
47725 * posix/tst-fnmatch.input: Likewise.
47726 * posix/tst-fnmatch2.c: Add new test.
47728 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47730 * elf/Makefile (check-execstack): Revert last change. Depend on
47732 (check-execstack.h): New target.
47733 (generated): Add check-execstack.h.
47734 * elf/check-execstack.c: Include "check-execstack.h".
47735 (main): Revert last change.
47736 (handle_file): Return zero if GNU_STACK is absent and
47737 DEFAULT_STACK_PERMS doesn't include PF_X.
47739 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47741 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47742 in child fails because the descriptor is already closed.
47743 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47744 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47745 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47748 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47752 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47753 temporary buffer used to handle multi lookups locally.
47754 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47756 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47758 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47761 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47763 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47764 alignment for SSE2.
47766 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47769 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47770 characters. When rounding increased number of integer digits recompute
47772 * stdio-common/tst-grouping.c: New file.
47773 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47775 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47777 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47778 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47780 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47782 * bits/select.h: Likewise.
47784 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47786 * po/ja.po: Update from translation team.
47788 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47791 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47792 implementation just like for lxstat, fxstatat, et al.
47794 2010-12-27 Jim Meyering <meyering@redhat.com>
47797 * posix/regexec.c (build_trtable): Return failure indication upon
47798 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47800 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47803 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47804 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47805 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47806 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47809 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47812 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47813 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47815 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47817 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47818 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47819 script has SORT_BY_INIT_PRIORITY.
47820 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47821 NO_CTORS_DTORS_SECTIONS is defined.
47822 * elf/soinit.c: Likewise.
47823 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47824 NO_CTORS_DTORS_SECTIONS is defined.
47825 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47826 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47827 * sysdeps/sh/init-first.c: Likewise.
47828 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47830 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47832 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47833 always use the slow path.
47835 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47837 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47838 similar rule which adds the sysdep directories to the header search in
47839 order to pick up the correct platform stackinfo.h.
47840 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47841 perform test if it is, otherwise return successfully without testing.
47842 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47843 DEFAULT_STACK_PERMS define in stackinfo.h.
47844 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47845 defined in stackinfo.h.
47846 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47847 DEFAULT_STACK_PERMS defined in stackinfo.h.
47848 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47849 * sysdeps/ia64/stackinfo.h: Likewise.
47850 * sysdeps/s390/stackinfo.h: Likewise.
47851 * sysdeps/sh/stackinfo.h: Likewise.
47852 * sysdeps/sparc/stackinfo.h: Likewise.
47853 * sysdeps/x86_64/stackinfo.h: Likewise.
47854 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47855 PF_X for powerpc64. Retain PF_X for powerpc32.
47857 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47859 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47861 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47862 GETDENTS_64BIT_ALIGNED.
47864 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47866 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47868 2010-12-10 Andreas Schwab <schwab@redhat.com>
47870 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47873 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47874 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47876 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47877 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47879 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47882 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47885 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47887 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47889 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47891 * po/it.po: Update from translation team.
47893 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47898 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47900 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47902 2010-11-24 Andreas Schwab <schwab@redhat.com>
47904 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47906 (gaih_getanswer_slice): Likewise.
47908 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47912 2010-05-31 Petr Baudis <pasky@suse.cz>
47915 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47916 silently even in the chroot mode.
47918 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47920 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47921 last patch a bit. Pretty printing
47923 2010-05-31 Petr Baudis <pasky@suse.cz>
47926 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47927 initialization of skip_initgroups_dyn.
47929 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47931 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47934 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47936 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47938 2010-11-11 Andreas Schwab <schwab@redhat.com>
47940 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47941 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47942 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47943 ($(objpfx)tst-fnmatch-mem): New rule.
47944 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47945 * posix/tst-fnmatch.c (main): Call mtrace.
47947 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47950 Support Intel processor model 6 and model 0x2c.
47952 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47957 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47960 * string/test-strncasecmp.c (check_result): New function.
47961 (do_one_test): Use it.
47962 (check1): New function.
47963 (test_main): Use it.
47964 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47965 Support strcasecmp and strncasecmp.
47967 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47970 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47973 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47975 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47979 * sysdeps/x86_64/multiarch/bzero.S: New file.
47980 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47981 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47982 * sysdeps/x86_64/multiarch/memset.S: New file.
47983 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47985 Set bit_Prefer_SSE_for_memop for Intel processors.
47986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47988 (index_Prefer_SSE_for_memop): Define.
47989 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47991 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47993 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47994 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47996 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48000 (__x86_64_raw_data_cache_size_half): Likewise.
48001 (__x86_64_raw_shared_cache_size): Likewise.
48002 (__x86_64_raw_shared_cache_size_half): Likewise.
48004 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48005 (__x86_64_raw_data_cache_size_half): Likewise.
48006 (__x86_64_raw_shared_cache_size): Likewise.
48007 (__x86_64_raw_shared_cache_size_half): Likewise.
48008 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48009 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48010 and __x86_64_raw_shared_cache_size_half. Round
48011 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48012 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48013 to multiple of 256 bytes.
48015 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48018 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48019 of inacessible symlinks. Verify result of symlink before returning it.
48020 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48021 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48023 2010-10-28 Erich Ritz <erichritz@gmail.com>
48025 * math/math.h (isinf): Fix typo in comment.
48027 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48029 * po/da.po: Update from translation team.
48031 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48033 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48034 is added to the list.
48036 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48037 Ulrich Drepper <drepper@gmail.com>
48039 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48040 the global list here. Move code to...
48041 (_dl_add_to_namespace_list): ...here. New function.
48042 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48043 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48044 * elf/dl-load.c (lose): Don't remove the element from the list.
48045 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48046 (_dl_map_object): Likewise.
48048 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48051 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48052 into all bytes of SSE register.
48053 Patch by Richard Li <richardpku@gmail.com>.
48055 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48058 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48061 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48063 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48064 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48066 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48071 2010-10-22 Andreas Schwab <schwab@redhat.com>
48073 * include/dlfcn.h (__RTLD_SECURE): Define.
48074 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48075 mode & __RTLD_SECURE instead.
48076 (open_path): Rename preloaded parameter to secure.
48077 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48078 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48079 * elf/dl-deps.c (openaux): Likewise.
48080 * elf/rtld.c (struct map_args): Remove is_preloaded.
48081 (map_doit): Don't use it.
48082 (dl_main): Likewise.
48083 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48084 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48086 2010-09-09 Andreas Schwab <schwab@redhat.com>
48088 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48089 (sysd-rules-targets): Remove duplicates.
48090 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48091 rtld-%.$o dependency.
48093 2010-10-18 Andreas Schwab <schwab@redhat.com>
48095 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48096 _dl_map_object do it.
48098 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48100 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48101 fast fma builtins, define the macros in the C99 standard.
48102 (FP_FAST_FMAF): Likewise.
48103 (FP_FAST_FMAL): Likewise.
48104 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48106 * bits/mathdef.h: Update copyright year.
48107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48109 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48111 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48112 builtins, define the macros in the C99 standard.
48113 (FP_FAST_FMAF): Likewise.
48114 (FP_FAST_FMAL): Likewise.
48115 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48117 (FP_FAST_FMAF): Likewise.
48119 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48122 * math/libm-test.inc (fma_test): Some new testcases.
48123 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48125 y and infinite z. Do multiplication by C already in long double.
48126 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48128 y and infinite z. Do bitwise or of inexact bit into u.d.
48129 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48130 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48131 * sysdeps/i386/fpu/s_fma.S: Removed.
48132 * sysdeps/i386/fpu/s_fmal.S: Removed.
48134 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48137 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48139 computation is not scheduled after fetestexcept. Fix value
48140 of minimum denormal long double.
48142 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48145 * math/libm-test.inc (fma_test): Add some more tests.
48146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48149 2010-10-15 Andreas Schwab <schwab@redhat.com>
48151 * scripts/data/localplt-s390-linux-gnu.data: New file.
48152 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48154 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48157 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48158 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48160 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48162 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48164 if one of x and y is very large and the other is subnormal.
48165 * sysdeps/s390/fpu/s_fmaf.c: New file.
48166 * sysdeps/s390/fpu/s_fma.c: New file.
48167 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48168 * sysdeps/powerpc/fpu/s_fma.S: New file.
48169 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48170 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48171 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48173 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48176 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48179 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48180 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48181 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48182 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48183 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48184 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48186 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48189 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48190 * posix/bug-regex31.input: Add test case.
48192 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48194 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48195 * posix/bug-regex31.input: New file.
48198 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48199 (parse_sub_exp): Fix last change, use postorder.
48201 * posix/bug-regex31.c: New file.
48202 * posix/Makefile: Add rules to build and run bug-regex31.
48204 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48207 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48210 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48211 to have entries in sys_siglist.
48214 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48217 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48220 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48221 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48222 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48223 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48224 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48225 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48226 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48227 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48228 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48229 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48230 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48231 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48232 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48233 * math/ftestexcept.c (fetestexcept): Likewise.
48234 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48235 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48236 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48237 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48238 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48239 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48242 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48245 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48248 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48250 * string/bug-strstr1.c: New file.
48251 * string/Makefile: Add rules to build and run bug-strstr1.
48253 2010-10-05 Eric Blake <eblake@redhat.com>
48256 * string/str-two-way.h (two_way_long_needle): Always clear memory
48257 when skipping input due to the shift table.
48259 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48262 * malloc/mcheck.c: Handle large requests.
48265 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48266 for strncmp and strncasecmp.
48267 * string/stratcliff.c: Add tests for strcmp and strncmp.
48268 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48270 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48272 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48275 2010-09-30 Andreas Jaeger <aj@suse.de>
48277 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48278 (CGROUP_SUPER_MAGIC): Define.
48279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48280 Handle btrfs and cgroup file systems.
48281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48284 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48286 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48287 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48289 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48292 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48293 trying to locate the ELF header.
48295 2010-09-27 Andreas Schwab <schwab@redhat.com>
48298 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48299 Mask out sign-bit copies when constructing f_fsid.
48301 2010-09-24 Petr Baudis <pasky@suse.cz>
48303 * debug/stack_chk_fail_local.c: Add missing licence exception.
48304 * debug/warning-nop.c: Likewise.
48306 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48309 implementing getdents64 using getdents syscall, set d_type if
48310 __ASSUME_GETDENTS32_D_TYPE.
48312 2010-09-16 Andreas Schwab <schwab@redhat.com>
48314 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48315 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48317 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48320 * posix/unistd.h: Undo change of feature selection for ftruncate from
48323 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48325 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48328 2010-09-20 Andreas Schwab <schwab@redhat.com>
48330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48334 2010-09-14 Andreas Schwab <schwab@redhat.com>
48336 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48337 variables after CHECK_SP call.
48338 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48340 2010-09-13 Andreas Schwab <schwab@redhat.com>
48341 Ulrich Drepper <drepper@redhat.com>
48343 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48344 re-relocationg ld.so.
48345 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48346 _dl_init_paths call.
48347 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48350 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48352 * resolv/res_init.c (__res_vinit): Count the default server we added.
48354 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48355 Ulrich Drepper <drepper@redhat.com>
48358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48359 (____longjmp_chk): Use %ebx for saving value across system call.
48362 2010-09-06 Andreas Schwab <schwab@redhat.com>
48364 * manual/Makefile: Don't mix pattern rules with normal rules.
48366 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48368 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48370 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48371 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48372 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48373 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48377 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48380 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48381 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48383 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48385 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48386 * sysdeps/x86_64/addmul_1.S: Likewise.
48387 * sysdeps/x86_64/lshift.S: Likewise.
48388 * sysdeps/x86_64/mul_1.S: Likewise.
48389 * sysdeps/x86_64/rshift.S: Likewise.
48390 * sysdeps/x86_64/sub_n.S: Likewise.
48391 * sysdeps/x86_64/submul_1.S: Likewise.
48393 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48395 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48396 Define __sched_param instead of SCHED_* and sched_param when
48397 <bits/sched.h> is included with __need_schedparam defined.
48398 * bits/sched.h [__need_schedparam]
48399 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48400 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48401 (__defined_schedparam): Define to 1.
48402 (__sched_param): New structure, identical to sched_param.
48403 (__need_schedparam): Undefine.
48405 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48408 (epoll_create1): Declare.
48410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48412 2010-08-31 Andreas Schwab <schwab@redhat.com>
48415 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48416 shifting retval into place.
48418 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48420 * nis/rpcsvc/nis.h: Update copyright notice.
48421 * nis/rpcsvc/nis.x: Likewise.
48422 * nis/rpcsvc/nis_callback.h: Likewise.
48423 * nis/rpcsvc/nis_callback.x: Likewise.
48424 * nis/rpcsvc/nis_object.x: Likewise.
48425 * nis/rpcsvc/nis_tags.h: Likewise.
48426 * nis/rpcsvc/yp.h: Likewise.
48427 * nis/rpcsvc/yp.x: Likewise.
48428 * nis/rpcsvc/ypupd.h: Likewise.
48429 * nis/yp_xdr.c: Likewise.
48430 * nis/ypupdate_xdr.c: Likewise.
48432 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48433 mainly the body of pmap_getport. Add parameters to specify timeouts.
48434 (pmap_getport): Use __libc_rpc_getport.
48435 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48436 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48437 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48439 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48444 2010-08-27 Roland McGrath <roland@redhat.com>
48446 * sysdeps/i386/i686/multiarch/Makefile
48447 (CFLAGS-varshift.c): New variable.
48449 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48451 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48452 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48456 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48458 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48460 * sysdeps/x86_64/strlen.S: Unroll the loop.
48461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48462 strlen-sse2 strlen-sse2-bsf.
48463 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48464 __strlen_no_bsf if bit_Slow_BSF is set.
48465 (__strlen_sse42): Removed.
48466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48467 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48469 2010-08-25 Roland McGrath <roland@redhat.com>
48471 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48472 * sysdeps/x86_64/multiarch/varshift.c: New file.
48473 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48474 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48475 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48476 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48478 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48481 strlen-sse2 strlen-sse2-bsf.
48482 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48483 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48484 (__strlen_sse2): Removed.
48485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48488 bit_Slow_BSF for Atom.
48489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48490 (index_Slow_BSF): Define.
48491 (HAS_SLOW_BSF): Define.
48493 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48496 * resolv/res_init.c (__res_vinit): When no server address at all
48497 is given default to loopback.
48499 2010-08-24 Roland McGrath <roland@redhat.com>
48501 * configure.in: Remove config-name.h generation.
48502 * configure: Regenerated.
48503 * config-name.in: File removed.
48504 * scripts/config-uname.sh: New file.
48505 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48506 ($(objdir)config-name.h): New target.
48508 * sunrpc/rpc_parse.h: Avoid nested comment.
48510 2010-08-24 Richard Henderson <rth@redhat.com>
48511 Ulrich Drepper <drepper@redhat.com>
48512 H.J. Lu <hongjiu.lu@intel.com>
48514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48516 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48517 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48518 _mm_alignr_epi8 with _mm_loadu_si128.
48519 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48520 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48521 (__m128i_shift_right): Removed.
48522 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48523 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48524 * sysdeps/x86_64/multiarch/varshift.h: New file.
48525 * sysdeps/x86_64/multiarch/varshift.S: New file.
48527 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48529 * configure.in: Move assembler checks to before sysdep dir checking.
48531 2010-08-20 Petr Baudis <pasky@suse.cz>
48533 * LICENSES: Sync the sunrpc license.
48535 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48537 * sunrpc/auth_des.c: Update copyright notice once again.
48538 * sunrpc/auth_none.c: Likewise.
48539 * sunrpc/auth_unix.c: Likewise.
48540 * sunrpc/authdes_prot.c: Likewise.
48541 * sunrpc/authuxprot.c: Likewise.
48542 * sunrpc/bindrsvprt.c: Likewise.
48543 * sunrpc/clnt_gen.c: Likewise.
48544 * sunrpc/clnt_perr.c: Likewise.
48545 * sunrpc/clnt_raw.c: Likewise.
48546 * sunrpc/clnt_simp.c: Likewise.
48547 * sunrpc/clnt_tcp.c: Likewise.
48548 * sunrpc/clnt_udp.c: Likewise.
48549 * sunrpc/clnt_unix.c: Likewise.
48550 * sunrpc/des_crypt.c: Likewise.
48551 * sunrpc/des_soft.c: Likewise.
48552 * sunrpc/get_myaddr.c: Likewise.
48553 * sunrpc/getrpcport.c: Likewise.
48554 * sunrpc/key_call.c: Likewise.
48555 * sunrpc/key_prot.c: Likewise.
48556 * sunrpc/openchild.c: Likewise.
48557 * sunrpc/pm_getmaps.c: Likewise.
48558 * sunrpc/pm_getport.c: Likewise.
48559 * sunrpc/pmap_clnt.c: Likewise.
48560 * sunrpc/pmap_prot.c: Likewise.
48561 * sunrpc/pmap_prot2.c: Likewise.
48562 * sunrpc/pmap_rmt.c: Likewise.
48563 * sunrpc/rpc/auth.h: Likewise.
48564 * sunrpc/rpc/auth_unix.h: Likewise.
48565 * sunrpc/rpc/clnt.h: Likewise.
48566 * sunrpc/rpc/des_crypt.h: Likewise.
48567 * sunrpc/rpc/key_prot.h: Likewise.
48568 * sunrpc/rpc/netdb.h: Likewise.
48569 * sunrpc/rpc/pmap_clnt.h: Likewise.
48570 * sunrpc/rpc/pmap_prot.h: Likewise.
48571 * sunrpc/rpc/pmap_rmt.h: Likewise.
48572 * sunrpc/rpc/rpc.h: Likewise.
48573 * sunrpc/rpc/rpc_des.h: Likewise.
48574 * sunrpc/rpc/rpc_msg.h: Likewise.
48575 * sunrpc/rpc/svc.h: Likewise.
48576 * sunrpc/rpc/svc_auth.h: Likewise.
48577 * sunrpc/rpc/types.h: Likewise.
48578 * sunrpc/rpc/xdr.h: Likewise.
48579 * sunrpc/rpc_clntout.c: Likewise.
48580 * sunrpc/rpc_cmsg.c: Likewise.
48581 * sunrpc/rpc_common.c: Likewise.
48582 * sunrpc/rpc_cout.c: Likewise.
48583 * sunrpc/rpc_dtable.c: Likewise.
48584 * sunrpc/rpc_hout.c: Likewise.
48585 * sunrpc/rpc_main.c: Likewise.
48586 * sunrpc/rpc_parse.c: Likewise.
48587 * sunrpc/rpc_parse.h: Likewise.
48588 * sunrpc/rpc_prot.c: Likewise.
48589 * sunrpc/rpc_sample.c: Likewise.
48590 * sunrpc/rpc_scan.c: Likewise.
48591 * sunrpc/rpc_scan.h: Likewise.
48592 * sunrpc/rpc_svcout.c: Likewise.
48593 * sunrpc/rpc_tblout.c: Likewise.
48594 * sunrpc/rpc_util.c: Likewise.
48595 * sunrpc/rpc_util.h: Likewise.
48596 * sunrpc/rpcinfo.c: Likewise.
48597 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48598 * sunrpc/rpcsvc/key_prot.x: Likewise.
48599 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48600 * sunrpc/rpcsvc/mount.x: Likewise.
48601 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48602 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48603 * sunrpc/rpcsvc/rex.x: Likewise.
48604 * sunrpc/rpcsvc/rstat.x: Likewise.
48605 * sunrpc/rpcsvc/rusers.x: Likewise.
48606 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48607 * sunrpc/rpcsvc/spray.x: Likewise.
48608 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48609 * sunrpc/rtime.c: Likewise.
48610 * sunrpc/svc.c: Likewise.
48611 * sunrpc/svc_auth.c: Likewise.
48612 * sunrpc/svc_authux.c: Likewise.
48613 * sunrpc/svc_raw.c: Likewise.
48614 * sunrpc/svc_run.c: Likewise.
48615 * sunrpc/svc_simple.c: Likewise.
48616 * sunrpc/svc_tcp.c: Likewise.
48617 * sunrpc/svc_udp.c: Likewise.
48618 * sunrpc/svc_unix.c: Likewise.
48619 * sunrpc/svcauth_des.c: Likewise.
48620 * sunrpc/xcrypt.c: Likewise.
48621 * sunrpc/xdr.c: Likewise.
48622 * sunrpc/xdr_array.c: Likewise.
48623 * sunrpc/xdr_float.c: Likewise.
48624 * sunrpc/xdr_mem.c: Likewise.
48625 * sunrpc/xdr_rec.c: Likewise.
48626 * sunrpc/xdr_ref.c: Likewise.
48627 * sunrpc/xdr_sizeof.c: Likewise.
48628 * sunrpc/xdr_stdio.c: Likewise.
48630 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48633 2010-08-19 Andreas Schwab <schwab@redhat.com>
48635 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48637 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48639 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48640 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48641 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48642 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48643 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48644 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48645 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48646 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48648 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48649 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48651 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48652 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48654 2010-07-26 Anton Blanchard <anton@samba.org>
48656 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48657 * malloc/arena.c (heap_trim): Likewise.
48659 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48661 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48664 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48666 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48668 * sysdeps/i386/elf/Makefile: New file.
48670 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48672 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48673 from fanotify_init.
48674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48677 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48679 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48681 * sysdeps/multiarch/strcmp.S: Likewise.
48683 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48685 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48686 strncase_l-nonascii.
48687 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48688 Add strncase_l-ssse3.
48689 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48690 * sysdeps/x86_64/strcmp.S: Likewise.
48691 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48692 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48693 * sysdeps/x86_64/strncase.S: New file.
48694 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48695 * sysdeps/x86_64/strncase_l.S: New file.
48696 * string/Makefile (strop-tests): Add strncasecmp.
48697 * string/test-strncasecmp.c: New file.
48699 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48702 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48705 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48707 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48709 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48711 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48715 2010-05-01 Alan Modra <amodra@gmail.com>
48717 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48718 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48719 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48720 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48721 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48722 tidying. Don't tail-call __sigjmp_save for static lib.
48723 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48725 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48726 (CALL_MCOUNT): Add eh info, and nop after bl.
48727 (TAIL_CALL_SYSCALL_ERROR): New macro.
48728 (PSEUDO_RET): Use it.
48729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48730 Correct save location of integer regs and cr.
48731 (_dl_profile_resolve): Correct cr save location. Delete nops
48732 after bl when SHARED. Reduce cfi size a little by better
48733 placement of cfi directives.
48734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48735 make a stack frame. Instead use parm save area as a temp.
48736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48737 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48739 Don't make a stack frame for parent, use parm save area.
48740 Increase child stack frame to 112 bytes. Don't save unused reg,
48741 and adjust reg usage. Set up cfi on error recovery and
48742 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48744 (__makecontext): Add dummy nop after jump to exit.
48745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48746 Use correct parm save area and cr save, reduce stack frame.
48747 Correct cfi for possible PSEUDO_RET frame setup.
48748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48749 Branch to local label emitted by PSEUDO_RET rather than
48752 2010-08-12 Andreas Schwab <schwab@redhat.com>
48755 * locale/programs/locale.c (print_assignment): New function.
48756 (show_locale_vars): Use it.
48758 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48760 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48762 (struct statfs64): Likewise.
48763 (_STATFS_F_FLAGS): Define.
48764 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48766 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48767 (ST_VALID): Define locally.
48768 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48769 __statvfs_getflags, use the provided value.
48770 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48771 __ASSUME_STATFS_F_FLAGS.
48773 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48775 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48776 Add sys/fanotify.h.
48777 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48778 fanotify_mask for GLIBC_2.13.
48779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48780 fanotify_init and fanotify_mark.
48781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48782 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48784 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48786 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48787 prlimit64 for GLIBC_2.13.
48788 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48794 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48795 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48798 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48801 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48802 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48804 * nss/Makefile: Add rules to build and run tst-nss-test1.
48805 * shlib-versions: Add entry for libnss_test1.
48806 * nss/nss_test1.c: New file.
48807 * nss/tst-nss-test1.c: New file.
48809 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48810 (__nss_configure_lookup): Set appropriate entry in
48811 __nss_configure_lookup to true.
48812 * nss/nsswitch.h: Define enum with indeces of databases in
48813 databases and __nss_database_custom arrays. Declare
48814 __nss_database_custom.
48815 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48816 to avoid using nscd when custom rules are installed.
48817 * nss/getXXbyYY_r.c: Likewise.
48818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48820 * nss/nss_files/files-parse.c: Whitespace fixes.
48822 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48825 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48826 * posix/fnmatch_loop.c: Likewise.
48828 2010-07-17 Andi Kleen <ak@linux.intel.com>
48830 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48831 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48832 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48833 * Versions.def [GLIBC_2.13]: Add.
48835 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48837 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48838 Also fail if tpwd after pwuid call is NULL.
48840 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48842 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48843 when converting to ms.
48845 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48847 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48848 EOPNOTSUPP errors with ENOTTY.
48849 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48850 EOPNOTSUPP errors with ENOTTY.
48852 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48854 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48855 Add strcasecmp_l-ssse3.
48856 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48858 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48859 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48860 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48862 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48864 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48866 * string/Makefile (strop-tests): Add strcasecmp.
48867 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48868 strcasecmp_l-nonascii.
48869 (gen-as-const-headers): Add locale-defines.sym.
48870 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48871 * sysdeps/x86_64/strcasecmp.S: New file.
48872 * sysdeps/x86_64/strcasecmp_l.S: New file.
48873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48874 * sysdeps/x86_64/locale-defines.sym: New file.
48875 * string/test-strcasecmp.c: New file.
48877 * string/test-strcasestr.c: Test both ends of the range of characters.
48878 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48880 2010-07-29 Roland McGrath <roland@redhat.com>
48883 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48885 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48887 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48890 2010-07-27 Andreas Schwab <schwab@redhat.com>
48892 * manual/memory.texi (Malloc Tunable Parameters): Document
48895 2010-07-26 Roland McGrath <roland@redhat.com>
48898 * configure.in (-fgnu89-inline check): Set and substitute
48899 gnu89_inline, not libc_cv_gnu89_inline.
48900 * configure: Regenerated.
48901 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48903 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48905 * string/test-strnlen.c: New file.
48906 * string/Makefile (strop-tests): Add strnlen.
48907 * string/tester.c (test_strnlen): Add a few more test cases.
48908 * string/tst-strlen.c: Better error reporting.
48910 * sysdeps/x86_64/strnlen.S: New file.
48912 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48915 lower-latency instructions.
48917 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48919 * string/test-strcasestr.c: New file.
48920 * string/test-strstr.c: New file.
48921 * string/Makefile (strop-tests): Add strstr and strcasestr.
48922 * string/str-two-way.h: Don't undefine MAX.
48923 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48925 2010-07-21 Andreas Schwab <schwab@redhat.com>
48927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48928 strcasestr-nonascii.
48929 (CFLAGS-strcasestr-nonascii.c): Define.
48930 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48932 Remove unused attribute.
48934 2010-07-20 Roland McGrath <roland@redhat.com>
48936 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48937 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48938 ld.so.cache was broken. With it, there is no way to disable dsocaps
48939 like LD_HWCAP_MASK can disable hwcaps.
48941 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48943 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48945 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48947 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48948 call in strcasestr.
48949 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48950 __strcasestr_sse42_nonascii.
48951 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48952 strcasestr-nonascii.c.
48953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48955 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48962 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48967 2010-07-06 Andreas Schwab <schwab@redhat.com>
48970 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48973 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48976 _PC_PIPE_BUF using F_GETPIPE_SZ.
48978 2010-07-05 Roland McGrath <roland@redhat.com>
48980 * manual/arith.texi (Rounding Functions): Fix rint description
48981 implicit in round description.
48983 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48985 * elf/Makefile: Fix linking for a few tests to make recent linker
48988 2010-06-30 Andreas Schwab <schwab@redhat.com>
48990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48991 $(common-objpfx)libc_nonshared.a.
48993 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48995 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48996 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48997 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48998 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48999 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49002 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49017 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49018 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49019 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49020 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49021 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49022 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49023 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49024 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49025 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49026 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49027 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49028 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49044 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49046 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49047 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49048 * string/memmove.c (memmove): Renamed to ...
49049 (MEMMOVE): ...this. Default to memmove.
49050 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49051 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49054 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49055 mempcpy-ssse3-back memmove-ssse3-back.
49056 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49059 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49060 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49061 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49062 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49063 * sysdeps/x86_64/multiarch/memmove.c: New file.
49064 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49065 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49066 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49067 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49071 (index_Fast_Copy_Backward): Define.
49072 (HAS_ARCH_FEATURE): Define.
49073 (HAS_FAST_REP_STRING): Define.
49074 (HAS_FAST_COPY_BACKWARD): Define.
49076 2010-06-21 Andreas Schwab <schwab@redhat.com>
49078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49079 Restore proper fallback handling.
49081 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49084 * posix/group_member.c (__group_member): Correct checking loop.
49086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49087 OOM in getpwuid_r correctly. Return error number when the caller
49088 should return, otherwise -1.
49089 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49090 call returning > 0 value.
49091 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49093 2010-06-07 Andreas Schwab <schwab@redhat.com>
49095 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49096 libc_nonshared.a from targets in modules-names.
49098 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49100 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49103 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49106 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49110 2010-06-02 Andreas Schwab <schwab@redhat.com>
49112 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49114 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49118 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49125 2010-06-14 Roland McGrath <roland@redhat.com>
49127 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49129 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49131 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49132 __REDIRECT followed by __THROW.
49133 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49134 * posix/getopt.h (getopt): Likewise.
49136 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49138 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49139 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49140 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49142 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49143 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49145 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49149 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49153 Properly check family and model.
49155 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49159 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49161 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49163 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49165 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49168 2010-05-19 Andreas Schwab <schwab@redhat.com>
49170 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49173 2010-05-21 Andreas Schwab <schwab@redhat.com>
49175 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49176 and internal_recvmmsg.
49177 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49178 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49180 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49182 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49183 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49184 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49186 2010-05-20 Andreas Schwab <schwab@redhat.com>
49188 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49190 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49192 POWER7 optimizations.
49193 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49194 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49196 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49198 * version.h: Update for 2.13 development version.
49200 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49202 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49203 exceptions. Return 0.
49205 2010-05-07 Roland McGrath <roland@redhat.com>
49207 * elf/ldconfig.c (main): Add a const.
49209 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49211 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49212 (args_options): Add no-idn option.
49213 (ahosts_keys_int): Add idn_flags to ai_flags.
49214 (parse_option): Handle 'i' option to clear idn_flags.
49216 * malloc/malloc.c (_int_free): Possible race in the most recently
49217 added check. Only act on the data if no current modification
49220 See ChangeLog.17 for earlier changes.